Hi everyone!
I have a 4-button Zigbee remote at my desk and I want to use it to control multiple devices (a fan, a backlight behind my monitor, the ceiling light, and the Google Hub volume level). Most of these actions are working correctly. Some of them are configured with a single press and others with a double press on different buttons. But some of the configured actions only work 10 or 20% of the times I press the assigned button.
It seems that for some reason this remote is having issues controlling specific devices, I need help trying to solve what’s happening here. The devices work well outside of this automation, and the remote is sending all the button presses to HA.
I had this remote and this issue for months, but only now I’m starting to understand that the remote is not faulty, there’s something in Home Assistant preventing this remote from performing well with all the devices.
(I am using this blueprint to configure automations)
This is the Pin Light action, it toggles a Sonoff/Tasmota switch and it works 100% fine every time I press it:
This is the Hallway Bulb action, it toggles a Wiz bulb and it works 100% fine every time I press it:
But then there are some actions that won’t perform as well. Here I pressed the same button 6 times, waiting 3 seconds between each press. This press should toggle a Zigbee switch each time, but it only did it once. Home Assistant seems to be correctly receiving the button presses, and the automation seems to be receiving that event, but it fails to perform the switch toggle action.
If I copy the YAML of the action and paste it in Developer Tools > Actions, the light switches on and off correctly every time I click the Perform Action button.
data: {}
target:
entity_id: switch.backlight_switch
action: switch.toggle
This doesn’t happen with this device only, it also happens with a fan which I’m trying to toggle from a button on the same remote. It only works once in a while.
I tried switching buttons, using short press / long press / double press, emptying all actions and only leaving the remote for this specific action. I also tried using Switch: Turn on and Switch: Turn off actions on separate buttons. Also tried selecting the device or the entity inside the actions. None of these are helping. Also tried changing batteries. I am within 2 meters of the Zigbee antenna (a Home Assistant Yellow).
So please, if anyone has a clue of what could be happening here, I’d be grateful!
Thanks!
Rodrigo