Hi,
DeCONZ 2.29.3 beta has some great improved support for keypads and alarms via deconz. Thanks for the work in this!
I wanted to know if it was possible to have deconz expose the 4 digit codes that get entered by users.
Similar to how ZHA does it.
“event_type: zha_event
data:
device_ieee: 00:0d:6f:00:15:74:86:bc
unique_id: 00:0d:6f:00:15:74:86:bc:1:0x0501
device_id: dc8c2629e4a29da1cc7af0c10cb262c2
endpoint_id: 1
cluster_id: 1281
command: arm
args:
arm_mode: 0
arm_mode_description: Disarm
code: “1234”
zone_id: 0
params: {}
origin: LOCAL
time_fired: “2024-02-04T17:32:26.071555+00:00”
context:
id: 01HNTJVD2QESPJXK66XK735CK6
parent_id: null
user_id: null”
Right now in Home assistant when I listen for deconz_alarm_event, I see something like this below for invalid code events.
The actual code entered is not passed though. I don’t get any events for successful arming events either.
event_type: deconz_alarm_event
data:
id: ancillarycontrol_30
unique_id: 00:0d:6f:00:13:44:55:65
device_id: dda560983f98da2de1d7b8ce095068fb
event: invalid_code
origin: LOCAL
time_fired: “2025-04-10T18:36:00.031166+00:00”
context:
id: 01JRGFSJMZDJ8R3BJBKWKCD8TK
parent_id: null
user_id: null
I’d like to ultimately figure out how to use HA to configure codes for different users, one time user codes, etc…
I’m looking for functionality similar to what this plugin provides for HA when used with ZHA. It relies on the entered codes being exposed though. If we can expose the codes through deconz I will attempt to modify this project to have it work with deconz as well as ZHA.
It would be great if the user entered code could be passed for valid arm/disarm requests as well as invalid arm disarm events.