Page 1 of 1

Zigbee2mqtt with Ikea Tradfri E1524 switch

Posted: Tuesday 24 September 2019 21:09
by ZatarraNL
Hi everybody,

Since a few days I'm using zigbee2mqtt with domoticz and some ikea Tradfi equipment. All works very well, except for this device: the switch E1524.

This switch has 5 buttons:
1. Toggle on/off
2. Right
3. Left
4. Brightness up
5. Brightness down

See this picture.
Image

The device is paired with the CC2531, and the device is added to configuration.yaml. Also, the zigbee2mqtt is receiving the commands when I push the buttons. See the logs of zigbee2mqtt.service:

Code: Select all

Sep 24 20:58:01 DomoticzV3 npm[2063]:   zigbee2mqtt:info 9/24/2019, 8:58:01 PM MQTT publish: topic 'zigbee2mqtt/ikeaschakelaar1', payload '{"linkquality":49,"battery":74,"action":"toggle"}'
Sep 24 20:58:06 DomoticzV3 npm[2063]:   zigbee2mqtt:info 9/24/2019, 8:58:06 PM MQTT publish: topic 'zigbee2mqtt/ikeaschakelaar1', payload '{"linkquality":49,"battery":74,"action":"arrow_left_click"}'
Sep 24 20:58:11 DomoticzV3 npm[2063]:   zigbee2mqtt:info 9/24/2019, 8:58:11 PM MQTT publish: topic 'zigbee2mqtt/ikeaschakelaar1', payload '{"linkquality":49,"battery":74,"action":"arrow_right_click"}'
Sep 24 20:58:13 DomoticzV3 npm[2063]:   zigbee2mqtt:info 9/24/2019, 8:58:13 PM MQTT publish: topic 'zigbee2mqtt/ikeaschakelaar1', payload '{"linkquality":47,"battery":74,"action":"brightness_up_click"}'
Sep 24 20:58:14 DomoticzV3 npm[2063]:   zigbee2mqtt:info 9/24/2019, 8:58:14 PM MQTT publish: topic 'zigbee2mqtt/ikeaschakelaar1', payload '{"linkquality":49,"battery":74,"action":"brightness_down_click"}'
Unfortunately there is no switch device added to Domoticz, nor can I link any button to any other device.

Is there no support for this device yet in de Domoticz Zigbee2MQTT Python plugin?

Re: Zigbee2mqtt with Ikea Tradfri E1524 switch

Posted: Friday 27 September 2019 11:54
by ZatarraNL
This problem has been solved. It was a bug. See for the solution this link:

https://github.com/stas-demydiuk/domoti ... n/pull/154