Ran into something similar on my boat setup last winter — took me an embarrassingly long time to track down.
I had a Rate limit option ticked on a Victron input node that was pointing at a MPPT which wasn't always connected (I disconnect it seasonally). Node-RED was just... dying. Repeatedly. No obvious error in the logs at first glance, and I kept blaming the Raspberry Pi being underpowered.
Eventually spotted the crash loop was happening specifically on reconnection attempts when the rate limiter fired against a null state. Messy.
Few things worth noting for anyone else on this:
- Check your Node-RED version — I believe the behaviour changed somewhere around v3.x but I'm not 100% certain of the exact build
- If you're on older firmware on the Cerbo or Venus OS, the interaction seems worse
- Disabling Rate limit on any input node tied to intermittent hardware fixed it for me immediately
My emergency backup system ashore runs a more conservative Node-RED config and never had the issue — probably because everything there stays connected permanently.
Anyone else seen this with nodes pointing at devices that go offline periodically? I'm wondering if it's specifically a Victron node library issue or something deeper in how Node-RED handles the reconnection state. The Victron Node-RED nodes on npm haven't had a huge amount of updates recently from what I can see.
Would be useful to know if people on Venus OS Large (with Node-RED baked in) are seeing the same, versus those of us running Node-RED separately on a Pi alongside a Cerbo GX.