Learn light/switch over MQTT [SOLVED]
Posted: Monday 28 January 2019 20:18
Good evening,
Could anyone explain me how the "learn light/switch" function works when communicating with MQTT gateway?
I have an arduino connected and functional over the MQTT protocol, and I can dim a light with the Domoticz interface and turn it on/off by a hardware switch as well. when I played around and pressed the learn light/switch button in Domoticz, and then pressed the hardware switch, the message appeared:
"already in use by dimmer"
which is correct since that is the IDX used by the light I connected. but if I change the IDX in the subscription from the arduino it doesn't add a new switch a with a new IDX. it just says "time out".
how should i use this auto learn system?
thanks in advance!
Could anyone explain me how the "learn light/switch" function works when communicating with MQTT gateway?
I have an arduino connected and functional over the MQTT protocol, and I can dim a light with the Domoticz interface and turn it on/off by a hardware switch as well. when I played around and pressed the learn light/switch button in Domoticz, and then pressed the hardware switch, the message appeared:
"already in use by dimmer"
which is correct since that is the IDX used by the light I connected. but if I change the IDX in the subscription from the arduino it doesn't add a new switch a with a new IDX. it just says "time out".
how should i use this auto learn system?
thanks in advance!