Node red yazılım VE.bus BMS'den dolayı Quattro pozisyonunu kontrol edemiyor

by Spud · 17 hours ago 25 views 5 replies
Spud
Spud
Active Member
34 posts
thumb_up 7 likes
Joined Apr 2024
17 hours ago
#35820

Been tinkering with something similar on the narrowboat — using Node-RED to let the Victron Quattro make smarter decisions based on solar input and SOC rather than just blindly charging off the alternator all day.

The bit that's doing my head in: VE.Bus BMS keeps wrestling control away from Node-RED the moment it decides it wants to have an opinion about charge state. Classic "too many cooks" situation, except one cook has a hardware override and doesn't care about your carefully crafted flow.

My current setup tries to shift the Quattro between Charger Only, Inverter Only, and On depending on:

  • Time window (roughly 09:00–17:00 BST when the panels are actually doing something useful)
  • SOC threshold from the Cerbo GX
  • Panel yield via MQTT

Works beautifully... until the BMS goes "nah mate" and locks me out of the switch position node entirely. The Victron MQTT path /vebus/*/Mode just stops accepting writes.

Has anyone managed to properly subordinate the BMS logic without disabling its protection functions entirely? I'd rather not yeet the BMS out of the loop — it's doing proper cell-level protection — but I need Node-RED to actually win the occasional argument about inverter mode.

Curious whether anyone's achieved this with the ESS assistant running alongside, or if that just makes the whole thing worse. Suspect it might be an assistant priority conflict rather than a pure BMS issue but haven't confirmed it yet.

Anyone else gone down this rabbit hole? 🐇

Macca97
Macca97
Active Member
23 posts
thumb_up 2 likes
Joined Dec 2024
10 hours ago
#35851

@Spud interesting one — I've been looking at doing something similar for my garden office setup with a Quattro.

From what I've read, the VE.Bus BMS takes priority over any external signals when it comes to charger/inverter position control — it's essentially hardwired into the logic to protect the battery. Node-RED can read the data fine via MQTT on a Cerbo GX, but actually writing control signals back gets blocked by the BMS layer.

A few questions before I go down this rabbit hole myself:

  • Are you running ESS or standalone?
  • Which BMS exactly — the older VE.Bus BMS or the newer BMS 2?

Apparently the workaround some people use is controlling via DVCC settings rather than directly commanding the Quattro position. Has anyone on here actually got that working reliably?

ZFS_OffGrid
ZFS_OffGrid
Senior Member
148 posts
thumb_up 37 likes
Joined Jul 2023
9 hours ago
#35854

@Spud the thread title's giving it away tbh — VE.Bus BMS will lock out external control of the Quattro, that's by design. It's a safety thing.

If you're trying to override charge state via Node-RED you'll hit a wall unless you go through VEConfigure and check what's actually allowed when the BMS is in control.

Had similar grief on my static when I was messing with ESS + Node-RED automation. The BMS essentially takes the wheel in certain conditions and your Node-RED flows just get ignored silently — no errors, nothing. Nightmare to debug.

Worth checking:

  • Is the VE.Bus BMS asserting "Charge Disconnect"?
  • What does the VRM remote console show for active limits?

Victron community forum has a few proper deep dives on this. Not a Node-RED problem really, it's architecture.

Spider
Spider
Regular
69 posts
thumb_up 24 likes
Joined Aug 2023
7 hours ago
#35868

@ZFS_OffGrid is right, and I learned this the hard way on the boat last winter.

The VE.Bus BMS has absolute authority over the Quattro — it's a safety hierarchy, not a suggestion. Node-RED can shout at the system all it likes via MQTT or the CCGX, but if the BMS is in the chain, it holds the veto.

What actually worked for me was shifting the logic upstream — using Node-RED to influence the ESS assistant settings and grid setpoint rather than trying to directly command the inverter position. Bit of a workaround, but the BMS never complains because you're not treading on its toes.

Worth checking which assistants you've loaded in VEConfigure too — some combinations will flat-out reject external switching commands regardless of what Node-RED sends.

Les Phillips
Les Phillips
Active Member
19 posts
Joined Oct 2024
7 hours ago
#35871

@Macca97 same situation here with the garden office — worth knowing before you go too far down the rabbit hole.

The practical workaround I landed on was using the Venus OS MQTT broker to read the Quattro state rather than trying to write to it, then letting Node-RED make decisions at a higher level — things like controlling a contactor on the AC input side, or adjusting grid setpoint via the ESS assistant instead of directly commanding the inverter mode.

ESS does play nicer with VE.Bus BMS because the BMS signals get properly arbitrated through the assistant logic rather than conflicting with it.

Might not suit every use case but for the garden office it's been solid — automations trigger off SOC and PV yield without ever fighting the BMS for control of the Quattro.

Devon Dweller
Devon Dweller
Senior Member
166 posts
thumb_up 28 likes
Joined Mar 2024
5 hours ago
#35881

@Spider and @ZFS_OffGrid have covered the lockout behaviour well, so I won't rehash it.

What's worth adding: the practical workaround most people land on is using Node-RED via MQTT to write to the ESS assistant's minimum SOC register rather than trying to command the Quattro's input position directly. The VE.Bus BMS retains safety authority, but you can still influence charge/discharge behaviour meaningfully through ESS parameters.

On my narrowboat setup I use com.victronenergy.settings paths over MQTT — specifically Settings/CGwacs/BatteryLife/MinimumSocLimit — to dynamically adjust behaviour based on solar forecast and SOC trends. Keeps the BMS hierarchy intact whilst still giving you intelligent automation.

Worth reading Victron's ESS Design and Installation manual carefully — it explicitly maps out what remains user-controllable when a VE.Bus BMS is present. Saves a lot of frustration.

Log in to join the discussion.

Log In to Reply