[OH2] MQTT (1.x & 2.x) Interface to Victron CCGX

Hi Zooka,

this is what I get in openhab.log

[21:43:57] root@openhab:/var/log/openhab2# tail -f openhab.log
2019-11-15 21:43:57.698 [WARN ] [l.generic.ChannelStateTransformation] - Transformation service JSONPATH for pattern $.value not found!
2019-11-15 21:43:57.701 [WARN ] [eneric.internal.generic.ChannelState] - Incoming payload '{"value": 32.375999450683594}' not supported by type 'NumberValue'
2019-11-15 21:43:57.704 [WARN ] [l.generic.ChannelStateTransformation] - Transformation service JSONPATH for pattern $.value not found!
2019-11-15 21:43:57.707 [WARN ] [eneric.internal.generic.ChannelState] - Incoming payload '{"value": 53.959999084472656}' not supported by type 'NumberValue'
2019-11-15 21:43:59.703 [WARN ] [l.generic.ChannelStateTransformation] - Transformation service JSONPATH for pattern $.value not found!
2019-11-15 21:43:59.706 [WARN ] [eneric.internal.generic.ChannelState] - Incoming payload '{"value": 32.411998748779297}' not supported by type 'NumberValue'
2019-11-15 21:43:59.710 [WARN ] [l.generic.ChannelStateTransformation] - Transformation service JSONPATH for pattern $.value not found!
2019-11-15 21:43:59.713 [WARN ] [eneric.internal.generic.ChannelState] - Incoming payload '{"value": 54.020000457763672}' not supported by type 'NumberValue'
2019-11-15 21:43:59.717 [WARN ] [l.generic.ChannelStateTransformation] - Transformation service JSONPATH for pattern $.value not found!
2019-11-15 21:43:59.720 [WARN ] [eneric.internal.generic.ChannelState] - Incoming payload '{"value": 2104}' not supported by type 'NumberValue'
2019-11-15 21:44:01.703 [WARN ] [l.generic.ChannelStateTransformation] - Transformation service JSONPATH for pattern $.value not found!
2019-11-15 21:44:01.708 [WARN ] [eneric.internal.generic.ChannelState] - Incoming payload '{"value": 32.369998931884766}' not supported by type 'NumberValue'
2019-11-15 21:44:01.713 [WARN ] [l.generic.ChannelStateTransformation] - Transformation service JSONPATH for pattern $.value not found!
2019-11-15 21:44:01.716 [WARN ] [eneric.internal.generic.ChannelState] - Incoming payload '{"value": 53.950000762939453}' not supported by type 'NumberValue'
2019-11-15 21:44:01.720 [WARN ] [l.generic.ChannelStateTransformation] - Transformation service JSONPATH for pattern $.value not found!
2019-11-15 21:44:01.723 [WARN ] [eneric.internal.generic.ChannelState] - Incoming payload '{"value": 2108}' not supported by type 'NumberValue'
2019-11-15 21:44:03.705 [WARN ] [l.generic.ChannelStateTransformation] - Transformation service JSONPATH for pattern $.value not found!
2019-11-15 21:44:03.709 [WARN ] [eneric.internal.generic.ChannelState] - Incoming payload '{"value": 32.453998565673828}' not supported by type 'NumberValue'
2019-11-15 21:44:03.713 [WARN ] [l.generic.ChannelStateTransformation] - Transformation service JSONPATH for pattern $.value not found!
2019-11-15 21:44:03.716 [WARN ] [eneric.internal.generic.ChannelState] - Incoming payload '{"value": 54.090000152587891}' not supported by type 'NumberValue'
2019-11-15 21:44:03.720 [WARN ] [l.generic.ChannelStateTransformation] - Transformation service JSONPATH for pattern $.value not found!
2019-11-15 21:44:03.724 [WARN ] [eneric.internal.generic.ChannelState] - Incoming payload '{"value": 0.60000002384185791}' not supported by type 'NumberValue'
2019-11-15 21:44:03.727 [WARN ] [l.generic.ChannelStateTransformation] - Transformation service JSONPATH for pattern $.value not found!
2019-11-15 21:44:03.731 [WARN ] [eneric.internal.generic.ChannelState] - Incoming payload '{"value": 2109}' not supported by type 'NumberValue'

And this is my events.log

2019-11-15 21:41:29.545 [hingStatusInfoChangedEvent] - 'mqtt:broker:ccgx_mqtt' changed from OFFLINE to ONLINE
2019-11-15 21:41:29.572 [hingStatusInfoChangedEvent] - 'mqtt:topic:ccgx_mqtt:solar' changed from UNINITIALIZED (BRIDGE_UNINITIALIZED) to INITIALIZING
2019-11-15 21:41:29.734 [hingStatusInfoChangedEvent] - 'mqtt:topic:ccgx_mqtt:solar' changed from INITIALIZING to ONLINE
2019-11-15 21:41:29.809 [vent.ItemStateChangedEvent] - PV_battery_voltage changed from NULL to UNDEF
2019-11-15 21:41:29.816 [vent.ItemStateChangedEvent] - PV_soc changed from NULL to UNDEF
2019-11-15 21:41:29.826 [vent.ItemStateChangedEvent] - PV_generator changed from NULL to UNDEF
2019-11-15 21:41:29.835 [vent.ItemStateChangedEvent] - PV_battery_current changed from NULL to UNDEF
2019-11-15 21:41:29.837 [vent.ItemStateChangedEvent] - PV_today_yield changed from NULL to UNDEF
2019-11-15 21:41:29.840 [vent.ItemStateChangedEvent] - PV_battery_power changed from NULL to UNDEF
2019-11-15 21:41:29.854 [vent.ItemStateChangedEvent] - PV_total_yield changed from NULL to UNDEF
2019-11-15 21:41:29.857 [vent.ItemStateChangedEvent] - PV_power changed from NULL to UNDEF
2019-11-15 21:41:29.861 [vent.ItemStateChangedEvent] - PV_ac_consumption changed from NULL to UNDEF

Thanks for your help!

Hi,

I found the issue with some researching. I did not have the add-on image
installed.
I think I missed in your instructions above.

thanks for your help!! very much appreciated

Thank you for kindly pointing out I didn’t have JSONPath instructions added. Fixed now in original post.

Would love to hear about your system.

Same here. I have a Victron Device as well. I an even able to switch on/off the relais on it. Cool. Plan to create a smart camper van.

Hi Ralf,
I am also working on my ‘smart campervan’ Victron Multiplus, BMV700, VenusOS on Rpi; solor on the todo-list. Openhab I use for al tasks on board: all DIY MySensors actuators/sensors: fans, temp, 12Vdc /220V switching, LED dimmers, Gas/Smoke/Nox sensors, servo motors to get motion in for example the lowering of coffeemachine from cabinet etc
)

Now I am working to get the MQTT Victron - OpenHab up&running.
I am trying to get things working through the 2.4 bindings/things (auto-discovery) and not to edit thing/sitemap files by hand. Do you have any experience if this is possible?

Tell me more about your campervan project, maybe I can help on that


3 Likes

Hi Zooka,

many thanks for your work. With thanks to your posts I can now receive information from my VRM Victron Battery Controller. However, my channel stateTopics look a bit different. In particular I can’t find the PV Power stateTopic. If I plot all information coming in from my VRM it looks like the following (it’s night at the moment so PV Power should be 0):

> N/0cae7d548d47/battery/1/Dc/0/Voltage {"value": 51.329999999999998}
> N/0cae7d548d47/vebus/261/Ac/ActiveIn/P {"value": 72}
> N/0cae7d548d47/vebus/261/Ac/ActiveIn/L2/P {"value": 32}
> N/0cae7d548d47/vebus/261/Ac/Out/P {"value": 31}
> N/0cae7d548d47/vebus/261/Ac/Out/L1/P {"value": 10}
> N/0cae7d548d47/vebus/261/Ac/Out/L3/P {"value": 7}
> N/0cae7d548d47/vebus/261/Hub4/L3/AcPowerSetpoint {"value": 8}
> N/0cae7d548d47/system/0/Ac/Grid/L3/Power {"value": 217.90000000000001}
> N/0cae7d548d47/system/0/Ac/ConsumptionOnInput/L1/Power {"value": 1005.9000000000001}
> N/0cae7d548d47/system/0/Ac/Grid/L2/Power {"value": 99.300000000000011}
> N/0cae7d548d47/grid/32/Ac/Power {"value": 1346.8000000000002}
> N/0cae7d548d47/grid/32/Ac/L1/Power {"value": 1028.3}
> N/0cae7d548d47/grid/32/Ac/L2/Power {"value": 99.200000000000003}
> N/0cae7d548d47/grid/32/Ac/L3/Power {"value": 217.60000000000002}
> N/0cae7d548d47/system/0/Ac/ConsumptionOnInput/L2/Power {"value": 67.300000000000011}
> N/0cae7d548d47/system/0/Ac/Consumption/L3/Power {"value": 199.90000000000001}
> N/0cae7d548d47/system/0/Ac/Consumption/L2/Power {"value": 67.300000000000011}
> N/0cae7d548d47/system/0/Ac/ConsumptionOnInput/L3/Power {"value": 199.90000000000001}
> N/0cae7d548d47/system/0/Ac/Grid/L1/Power {"value": 1027.9000000000001}
> N/0cae7d548d47/system/0/Ac/Consumption/L1/Power {"value": 1005.9000000000001}
> N/0cae7d548d47/system/0/Dc/Battery/Voltage {"value": 51.329999999999998}
> N/0cae7d548d47/pvinverter/20/Ac/L1/Voltage {"value": 230.800003439188}
> N/0cae7d548d47/pvinverter/20/Ac/L1/Energy/Forward {"value": 1751.884666666667}
> N/0cae7d548d47/pvinverter/20/Ac/L2/Voltage {"value": 231.00000344216824}
> N/0cae7d548d47/pvinverter/20/Ac/L2/Energy/Forward {"value": 1751.884666666667}
> N/0cae7d548d47/pvinverter/20/Ac/L3/Energy/Forward {"value": 1751.884666666667}
> N/0cae7d548d47/battery/1/Dc/0/Voltage {"value": 51.325000000000003}
> N/0cae7d548d47/battery/1/Dc/0/Current {"value": -0.70999999999999996}
> N/0cae7d548d47/battery/1/Dc/0/Power {"value": -36}
> N/0cae7d548d47/pvinverter/20/Ac/L3/Voltage {"value": 233.60000348091125}
> N/0cae7d548d47/system/0/Ac/Grid/L3/Power {"value": 217.30000000000001}
> N/0cae7d548d47/system/0/Dc/Battery/Power {"value": -36}
> N/0cae7d548d47/system/0/Ac/ConsumptionOnInput/L1/Power {"value": 1008.2}
> N/0cae7d548d47/grid/32/Ac/Power {"value": 1350.9000000000001}
> N/0cae7d548d47/grid/32/Ac/L1/Power {"value": 1028.2}
> N/0cae7d548d47/grid/32/Ac/L3/Power {"value": 217.20000000000002}
> N/0cae7d548d47/system/0/Ac/Grid/L2/Power {"value": 99.200000000000003}
> N/0cae7d548d47/system/0/Ac/ConsumptionOnInput/L2/Power {"value": 67.200000000000003}
> N/0cae7d548d47/system/0/Ac/Consumption/L3/Power {"value": 199.30000000000001}
> N/0cae7d548d47/system/0/Ac/Consumption/L2/Power {"value": 67.200000000000003}
> N/0cae7d548d47/system/0/Ac/ConsumptionOnInput/L3/Power {"value": 199.30000000000001}
> N/0cae7d548d47/system/0/Ac/Grid/L1/Power {"value": 1030.2}
> N/0cae7d548d47/system/0/Ac/Consumption/L1/Power {"value": 1008.2}
> N/0cae7d548d47/system/0/Dc/Battery/Voltage {"value": 51.325000000000003}
> N/0cae7d548d47/system/0/Dc/Battery/Current {"value": -0.70999999999999996}
> N/0cae7d548d47/system/0/Timers/TimeOnGrid {"value": 627211}
> N/0cae7d548d47/vebus/261/Hub4/L3/AcPowerSetpoint {"value": 7}
> N/0cae7d548d47/pvinverter/20/Ac/L1/Voltage {"value": 230.30000343173742}
> N/0cae7d548d47/pvinverter/20/Ac/L1/Energy/Forward {"value": 1751.8846666666668}
> N/0cae7d548d47/pvinverter/20/Ac/L2/Energy/Forward {"value": 1751.8846666666668}
> N/0cae7d548d47/pvinverter/20/Ac/L3/Voltage {"value": 233.80000348389149}
> N/0cae7d548d47/pvinverter/20/Ac/L3/Energy/Forward {"value": 1751.8846666666668}
> N/0cae7d548d47/vebus/261/Hub4/L1/AcPowerSetpoint {"value": 10}
> N/0cae7d548d47/grid/32/Ac/Voltage {"value": 232.20000000000002}
> N/0cae7d548d47/grid/32/Ac/L1/Voltage {"value": 231.90000000000001}
> N/0cae7d548d47/grid/32/Ac/L2/Voltage {"value": 231.30000000000001}
> N/0cae7d548d47/vebus/261/Dc/0/Power {"value": 41}
> N/0cae7d548d47/battery/1/Dc/0/Voltage {"value": 51.329999999999998}
> N/0cae7d548d47/pvinverter/20/Ac/L1/Voltage {"value": 230.40000343322754}
> N/0cae7d548d47/pvinverter/20/Ac/L1/Energy/Forward {"value": 1751.884666666667}
> N/0cae7d548d47/pvinverter/20/Ac/L2/Voltage {"value": 230.90000344067812}
> N/0cae7d548d47/pvinverter/20/Ac/L2/Energy/Forward {"value": 1751.884666666667}
> N/0cae7d548d47/pvinverter/20/Ac/L3/Voltage {"value": 233.60000348091125}
> N/0cae7d548d47/pvinverter/20/Ac/L3/Energy/Forward {"value": 1751.884666666667}
> N/0cae7d548d47/system/0/Ac/Grid/L3/Power {"value": 217.30000000000001}
> N/0cae7d548d47/grid/32/Ac/Current {"value": 6.8930000000000007}
> N/0cae7d548d47/grid/32/Ac/Power {"value": 1344.9000000000001}
> N/0cae7d548d47/grid/32/Ac/L1/Current {"value": 4.8220000000000001}
> N/0cae7d548d47/grid/32/Ac/L1/Power {"value": 1030.7}
> N/0cae7d548d47/grid/32/Ac/L2/Current {"value": 0.81400000000000006}
> N/0cae7d548d47/grid/32/Ac/L2/Power {"value": 99.100000000000009}
> N/0cae7d548d47/grid/32/Ac/L3/Current {"value": 1.2570000000000001}
> N/0cae7d548d47/grid/32/Ac/L3/Power {"value": 217.60000000000002}
> N/0cae7d548d47/system/0/Dc/Vebus/Power {"value": 41}
> N/0cae7d548d47/system/0/Ac/ConsumptionOnInput/L1/Power {"value": 1005.8}
> N/0cae7d548d47/system/0/Ac/Consumption/L3/Power {"value": 200.30000000000001}
> N/0cae7d548d47/system/0/Ac/ConsumptionOnInput/L3/Power {"value": 200.30000000000001}
> N/0cae7d548d47/system/0/Ac/Grid/L1/Power {"value": 1027.8}
> N/0cae7d548d47/system/0/Ac/Consumption/L1/Power {"value": 1005.8}
> N/0cae7d548d47/system/0/Dc/Battery/Voltage {"value": 51.329999999999998}
> N/0cae7d548d47/system/0/Batteries {"value": [{"soc": 29.900000000000002, "power": -36, "active_battery_service": true, "name": "FIAMM 48TL Series Battery x2", "current": -0.70999999999999996, "instance": 1, "state": 2, "voltage": 51.329999999999998, "id": "com.victronenergy.battery.ttyUSB1", "temperature": 271.75}]}
> N/0cae7d548d47/vebus/261/Ac/ActiveIn/P {"value": 70}
> N/0cae7d548d47/vebus/261/Ac/ActiveIn/L1/V {"value": 231.33000183105469}
> N/0cae7d548d47/vebus/261/Ac/ActiveIn/L2/V {"value": 232.42999267578125}
> N/0cae7d548d47/vebus/261/Ac/ActiveIn/L2/P {"value": 31}
> N/0cae7d548d47/vebus/261/Ac/ActiveIn/L3/P {"value": 17}
> N/0cae7d548d47/vebus/261/Ac/Out/P {"value": 30}
> N/0cae7d548d47/vebus/261/Ac/Out/L1/V {"value": 231.33000183105469}
> N/0cae7d548d47/vebus/261/Ac/Out/L1/P {"value": 11}
> N/0cae7d548d47/vebus/261/Ac/Out/L2/V {"value": 232.42999267578125}
> N/0cae7d548d47/vebus/261/Ac/Out/L2/P {"value": 13}
> N/0cae7d548d47/vebus/261/Ac/Out/L3/P {"value": 6}
> N/0cae7d548d47/vebus/261/Hub4/L1/AcPowerSetpoint {"value": 11}
> N/0cae7d548d47/system/0/Ac/Grid/L2/Power {"value": 99.100000000000009}
> N/0cae7d548d47/system/0/Ac/ConsumptionOnInput/L2/Power {"value": 68.100000000000009}
> N/0cae7d548d47/system/0/Ac/Consumption/L2/Power {"value": 68.100000000000009}
> N/0cae7d548d47/vebus/261/Hub4/L2/AcPowerSetpoint {"value": 13}
> N/0cae7d548d47/system/0/Ac/Grid/L3/Power {"value": 216.90000000000001}
> N/0cae7d548d47/system/0/Ac/ConsumptionOnInput/L1/Power {"value": 1006.7}
> N/0cae7d548d47/grid/32/Ac/Power {"value": 1345.8000000000002}
> N/0cae7d548d47/grid/32/Ac/L1/Power {"value": 1029.5}
> N/0cae7d548d47/grid/32/Ac/L2/Power {"value": 98.900000000000006}
> N/0cae7d548d47/grid/32/Ac/L3/Power {"value": 217.30000000000001}
> N/0cae7d548d47/system/0/Ac/Consumption/L3/Power {"value": 199.90000000000001}
> N/0cae7d548d47/system/0/Ac/ConsumptionOnInput/L3/Power {"value": 199.90000000000001}
> N/0cae7d548d47/system/0/Ac/Grid/L1/Power {"value": 1028.7}
> N/0cae7d548d47/system/0/Ac/Consumption/L1/Power {"value": 1006.7}
> N/0cae7d548d47/pvinverter/20/Ac/L1/Voltage {"value": 230.70000343769789}
> N/0cae7d548d47/pvinverter/20/Ac/L1/Energy/Forward {"value": 1751.8846666666666}
> N/0cae7d548d47/pvinverter/20/Ac/L2/Voltage {"value": 230.20000343024731}
> N/0cae7d548d47/pvinverter/20/Ac/L2/Energy/Forward {"value": 1751.8846666666666}
> N/0cae7d548d47/pvinverter/20/Ac/L3/Voltage {"value": 233.40000347793102}
> N/0cae7d548d47/pvinverter/20/Ac/L3/Energy/Forward {"value": 1751.8846666666666}
> N/0cae7d548d47/temperature/24/Temperature {"value": 24}
> N/0cae7d548d47/grid/32/Ac/Voltage {"value": 232.10000000000002}
> N/0cae7d548d47/grid/32/Ac/L1/Voltage {"value": 231.80000000000001}
> N/0cae7d548d47/grid/32/Ac/L2/Voltage {"value": 231.40000000000001}
> N/0cae7d548d47/system/0/Ac/Grid/L2/Power {"value": 99.0}
> N/0cae7d548d47/system/0/Ac/ConsumptionOnInput/L2/Power {"value": 68.0}
> N/0cae7d548d47/system/0/Ac/Consumption/L2/Power {"value": 68.0}
> N/0cae7d548d47/vebus/261/Dc/0/Power {"value": 40}
> N/0cae7d548d47/vebus/261/Hub4/L3/AcPowerSetpoint {"value": 6}
> N/0cae7d548d47/system/0/Ac/Grid/L3/Power {"value": 216.90000000000001}
> N/0cae7d548d47/system/0/Dc/Vebus/Power {"value": 40}
> N/0cae7d548d47/system/0/Ac/ConsumptionOnInput/L1/Power {"value": 1007.1000000000001}
> N/0cae7d548d47/grid/32/Ac/Current {"value": 6.8970000000000002}
> N/0cae7d548d47/grid/32/Ac/Power {"value": 1662.8000000000002}
> N/0cae7d548d47/grid/32/Ac/L1/Current {"value": 4.8280000000000003}
> N/0cae7d548d47/grid/32/Ac/L1/Power {"value": 1027.9000000000001}
> N/0cae7d548d47/system/0/Ac/Grid/L2/Power {"value": 1413.1000000000001}
> N/0cae7d548d47/system/0/Ac/ConsumptionOnInput/L2/Power {"value": 1382.1000000000001}
> N/0cae7d548d47/system/0/Ac/Consumption/L3/Power {"value": 198.90000000000001}
> N/0cae7d548d47/system/0/Ac/Consumption/L2/Power {"value": 1382.1000000000001}
> N/0cae7d548d47/system/0/Ac/ConsumptionOnInput/L3/Power {"value": 198.90000000000001}
> N/0cae7d548d47/system/0/Ac/Grid/L1/Power {"value": 1029.1000000000001}
> N/0cae7d548d47/system/0/Ac/Consumption/L1/Power {"value": 1007.1000000000001}
> N/0cae7d548d47/grid/32/Ac/L2/Current {"value": 0.81200000000000006}
> N/0cae7d548d47/grid/32/Ac/L2/Power {"value": 418.0}
> N/0cae7d548d47/grid/32/Ac/L3/Power {"value": 216.80000000000001}
> N/0cae7d548d47/pvinverter/20/Ac/L1/Voltage {"value": 230.70000343769789}
> N/0cae7d548d47/pvinverter/20/Ac/L1/Energy/Forward {"value": 1751.8846666666668}
> N/0cae7d548d47/pvinverter/20/Ac/L2/Voltage {"value": 231.00000344216824}
> N/0cae7d548d47/pvinverter/20/Ac/L2/Energy/Forward {"value": 1751.8846666666668}
> N/0cae7d548d47/pvinverter/20/Ac/L3/Energy/Forward {"value": 1751.8846666666668}
> N/0cae7d548d47/vebus/261/Ac/ActiveIn/P {"value": 71}
> N/0cae7d548d47/vebus/261/Ac/ActiveIn/L1/V {"value": 232.32000732421875}
> N/0cae7d548d47/vebus/261/Ac/ActiveIn/L2/V {"value": 231.42999267578125}
> N/0cae7d548d47/vebus/261/Ac/ActiveIn/L3/P {"value": 18}
> N/0cae7d548d47/vebus/261/Ac/Out/L1/V {"value": 232.32000732421875}
> N/0cae7d548d47/vebus/261/Ac/Out/L1/P {"value": 10}
> N/0cae7d548d47/vebus/261/Ac/Out/L1/F {"value": 49.948848724365234}
> N/0cae7d548d47/vebus/261/Ac/Out/L2/V {"value": 231.42999267578125}
> N/0cae7d548d47/vebus/261/Ac/Out/L2/P {"value": 12}
> N/0cae7d548d47/vebus/261/Ac/Out/L2/F {"value": 49.948848724365234}
> N/0cae7d548d47/vebus/261/Ac/Out/L3/P {"value": 8}
> N/0cae7d548d47/vebus/261/Ac/Out/L3/F {"value": 49.948848724365234}
> N/0cae7d548d47/vebus/261/Energy/AcIn1ToInverter {"value": 121.78773498535156}
> N/0cae7d548d47/pvinverter/20/Ac/L3/Voltage {"value": 233.30000347644091}
> N/0cae7d548d47/vebus/261/Hub4/L1/AcPowerSetpoint {"value": 10}
> N/0cae7d548d47/system/0/Ac/Grid/L3/Power {"value": 217.30000000000001}
> N/0cae7d548d47/system/0/Ac/ConsumptionOnInput/L1/Power {"value": 1007.4000000000001}
> N/0cae7d548d47/grid/32/Ac/Power {"value": 1345.5}
> N/0cae7d548d47/grid/32/Ac/L1/Power {"value": 1028.9000000000001}
> N/0cae7d548d47/grid/32/Ac/L2/Power {"value": 99.100000000000009}
> N/0cae7d548d47/grid/32/Ac/L3/Power {"value": 217.40000000000001}
> N/0cae7d548d47/system/0/Ac/Grid/L2/Power {"value": 99.200000000000003}
> N/0cae7d548d47/system/0/Ac/ConsumptionOnInput/L2/Power {"value": 68.200000000000003}
> N/0cae7d548d47/system/0/Ac/Consumption/L3/Power {"value": 199.30000000000001}
> N/0cae7d548d47/system/0/Ac/Consumption/L2/Power {"value": 68.200000000000003}
> N/0cae7d548d47/system/0/Ac/ConsumptionOnInput/L3/Power {"value": 199.30000000000001}
> N/0cae7d548d47/system/0/Ac/Grid/L1/Power {"value": 1029.4000000000001}
> N/0cae7d548d47/system/0/Ac/Consumption/L1/Power {"value": 1007.4000000000001}
> N/0cae7d548d47/vebus/261/Hub4/L3/AcPowerSetpoint {"value": 7}
> N/0cae7d548d47/pvinverter/20/Ac/L1/Voltage {"value": 230.20000343024731}
> N/0cae7d548d47/pvinverter/20/Ac/L1/Energy/Forward {"value": 1751.884666666667}
> N/0cae7d548d47/pvinverter/20/Ac/L2/Voltage {"value": 230.800003439188}
> N/0cae7d548d47/pvinverter/20/Ac/L2/Energy/Forward {"value": 1751.884666666667}
> N/0cae7d548d47/pvinverter/20/Ac/L3/Voltage {"value": 233.50000347942114}
> N/0cae7d548d47/pvinverter/20/Ac/L3/Energy/Forward {"value": 1751.884666666667}
> N/0cae7d548d47/grid/32/Ac/Voltage {"value": 232.0}
> N/0cae7d548d47/grid/32/Ac/L1/Voltage {"value": 231.70000000000002}
> N/0cae7d548d47/grid/32/Ac/L3/Voltage {"value": 233.0}
> N/0cae7d548d47/system/0/Serial {"value": "0cae7d548d47"}
> N/0cae7d548d47/vebus/261/Dc/0/Power {"value": 41}
> N/0cae7d548d47/system/0/Ac/Grid/L3/Power {"value": 217.30000000000001}
> N/0cae7d548d47/system/0/Dc/Vebus/Power {"value": 41}
> N/0cae7d548d47/system/0/Ac/ConsumptionOnInput/L1/Power {"value": 1005.9000000000001}
> N/0cae7d548d47/grid/32/Ac/Power {"value": 1345.7}
> N/0cae7d548d47/grid/32/Ac/L1/Current {"value": 4.827}
> N/0cae7d548d47/grid/32/Ac/L1/Power {"value": 1028.9000000000001}
> N/0cae7d548d47/grid/32/Ac/L2/Current {"value": 0.81300000000000006}
> N/0cae7d548d47/grid/32/Ac/L2/Power {"value": 99.100000000000009}
> N/0cae7d548d47/grid/32/Ac/L3/Power {"value": 217.60000000000002}
> N/0cae7d548d47/system/0/Ac/Grid/L2/Power {"value": 99.0}
> N/0cae7d548d47/system/0/Ac/ConsumptionOnInput/L2/Power {"value": 67.0}
> N/0cae7d548d47/system/0/Ac/Consumption/L3/Power {"value": 199.30000000000001}
> N/0cae7d548d47/system/0/Ac/Consumption/L2/Power {"value": 67.0}
> N/0cae7d548d47/system/0/Ac/ConsumptionOnInput/L3/Power {"value": 199.30000000000001}
> N/0cae7d548d47/system/0/Ac/Grid/L1/Power {"value": 1027.9000000000001}
> N/0cae7d548d47/system/0/Ac/Consumption/L1/Power {"value": 1005.9000000000001}
> N/0cae7d548d47/system/0/Timers/TimeOnGrid {"value": 627221}
> N/0cae7d548d47/pvinverter/20/Ac/L1/Voltage {"value": 230.50000343471766}
> N/0cae7d548d47/pvinverter/20/Ac/L1/Energy/Forward {"value": 1751.8846666666666}
> N/0cae7d548d47/pvinverter/20/Ac/L2/Voltage {"value": 230.50000343471766}
> N/0cae7d548d47/pvinverter/20/Ac/L2/Energy/Forward {"value": 1751.8846666666666}
> N/0cae7d548d47/pvinverter/20/Ac/L3/Voltage {"value": 233.60000348091125}
> N/0cae7d548d47/pvinverter/20/Ac/L3/Energy/Forward {"value": 1751.8846666666666}
> N/0cae7d548d47/vebus/261/Hub4/L3/AcPowerSetpoint {"value": 8}
> N/0cae7d548d47/vebus/261/Ac/ActiveIn/P {"value": 72}
> N/0cae7d548d47/vebus/261/Ac/ActiveIn/L2/V {"value": 232.42999267578125}
> N/0cae7d548d47/vebus/261/Ac/ActiveIn/L2/I {"value": 0.62999999523162842}
> N/0cae7d548d47/vebus/261/Ac/ActiveIn/L2/P {"value": 32}
> N/0cae7d548d47/vebus/261/Ac/Out/P {"value": 31}
> N/0cae7d548d47/vebus/261/Ac/Out/L1/P {"value": 11}
> N/0cae7d548d47/vebus/261/Ac/Out/L2/V {"value": 232.42999267578125}
> N/0cae7d548d47/vebus/261/Ac/Out/L2/I {"value": 0.34000000357627869}
> N/0cae7d548d47/vebus/261/Ac/Out/L2/P {"value": 13}
> N/0cae7d548d47/vebus/261/Ac/Out/L3/P {"value": 7}
> N/0cae7d548d47/vebus/261/Hub4/L2/AcPowerSetpoint {"value": 12}
> N/0cae7d548d47/system/0/Ac/Grid/L3/Power {"value": 217.40000000000001}
> N/0cae7d548d47/system/0/Ac/ConsumptionOnInput/L1/Power {"value": 1007.3}
> N/0cae7d548d47/grid/32/Ac/Power {"value": 1342.3000000000002}
> N/0cae7d548d47/grid/32/Ac/L1/Power {"value": 1027.9000000000001}
> N/0cae7d548d47/grid/32/Ac/L3/Power {"value": 217.0}
> N/0cae7d548d47/system/0/Ac/Grid/L2/Power {"value": 99.100000000000009}
> N/0cae7d548d47/system/0/Ac/ConsumptionOnInput/L2/Power {"value": 67.100000000000009}
> N/0cae7d548d47/system/0/Ac/Consumption/L3/Power {"value": 199.40000000000001}
> N/0cae7d548d47/system/0/Ac/Consumption/L2/Power {"value": 67.100000000000009}
> N/0cae7d548d47/system/0/Ac/ConsumptionOnInput/L3/Power {"value": 199.40000000000001}
> N/0cae7d548d47/system/0/Ac/Grid/L1/Power {"value": 1029.3}
> N/0cae7d548d47/system/0/Ac/Consumption/L1/Power {"value": 1007.3}
> N/0cae7d548d47/pvinverter/20/Ac/L1/Voltage {"value": 230.50000343471766}
> N/0cae7d548d47/pvinverter/20/Ac/L1/Energy/Forward {"value": 1751.8846666666668}
> N/0cae7d548d47/pvinverter/20/Ac/L2/Energy/Forward {"value": 1751.8846666666668}
> N/0cae7d548d47/pvinverter/20/Ac/L3/Voltage {"value": 233.10000347346067}
> N/0cae7d548d47/pvinverter/20/Ac/L3/Energy/Forward {"value": 1751.8846666666668}
> N/0cae7d548d47/vebus/261/Hub4/L1/AcPowerSetpoint {"value": 11}
> N/0cae7d548d47/grid/32/Ac/Voltage {"value": 231.90000000000001}
> N/0cae7d548d47/grid/32/Ac/L2/Voltage {"value": 231.20000000000002}
> N/0cae7d548d47/grid/32/Ac/L2/Power {"value": 98.700000000000003}
> N/0cae7d548d47/vebus/261/Hub4/L3/AcPowerSetpoint {"value": 7}
> N/0cae7d548d47/vebus/261/Hub4/L2/AcPowerSetpoint {"value": 13}
> N/0cae7d548d47/system/0/Ac/Grid/L3/Power {"value": 217.40000000000001}
> N/0cae7d548d47/system/0/Ac/ConsumptionOnInput/L1/Power {"value": 1006.3}
> N/0cae7d548d47/grid/32/Ac/Current {"value": 6.8900000000000006}
> N/0cae7d548d47/grid/32/Ac/Power {"value": 1344.5}
> N/0cae7d548d47/grid/32/Ac/L1/Current {"value": 4.8200000000000003}
> N/0cae7d548d47/grid/32/Ac/L1/Power {"value": 1028.5}
> N/0cae7d548d47/grid/32/Ac/L2/Power {"value": 99.0}
> N/0cae7d548d47/grid/32/Ac/L3/Power {"value": 217.40000000000001}
> N/0cae7d548d47/system/0/Ac/Grid/L2/Power {"value": 99.0}
> N/0cae7d548d47/system/0/Ac/ConsumptionOnInput/L2/Power {"value": 68.0}
> N/0cae7d548d47/system/0/Ac/Consumption/L3/Power {"value": 200.40000000000001}
> N/0cae7d548d47/system/0/Ac/Consumption/L2/Power {"value": 68.0}
> N/0cae7d548d47/system/0/Ac/ConsumptionOnInput/L3/Power {"value": 200.40000000000001}
> N/0cae7d548d47/system/0/Ac/Grid/L1/Power {"value": 1027.3}
> N/0cae7d548d47/system/0/Ac/Consumption/L1/Power {"value": 1006.3}
> N/0cae7d548d47/pvinverter/20/Ac/L1/Voltage {"value": 230.20000343024731}
> N/0cae7d548d47/pvinverter/20/Ac/L1/Energy/Forward {"value": 1751.884666666667}
> N/0cae7d548d47/pvinverter/20/Ac/L2/Voltage {"value": 230.70000343769789}
> N/0cae7d548d47/pvinverter/20/Ac/L2/Energy/Forward {"value": 1751.884666666667}
> N/0cae7d548d47/pvinverter/20/Ac/L3/Voltage {"value": 233.60000348091125}
> N/0cae7d548d47/pvinverter/20/Ac/L3/Energy/Forward {"value": 1751.884666666667}
> N/0cae7d548d47/vebus/261/Ac/ActiveIn/P {"value": 69}
> N/0cae7d548d47/vebus/261/Ac/ActiveIn/L1/P {"value": 21}
> N/0cae7d548d47/vebus/261/Ac/ActiveIn/L2/P {"value": 31}
> N/0cae7d548d47/vebus/261/Ac/ActiveIn/L3/P {"value": 17}
> N/0cae7d548d47/vebus/261/Ac/Out/P {"value": 28}
> N/0cae7d548d47/vebus/261/Ac/Out/L1/P {"value": 10}
> N/0cae7d548d47/vebus/261/Ac/Out/L1/F {"value": 50.076923370361328}
> N/0cae7d548d47/vebus/261/Ac/Out/L2/P {"value": 12}
> N/0cae7d548d47/vebus/261/Ac/Out/L2/F {"value": 50.076923370361328}
> N/0cae7d548d47/vebus/261/Ac/Out/L3/P {"value": 6}
> N/0cae7d548d47/vebus/261/Ac/Out/L3/F {"value": 50.076923370361328}
> N/0cae7d548d47/vebus/261/Hub4/L2/AcPowerSetpoint {"value": 12}
> N/0cae7d548d47/system/0/Ac/ConsumptionOnInput/L1/Power {"value": 1007.4000000000001}
> N/0cae7d548d47/grid/32/Ac/Power {"value": 1343.8000000000002}
> N/0cae7d548d47/grid/32/Ac/L1/Power {"value": 1027.8}
> N/0cae7d548d47/grid/32/Ac/L2/Power {"value": 99.0}
> N/0cae7d548d47/grid/32/Ac/L3/Power {"value": 217.0}
> N/0cae7d548d47/vebus/261/Hub4/L1/AcPowerSetpoint {"value": 10}
> N/0cae7d548d47/system/0/Ac/Grid/L1/Power {"value": 1028.4000000000001}
> N/0cae7d548d47/system/0/Ac/Consumption/L1/Power {"value": 1007.4000000000001}
> N/0cae7d548d47/pvinverter/20/Ac/L1/Voltage {"value": 230.40000343322754}
> N/0cae7d548d47/pvinverter/20/Ac/L1/Energy/Forward {"value": 1751.8846666666666}
> N/0cae7d548d47/pvinverter/20/Ac/L2/Voltage {"value": 230.800003439188}
> N/0cae7d548d47/pvinverter/20/Ac/L2/Energy/Forward {"value": 1751.8846666666666}
> N/0cae7d548d47/pvinverter/20/Ac/L3/Voltage {"value": 233.60000348091125}
> N/0cae7d548d47/pvinverter/20/Ac/L3/Energy/Forward {"value": 1751.8846666666666}
> N/0cae7d548d47/system/0/Ac/Grid/L3/Power {"value": 217.10000000000002}
> N/0cae7d548d47/system/0/Ac/Grid/L2/Power {"value": 99.100000000000009}
> N/0cae7d548d47/system/0/Ac/ConsumptionOnInput/L2/Power {"value": 68.100000000000009}
> N/0cae7d548d47/system/0/Ac/Consumption/L3/Power {"value": 200.10000000000002}
> N/0cae7d548d47/system/0/Ac/Consumption/L2/Power {"value": 68.100000000000009}
> N/0cae7d548d47/system/0/Ac/ConsumptionOnInput/L3/Power {"value": 200.10000000000002}
> N/0cae7d548d47/battery/1/Dc/0/Current {"value": -0.69999999999999996}
> N/0cae7d548d47/battery/1/Dc/0/Power {"value": -35}
> N/0cae7d548d47/vebus/261/Hub4/L3/AcPowerSetpoint {"value": 6}
> N/0cae7d548d47/system/0/Ac/Grid/L3/Power {"value": 217.10000000000002}
> N/0cae7d548d47/system/0/Dc/Battery/Power {"value": -35}
> N/0cae7d548d47/grid/32/Ac/Current {"value": 6.8920000000000003}
> N/0cae7d548d47/grid/32/Ac/Power {"value": 1345.0}
> N/0cae7d548d47/grid/32/Ac/L1/Current {"value": 4.8230000000000004}
> N/0cae7d548d47/grid/32/Ac/L1/Power {"value": 1029.1000000000001}
> N/0cae7d548d47/grid/32/Ac/L2/Power {"value": 98.800000000000011}
> N/0cae7d548d47/grid/32/Ac/L3/Current {"value": 1.256}
> N/0cae7d548d47/grid/32/Ac/L3/Power {"value": 217.80000000000001}
> N/0cae7d548d47/system/0/Ac/ConsumptionOnInput/L1/Power {"value": 1006.5}
> N/0cae7d548d47/system/0/Ac/Grid/L2/Power {"value": 98.800000000000011}
> N/0cae7d548d47/system/0/Ac/ConsumptionOnInput/L2/Power {"value": 67.800000000000011}
> N/0cae7d548d47/system/0/Ac/Consumption/L3/Power {"value": 200.10000000000002}
> N/0cae7d548d47/system/0/Ac/Consumption/L2/Power {"value": 67.800000000000011}
> N/0cae7d548d47/system/0/Ac/ConsumptionOnInput/L3/Power {"value": 200.10000000000002}
> N/0cae7d548d47/system/0/Ac/Grid/L1/Power {"value": 1027.5}
> N/0cae7d548d47/system/0/Ac/Consumption/L1/Power {"value": 1006.5}
> N/0cae7d548d47/system/0/Dc/Battery/Current {"value": -0.69999999999999996}
> N/0cae7d548d47/pvinverter/20/Ac/L1/Voltage {"value": 230.50000343471766}
> N/0cae7d548d47/pvinverter/20/Ac/L1/Energy/Forward {"value": 1751.884666666667}
> N/0cae7d548d47/pvinverter/20/Ac/L2/Voltage {"value": 230.60000343620777}
> N/0cae7d548d47/pvinverter/20/Ac/L2/Energy/Forward {"value": 1751.884666666667}
> N/0cae7d548d47/pvinverter/20/Ac/L3/Voltage {"value": 233.00000347197056}
> N/0cae7d548d47/pvinverter/20/Ac/L3/Energy/Forward {"value": 1751.884666666667}
> N/0cae7d548d47/battery/1/Dc/0/Current {"value": -0.70999999999999996}
> N/0cae7d548d47/battery/1/Dc/0/Power {"value": -36}
> N/0cae7d548d47/vebus/261/Ac/ActiveIn/P {"value": 72}
> N/0cae7d548d47/vebus/261/Ac/ActiveIn/L1/P {"value": 22}
> N/0cae7d548d47/vebus/261/Ac/ActiveIn/L2/I {"value": 0.4699999988079071}
> N/0cae7d548d47/vebus/261/Ac/ActiveIn/L2/P {"value": 33}
> N/0cae7d548d47/vebus/261/Ac/Out/P {"value": 30}
> N/0cae7d548d47/vebus/261/Ac/Out/L2/I {"value": 0.18000000715255737}
> N/0cae7d548d47/vebus/261/Ac/Out/L2/P {"value": 14}
> N/0cae7d548d47/pvinverter/20/Ac/L1/Voltage {"value": 230.40000343322754}
> N/0cae7d548d47/pvinverter/20/Ac/L1/Energy/Forward {"value": 1751.8846666666666}
> N/0cae7d548d47/pvinverter/20/Ac/L2/Voltage {"value": 230.800003439188}
> N/0cae7d548d47/pvinverter/20/Ac/L2/Energy/Forward {"value": 1751.8846666666666}
> N/0cae7d548d47/pvinverter/20/Ac/L3/Voltage {"value": 233.00000347197056}
> N/0cae7d548d47/pvinverter/20/Ac/L3/Energy/Forward {"value": 1751.8846666666666}
> N/0cae7d548d47/grid/32/Ac/Power {"value": 1346.2}
> N/0cae7d548d47/grid/32/Ac/L1/Power {"value": 1027.7}
> N/0cae7d548d47/grid/32/Ac/L2/Power {"value": 99.400000000000006}
> N/0cae7d548d47/grid/32/Ac/L3/Power {"value": 217.30000000000001}
> N/0cae7d548d47/system/0/Ac/Grid/L3/Power {"value": 217.30000000000001}
> N/0cae7d548d47/system/0/Dc/Battery/Power {"value": -36}
> N/0cae7d548d47/system/0/Ac/ConsumptionOnInput/L1/Power {"value": 1006.4000000000001}
> N/0cae7d548d47/system/0/Ac/ConsumptionOnInput/L2/Power {"value": 66.0}
> N/0cae7d548d47/system/0/Ac/Consumption/L3/Power {"value": 200.30000000000001}
> N/0cae7d548d47/system/0/Ac/Consumption/L2/Power {"value": 66.0}
> N/0cae7d548d47/system/0/Ac/ConsumptionOnInput/L3/Power {"value": 200.30000000000001}
> N/0cae7d548d47/system/0/Ac/Grid/L1/Power {"value": 1028.4000000000001}
> N/0cae7d548d47/system/0/Ac/Consumption/L1/Power {"value": 1006.4000000000001}
> N/0cae7d548d47/system/0/Dc/Battery/Current {"value": -0.70999999999999996}
> N/0cae7d548d47/system/0/Timers/TimeOnGrid {"value": 627231}
> N/0cae7d548d47/vebus/261/Hub4/L2/AcPowerSetpoint {"value": 13}
> N/0cae7d548d47/grid/32/Ac/Voltage {"value": 232.20000000000002}
> N/0cae7d548d47/grid/32/Ac/L1/Voltage {"value": 231.80000000000001}
> N/0cae7d548d47/grid/32/Ac/L2/Voltage {"value": 231.70000000000002}
> N/0cae7d548d47/grid/32/Ac/L3/Voltage {"value": 233.20000000000002}
> N/0cae7d548d47/system/0/Ac/Grid/L2/Power {"value": 99.0}
> N/0cae7d548d47/battery/1/Dc/0/Current {"value": -0.69999999999999996}
> N/0cae7d548d47/battery/1/Dc/0/Power {"value": -35}
> N/0cae7d548d47/system/0/Dc/Battery/Power {"value": -35}
> N/0cae7d548d47/grid/32/Ac/Current {"value": 6.891}
> N/0cae7d548d47/grid/32/Ac/Power {"value": 1344.3000000000002}
> N/0cae7d548d47/grid/32/Ac/L1/Current {"value": 4.8200000000000003}
> N/0cae7d548d47/grid/32/Ac/L1/Power {"value": 1028.3}
> N/0cae7d548d47/grid/32/Ac/L2/Current {"value": 0.81400000000000006}
> N/0cae7d548d47/grid/32/Ac/L2/Power {"value": 99.200000000000003}
> N/0cae7d548d47/grid/32/Ac/L3/Current {"value": 1.2570000000000001}
> N/0cae7d548d47/system/0/Ac/ConsumptionOnInput/L1/Power {"value": 1004.7}
> N/0cae7d548d47/system/0/Ac/Grid/L2/Power {"value": 98.900000000000006}
> N/0cae7d548d47/system/0/Ac/ConsumptionOnInput/L2/Power {"value": 65.900000000000006}
> N/0cae7d548d47/system/0/Ac/Consumption/L2/Power {"value": 65.900000000000006}
> N/0cae7d548d47/system/0/Ac/Grid/L1/Power {"value": 1026.7}
> N/0cae7d548d47/system/0/Ac/Consumption/L1/Power {"value": 1004.7}
> N/0cae7d548d47/system/0/Dc/Battery/Current {"value": -0.69999999999999996}
> N/0cae7d548d47/pvinverter/20/Ac/L1/Voltage {"value": 230.30000343173742}
> N/0cae7d548d47/pvinverter/20/Ac/L1/Energy/Forward {"value": 1751.8846666666666}
> N/0cae7d548d47/pvinverter/20/Ac/L2/Voltage {"value": 230.800003439188}
> N/0cae7d548d47/pvinverter/20/Ac/L2/Energy/Forward {"value": 1751.8846666666666}
> N/0cae7d548d47/pvinverter/20/Ac/L3/Voltage {"value": 233.40000347793102}
> N/0cae7d548d47/pvinverter/20/Ac/L3/Energy/Forward {"value": 1751.8846666666666}
> N/0cae7d548d47/system/0/Batteries {"value": [{"soc": 29.900000000000002, "power": -35, "active_battery_service": true, "name": "FIAMM 48TL Series Battery x2", "current": -0.69999999999999996, "instance": 1, "state": 2, "voltage": 51.329999999999998, "id": "com.victronenergy.battery.ttyUSB1", "temperature": 271.75}]}
> N/0cae7d548d47/vebus/261/Dc/0/Power {"value": 42}
> N/0cae7d548d47/system/0/Dc/Vebus/Power {"value": 42}
> N/0cae7d548d47/grid/32/Ac/L3/Power {"value": 217.0}
> N/0cae7d548d47/battery/1/Dc/0/Current {"value": -0.70999999999999996}
> N/0cae7d548d47/battery/1/Dc/0/Power {"value": -36}
> N/0cae7d548d47/vebus/261/Ac/ActiveIn/L1/V {"value": 231.33000183105469}
> N/0cae7d548d47/vebus/261/Ac/ActiveIn/L1/P {"value": 23}
> N/0cae7d548d47/vebus/261/Ac/ActiveIn/L2/V {"value": 231.42999267578125}
> N/0cae7d548d47/vebus/261/Ac/ActiveIn/L2/P {"value": 31}
> N/0cae7d548d47/vebus/261/Ac/ActiveIn/L3/P {"value": 18}
> N/0cae7d548d47/vebus/261/Ac/Out/P {"value": 31}
> N/0cae7d548d47/vebus/261/Ac/Out/L1/V {"value": 231.33000183105469}
> N/0cae7d548d47/vebus/261/Ac/Out/L1/P {"value": 11}
> N/0cae7d548d47/vebus/261/Ac/Out/L1/F {"value": 49.948848724365234}
> N/0cae7d548d47/vebus/261/Ac/Out/L2/V {"value": 231.42999267578125}
> N/0cae7d548d47/vebus/261/Ac/Out/L2/P {"value": 13}
> N/0cae7d548d47/vebus/261/Ac/Out/L2/F {"value": 49.948848724365234}
> N/0cae7d548d47/vebus/261/Ac/Out/L3/P {"value": 7}
> N/0cae7d548d47/vebus/261/Ac/Out/L3/F {"value": 49.948848724365234}
> N/0cae7d548d47/vebus/261/Hub4/L2/AcPowerSetpoint {"value": 14}
> N/0cae7d548d47/grid/32/Ac/Power {"value": 1344.6000000000001}
> N/0cae7d548d47/grid/32/Ac/L1/Power {"value": 1026.1000000000001}
> N/0cae7d548d47/grid/32/Ac/L2/Power {"value": 98.900000000000006}
> N/0cae7d548d47/system/0/Ac/Grid/L3/Power {"value": 217.20000000000002}
> N/0cae7d548d47/system/0/Dc/Battery/Power {"value": -36}
> N/0cae7d548d47/system/0/Ac/ConsumptionOnInput/L1/Power {"value": 1005.3}
> N/0cae7d548d47/system/0/Ac/Grid/L2/Power {"value": 99.200000000000003}
> N/0cae7d548d47/system/0/Ac/ConsumptionOnInput/L2/Power {"value": 68.200000000000003}
> N/0cae7d548d47/system/0/Ac/Consumption/L3/Power {"value": 199.20000000000002}
> N/0cae7d548d47/system/0/Ac/Consumption/L2/Power {"value": 68.200000000000003}
> N/0cae7d548d47/system/0/Ac/ConsumptionOnInput/L3/Power {"value": 199.20000000000002}
> N/0cae7d548d47/system/0/Ac/Grid/L1/Power {"value": 1028.3}
> N/0cae7d548d47/system/0/Ac/Consumption/L1/Power {"value": 1005.3}
> N/0cae7d548d47/system/0/Dc/Battery/Current {"value": -0.70999999999999996}
> N/0cae7d548d47/grid/32/Ac/Voltage {"value": 232.0}
> N/0cae7d548d47/grid/32/Ac/Power {"value": 1344.8000000000002}
> N/0cae7d548d47/grid/32/Ac/L1/Voltage {"value": 231.60000000000002}
> N/0cae7d548d47/grid/32/Ac/L2/Voltage {"value": 231.5}
> N/0cae7d548d47/grid/32/Ac/L2/Power {"value": 98.700000000000003}
> N/0cae7d548d47/grid/32/Ac/L3/Voltage {"value": 233.10000000000002}
> N/0cae7d548d47/grid/32/Ac/L3/Power {"value": 216.80000000000001}
> N/0cae7d548d47/system/0/Ac/Grid/L3/Power {"value": 217.0}
> N/0cae7d548d47/system/0/Ac/ConsumptionOnInput/L1/Power {"value": 1003.1000000000001}
> N/0cae7d548d47/system/0/Ac/Grid/L2/Power {"value": 98.900000000000006}
> N/0cae7d548d47/system/0/Ac/ConsumptionOnInput/L2/Power {"value": 67.900000000000006}
> N/0cae7d548d47/system/0/Ac/Consumption/L3/Power {"value": 199.0}
> N/0cae7d548d47/system/0/Ac/Consumption/L2/Power {"value": 67.900000000000006}
> N/0cae7d548d47/system/0/Ac/ConsumptionOnInput/L3/Power {"value": 199.0}
> N/0cae7d548d47/system/0/Ac/Grid/L1/Power {"value": 1026.1000000000001}
> N/0cae7d548d47/system/0/Ac/Consumption/L1/Power {"value": 1003.1000000000001}
> N/0cae7d548d47/pvinverter/20/Ac/L1/Voltage {"value": 230.20000343024731}
> N/0cae7d548d47/pvinverter/20/Ac/L1/Energy/Forward {"value": 1751.884666666667}
> N/0cae7d548d47/pvinverter/20/Ac/L2/Voltage {"value": 230.60000343620777}
> N/0cae7d548d47/pvinverter/20/Ac/L2/Energy/Forward {"value": 1751.884666666667}
> N/0cae7d548d47/pvinverter/20/Ac/L3/Voltage {"value": 233.30000347644091}
> N/0cae7d548d47/pvinverter/20/Ac/L3/Energy/Forward {"value": 1751.884666666667}
> N/0cae7d548d47/vebus/261/Hub4/L3/AcPowerSetpoint {"value": 7}
> N/0cae7d548d47/vebus/261/Hub4/L2/AcPowerSetpoint {"value": 13}
> N/0cae7d548d47/vebus/261/Hub4/L1/AcPowerSetpoint {"value": 11}
> N/0cae7d548d47/grid/32/Ac/Current {"value": 6.8860000000000001}
> N/0cae7d548d47/grid/32/Ac/Power {"value": 1343.8000000000002}
> N/0cae7d548d47/grid/32/Ac/L1/Current {"value": 4.8170000000000002}
> N/0cae7d548d47/grid/32/Ac/L1/Power {"value": 1026.7}
> N/0cae7d548d47/grid/32/Ac/L2/Current {"value": 0.81300000000000006}
> N/0cae7d548d47/grid/32/Ac/L2/Power {"value": 98.600000000000009}
> N/0cae7d548d47/grid/32/Ac/L3/Current {"value": 1.256}
> N/0cae7d548d47/grid/32/Ac/L3/Power {"value": 217.30000000000001}
> N/0cae7d548d47/system/0/Ac/Grid/L3/Power {"value": 217.10000000000002}
> N/0cae7d548d47/system/0/Ac/Grid/L2/Power {"value": 98.600000000000009}
> N/0cae7d548d47/system/0/Ac/ConsumptionOnInput/L2/Power {"value": 67.600000000000009}
> N/0cae7d548d47/system/0/Ac/Consumption/L3/Power {"value": 199.10000000000002}
> N/0cae7d548d47/system/0/Ac/Consumption/L2/Power {"value": 67.600000000000009}
> N/0cae7d548d47/system/0/Ac/ConsumptionOnInput/L3/Power {"value": 199.10000000000002}
> N/0cae7d548d47/pvinverter/20/Ac/L1/Voltage {"value": 230.40000343322754}
> N/0cae7d548d47/pvinverter/20/Ac/L1/Energy/Forward {"value": 1751.8846666666666}
> N/0cae7d548d47/pvinverter/20/Ac/L2/Voltage {"value": 230.40000343322754}
> N/0cae7d548d47/pvinverter/20/Ac/L2/Energy/Forward {"value": 1751.8846666666666}
> N/0cae7d548d47/pvinverter/20/Ac/L3/Voltage {"value": 233.30000347644091}
> N/0cae7d548d47/pvinverter/20/Ac/L3/Energy/Forward {"value": 1751.8846666666666}
> N/0cae7d548d47/logger/0/Vrm/TimeLastContact {"value": 1579891997}
> N/0cae7d548d47/logger/0/Buffer/FreeDiskSpace {"value": 502226944}
> N/0cae7d548d47/vebus/261/Dc/0/Power {"value": 41}
> N/0cae7d548d47/system/0/Dc/Vebus/Power {"value": 41}
> N/0cae7d548d47/system/0/Ac/ConsumptionOnInput/L1/Power {"value": 1002.7}
> N/0cae7d548d47/system/0/Ac/Grid/L1/Power {"value": 1025.7}
> N/0cae7d548d47/system/0/Ac/Consumption/L1/Power {"value": 1002.7}
> N/0cae7d548d47/system/0/Batteries {"value": [{"soc": 29.900000000000002, "power": -36, "active_battery_service": true, "name": "FIAMM 48TL Series Battery x2", "current": -0.70999999999999996, "instance": 1, "state": 2, "voltage": 51.329999999999998, "id": "com.victronenergy.battery.ttyUSB1", "temperature": 271.75}]}

Do you have any ideas?

Many thanks!

Some messages won’t be sent unless the values change. Perhaps wait until you are getting some sunlight?

You were perfectly right, thanks Zooka! The problem was that I was only programming at night :).

Cheers

2 Likes

Hi @Zooka
I can’t connect with the ccgx IP address
“the IP address in Settings-> Services-> Ethernet”
I am trying to add the ccgx broker service, it does not connect in the openhab2 interface (Paper UI). do you know why, please?
Thank’s

Hello,

I have no experience with the Paper UI unfortunately. I prefer editing the text files as I found they offer more flexibility.

Let’s troubleshoot anyway; are you able to ping the ccgx and connect to it via the web browser?

Hi,
I managed to log into ccgx i have the data i need.
Is there a way to leave the ccgx awake and send us messages without having to re-run the command each time?

@Hobohome modified the python script to eliminate re-running the command. I wasn’t sure if this would affect future upgrades, so I turned it into a cron job instead, it’s been running since I first posted this how-to with no issues.

Congrats on getting it working, we would love to hear about your setup.

Yes, you do need to apply the python script change after every Venus OS upgrade - but it is a 30 second edit.
I found that the default timeout of 60 seconds caused an issue even with a OH cron rule set to publish to the Venus every 30 seconds. If OH had an issue or even when doing a slow start after a cache clear, the Venus would stop publishing and cause issues.
Editing the python script and changing the timeout to 65000 seconds provides plenty of time to deal with these things :slight_smile:
Happily, Victron as also fixed an issue (BYD battery related) that caused the venus to publish all nulls to topics every few weeks.

As a side note I prefer to use node red to collect the data and then send it to Openhab that way I have the data on hand to to any automation tasks within node red. It also much easier to implement the “kick” command within node red.

Below is a copy of one of the flows to “parse” the info for Openhab and to use it elsewhere
Hope it helps.

[
    {
        "id": "a600f9e3.0aaf18",
        "type": "subflow",
        "name": "json Adv",
        "info": "Converts between a JSON string and its JavaScript object representation, in either direction.\r\n\r\nThis will also test if it is a valid json string and if not it will send the value to the second output\r\n\r\n\r\n\r\nInputs\r\npayloadobject | string\r\nA JavaScript object or JSON string.\r\nschemaobject\r\nAn optional JSON Schema object to validate the payload against. The property will be deleted before the msg is sent to the next node.\r\nOutputs\r\npayloadobject | string\r\nIf the input is a JSON string it tries to parse it to a JavaScript object.\r\nIf the input is a JavaScript object it creates a JSON string. The string can optionally be well-formatted.\r\nschemaErrorarray\r\nIf JSON schema validation fails, the catch node will have a schemaError property containing an array of errors.\r\nDetails\r\nBy default, the node operates on msg.payload, but can be configured to convert any message property.\r\n\r\nThe node can also be configured to ensure a particular encoding instead of toggling between the two. This can be used, for example, with the HTTP In node to ensure the payload is a parsed object even if an incoming request did not set its content-type correctly for the HTTP In node to do the conversion.\r\n\r\nIf the node is configured to ensure the property is encoded as a String and it receives a String, no further checks will be made of the property. It will not check the String is valid JSON nor will it reformat it if the format option is selected.\r\n\r\nFor more details about JSON Schema you can consult the specification here.",
        "category": "",
        "in": [
            {
                "x": 100,
                "y": 130,
                "wires": [
                    {
                        "id": "b8708d30.2148a"
                    }
                ]
            }
        ],
        "out": [
            {
                "x": 400,
                "y": 80,
                "wires": [
                    {
                        "id": "2d4c65e6.a77a1a",
                        "port": 0
                    }
                ]
            },
            {
                "x": 340,
                "y": 160,
                "wires": [
                    {
                        "id": "b8708d30.2148a",
                        "port": 1
                    }
                ]
            }
        ],
        "env": [],
        "color": "#E2D96E",
        "outputLabels": [
            "json string",
            "non json string"
        ],
        "icon": "node-red/template.svg"
    },
    {
        "id": "2d4c65e6.a77a1a",
        "type": "json",
        "z": "a600f9e3.0aaf18",
        "name": "",
        "property": "payload",
        "action": "",
        "pretty": false,
        "x": 300,
        "y": 80,
        "wires": [
            []
        ]
    },
    {
        "id": "b8708d30.2148a",
        "type": "function",
        "z": "a600f9e3.0aaf18",
        "name": "Test Json",
        "func": "function tryParseJSON (jsonString){\n    try {\n        var o = JSON.parse(jsonString);\n\n        // Handle non-exception-throwing cases:\n        // Neither JSON.parse(false) or JSON.parse(1234) throw errors, hence the type-checking,\n        // but... JSON.parse(null) returns null, and typeof null === \"object\", \n        // so we must check for that, too. Thankfully, null is falsey, so this suffices:\n        if (o && typeof o === \"object\") {\n            return o;\n        }\n    }\n    catch (e) { }\n\n    return false;\n}\n\ndata = tryParseJSON(msg.payload)\n\nif (data === false){\n    \n   return [null,msg]    \n}else{\n   return [msg,null]\n}\n",
        "outputs": 2,
        "noerr": 0,
        "x": 200,
        "y": 120,
        "wires": [
            [
                "2d4c65e6.a77a1a"
            ],
            []
        ]
    },
    {
        "id": "61e213de.fff7bc",
        "type": "subflow",
        "name": "Solar Send",
        "info": "",
        "category": "",
        "in": [
            {
                "x": 80,
                "y": 80,
                "wires": [
                    {
                        "id": "4b92d70c.0af038"
                    }
                ]
            }
        ],
        "out": [
            {
                "x": 720,
                "y": 80,
                "wires": [
                    {
                        "id": "6d7b9fd0.b4a0b",
                        "port": 0
                    }
                ]
            },
            {
                "x": 500,
                "y": 130,
                "wires": [
                    {
                        "id": "4b92d70c.0af038",
                        "port": 1
                    }
                ]
            }
        ],
        "env": [
            {
                "name": "topic",
                "type": "str",
                "value": "",
                "ui": {
                    "icon": "font-awesome/fa-angle-double-right",
                    "type": "input",
                    "opts": {
                        "types": [
                            "str"
                        ]
                    },
                    "label": {}
                }
            }
        ],
        "color": "#87A980",
        "icon": "font-awesome/fa-braille",
        "status": {
            "x": 610,
            "y": 200,
            "wires": [
                {
                    "id": "87a6151a.dc1b28",
                    "port": 0
                }
            ]
        }
    },
    {
        "id": "3dbeee90.aa6e42",
        "type": "function",
        "z": "61e213de.fff7bc",
        "name": "Parse",
        "func": "msg.topic = env.get(\"topic\")\ndat = msg.payload.value;\nmsg.payload = dat.toFixed(0)\nreturn msg;",
        "outputs": 1,
        "noerr": 0,
        "x": 370,
        "y": 80,
        "wires": [
            [
                "6d7b9fd0.b4a0b",
                "87a6151a.dc1b28"
            ]
        ]
    },
    {
        "id": "4b92d70c.0af038",
        "type": "subflow:a600f9e3.0aaf18",
        "z": "61e213de.fff7bc",
        "name": "",
        "x": 200,
        "y": 80,
        "wires": [
            [
                "3dbeee90.aa6e42"
            ],
            []
        ]
    },
    {
        "id": "6d7b9fd0.b4a0b",
        "type": "delay",
        "z": "61e213de.fff7bc",
        "name": "",
        "pauseType": "rate",
        "timeout": "5",
        "timeoutUnits": "seconds",
        "rate": "1",
        "nbRateUnits": "15",
        "rateUnits": "second",
        "randomFirst": "1",
        "randomLast": "5",
        "randomUnits": "seconds",
        "drop": true,
        "x": 580,
        "y": 80,
        "wires": [
            []
        ]
    },
    {
        "id": "87a6151a.dc1b28",
        "type": "function",
        "z": "61e213de.fff7bc",
        "name": "",
        "func": "data = msg.payload\nmsg.payload = \"Last Val:\"+data\nreturn msg;",
        "outputs": 1,
        "noerr": 0,
        "x": 480,
        "y": 200,
        "wires": [
            []
        ]
    },
    {
        "id": "e641cf5a.784bf",
        "type": "mqtt in",
        "z": "af340fca.f650b",
        "name": "Pv Watts",
        "topic": "N/yurodeviceId/256/Yield/Power",
        "qos": "2",
        "datatype": "auto",
        "broker": "8f950837.8e8a58",
        "x": 280,
        "y": 1440,
        "wires": [
            [
                "b286d792.956cd8"
            ]
        ]
    },
    {
        "id": "b286d792.956cd8",
        "type": "subflow:61e213de.fff7bc",
        "z": "af340fca.f650b",
        "name": "solarwatts",
        "env": [
            {
                "name": "topic",
                "value": "stat/victron/solarwatts",
                "type": "str"
            }
        ],
        "x": 480,
        "y": 1440,
        "wires": [
            [],
            []
        ]
    },
    {
        "id": "8f950837.8e8a58",
        "type": "mqtt-broker",
        "z": "",
        "name": "Victron",
        "broker": "yourVictronIp",
        "port": "1883",
        "clientid": "9e794840-8057-11ea-883c-638d8ce4c23d",
        "usetls": false,
        "compatmode": false,
        "keepalive": "60",
        "cleansession": true,
        "birthTopic": "",
        "birthQos": "0",
        "birthPayload": "",
        "closeTopic": "",
        "closeQos": "0",
        "closePayload": "",
        "willTopic": "",
        "willQos": "0",
        "willPayload": ""
    }
]

Dear Zooka,

did you already find other values in Victron to load to OpenHAB ?
I am for example looking for the daily total power yield AC that was generated and sent to the grid, unfortunately I have no idea how to find this in 2300+ MQTT topics :frowning:

BR
Gawan

Hi Gawan,

Unfortunately I don’t export to the grid, so I probably wouldn’t see the MQTT topics anyways (they only get posted when a value changes). I think you’re going to have to search those 2300+ topics :frowning:

I’d use egrep to try and limit the output of mosquitto_sub; something like this;

mosquitto_sub -h ccgx -t "N/#" -v | egrep -i 'grid|power|ac'

Remember only to do this when you know you’re exporting to the grid.

There is also the “daily totals” topic: grep for History or Daily in which it does the tallying for you; you might have some luck finding it in there.

Good luck!

Thanks Zooka,

New to OH and really finding these tutorials helpful. I have a CCGX and would like to view the data in OH, exactly as per your tutorial. I am having some difficulties with the “Keep Alive” rule, which does not seem to work, I have gotten as far as
mosquitto_sub -h ccgx -t “N/#” -v
Which works - sending a significant data stream. My difficulty comes when accessing the data via OH, setup as per instruction but only get:
image
No values displayed for the battery voltage(I have removed all other items to keep it simple)

Additionally I have a log error for the “Keep alive rule”

==> /var/log/openhab2/openhab.log <==
2020-09-20 14:01:30.007 [ERROR] [ntime.internal.engine.ExecuteRuleJob] - Error during the execution of rule ‘CCGX MQTT Keep Alive Timer’: The name ‘publish’ cannot be resolved to an item or type; line 6, column 2, length 64

Any help greatly appreciated

Hi Gregory,

I will assume you are using the MQTT 2.x addon. Things changed slightly from 1.x so the formatting is a little different, I will make this clearer in my original post. Check out my post further down this thread as to the changes required. My rules file for example now uses the actions.publishMQTT function instead of just publish.

Have a look and let me know if you need any further help.

Thanks,

1 Like

Thanks Zooka, that did the trick!

Next question: is there any sort of tutorial/help on how to write to the CCGX, specifically change the MaxDischargePower wattage? I currently have:

ccgx.things
Type number : INV_max_discharge_power "Maximum Inverter Power" [stateTopic="W//Settings/0/CGwaXXXXcs/MaxDischargePower",transformationPattern="JSONPATH:$.value" ]

home.items
Number INV_max_discharge_power "Maximum Inverter Discharge Power [%.0fw]" { channel="mqtt:topic:ccgx_mqtt:solar:INV_max_discharge_power" }

I get no output, but that is probably to be expected because this is not a published topic, what I am trying to do is read what the current value of the setting, and then change this setting.

I also need some help on this:

2020-11-10 20:59:03.502 [WARN ] [l.generic.ChannelStateTransformation] - Executing the JSONPATH-transformation failed: An error occurred while transforming JSON expression.

2020-11-10 20:59:03.507 [WARN ] [eneric.internal.generic.ChannelState] - Incoming payload ‘{“value”: 44.550000548362732}’ not supported by type ‘NumberValue’

I use the Paper UI of OH2.5 with JsonPath transformation 2.4 installed to get the right value to the item:
Incoming value transformation:
JSONPATH:‘{“value”: %s}’

I only see examples here using the TXT file config method
but I am not (yet) into that
doing everyting through the PaperUI.
What would be the right value transformation expression to use here?