question

peter-mostert avatar image
peter-mostert asked

I would like to get the gridsupply value from the Colour Controller on the local network using Wi-Fi arduino 8266 board. Any help would be appreciated.

wifi
2 |3000

Up to 8 attachments (including images) can be used with a maximum of 190.8 MiB each and 286.6 MiB total.

2 Answers
russ avatar image
russ answered ·

I'd look at mqtt.

Can't be more specific than that, I'm about to something similar but I will also use node red on a raspberry pi.


2 |3000

Up to 8 attachments (including images) can be used with a maximum of 190.8 MiB each and 286.6 MiB total.

Héctor D. Rguez. avatar image
Héctor D. Rguez. answered ·

Hi;

I'm using MQTT to get information form the Venus. In my case, I use a simple macro from Linux. This is the code:

mosquitto_sub -h venus -t N/$Victron/system/0/Ac/Grid/L1/Power -C 1 >/tmp/Grid &
mosquitto_pub -h venus -t R/$Victron/system/0/Ac/Grid/L1/Power -m ''

You have to substitute $Victron for the ID of your installation.

The first command is made to run in background and listen to the MQTT messages related to Ac/Grid/L1/Power and wait only for one response (-C 1)

The second command ask to the MQTT server for Ac/Grid/L1/Power.

Note that the parameter are two ' no one "

The result is sent to a file /tmp/Grid

2 |3000

Up to 8 attachments (including images) can be used with a maximum of 190.8 MiB each and 286.6 MiB total.

Related Resources

Additional resources still need to be added for this topic