Autarke Anlage mit Opportunity Loads & NodeRed

by Camper Jackie · 1 month ago 69 views 5 replies
Camper Jackie
Camper Jackie
Active Member
34 posts
thumb_up 16 likes
Joined Oct 2023
1 month ago
#30811

Been lurking on some German-language Victron forums lately and stumbled across a really interesting thread about using Node-RED to manage "opportunity loads" — basically the idea that when your batteries are sitting fat and happy above, say, 90% SoC, you automatically fire up high-draw appliances rather than just letting that solar energy go to waste.

It got me thinking about my own static caravan setup. I've got a Victron Multiplus-II paired with a couple of Fogstar Drift 12V batteries (running in series/parallel — long story, chaos reigns 😅), and I've been doing all my load management manually like a complete muppet.

The concept is dead simple when you think about it:

  • Solar producing loads → batteries full → trigger the water heater, washing machine, EV charger, whatever
  • Drop below threshold → cut non-essentials back off
  • All automated via Node-RED talking to the Cerbo GX over MQTT

Has anyone here actually implemented this properly in a UK context? A few things I'm wondering about:

  1. EV charging — has anyone used this to trickle-charge via a smart EVSE when surplus is available? That feels like the dream for my situation.
  2. Emergency backup priority — I'd want certain loads always protected. How do you structure that logic without it getting into spaghetti-node territory?
  3. Any UK-specific gotchas with grid connection rules (G98/G99 etc.) if you're also tied to the mains?

I've done a couple of Victron installs for family members so I'm not totally green, but Node-RED still feels like I'm learning to drive on the motorway. Would love to hear

BigAl
BigAl
Active Member
25 posts
thumb_up 2 likes
Joined Jan 2025
1 month ago
#30816

We do something similar on our static — Victron MPPT feeding into a Cerbo GX, and I've got Node-RED pulling the state of charge every few minutes. When it hits a threshold (say 85%+) and the forecast looks decent, it triggers a smart plug running the washing machine or immersion heater.

The German forums are brilliant for this stuff, even running it through DeepL it's worth it.

One thing worth noting for a motorhome setup specifically — your opportunity loads need to be interruptible. Works fine for water heating, bit trickier if you're mid-cycle on a washing machine and you suddenly need to move off.

Has @CamperJackie seen the VRM API docs? You can poll battery data without needing a Cerbo if you're on a tighter budget.

Cornish Boater
Cornish Boater
Regular
57 posts
thumb_up 19 likes
Joined Oct 2023
1 month ago
#30861

Really interesting topic this! I've been wrestling with something similar on the shepherd's hut — trying to figure out when it's "safe" to run the immersion heater versus just toasting the batteries for no reason.

Quick question for @BigAl — when Node-RED is making those load decisions, are you triggering off SoC percentage or actual battery voltage? I've read that SoC can be a bit unreliable depending on how well your system is calibrated, especially with LiFePO4.

Also curious whether anyone's managed to get this working without a Cerbo GX? I've got a Victron SmartSolar on the hut but no Cerbo — wondering if there's a cheaper way in, maybe via the VE.Direct to USB adaptor feeding a Raspberry Pi running Node-RED locally?

Would love to see some actual flow screenshots if anyone has them!

Ben Jackson
Ben Jackson
Active Member
37 posts
thumb_up 3 likes
Joined Oct 2024
1 month ago
#30873

The Cerbo GX MQTT broker is basically free Node-RED fuel — once you're tapping that, "opportunity loads" just becomes a fancy German phrase for "run the kettle when the sun's out." 🌞

ZFS_OffGrid
ZFS_OffGrid
Senior Member
149 posts
thumb_up 37 likes
Joined Jul 2023
1 month ago
#30913

@BenJackson yeah MQTT on the Cerbo is solid once you get your head round the topic structure — took me an embarrassing amount of time to find the right paths tbh

Been running something rough like this on the static caravan for a while. Immersion heater kicks in above 85% SoC, dumps excess before the MPPT throttles back. Dead simple logic but saves a fair bit in winter when you're not exporting anywhere anyway.

Main gotcha nobody mentions — hysteresis. If you just set a single threshold the relay chatters like mad on a partly cloudy day. Set a decent gap, like on at 85%, off at 75%, or you'll drive yourself mental watching the logs.

Fogstar batteries handle the cycling fine in my experience. Victron kit obviously plays nicely with all of it.

Spud
Spud
Active Member
34 posts
thumb_up 7 likes
Joined Apr 2024
1 month ago
#31013

On the narrowboat I've got a Fogstar 200Ah LiFePO4 talking to a Cerbo GX, and once you've wired up Node-RED to flip a relay on the immersion heater when SOC hits 85%+ and solar input exceeds load, you'll never look back — free hot water is basically the universe apologising for diesel prices.

Key bits I'd add that nobody's mentioned:

  • Set a hysteresis band (e.g. 85% on, 75% off) or your relay will chatter itself into an early grave
  • Add a time-of-day gate so you're not heating water at 2am for no reason
  • The Victron com.victronenergy.system MQTT path gives you grid/solar/load all in one place — saves faff

The Germans call it Opportunity Loads; I call it making the solar actually earn its keep.

Log in to join the discussion.

Log In to Reply