I received the EcoDim ED-10014, a wall switch with 8 buttons (4 on and 4 off buttons).
After installing the Node-RED add-on I started to play with it.
I loaded some ‘examples’ and could do some automations.
Unfortunately my knowledge is to limited to achieve an automations with the wall switch as I want it;
Below is the MQTT log:
MQTT publish: topic 'zigbee2mqtt/Muurknop_Living', payload '{"action":"on_1","action_group":54529,"battery":100,"linkquality":102}'
info MQTT publish: topic 'zigbee2mqtt/Muurknop_Living', payload '{"action":"","battery":100,"linkquality":102}'
info MQTT publish: topic 'zigbee2mqtt/Muurknop_Living/action', payload 'on_1'
info MQTT publish: topic 'zigbee2mqtt/Muurknop_Living', payload '{"action":"off_1","action_group":54529,"battery":100,"linkquality":93}'
info MQTT publish: topic 'zigbee2mqtt/Muurknop_Living', payload '{"action":"","battery":100,"linkquality":93}'
info MQTT publish: topic 'zigbee2mqtt/Muurknop_Living/action', payload 'off_1'
info MQTT publish: topic 'zigbee2mqtt/Muurknop_Living', payload '{"action":"brightness_move_up_1","action_group":54529,"action_rate":50,"battery":100,"linkquality":108}'
info MQTT publish: topic 'zigbee2mqtt/Muurknop_Living', payload '{"action":"","battery":100,"linkquality":108}'
info MQTT publish: topic 'zigbee2mqtt/Muurknop_Living/action', payload 'brightness_move_up_1'
info MQTT publish: topic 'zigbee2mqtt/Muurknop_Living', payload '{"action":"brightness_stop_1","action_group":54529,"battery":100,"linkquality":102}'
info MQTT publish: topic 'zigbee2mqtt/Muurknop_Living', payload '{"action":"","battery":100,"linkquality":102}'
info MQTT publish: topic 'zigbee2mqtt/Muurknop_Living/action', payload 'brightness_stop_1'
info MQTT publish: topic 'zigbee2mqtt/Muurknop_Living', payload '{"action":"brightness_move_down_1","action_group":54529,"action_rate":50,"battery":100,"linkquality":105}'
info MQTT publish: topic 'zigbee2mqtt/Muurknop_Living', payload '{"action":"","battery":100,"linkquality":105}'
info MQTT publish: topic 'homeassistant/device_automation/0xbc33acfffe5f4bc1/action_brightness_move_down_1/config', payload '{"automation_type":"trigger","device":{"identifiers":["zigbee2mqtt_0xbc33acfffe5f4bc1"],"manufacturer":"EcoDim","model":"Zigbee 8 button wall switch - white (ED-10014)","name":"Muurknop_Living","sw_version":"Zigbee2MQTT 1.17.1"},"payload":"brightness_move_down_1","subtype":"brightness_move_down_1","topic":"zigbee2mqtt/Muurknop_Living/action","type":"action"}'
info MQTT publish: topic 'zigbee2mqtt/Muurknop_Living/action', payload 'brightness_move_down_1'
info MQTT publish: topic 'zigbee2mqtt/Muurknop_Living', payload '{"action":"brightness_stop_1","action_group":54529,"battery":100,"linkquality":108}'
info MQTT publish: topic 'zigbee2mqtt/Muurknop_Living', payload '{"action":"","battery":100,"linkquality":108}'
info MQTT publish: topic 'zigbee2mqtt/Muurknop_Living/action', payload 'brightness_stop_1'
Single press button 1 (= ON) = payload ‘on_1’
Single press button 2 (= OFF) = payload ‘off_1’
Long press button 1 (= Dim up) = payload ‘brightness_move_up_1’
When releasing button 1 (= Stop Dim up) = payload ‘brightness_stop_1’
Long press button 2 (= Dim down) = payload ‘brightness_move_down_1’
When releasing button 2 (= Stop Dim up) = payload ‘brightness_stop_1’
I like to use the above actions to control a bulb1.
The logical actions should be:
- Single press ON: bulb on
- Long press ON: bulb intensity increase by steps of 10% till 100%
- If ON long press released: hold intensity
- Single press OFF: bulb off
- Long press OFF: bulb decrease intensity by steps of 10% till 10%
- If OFF long press released: hold intensity
Of course, once I have the example for buttons 1/2 I can copy/paste it for buttons 3/4, 5/6 and 7/8.
Would you be able to make a Node-RED flow for me?
Many thanks in advance