I am trying to write a small app to detect Ring v2 panic buttons and set a virtual switch. In my app, Using the securityKeypad capability and subscribing to attribute securityKeypad, I am able to see normal arming/disarming events, but the panic buttons events aren't being detected that way.
Am I using incorrect capability or subscribing to wrong attribute?
In the logs, when panic button is pressed, the following appears:
dev:2632021-02-19 08:55:20.877 am debugEntry control: [sequenceNumber:161, dataType:2, eventType:17, eventDataLength:0] keycache:
dev:2632021-02-19 08:55:20.873 am debugSupervision Get - SessionID: 51, CC: 111, Command: 1
dev:2632021-02-19 08:55:20.862 am debugparse:zw device: 29, command: 6C01, payload: 33 06 6F 01 A1 02 11 00 , isMulticast: false
An alarm disable event looks like this in the logs:
dev:2632021-02-19 08:55:15.467 am debugfound code: $$$$ user: $$$$
dev:2632021-02-19 08:55:15.463 am debugEntry control: [sequenceNumber:160, dataType:2, eventType:3, eventDataLength:4] keycache: $$$$
dev:2632021-02-19 08:55:15.460 am debugcharacter 7, value 55
dev:2632021-02-19 08:55:15.456 am debugcharacter 6, value 55
dev:2632021-02-19 08:55:15.452 am debugcharacter 5, value 50
dev:2632021-02-19 08:55:15.449 am debugcharacter 4, value 53
dev:2632021-02-19 08:55:15.444 am debugSupervision Get - SessionID: 50, CC: 111, Command: 1
dev:2632021-02-19 08:55:15.439 am debugparse:zw device: 29, command: 6C01, payload: 32 0A 6F 01 A0 02 03 04 35 32 37 37 , isMulticast: false