MQTT PUB & SUB with IPX800
ฝัง
- เผยแพร่เมื่อ 10 ส.ค. 2022
- Configuring an IPX800 v5 to interact in MQTT .I create some widgets related to the relays to test the MQTT connection with the MOSQUITTO BROKER
MQTT SUB
mosquitto_sub -u tony -P icaro -h 192.168.6.99 -t "/strac/out/#"
MQTT PUB
mosquitto_pub -u tony -P icaro -h 192.168.6.99 -t "/strac/out/1" -m {\"state\":true}
Python client for testing
pastebin.com/c...