Adjusting DESS EV consumption forecast via Node-RED – HTTP 429 and local alternative?

Hi,

I’m working on a charging planner for two cars, using Node-RED on a Cerbo GX.

The idea is to calculate when the cars should charge, based on electricity prices, required energy and departure times. I would like to send the expected EV consumption to DESS so it can take this into account when planning battery charging and discharging.

I’m running Venus OS 3.81 with VRM-DESS and victron-vrm-api v0.4.4.

I managed to get the post-adjust-consumption function working. I can add an EV consumption forecast and see the result in VRM. Resetting the forecast also works.

The problem is that I regularly get HTTP 429 (too_many_requests), even though I’m only sending a few test requests. I checked the response headers and got Retry-After: 1800, so apparently I have to wait 30 minutes.

For example, one POST was accepted with HTTP 200, but a reset about 17 minutes later returned HTTP 429.

I’ve also been looking at D-Bus on the Cerbo. I can see the DESS schedules under /Settings/DynamicEss, but haven’t found a way to adjust the consumption forecast locally.

So I have a few questions:

  1. Is this 30-minute rate limit normal for adjust-consumption, or am I doing something wrong
  2. Is there a recommended way to update the EV forecast more frequently?
  3. Is there a way to send the consumption forecast directly to the Cerbo, without using the VRM API?
  4. How are other people handling this when combining DESS with a charging planner?

I would prefer to keep the existing VRM-DESS running and just provide it with better consumption information. I don’t want to replace the complete DESS control.

Maybe I’m overlooking something simple here.

Thanks!