Dynamic ESS: manual set energy price for each hour

Is there a way to be me, programmatically, using vrm api to set the hourly energy price instead of using the dynamic formula or fixed price?

Yes, check out this thread: Node-RED VRM API and Dynamic ESS - VictronEnergy

My utility has a simple peak / off peak pricing scheme with variable daily peak pricing. In node red, I have a daily scraper run that pulls prices from the utility webpage and injects those via the DESS “buyPriceSchedule” object (using the VRM API). You’ll also want to set your DESS buy prices to “Fixed” in the VRM portal.

I am getting ready for TOU tariffs from my grid provider. I have been trying to figure out which way to go with charging, discharging, and exporting solar.

Have you seen this thread? Are the nodes you are using going to be phased out? It looks like you have put a lot of thought into your post, and I may be able to use some of this information about the nodes, but this information about the nodes makes the direction I want to take unclear.

There are two “implementations” of DESS: (a) the VRM version, which you configure via the VRM portal and (b) the node red version, which you install via a special node red configuration that Victron has published on a GitHub. This latter implementation may be phased out, as noted in your quote.

The instructions I posted above assume you’re using the VRM version of DESS (the long term supported implementation) and then leverage the official VRM API node to adjust those settings programmatically. So there’s no near term risk of this procedure being phased out.

Today I’m taking my first babysteps with nodered and managed to get some readings from the VRM api. What I can’t figure out is where to read the actual parameter data from the gateway/venusos. Specifically the “DESS Charge Rate (W)” as available in VRM Advanced under ‘Gateway’.

Anybody able to point me in the right direction to get access to that parameter in node red? That would greatly help create an automated switch for my AC-DC charge booster.

Maybe this will get you what you want? A bunch of these arrays show the various interval details of the DESS plan. I haven’t fully dug into what each actually mean.

1 Like

I found another suitable signal: ‘power setpoint phase 1’


That I can use switch on a relay the smartbmv

That then switches on an 8kW boost charger (160A actually) above 2000W power setpoint. With the boost charger on AC out 2 the MPII then adds an variable additional charge current neatly regulating itself to stay within the 40A AC in (grid fuse) limits, and even prevents fuse overload when a house power (boiler for instance) turns on.

Al this on a pure trade setup, single phase 40A, MPII5000GX, 90kWh battery. Maximum charge power upto fuse limits during low price buy timeslots in the day, and about half power selling in the evening and early morning.
Soon without dayly (pre)setting the boost charger timer :wink:

I didn’t know that we can put different schedules for each week day. This approach fit perfectly for my need. Thanks!

@A-P Could this help to extend the hourly price forecast window as discussed here: Phasing out the Node-RED Dynamic ESS implementation - #6 by UpCycleElectric