Exporting electricity prices from DESS to NodeRed

I’m trying to find a solution for getting electricity prices from DESS into Node-RED and using these values in other flows — for example, to control Shelly relays based on electricity prices.

Does anyone have any good advice on how I can do this?
My goal is to read all electricity prices from DESS into variables and use these parameters in my flows.

My installation is not yet up and running, but have you looked at the victron-vrm-api noded and the VRM API (get dynamic ess settings)?

I have tried using the VRM API, but haven’t had any success. I think the problem is on my side.
It seems that the prices are organized by schedules, but each hour falls under a different schedule. I don’t think it’s simple to get a list of all the day’s prices in a usable format. I believe it is possible, but it’s too difficult for me. I would really appreciate any help or guidance

Since it is in JSON format, you could try jsonata. That is a way to rearrange the input to the desired output.

Maybe if you could post the output from the VRM API and give an example of the desired output, I could give it a go.

Documentation about jsonata can be found at https://jsonata.org/