mqtt change button colour
Posted: Tuesday 29 November 2016 11:40
I need some help / guidance. Domoticz must subscribe to a mqtt topic and read the status of a door. If status = 1 press button colour must be green = gate is closed and if pressed send 1 to another mqtt topic. If status = 0 press button colour must be red = gate is open and if pressed send 1 to mqtt topic.
Any idea how I can achieve this?
Thanks
Any idea how I can achieve this?
Thanks