As per the title, my Yale YRD256HA20BP smart lock does not issue action = unlock_failure_invalid_pin_or_id when PIN code entered incorrectly on keypad.
Note the valid PINs were not originally defined via Z2M, not sure it that's a requirement, PINs were entered using the Yale keypad menu system, i.e. on the device itself.
What did you expect to happen?
No response
How to reproduce it (minimal and precise)
Analyse the Z2M logs via the dashboard, and then on the Yale device, enter a 4-digit PIN that is not one of the defined PINs. The logs show nothing, not even an update.
For info, the logs below are for a manual lock (palm on keypad), and then an unlock with the correct code.
Zigbee2MQTT version
1.30.4
Adapter firmware version
20220219
Adapter
tubeszb_cc2652p2_poe_2022
Debug log
Debug 2023-05-28 15:51:20Received Zigbee message from 'Yale smartlock front door', type 'commandOperationEventNotification', cluster 'closuresDoorLock', data '{"data":0,"opereventcode":2,"opereventsrc":0,"pin":{"data":[],"type":"Buffer"},"userid":2,"zigbeelocaltime":738604277}' from endpoint 1 with groupID 0
Info 2023-05-28 15:51:20MQTT publish: topic 'zigbee2mqtt/Yale smartlock front door', payload '{"action":"unlock","action_source":0,"action_source_name":"keypad","action_user":2,"auto_relock_time":120,"battery":98,"battery_low":false,"last_seen":"2023-05-28T15:51:20+09:30","linkquality":72,"lock_state":"locked","pin_code":null,"sound_volume":"low_volume","state":"LOCK"}'
Info 2023-05-28 15:51:20MQTT publish: topic 'zigbee2mqtt/Yale smartlock front door', payload '{"action":"","action_source_name":null,"action_user":null,"auto_relock_time":120,"battery":98,"battery_low":false,"last_seen":"2023-05-28T15:51:20+09:30","linkquality":72,"lock_state":"locked","pin_code":null,"sound_volume":"low_volume","state":"LOCK"}'
Info 2023-05-28 15:51:20MQTT publish: topic 'zigbee2mqtt/Yale smartlock front door/action', payload 'unlock'
Debug 2023-05-28 15:51:26Received Zigbee message from 'Yale smartlock front door', type 'attributeReport', cluster 'closuresDoorLock', data '{"lockState":113}' from endpoint 1 with groupID 0
Info 2023-05-28 15:51:26MQTT publish: topic 'zigbee2mqtt/Yale smartlock front door', payload '{"action":null,"action_source_name":null,"action_user":null,"auto_relock_time":120,"battery":98,"battery_low":false,"last_seen":"2023-05-28T15:51:26+09:30","linkquality":76,"pin_code":null,"sound_volume":"low_volume","state":"UNLOCK"}'
Debug 2023-05-28 15:51:37Received Zigbee message from 'Yale smartlock front door', type 'commandOperationEventNotification', cluster 'closuresDoorLock', data '{"data":0,"opereventcode":7,"opereventsrc":2,"pin":{"data":[],"type":"Buffer"},"userid":65535,"zigbeelocaltime":738604294}' from endpoint 1 with groupID 0
Info 2023-05-28 15:51:37MQTT publish: topic 'zigbee2mqtt/Yale smartlock front door', payload '{"action":"one_touch_lock","action_source":2,"action_source_name":"manual","action_user":65535,"auto_relock_time":120,"battery":98,"battery_low":false,"last_seen":"2023-05-28T15:51:37+09:30","linkquality":69,"pin_code":null,"sound_volume":"low_volume","state":"UNLOCK"}'
Info 2023-05-28 15:51:37MQTT publish: topic 'zigbee2mqtt/Yale smartlock front door', payload '{"action":"","action_source_name":null,"action_user":null,"auto_relock_time":120,"battery":98,"battery_low":false,"last_seen":"2023-05-28T15:51:37+09:30","linkquality":69,"pin_code":null,"sound_volume":"low_volume","state":"UNLOCK"}'
Info 2023-05-28 15:51:37MQTT publish: topic 'zigbee2mqtt/Yale smartlock front door/action', payload 'one_touch_lock'
Debug 2023-05-28 15:51:43Received Zigbee message from 'Yale smartlock front door', type 'attributeReport', cluster 'closuresDoorLock', data '{"lockState":1}' from endpoint 1 with groupID 0
Info 2023-05-28 15:51:43MQTT publish: topic 'zigbee2mqtt/Yale smartlock front door', payload '{"action":null,"action_source_name":null,"action_user":null,"auto_relock_time":120,"battery":98,"battery_low":false,"last_seen":"2023-05-28T15:51:43+09:30","linkquality":54,"lock_state":"locked","pin_code":null,"sound_volume":"low_volume","state":"LOCK"}'
What happened?
I have z2m installed on home assistant.
As per the title, my Yale YRD256HA20BP smart lock does not issue
action
=unlock_failure_invalid_pin_or_id
when PIN code entered incorrectly on keypad.Note the valid PINs were not originally defined via Z2M, not sure it that's a requirement, PINs were entered using the Yale keypad menu system, i.e. on the device itself.
What did you expect to happen?
No response
How to reproduce it (minimal and precise)
Analyse the Z2M logs via the dashboard, and then on the Yale device, enter a 4-digit PIN that is not one of the defined PINs. The logs show nothing, not even an update.
For info, the logs below are for a manual lock (palm on keypad), and then an unlock with the correct code.
Zigbee2MQTT version
1.30.4
Adapter firmware version
20220219
Adapter
tubeszb_cc2652p2_poe_2022
Debug log
Debug 2023-05-28 15:51:20Received Zigbee message from 'Yale smartlock front door', type 'commandOperationEventNotification', cluster 'closuresDoorLock', data '{"data":0,"opereventcode":2,"opereventsrc":0,"pin":{"data":[],"type":"Buffer"},"userid":2,"zigbeelocaltime":738604277}' from endpoint 1 with groupID 0 Info 2023-05-28 15:51:20MQTT publish: topic 'zigbee2mqtt/Yale smartlock front door', payload '{"action":"unlock","action_source":0,"action_source_name":"keypad","action_user":2,"auto_relock_time":120,"battery":98,"battery_low":false,"last_seen":"2023-05-28T15:51:20+09:30","linkquality":72,"lock_state":"locked","pin_code":null,"sound_volume":"low_volume","state":"LOCK"}' Info 2023-05-28 15:51:20MQTT publish: topic 'zigbee2mqtt/Yale smartlock front door', payload '{"action":"","action_source_name":null,"action_user":null,"auto_relock_time":120,"battery":98,"battery_low":false,"last_seen":"2023-05-28T15:51:20+09:30","linkquality":72,"lock_state":"locked","pin_code":null,"sound_volume":"low_volume","state":"LOCK"}' Info 2023-05-28 15:51:20MQTT publish: topic 'zigbee2mqtt/Yale smartlock front door/action', payload 'unlock' Debug 2023-05-28 15:51:26Received Zigbee message from 'Yale smartlock front door', type 'attributeReport', cluster 'closuresDoorLock', data '{"lockState":113}' from endpoint 1 with groupID 0 Info 2023-05-28 15:51:26MQTT publish: topic 'zigbee2mqtt/Yale smartlock front door', payload '{"action":null,"action_source_name":null,"action_user":null,"auto_relock_time":120,"battery":98,"battery_low":false,"last_seen":"2023-05-28T15:51:26+09:30","linkquality":76,"pin_code":null,"sound_volume":"low_volume","state":"UNLOCK"}' Debug 2023-05-28 15:51:37Received Zigbee message from 'Yale smartlock front door', type 'commandOperationEventNotification', cluster 'closuresDoorLock', data '{"data":0,"opereventcode":7,"opereventsrc":2,"pin":{"data":[],"type":"Buffer"},"userid":65535,"zigbeelocaltime":738604294}' from endpoint 1 with groupID 0 Info 2023-05-28 15:51:37MQTT publish: topic 'zigbee2mqtt/Yale smartlock front door', payload '{"action":"one_touch_lock","action_source":2,"action_source_name":"manual","action_user":65535,"auto_relock_time":120,"battery":98,"battery_low":false,"last_seen":"2023-05-28T15:51:37+09:30","linkquality":69,"pin_code":null,"sound_volume":"low_volume","state":"UNLOCK"}' Info 2023-05-28 15:51:37MQTT publish: topic 'zigbee2mqtt/Yale smartlock front door', payload '{"action":"","action_source_name":null,"action_user":null,"auto_relock_time":120,"battery":98,"battery_low":false,"last_seen":"2023-05-28T15:51:37+09:30","linkquality":69,"pin_code":null,"sound_volume":"low_volume","state":"UNLOCK"}' Info 2023-05-28 15:51:37MQTT publish: topic 'zigbee2mqtt/Yale smartlock front door/action', payload 'one_touch_lock' Debug 2023-05-28 15:51:43Received Zigbee message from 'Yale smartlock front door', type 'attributeReport', cluster 'closuresDoorLock', data '{"lockState":1}' from endpoint 1 with groupID 0 Info 2023-05-28 15:51:43MQTT publish: topic 'zigbee2mqtt/Yale smartlock front door', payload '{"action":null,"action_source_name":null,"action_user":null,"auto_relock_time":120,"battery":98,"battery_low":false,"last_seen":"2023-05-28T15:51:43+09:30","linkquality":54,"lock_state":"locked","pin_code":null,"sound_volume":"low_volume","state":"LOCK"}'