PiDome MQTT topics
Posted: 22 Sep 2016, 22:34
Hi all!
I switched recently from openhab to Pidome. I switched ESP easy configuration to Pidome's MQTT broker, however things are working only one way now. Sensors values are correctly transmitted from ESP to MQTT server (/hooks/deivces/17/group/temp), but I can't find the right way to switch a GPIO output on the ESP from MQTT. I can see that ESP subscribes to the topic /Home/ but whatever I send to that topic, it has no effect.
I don't know how to address the ESP in the first place. I tried searching for "Home" in the source code, but failed miserably. Can anyone suggest what to do or where to look (i was successfully controlling GPIOs e.g. /myesp/cmd pulse,12,1,1000 on openhab configuration).
Thank you for any suggestions and regards
oversc0re.
I switched recently from openhab to Pidome. I switched ESP easy configuration to Pidome's MQTT broker, however things are working only one way now. Sensors values are correctly transmitted from ESP to MQTT server (/hooks/deivces/17/group/temp), but I can't find the right way to switch a GPIO output on the ESP from MQTT. I can see that ESP subscribes to the topic /Home/ but whatever I send to that topic, it has no effect.
I don't know how to address the ESP in the first place. I tried searching for "Home" in the source code, but failed miserably. Can anyone suggest what to do or where to look (i was successfully controlling GPIOs e.g. /myesp/cmd pulse,12,1,1000 on openhab configuration).
Thank you for any suggestions and regards
oversc0re.