ha-bridge
ha-bridge copied to clipboard
MQTT format for NodeJS-PoolController
I'm having difficulty formatting the MQTT message payload in ha-bridge to talk to the nodejs-poolcontroller program. The pool controller wants the following message {"id":3, "isOn":true}
Here is what I have in ha-bridge: {"clientId":"1","topic":"intellicenter-i8ps/state/circuits/setState","message":"{"id":3, "isOn":true}","qos":"0","retain":"false"} When I try to run this, it errors out.
Any help would be appreciated. Thanks