This commit is contained in:
simonox 2023-02-20 18:48:44 +01:00
parent 9671bdcb3a
commit 936448953e

View file

@ -121,8 +121,8 @@ You can subscribe to your local MQTT server and subscribe to all or just the int
```sh
mosquitto_sub -h localhost -t '#' -p 1883 #all
mosquitto_sub -h localhost -t '/iot-platform/energy-monitor/test-device/ampere' -p 1883 #power
mosquitto_sub -h localhost -t '/iot-platform/energy-monitor/test-device/watt' -p 1883 #current
mosquitto_sub -h localhost -t '/iot-platform/energy-monitor/test-device/ampere' -p 1883 #current
mosquitto_sub -h localhost -t '/iot-platform/energy-monitor/test-device/watt' -p 1883 #power
```
##### Interesting code blocks