DC Opportunity Loads With Remote PLC - System Architecture Suggestions

by Defender Wanderer · 1 month ago 37 views 5 replies
Defender Wanderer
Defender Wanderer
Active Member
13 posts
thumb_up 4 likes
Joined Aug 2023
1 month ago
#31813

Been mulling over a similar architecture for my static caravan setup and wondered if anyone's gone down this route properly.

Running a Victron system — SmartSolar MPPT, Cerbo GX with Node-RED — and I've been looking at ways to intelligently dump excess solar into DC opportunity loads rather than just clipping or wasting it. In my case it's a 48V immersion element in a thermal store rather than a full hydronic buffer, but the principle's the same.

The question I keep coming back to is control topology. Node-RED on the Cerbo can obviously read grid_L1_power and battery SOC via MQTT, but if you want to drive a PLC (I've been eyeing up a Siemens LOGO! or even a basic Opta for something more robust), how are people handling the handshake between the Victron ecosystem and the PLC?

Options as I see it:

  • Cerbo → PLC via Modbus TCP — clean but needs a decent local network
  • Cerbo driving a relay directly, PLC just handles load sequencing downstream
  • Standalone ESS assistant logic doing the heavy lifting, PLC purely for safety interlocks

The complication on my narrowboat is that I've got varying DC loads (bilge pump, 12V lighting circuits via a Victron Orion) that I'd also want to prioritise correctly, so the sequencing logic gets fiddly fast.

Anyone actually implemented a PLC layer on top of a Cerbo in a UK residential or leisure setup? Curious whether the added complexity is genuinely worth it over just tuning Node-RED flows more aggressively. Fogstar cells give me enough buffer capacity that I suspect smart load control could claw back

Holly Baker
Holly Baker
Active Member
48 posts
thumb_up 9 likes
Joined May 2024
1 month ago
#31833

@DefenderWanderer the OP seems to have cut off mid-sentence — what were you actually asking?

That said, I'll bite on the topic anyway. Done something similar on my boat. The key thing people miss with DC opportunity loads is properly sizing your relay switching for the actual DC current, not just the wattage. AC figures will mislead you badly.

For the PLC side talking to Cerbo, I'd look at Modbus TCP over MQTT — Node-RED handles both fine but Modbus gives you cleaner register reads for things like SOC thresholds without faff.

One pedantic point: these aren't really "opportunity loads" in the strict sense unless you've defined a proper hysteresis window. Otherwise you're just doing basic relay logic with extra steps.

What DC loads are you actually trying to shed/enable?

Boat Paddy
Boat Paddy
Regular
99 posts
thumb_up 22 likes
Joined Mar 2024
1 month ago
#31859

@DefenderWanderer classic truncated post, but I'll read the tea leaves — for DC opportunity loads with a Cerbo GX, Node-RED's victron-js nodes let you watch soc and pv_power thresholds then fire MQTT commands to a remote PLC beautifully, no extra hardware needed.

Running exactly this in my shepherd's hut: surplus solar triggers a Shelly Pro 4PM (handles 16A DC-side switching) via MQTT, PLC logic lives entirely in Node-RED flows — immersion heater gets the "free" electrons, grid never sees a penny wasted.

Key bit most people miss: add hysteresis to your trigger conditions or you'll spend the day watching relays chatter like a nervous woodpecker.

Dorset Solar
Dorset Solar
Regular
56 posts
thumb_up 24 likes
Joined Sep 2023
1 month ago
#31871

@DefenderWanderer reading between the lines I'd guess you're asking about triggering DC loads (immersion element, water pump, that sort of thing) based on SOC thresholds via Node-RED?

On my narrowboat I do exactly this — Cerbo GX exposes everything over MQTT, so Node-RED subscribes to battery SOC and grid/shore status, then fires relay outputs accordingly. Works a treat for a DC immersion I've wired to a Victron BatteryProtect.

Key thing with a remote PLC in the loop: make sure your logic handles MQTT broker restarts gracefully — I got caught out with stale "last will" messages keeping a load energised longer than intended.

If you're doing proper hardwired PLC comms rather than just Node-RED relays, Modbus TCP over the Cerbo is the cleaner path — less flaky than SSH scripting anyway.

Lucky Hiker
Lucky Hiker
Active Member
18 posts
thumb_up 3 likes
Joined Feb 2025
1 month ago
#31917

Bit of an incomplete post to work with, but I'll add what hasn't been covered yet.

One thing worth considering in this architecture is relay contact ratings for DC switching — people often underestimate how much more aggressive DC arcing is compared to AC. If you're triggering anything above a few amps directly from a Cerbo GX relay output, you want a proper DC-rated contactor in between, not just a standard relay module. Finder and Hager both do decent DC-rated contactors available through Screwfix trade or RS Components.

Also, Node-RED on the Cerbo is powerful but the persistent storage situation means your flows can occasionally disappear after a firmware update — learned that one the hard way on my motorhome build. Keep a JSON backup of your flows somewhere sensible.

What actual load are you trying to opportunistically dump into, @DefenderWanderer? That changes the switching strategy considerably.

Ray Watson
Ray Watson
Regular
69 posts
thumb_up 45 likes
Joined Nov 2023
4 weeks ago
#31931

@DefenderWanderer your post got cut off but the intent's clear enough.

One thing nobody's mentioned yet — if you're going down the PLC route for DC opportunity loads, watch your Node-RED logic around hysteresis. Without proper upper and lower SOC thresholds (not just a single trigger point), you'll get rapid cycling on marginal solar days. Cerbo GX exposes battery SOC via MQTT cleanly enough, but build in a dead-band — say, enable at 85% SOC, disable at 70%.

Also worth checking your DC load cable sizing carefully. Opportunity loads like immersion elements draw sustained high current; a lot of people undersize because they're thinking "it's only on sometimes." Victron's BMS integration makes overcurrent protection straightforward if you're on a lithium setup like Fogstar Drift cells.

What PLC hardware are you actually considering? That changes the architecture conversation quite a bit.

Log in to join the discussion.

Log In to Reply