Enocean wall switch senic nuimo click

Hello guys,

I have problems with my senic bridge, after installation of hoppe window handle sensor, the senic bridge stopped working.
That’s why i decided to try to implement my nuimo click switches directly to hassio.

I added the USB 300 to my config, this works fine.
After that i read the ID’s of my sensors with Dolphinview.
Now i get this debug message:

2020-04-14 08:58:31 DEBUG (Thread-2) [homeassistant.components.enocean] Received radio packet: 00:35:BD:C8->FF:FF:FF:FF (-91 dBm): 0x01 ['0xf6', '0x10', '0xID1', '0xID2', '0xID3', '0xID3', '0x30'] ['0x0', '0xff', '0xff', '0xff', '0xff', '0x5b', '0x0'] OrderedDict()

The 0x10 is for button 1, 0x30 = button 1, 0x50 button 3, 0x70 button 5.

I created the switch in the config:

  - platform: enocean
    name: enocean_nuimo_click_kuche
    id: [0xID1,0xID2,0xID3,0xID4]

Now i wanted to create a automation for each button, but could not get it working.

event_data:
  id:
    - ID1
    - ID2
    - ID3
    - ID4
  onoff: 0
  pushed: 1
  which: 10

Can anyone help me with the automation?
That would be awesome, so i can get rid of the senic bridge…
Best regards,
Dominik

Have you made any progress on this?

Yes got it working with an automation for each button:
for example

alias: 'Bad Nuimo Click #1'
description: ''
trigger:
  - event_data:
      id:
        - 0
        - 53
        - 174
        - 226
      onoff: 1
      pushed: 1
      which: 1
    event_type: button_pressed
    platform: event
condition: []
action:
  - data: {}
    entity_id: media_player.bad
    service: media_player.media_play_pause
mode: single

I want share my automation:

I have 4 Nuimo Switches in different Rooms for control of my Sonos.
All buttons are control on Sonos entity (in the corresponding Room).
All 6 Action are available in external Scripts: Start/Stop; Playlist Switch, Volume+; Volume-; Next or Priv Track.

alias: Numio_Click
trigger:
  - platform: event
    event_type: button_pressed
    event_data:
      id:
        - 0
        - 53
        - 189
        - 209
      pushed: 1
    id: Trigger_media_player.sonos_whz
  - platform: event
    event_type: button_pressed
    event_data:
      id:
        - 0
        - 53
        - 153
        - 65
      pushed: 1
    id: Trigger_media_player.sonos_sz
  - platform: event
    event_type: button_pressed
    event_data:
      id:
        - 0
        - 53
        - 174
        - 188
      pushed: 1
    id: Trigger_media_player.sonos_fl
  - platform: event
    event_type: button_pressed
    event_data:
      id:
        - 0
        - 53
        - 175
        - 8
      pushed: 1
    id: Trigger_media_player.sonos_ez
condition: []
action:
  - choose:
      - conditions:
          - condition: trigger
            id: Trigger_media_player.sonos_whz
        sequence:
          - service_template: |
              {% if trigger.event.data.which == 10 %}
                {% if trigger.event.data.onoff == 0 %}
                  script.sonos_next_track
                {% elif trigger.event.data.onoff == 1 %}
                  script.sonos_previ 
                {% endif %}
              {% endif %} {% if trigger.event.data.which == 1 %}
                {% if trigger.event.data.onoff == 0 %}
                   script.sonos_playlist_switch
                {% elif trigger.event.data.onoff == 1 %}
                   script.sonos_pause
                {% endif %}
              {% endif %} {% if trigger.event.data.which == 0 %}
                {% if trigger.event.data.onoff == 0 %}
                   script.sonos_volume_up
                {% elif trigger.event.data.onoff == 1 %}
                   script.sonos_volume_down
                {% endif %} 
              {% endif %}
            data_template:
              destination_entity_id: media_player.sonos_whz
      - conditions:
          - condition: trigger
            id: Trigger_media_player.sonos_sz
        sequence:
          - service_template: |
              {% if trigger.event.data.which == 10 %}
                {% if trigger.event.data.onoff == 0 %}
                  script.sonos_next_track
                {% elif trigger.event.data.onoff == 1 %}
                  script.sonos_previ 
                {% endif %}
              {% endif %} {% if trigger.event.data.which == 1 %}
                {% if trigger.event.data.onoff == 0 %}
                   script.sonos_playlist_switch
                {% elif trigger.event.data.onoff == 1 %}
                   script.sonos_pause
                {% endif %}
              {% endif %} {% if trigger.event.data.which == 0 %}
                {% if trigger.event.data.onoff == 0 %}
                   script.sonos_volume_up
                {% elif trigger.event.data.onoff == 1 %}
                   script.sonos_volume_down
                {% endif %} 
              {% endif %}
            data_template:
              destination_entity_id: media_player.sonos_sz
      - conditions:
          - condition: trigger
            id: Trigger_media_player.sonos_fl
        sequence:
          - service_template: |
              {% if trigger.event.data.which == 10 %}
                {% if trigger.event.data.onoff == 0 %}
                  script.sonos_next_track
                {% elif trigger.event.data.onoff == 1 %}
                  script.sonos_previ 
                {% endif %}
              {% endif %} {% if trigger.event.data.which == 1 %}
                {% if trigger.event.data.onoff == 0 %}
                   script.sonos_playlist_switch
                {% elif trigger.event.data.onoff == 1 %}
                   script.sonos_pause
                {% endif %}
              {% endif %} {% if trigger.event.data.which == 0 %}
                {% if trigger.event.data.onoff == 0 %}
                   script.sonos_volume_up
                {% elif trigger.event.data.onoff == 1 %}
                   script.sonos_volume_down
                {% endif %} 
              {% endif %}
            data_template:
              destination_entity_id: media_player.sonos_fl
      - conditions:
          - condition: trigger
            id: Trigger_media_player.sonos_ez
        sequence:
          - service_template: |
              {% if trigger.event.data.which == 10 %}
                {% if trigger.event.data.onoff == 0 %}
                  script.sonos_next_track
                {% elif trigger.event.data.onoff == 1 %}
                  script.sonos_previ 
                {% endif %}
              {% endif %} {% if trigger.event.data.which == 1 %}
                {% if trigger.event.data.onoff == 0 %}
                   script.sonos_playlist_switch
                {% elif trigger.event.data.onoff == 1 %}
                   script.sonos_pause
                {% endif %}
              {% endif %} {% if trigger.event.data.which == 0 %}
                {% if trigger.event.data.onoff == 0 %}
                   script.sonos_volume_up
                {% elif trigger.event.data.onoff == 1 %}
                   script.sonos_volume_down
                {% endif %} 
              {% endif %}
            data_template:
              destination_entity_id: media_player.sonos_fl
mode: queued
max: 10

That’s great!
Last week, I noticed that my Senic Nuimo Hub became unresponsive, so now I want to connect my 3 nuimo button-pads directly to Home Assistant. I’ve put the Nuimo dongle in the USB port of my Rpi with HA on it.
From there on, I think I need some help to get things going. Would you please help me with that?
If I understand Correctly, I have to:

  1. add this in the configuration.yaml file:
  - platform: enocean
    name: enocean_nuimo_click_kuche
    id: [0xID1,0xID2,0xID3,0xID4]
  1. change the 0xID1 etc to specific adresses
  2. create automations that respond to button presses

My first question would be: how would I check if the dongle is being seen by my rpi/home assistant?
After that, I’m also in the dark how I would catch the specific ID’s, because I don’t seem to find DolphinView anywhere