deCONZ ECODIM 1 channel remote (ED-10010)

Ecodim 1 channel remote (ED-10010) for deCONZ. Below links to gist for 1, 2 and 4 channel versions. Based on @daniel.baer’s icasa Pulse remote.

Ecodim remotes are somehow upside down where the on button is place left with the led faced upwards. For my automation / blueprint I “turn them around”.

Gist links:
1 channel: https://gist.github.com/ronaldt80/9f4b2562c307ff18ff60a0645d75d6ad
2 channel: https://gist.github.com/ronaldt80/533b1d632d90ef1b87e8694dd3329185
4 channel: https://gist.github.com/ronaldt80/85b9119a8f36bfca19a7011a12a9d2da

blueprint:
  name: deCONZ - Ecodim, 1 Channel remote
  description: |
    Control anything using the Ecodim remote

  domain: automation
  input:
    remote:
      name: Remote controller
      description: Remote to use
      selector:
        device:
          integration: deconz
          manufacturer: EcoDim
          model: ED-10010
    button_on:
      name: On Button
      description: Action to run on press on On button
      default: []
      selector:
        action:
    button_on_long:
      name: On Long Press
      description: Action to run on press on On long button
      default: []
      selector:
        action:
    button_off:
      name: Off Button
      description: Action to run on press on Off button
      default: []
      selector:
        action:
    button_off_long:
      name: Off Long Press
      description: Action to run on press on Off long button
      default: []
      selector:
        action:
    
mode: restart
max_exceeded: silent

trigger:
  - platform: event
    event_type: deconz_event
    event_data:
      device_id: !input "remote"

action:
  - variables:
      event: "{{ trigger.event.data.event }}"
  - choose:
      - conditions:
          - "{{ event == 2001 }}"
        sequence: !input button_off_long
      - conditions:
          - "{{ event == 2002 }}"
        sequence: !input button_off
      - conditions:
          - "{{ event == 1001 }}"
        sequence: !input button_on_long
      - conditions:
          - "{{ event == 1002 }}"
        sequence: !input button_on
2 Likes

Thanks a lot.
is this also possible foor the Ecodim ED-100014?

Ah wait, you have it!!
But I can nog find it in my " set remote controller|"

Next problem,…
I eddited the blueprint and switched the integration from deconz to zha.
Now i find my ecodim.

But,… afther finishing the automation, it did not work.
I push the buttons but no reaction…

Hi Sander, i dont use these switches with zha - suspect though that the events are different:

trigger.event.data.event 2001 for example; you might want to check out the event listener and see which event the switch sends in zha.

@Sandje i actually now see you already tried the adjusted version my neighbor @PaulAntonDeen made based on my earlier work. Paul optimized these for zha, is that not working for you?

Thanks for your comment @RT1080.
I do have @PaulAntonDeen post, but your’s is a bit more elaborate. with Paul’s I can only operate lamps, but I also want scenes, etc. Even the long pressing option is not visible in that blueprint.
I think I can add that, because I followed your tip to look at the event listener.

But finaly, I want your blueprint, but then for a zha :slight_smile:

Yes, trick is indeed to listen for all events and include these in the blueprint. Good luck with making the changes, once done feel free to circle back.

Hello all,
Recently I purchased the ED-10010 and added it through ZHA. The switch is detected and configurated. When I press buttons I can see them in my logfile (On event was fired, Off event was fired and also long hold etc.) So far so good. However, when I want to make an automation I dont get to see the “on or off” button to actually switch something on or off. Only Battery status or “button press” are available.Any thoughts on this? Your help is appreciated !

Hi, not sure what you mean, do you want a button to trigger an automation?

Yes triggering automation, I have several zigbee receivers to control lights. However i’m not able to use the “on” and “off” buttons from the ED10010.
For automation the only available options I have are

Do something when…

Device offline

Pantry schakelaar Identify has been pressed

Pantry schakelaar Battery battery level change

when I press the buttons of the ED10010 I can the following in my screen

Pantry schakelaar Off event was fired

10:48:45 - Now

Pantry schakelaar On event was fired

10:45:06 - 4 minutes ago

It seems the buttons I need are detected but not visible to use in automations…

Ok. But there are no buttons in your device - that is normal. The blueprint should give you the option to define an action on an event fired. But perhaps we are talking cross purpose. See below screen when setting up automation with the blueprint:

So, that might be the issue. My 1 channel remote is not found.

But it does exist…

Maybe a small minority that I forgot at beginner ? Or same issue as @Sandje mentioned above ?

Yours is connected through ZHA, this blueprint is for Deconz. If you search the forum you will find a ZHA version.

@Herbertnl, that was my problem to. After that I had make a new one for myself. It still works.
See the post here.

You have less buttons in your ED model, so I think you have to remove someone in the Yaml. But you can try it first.