Slowly I am using the MQTT protocol more and more. Now I would like to use a MQTT dimmer in relation in combination with mysensors. Is there already a implementation to repond to the request command send by one of my nodes?
Basically I have the following mqtt messages:
- mygateway1-out/111/4/2/0/3 -> Request for the current dimmer value
- mygateway1-out/111/4/1/1/3 -> Set for the current dimmer value from node -> pimatic
- mygateway1-in/111/4/1/0/3 -> Set for the current dimmer value from pimatic -> node
I have used command 3 for the dimmer to write the value to and command 2 to use as the status value.
But how about the response to command 1? Basically command 3 should follow as a reply. Is it possible to implement?