I have uploaded a few python scripts to control the relays on Venus GX and CCGX with Modbus and MQTT to github. Please check them out:
https://github.com/osaether/code-snippets/tree/master/victronenergy
This site is now in read-only archive mode. Please move all discussion, and create a new account at the new Victron Community site.
I have uploaded a few python scripts to control the relays on Venus GX and CCGX with Modbus and MQTT to github. Please check them out:
https://github.com/osaether/code-snippets/tree/master/victronenergy
Think there is something wrong with the link. I click it and get a 404 error.
Pat
Hi! I have success using the MQTT to one of my installations, but not to my other! Is there any way to log what is happening or find out why it does not succeed?
Hi,
Please note that the MQTT broker varies between installations. Victron used to have one broker but have split them into several servers to reduce the load on each server.
So instead of using
mqtt.victronenergy.com
you need to use an address similar to this:
mqtt67.victronenergy.com
See the last section on this page on how to calculate the correct address for your system:
https://github.com/victronenergy/dbus-mqtt
Also, make sure you have MQTT enabled on the Venus device :-)
Additional resources still need to be added for this topic
10 People are following this question.