Ikea Tradfri Remote Options

Ok, but how can I know the name of the device which will come in the deconz_event?
I enabled debugging for deconz as described here but I don’t see anything.

the name in deconz is the name on HA

I thought so too… I don’t know what I’m doing wrong. I wrote this automation. I know that the action is ok, I’m using it elsewhere. I also renamed the device on Phoscon to be TRADFRI_remote_control.
The remote does work when I set up the automation on Phoscon directly. Also the connection between deconz and HA is working since I have other sensors and devices on deconz which are working fine.

alias: testtradfri
initial_state: 'on'
trigger:
  platform: event
  event_type: deconz_event
  event_data:
    id: TRADFRI_remote_control
    event: 1002
action:
- data:
    entity_id: switch.fibaro_hall_switch
  service: switch.turn_on

Only lower case letters. I have a PR to help get event ids from logs

1 Like

That was it! I wish this was mentioned in the docs!

1 Like