I am building an energy controller in Node red for Victron ESS that can be used for peakshaving, selfconsumption and Time of Use strategies. I have the code running on multiple installations on either Cerbo's or Multiplus GX devices and they seem to work fine for a while until they don't. Node Red then loads very slowly or not all and making changes to deploy them becomes almost impossible.
The screen then looks like this, where it often stays or sometimes eventually loads after several minutes.
Roughly how it works: I set a few configuration parameters (eg. minimum state of charge), read out about 30 parameters from Victron nodes (battery soc, battery power, consumption, production, grid power...) and use these to make some calculations (eg. total power L1, L2, L3). Then I use all of these in functions that determine how much power should go to or from the battery using the grid setpoint. I also send about 10 datapoints to influx red in the same flow. See image:
Has anyone else experienced this and know how to fix it?
I tried restarting the whole system and updated to the latest release firmware but the problem persists. Could this be due to a lack of memory in the GX?
I will also attend the Victron webinar next week in the hope to fin a solution.
Thanks,
Jelle