I am trying to get a trasfri remote working directly with home assistant zha without the tradfri gateway. I am using elelabs zigbee shield - which is working fine with several tradfri spots and some xaiomi zigbee devices.
But I cannot get the tradfri remote to join my network. My approach:
Reset the remote (pressing the button 4 times quickly)
Permit Join in home assistant
hold the remote near to the shield and hold down the button for at least 10 seconds
I was trying to patch this and I noticed that the remote is included in zhaquirks. Testing with debug logs enabled, there are events on zha_event that include the button pressed, although with unusual naming:
toggle: the main button
step_with_on_off: Brightness up
step: Brightness down
The other two buttons werenât visible in zha_events, but i got stuff from zigpy.zcl that might be useful. For now iâve just added automations to listen for button presses.
Had trouble figuring this out, what I did was build a device automation through the automation UI in HA. The only thing was that I was doing all other automation through manual yaml (old school, I know). So it wasnât saving the automation in my list, but it did save the automation in the âautomations.yamlâ file in the config folder. There, I found this code:
Through the same method you should be able to find your device_id. You can copy/paste the yaml into your own automation and go to town. Also, in the UI you can select the other actions on the button. Good luck!
Old thread, but for those still looking.
The E1524 is support and can be paired to ZHA (with some luck and randomness)
After being paired, button presses will trigger zha_event
You can âmonitorâ these events via Develops Tools > EventS
I followed the steps to pair the 5 button remote with ZHA and I see the device created with just the one entity for power. I am not seeing any events coming through from the remote when I press any of the buttons (I am listening for events as described above). Any further tips on how to get the button presses to be recognized? I am using 2021.07 version of home assistant core.
I suspect the zha integration is not handling the zigbee button press event. With zha debug enabled I see a debug message pop up on the log whenever I press a button but nothing happens after that.
Mine worked ONCE, just once. Then nothing. I suspect my Sonoff Zigbee dongle canât handle the number of devices I have, or something similar. I tried reconnecting the remote with a new battery even. Something strange I noted: even a feet away from the TRADFRI repeater its connected to, the remote has very low LQI and unknown RSSI.
Hey Guys, i use the âElelabs Zigbee Raspberry Pi Shieldâ and had the same problem.
This works for me:
Open the back of the tradfri remote, and press the button 4 times (the red light in front will blink for five seconds).
Now in Home Assistant: Scan for new devices (in my case with âZigbee Coordinatorâ under âDevicesâ) and bring your remote close to your Raspi. Now press the button on the back of the remote 4 times and if nothing happen, press it again 4 times. Then the remote should appear in your HA Backend and you can add it.
I hope it will also work with other zigbee devices.
I created a few automations with different Buttons (e.g. toggle lights or open my garage).
I have been able to pair the device and it shows up as the IKEA remote under zigbee devices, the problem is that Iâm not getting any event when listening to zha_event.
@manjulapra
I have not used the tradfri remote in HA, because it wasnât worth my time.
Just noticed itâs still in Home assistant, but no zha_events anymore.
The dimmer is linked to led panels in my kitchen; but Iâm getting a new kitchen in a few weeks, so I donât know what Iâll do with the dimmerâŚ
The dimmer as a rotating dial would be great for some volume control, but then again, other remotes work better (or actually work). Like the 5 button ikea remote, via ZHA (this one doesnât throw events, but can be used as Device in the trigger of an automation).
Thanks. TRADFRI Remote is the IKEA 5 button remote. It is their Zigbee brand name. You say it is not throwing events but can be used for automation. Can you explain how it can be done and how a button press can be captured?
Thanks in advance.