Hello so i have a Victron GCCX and i am tying to see the data in this website mqtt.victronenergy.com, i have already activate the mqtt in the ccgx but i can not acces to the website. please if you a clue what to do.
Thank you
This site is now in read-only archive mode. Please move all discussion, and create a new account at the new Victron Community site.
Hello so i have a Victron GCCX and i am tying to see the data in this website mqtt.victronenergy.com, i have already activate the mqtt in the ccgx but i can not acces to the website. please if you a clue what to do.
Thank you
mqtt.victronenergy.com is the MQTT broker. Please read here for more information:
https://github.com/victronenergy/dbus-mqtt
Below is a small python script I made to turn Relay 1 on via MQTT. You might learn something from that.
https://gist.github.com/osaether/5ad837a7ad40a8ce98fced6a3504f5ad#file-mqtt-relayon-py
That was it. Node Red flow below for finding MQTT broker index.
[{"id":"8d6131b.c00625","type":"debug","z":"b22809a6.60c778","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","x":270,"y":180,"wires":[]},{"id":"1bd49478.3461f4","type":"function","z":"b22809a6.60c778","name":"Compute mqtt broker from vrm portal ID","func":"var a = msg.payload;\nvar xx = 0;\nfor (i = 0; i < a.length; i++) { \n x = a.charCodeAt(i)\n xx = xx + x;\n}\nvar idx = xx % 128;\nmsg.payload = idx;\nreturn msg;","outputs":1,"noerr":0,"x":200,"y":140,"wires":[["8d6131b.c00625"]]},{"id":"7c34ec9f.5f82cc","type":"inject","z":"b22809a6.60c778","name":"place VRM id in payload field, then inject","topic":"","payload":"","payloadType":"str","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":300,"y":80,"wires":[["1bd49478.3461f4"]]}]
6 People are following this question.