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.
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.