Been down this rabbit hole myself recently. Got a Multi RS Solar paired with a Cerbo GX and I've been trying to get proper grid setpoint control working through Home Assistant via Modbus TCP.
The idea is straightforward enough — you want HA to dynamically tell the inverter how much to pull from (or push to) the grid depending on battery state, tariff rates, whatever. Dead useful if you're on Octopus Flux or similar and want to charge cheap overnight then export during peak.
My issue is that the grid setpoint register doesn't seem to behave consistently. Sometimes HA writes the value and the Cerbo picks it up instantly, other times it just... ignores it. Wondering if there's a polling conflict or whether the VRM integration and Modbus are stepping on each other.
Few things I'd try (or have tried):
- Make sure you're writing to the correct Modbus unit ID — the Multi RS uses a different one than the Cerbo itself
- Check the ESS assistant is actually installed and active, otherwise grid setpoint does nothing
- Throttle your HA write frequency — hammering it every 5 seconds seems to cause odd behaviour
Anyone else got this working reliably on firmware v1.31? I'm also curious whether the Victron MQTT route is more stable than Modbus for this kind of control. Seems like fewer moving parts potentially.
Would love to see someone's actual HA automation if you've cracked it — happy to share mine in return once I've got it behaving properly.