question

frederick avatar image
frederick asked

How to check AC loads from raspberrypi on Local Network

I have a Headless Raspberrypi in the same subnet as the Venus GX.

Mosquitto is installed on the Pi, and MQTT is enabled on the Venus GX.

A nmap scan shows ports 22,80,81,8000 and 9001 listening on the Venus GX.

A measurement of '/Ac/ConsumptionOnOutput/*' has to be made and a relay triggered on the Pi as to disconnect a load, to avoid overload.

I assume the AC consumption register value above, is the same value as the remote console "AC Load".

Here is the command running on the Pi:


root@MyPi:/home/pi$ mosquitto_pub -d -h VenusGX_IP_addr -m '["/Ac/Consumption/L1/Power"]' -t 'R/InstallID/keepalive'

Client mosqpub|1416-MyPi sending CONNECT

Client mosqpub|1416-MyPi received CONNACK (0)

Client mosqpub|1416-MyPi sending PUBLISH (d0, q0, r0, m1, 'R/InstallID/keepalive', ... (28 bytes))

Client mosqpub|1416-MyPi sending DISCONNECT


This gives no result (takes me back to the command prompt).

I want to read this value with a Python script every 5 seconds or so, and activate the relay as described above.

Your guidance please.

MQTT
1 comment
2 |3000

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

kevgermany avatar image kevgermany ♦♦ commented ·
@frederick

Moving to modifications space as it's a Pi question.

0 Likes 0 ·
0 Answers

Related Resources