**EDIT: I reinstalled everything from scratch, and it’s working perfectly now. Leaving this here in case anyone else has issue in future
Hi,
First of all, thanks for your work creating this. I’m new to HA and I think this will help me setup my switches in a neat & easy to manage way.
I have 2 different remote models that I’m testing with, and I can get neither of them working with brightness up on button hold.
I’ll focus on the newer of the two remotes: Ikea E2002, STYRBAR
I have added the remote in Switch Manager. I can configure short press fine.
The issue is with long press.
I have a light that I want to increase brightness when I hold the top button. I use the visual editor to pick the “Light: Turn on” service for the light. The YAML is:
service: light.turn_on
data:
brightness_step: 20
target:
device_id: 95167ff6194e1268240076deb6fa4099
When I hold the button, the “HOLD” tab flashes. The light increases by 20 steps, once. It doesn’t continue to increase.
In the logbook I see: (In descending order timewise)
IkeaSquareRemoteSpare Action
15:38:04 - 4 seconds ago
IkeaSquareRemoteSpare Action changed to brightness_stop
15:38:04 - 4 seconds ago
IkeaSquareRemoteSpare Action
15:37:57 - 11 seconds ago
IkeaSquareRemoteSpare Action changed to brightness_move_up
15:37:57 - 11 seconds ago
So, I can see the hold of the button is registered for the 7 seconds I held it for, but the brightness of the light is only increasing by 20 steps, and not repeating.
I’ve included the Z2M logs below too in case they can help.
Any ideas please?
I’m wondering if there’s something amiss with my configuration because it seems to “just work” for other users.
Thanks so much for your time.
Cork
The Zigbee2MQTT logs show:
2023-11-14 15:41:27MQTT publish: topic 'zigbee2mqtt/IkeaSquareRemoteSpare', payload '{"action":"brightness_move_up","action_rate":83,"battery":5,"linkquality":212,"update":{"installed_version":65572,"latest_version":581,"state":"idle"},"update_available":null}'
Info 2023-11-14 15:41:27MQTT publish: topic 'zigbee2mqtt/IkeaSquareRemoteSpare', payload '{"action":"","battery":5,"linkquality":212,"update":{"installed_version":65572,"latest_version":581,"state":"idle"},"update_available":null}'
Info 2023-11-14 15:41:27MQTT publish: topic 'zigbee2mqtt/IkeaSquareRemoteSpare', payload '{"action":"","battery":5,"linkquality":212,"update":{"installed_version":65572,"latest_version":581,"state":"idle"},"update_available":null}'
Info 2023-11-14 15:41:27MQTT publish: topic 'zigbee2mqtt/IkeaSquareRemoteSpare', payload '{"action":"","battery":5,"linkquality":212,"update":{"installed_version":65572,"latest_version":581,"state":"idle"},"update_available":null}'
Info 2023-11-14 15:41:27MQTT publish: topic 'zigbee2mqtt/IkeaSquareRemoteSpare', payload '{"action":"","battery":5,"linkquality":212,"update":{"installed_version":65572,"latest_version":581,"state":"idle"},"update_available":null}'
Info 2023-11-14 15:41:27MQTT publish: topic 'zigbee2mqtt/IkeaSquareRemoteSpare/action', payload 'brightness_move_up'
Info 2023-11-14 15:41:27MQTT publish: topic 'zigbee2mqtt/IkeaSquareRemoteSpare/action', payload 'brightness_move_up'
Info 2023-11-14 15:41:27MQTT publish: topic 'zigbee2mqtt/IkeaSquareRemoteSpare/action', payload 'brightness_move_up'
Info 2023-11-14 15:41:27MQTT publish: topic 'zigbee2mqtt/IkeaSquareRemoteSpare/action', payload 'brightness_move_up'
Info 2023-11-14 15:41:27MQTT publish: topic 'zigbee2mqtt/Bulb - tall light sitting room', payload '{"brightness":254,"color_mode":"color_temp","color_temp":383,"color_temp_startup":454,"linkquality":100,"power_on_behavior":"on","state":"ON","update":{"installed_version":604050705,"latest_version":604050705,"state":"idle"},"update_available":null}'
Info 2023-11-14 15:41:34MQTT publish: topic 'zigbee2mqtt/IkeaSquareRemoteSpare', payload '{"action":"brightness_stop","battery":5,"linkquality":204,"update":{"installed_version":65572,"latest_version":581,"state":"idle"},"update_available":null}'
Info 2023-11-14 15:41:34MQTT publish: topic 'zigbee2mqtt/IkeaSquareRemoteSpare', payload '{"action":"","battery":5,"linkquality":204,"update":{"installed_version":65572,"latest_version":581,"state":"idle"},"update_available":null}'
Info 2023-11-14 15:41:34MQTT publish: topic 'zigbee2mqtt/IkeaSquareRemoteSpare', payload '{"action":"","battery":5,"linkquality":204,"update":{"installed_version":65572,"latest_version":581,"state":"idle"},"update_available":null}'
Info 2023-11-14 15:41:34MQTT publish: topic 'zigbee2mqtt/IkeaSquareRemoteSpare', payload '{"action":"","battery":5,"linkquality":204,"update":{"installed_version":65572,"latest_version":581,"state":"idle"},"update_available":null}'
Info 2023-11-14 15:41:34MQTT publish: topic 'zigbee2mqtt/IkeaSquareRemoteSpare', payload '{"action":"","battery":5,"linkquality":204,"update":{"installed_version":65572,"latest_version":581,"state":"idle"},"update_available":null}'
Info 2023-11-14 15:41:34MQTT publish: topic 'zigbee2mqtt/IkeaSquareRemoteSpare/action', payload 'brightness_stop'
Info 2023-11-14 15:41:34MQTT publish: topic 'zigbee2mqtt/IkeaSquareRemoteSpare/action', payload 'brightness_stop'
Info 2023-11-14 15:41:34MQTT publish: topic 'zigbee2mqtt/IkeaSquareRemoteSpare/action', payload 'brightness_stop'
Info 2023-11-14 15:41:34MQTT publish: topic 'zigbee2mqtt/IkeaSquareRemoteSpare/action', payload 'brightness_stop'