You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
i try to configure Tradfri E1812 Shortcut button to work {Z2MQTT]. Single and Long press work well. Double press though does not fire anything.
*Single press Logs (works well):
Debug 2024-03-14 13:59:11Received Zigbee message from 'SHORTCUT button - Bedroom', type 'commandOn', cluster 'genOnOff', data '{}' from endpoint 1 with groupID 0 Info 2024-03-14 13:59:11MQTT publish: topic 'zigbee2mqtt/SHORTCUT button - Bedroom', payload '{"action":"on","battery":90,"linkquality":123,"update":{"installed_version":604241926,"latest_version":604241926,"state":"idle"},"update_available":null}' Info 2024-03-14 13:59:11MQTT publish: topic 'zigbee2mqtt/SHORTCUT button - Bedroom', payload '{"action":"","battery":90,"linkquality":123,"update":{"installed_version":604241926,"latest_version":604241926,"state":"idle"},"update_available":null}' Info 2024-03-14 13:59:11MQTT publish: topic 'zigbee2mqtt/SHORTCUT button - Bedroom/action', payload 'on' Debug 2024-03-14 13:59:12Received MQTT message on 'zigbee2mqtt/Bath_4/set' with data '{"state":"ON","brightness":3,"color_temp":357}' Debug 2024-03-14 13:59:12Publishing 'set' 'brightness' to 'Bath_4'
*Double press Logs (doesn't work):
Debug 2024-03-14 14:02:56Received Zigbee message from 'SHORTCUT button - Bedroom', type 'commandOff', cluster 'genOnOff', data '{}' from endpoint 1 with groupID 0 Info 2024-03-14 14:02:56MQTT publish: topic 'zigbee2mqtt/SHORTCUT button - Bedroom', payload '{"action":"off","battery":90,"linkquality":120,"update":{"installed_version":604241926,"latest_version":604241926,"state":"idle"},"update_available":null}' Info 2024-03-14 14:02:56MQTT publish: topic 'zigbee2mqtt/SHORTCUT button - Bedroom', payload '{"action":"","battery":90,"linkquality":120,"update":{"installed_version":604241926,"latest_version":604241926,"state":"idle"},"update_available":null}' Info 2024-03-14 14:02:56MQTT publish: topic 'zigbee2mqtt/SHORTCUT button - Bedroom/action', payload 'off'
The blueprint documents say that double press action is not exposed, and is virtual with a separate switch. In the Z2Mqtt docs for IKEA shortcut button i see a consistent description of "action":"off" on double press. Same "off" action i see in the Z2M logs upon Double Press, but automation does not do what it is supposed to do.
I see the blueprint describes the exposed actions except "off". zigbee2mqtt: button_short: - "on" button_long: - brightness_move_up button_release: - brightness_stop button_short: '{{ actions_mapping[integration_id]["button_short"] }}' button_long: '{{ actions_mapping[integration_id]["button_long"] }}' button_release: '{{ actions_mapping[integration_id]["button_release"] }}'
The discussion @drublin mentioned looks like it was more about an Ikea button and Z2M.
I have the same issue with ZHA and a Philips button. Double press not firing anything.
Will the work around in that discussion also work with ZHA and genuine Philips dimmer?
@austwhite , I used only this blueprint, for e1812 ikea button so i don't know about Phillips.
the case here is that button sent only the single-press event and the blueprint "calculates" if you get two single-presses. Later the button sent a separate payload for double-press and i updated the blueprint for that.
Blueprint name
Controller - IKEA E1812 TRÅDFRI Shortcut button [Version 2022.08.08]
Home Assistant Core Version
2024.3.0
Home Assistant Installation Type
Home Assistant Operating System
Description
i try to configure Tradfri E1812 Shortcut button to work {Z2MQTT]. Single and Long press work well. Double press though does not fire anything.
*Single press Logs (works well):
*Double press Logs (doesn't work):
The blueprint documents say that double press action is not exposed, and is virtual with a separate switch. In the Z2Mqtt docs for IKEA shortcut button i see a consistent description of "action":"off" on double press. Same "off" action i see in the Z2M logs upon Double Press, but automation does not do what it is supposed to do.
I see the blueprint describes the exposed actions except "off".
zigbee2mqtt: button_short: - "on" button_long: - brightness_move_up button_release: - brightness_stop button_short: '{{ actions_mapping[integration_id]["button_short"] }}' button_long: '{{ actions_mapping[integration_id]["button_long"] }}' button_release: '{{ actions_mapping[integration_id]["button_release"] }}'
Automation YAML config
To Reproduce
Expected behavior
activate a scene on button double press.
Actual Behaviour
double press is seen in logs, no automation actions are fired.
Additional Details
Screenshots
Short Press and light going on:
Double Press and no light action:
Additional context
No response
The text was updated successfully, but these errors were encountered: