I’ve checked both the Venus and the HA configurations, and my memory was wrong (note to myself: write down all configurations done, as you’ll forget in 6 months…).
- MQTT is only used for 1/ grid and 2/ PV metering : using Github mods the Venus raspberry subscribes to relevant topics where these values are published by respective meters on an independent MQTT server (separate raspberry)
- Homeassistant reads the Venus data via its ModBus TCP service (using a specific HA integration )
Therefore I can confirm there is no MQTT bridge in place, only Venus subscribed to a couple of PV/grid power related topics.
However I did notice I had configured the HA ModBus TCP integration in “write” mode, which does provide the capacity to change Venus configurations. I have not knowingly used these write capacities, but just in case I have now disabled the “write” option in HA, leaving only the reading of the Venus ModBus values by HA.
I’ve just checked via SSH the log files on the Venus file system, and have found the following very surprising entries :
root@raspi2:~# cat /data/log/localsettings/@400000006777e1601907ff44.s | tai64nlocal
2024-12-30 16:11:14.968009500 INFO:root:Setting /Settings/Devices/serialbattery_JK_BMS_JK_PB1A16S15/SocCalc changed. Old: 43, New: 42
2024-12-30 16:19:33.734265500 INFO:root:Setting /Settings/Devices/serialbattery_JK_BMS_JK_PB1A16S15/SocCalc changed. Old: 42, New: 41
2024-12-30 16:27:56.535821500 INFO:root:Setting /Settings/Devices/serialbattery_JK_BMS_JK_PB1A16S15/SocCalc changed. Old: 41, New: 40
2024-12-31 08:23:49.897480500 INFO:root:Setting /Settings/CGwacs/MaxFeedInPower changed. Old: -1.0, New: 56900.0
2024-12-31 09:21:16.179716500 INFO:root:Setting /Settings/Devices/serialbattery_JK_BMS_JK_PB1A16S15/SocCalc changed. Old: 40, New: 41
2025-01-01 09:37:46.739555500 INFO:root:Setting /Settings/Devices/serialbattery_JK_BMS_JK_PB1A16S15/SocCalc changed. Old: 41, New: 42
2025-01-01 09:53:08.162306500 INFO:root:Setting /Settings/Devices/serialbattery_JK_BMS_JK_PB1A16S15/SocCalc changed. Old: 42, New: 43
2025-01-01 10:07:31.477530500 INFO:root:Setting /Settings/Devices/serialbattery_JK_BMS_JK_PB1A16S15/SocCalc changed. Old: 43, New: 44
The MaxFeedInPower is being changed to a weird unexpected value of 56900.0 W
Looking through these logs shows that lines with “CGwacs” correspond to occasional setting of wild values, such as 61400.0 W for AcPowerSetPoint
root@zeworks2:~# grep -rh "CGwacs" /data/log/localsettings/* | tai64nlocal
2024-12-31 08:23:49.897480500 INFO:root:Setting /Settings/CGwacs/MaxFeedInPower changed. Old: -1.0, New: 56900.0
2025-01-01 22:24:23.546174500 INFO:root:Setting /Settings/CGwacs/AcPowerSetPoint changed. Old: 100.0, New: 61400.0
2025-01-02 09:12:14.010448500 INFO:root:Setting /Settings/CGwacs/BatteryLife/MinimumSocLimit changed. Old: 40.0, New: 95.0
2025-01-02 09:57:08.807264500 INFO:root:Setting /Settings/CGwacs/AcPowerSetPoint changed. Old: 61400.0, New: 100.0
2025-01-02 09:58:34.205022500 INFO:root:Setting /Settings/CGwacs/BatteryLife/MinimumSocLimit changed. Old: 95.0, New: 60.0
2025-01-02 12:27:18.695789500 INFO:root:Setting /Settings/CGwacs/MaxFeedInPower changed. Old: 56900.0, New: 3000.0
2025-01-02 12:27:25.231425500 INFO:root:Setting /Settings/CGwacs/MaxFeedInPower changed. Old: 3000.0, New: -1.0
2025-01-07 15:35:32.511356500 INFO:root:Setting /Settings/CGwacs/AcPowerSetPoint changed. Old: 100.0, New: 5500.0
2025-01-07 15:35:34.341800500 INFO:root:Setting /Settings/CGwacs/AcPowerSetPoint changed. Old: 5500.0, New: 58500.0
2025-01-07 15:35:36.338296500 INFO:root:Setting /Settings/CGwacs/AcPowerSetPoint changed. Old: 58500.0, New: 1900.0
2025-01-07 15:35:38.556208500 INFO:root:Setting /Settings/CGwacs/MaxDischargePower changed. Old: -1.0, New: 1900.0
2025-01-07 19:09:21.976356500 INFO:root:Setting /Settings/CGwacs/MaxDischargePower changed. Old: 1900.0, New: -1.0
2025-01-07 19:09:23.916406500 INFO:root:Setting /Settings/CGwacs/MaxDischargePower changed. Old: -1.0, New: 1000.0
2025-01-07 19:09:26.940449500 INFO:root:Setting /Settings/CGwacs/MaxDischargePower changed. Old: 1000.0, New: -1.0
2025-01-07 19:09:33.537218500 INFO:root:Setting /Settings/CGwacs/MaxDischargePower changed. Old: -1.0, New: 1000.0
2025-01-07 19:09:39.972377500 INFO:root:Setting /Settings/CGwacs/MaxDischargePower changed. Old: 1000.0, New: -1.0
2025-01-07 19:10:32.836302500 INFO:root:Setting /Settings/CGwacs/AcPowerSetPoint changed. Old: 1900.0, New: 100.0
2025-01-08 00:07:29.119840500 INFO:root:Setting /Settings/CGwacs/MaxFeedInPower changed. Old: -1.0, New: 1000.0
2025-01-08 00:07:35.022739500 INFO:root:Setting /Settings/CGwacs/MaxFeedInPower changed. Old: 1000.0, New: -1.0
What I don’t understand from these logs, is who on earth ordered these changes. The CGwags appears to stand for “Carlo Gavazzi Wired AC Sensors”, but I don’t use these sensors: my grid is metered via MQTT subscription to a topic published by a Shelly CT probe… Is it possible that internally in the Venus engine, whatever grid metering is in place, it gets fed into a pseudo CGwags DBus ? Is there a way in the logs that I can nail down how those CGwags parameter changes came to be ?