andrewshilliday / garage-door-controller

Software to monitor and control garage doors via a raspberry pi
MIT License
327 stars 132 forks source link

very usefull but MQTT or JSON return #81

Open kunux opened 6 years ago

kunux commented 6 years ago

hello i'm not a programmer but your code looks very clean but to difficult for my understanding ans update it. it 's working like a charm but i want to publishy the state state of the garage door to my domoticz application. so i van use my remotes and also have have status of the doors. is it possible tu update a json status lire a new url. -- when it 's closed send MQQTT or JSON url on another pi server running domoticz -- when it's open sen MQTT or JSON as well

for exemple my domoticz accept this to update status of MQTT switch mosquitto_pub -h 192.168.1.240 -t "domoticz/in" -m '{"idx" : 13, "nvalue" : 0}' or "nvalue" : 1 sorry for my poor english.