ZigBee IAS Zone 3-Series Door Sensor Enrollment Issue

security
zigbee

(Fatih) #1

Hello;

I have a 3-Series Door Sensor (https://www.centralite.com/products/door-sensor) which supports ZigBee Home Automation 1.2 and I want to get notified (ZigBee attribute reporting) when the sensors on/off status has changed.

I’m not using Smarthings Hub, just experimenting with an XBee S2C Pro module with python-xbee library.

So far, I couldn’t handle the enrollment process of the door-sensor. At the below I try to explain the current situation.

  1. –> Sensor sends a “Device Announce 0x0013” message everytime it re-connects.
  2. <-- After that, I reply it with a “Write CIE Addr” command
  3. –> Sensor replies with write attribute response with success (0x04)
  4. <-- I send a “Zone Enrollment Response” with success in order to trigger sensors Enrollment process
  5. –> Sensor replies with Zone Enroll Request" (0x01) command
  1. <-- I reply again with a “Zone Enrollment Response” with success command

And it starts to loop again with “Device Announce” message. I tried many different combinations with no luck.

What should be done for a successful enrollment process of an IAS Device? Is there a special case for centralite devices?

Below you can find the raw message sequence.

====<MessageReceived>====

********** Message Contents*************
profile 00 00 
source_addr 77 d5 
dest_endpoint 00 
rf_data 8d d5 77 48 82 05 04 00 6f 0d 00 80 
source_endpoint 00 
options 02 
source_addr_long 00 0d 6f 00 04 05 82 48 
cluster 00 13 
id rx_explicit
****************************************

Cluster ID: 0x13 profile id: '\x00\x00'
--> Device Announce Message
--- Enrollment Process ---
1) CIE
Write CIE address
====</MessageReceived>====


====<MessageReceived>====

********** Message Contents*************
profile 01 04 
source_addr 77 d5 
dest_endpoint 01 
rf_data 08 aa 04 00 
source_endpoint 01 
options 01 
source_addr_long 00 0d 6f 00 04 05 82 48 
cluster 05 00 
id rx_explicit
****************************************

--> Attribute Write Responses
 -- HA IAS ZONE Device
Enrollment Response 
====</MessageReceived>====


====<MessageReceived>====

********** Message Contents*************
profile 00 00 
source_addr ae 69 
dest_endpoint 00 
rf_data 8e 69 ae 48 82 05 04 00 6f 0d 00 80 
source_endpoint 00 
options 02 
source_addr_long 00 0d 6f 00 04 05 82 48 
cluster 00 13 
id rx_explicit
****************************************

Cluster ID: 0x13 profile id: '\x00\x00'
--> Device Announce Message
--- Enrollment Process ---
1) CIE
Write CIE address
====</MessageReceived>====


====<MessageReceived>====

********** Message Contents*************
profile 01 04 
source_addr ae 69 
dest_endpoint 01 
rf_data 08 aa 04 00 
source_endpoint 01 
options 01 
source_addr_long 00 0d 6f 00 04 05 82 48 
cluster 05 00 
id rx_explicit
****************************************

--> Attribute Write Responses
 -- HA IAS ZONE Device
Enrollment Response 
====</MessageReceived>====


====<MessageReceived>====

********** Message Contents*************
profile 01 04 
source_addr ae 69 
dest_endpoint 01 
rf_data 08 23 01 00 01 86 
source_endpoint 01 
options 01 
source_addr_long 00 0d 6f 00 04 05 82 48 
cluster 05 00 
id rx_explicit
****************************************

--> Zone Enroll Request
 -- HA IAS ZONE Device
Enrollment Response 
====</MessageReceived>====


====<MessageReceived>====

********** Message Contents*************
profile 00 00 
source_addr 7d e8 
dest_endpoint 00 
rf_data 8f e8 7d 48 82 05 04 00 6f 0d 00 80 
source_endpoint 00 
options 02 
source_addr_long 00 0d 6f 00 04 05 82 48 
cluster 00 13 
id rx_explicit
****************************************

Cluster ID: 0x13 profile id: '\x00\x00'
--> Device Announce Message
--- Enrollment Process ---
1) CIE
Write CIE address
====</MessageReceived>====


====<MessageReceived>====

********** Message Contents*************
profile 01 04 
source_addr 7d e8 
dest_endpoint 01 
rf_data 08 aa 04 00 
source_endpoint 01 
options 01 
source_addr_long 00 0d 6f 00 04 05 82 48 
cluster 05 00 
id rx_explicit
****************************************

--> Attribute Write Responses
 -- HA IAS ZONE Device
Enrollment Response 
====</MessageReceived>====


====<MessageReceived>====

********** Message Contents*************
profile 01 04 
source_addr 7d e8 
dest_endpoint 01 
rf_data 08 23 01 00 01 86 
source_endpoint 01 
options 01 
source_addr_long 00 0d 6f 00 04 05 82 48 
cluster 05 00 
id rx_explicit
****************************************

--> Zone Enroll Request
 -- HA IAS ZONE Device
Enrollment Response 
====</MessageReceived>====


====<MessageReceived>====

********** Message Contents*************
profile 00 00 
source_addr e6 38 
dest_endpoint 00 
rf_data 90 38 e6 48 82 05 04 00 6f 0d 00 80 
source_endpoint 00 
options 02 
source_addr_long 00 0d 6f 00 04 05 82 48 
cluster 00 13 
id rx_explicit
****************************************

Cluster ID: 0x13 profile id: '\x00\x00'
--> Device Announce Message
--- Enrollment Process ---
1) CIE
Write CIE address
====</MessageReceived>====


====<MessageReceived>====

********** Message Contents*************
profile 01 04 
source_addr e6 38 
dest_endpoint 01 
rf_data 08 aa 04 00 
source_endpoint 01 
options 01 
source_addr_long 00 0d 6f 00 04 05 82 48 
cluster 05 00 
id rx_explicit
****************************************

--> Attribute Write Responses
 -- HA IAS ZONE Device
Enrollment Response 
====</MessageReceived>====


====<MessageReceived>====

********** Message Contents*************
profile 01 04 
source_addr e6 38 
dest_endpoint 01 
rf_data 08 23 01 00 01 86 
source_endpoint 01 
options 01 
source_addr_long 00 0d 6f 00 04 05 82 48 
cluster 05 00 
id rx_explicit
****************************************

--> Zone Enroll Request
 -- HA IAS ZONE Device
Enrollment Response 
====</MessageReceived>====

(Tommy) #2

Did you ever determine how to get it to stop sending the device announce messages? I am seeing the same behavior.


#3

Hello, in ZigBee network the Device Announce Message is start of joining of the device, not start of the enrollment process. You should firstly join the device to the network and after that You can enroll the device (IAS Zone Device).
Useful links: 1. Device joining in Java, 2. Enrollment in ZCL - see page 776


#4

I know this is a very old post, but I suspect the issue is, the device is doing a discovery for who services profile 0x0104 (the HA profile) and since it’s not seeing anything, it will reset and keep resetting.


(Fatih) #5

Finally we have solved the issue. It turns out that the problem is neither related to the ZHA nor the Door Sensor. The problem is with the firmware version of the XBee Pro Controller (SC2) when we have updated to the latest firmware, everything solved smoothly and the script runs as it should be.

Thanks for your contributions.