Home/Support/Support Forum/how to use an IAS Zone device

how to use an IAS Zone device

0 votes
Hi
I'm handling the Smartthings motion sensor and i know this is an IAS Zone device.
I read an question-answer and they said, "Before you get the information from the sensor, you need to enroll first."
(http://stackoverflow.com/questions/31151625/zigbee-motion-detect-sensor-usage)
so i tried to send 'write attribute command' to the sensor to enroll first on my python code like this,

data='\x00' + '\xaa' + '\x02' + '\x00\x10'+'\xf0'+'my MAC address'
('02' means write attribute command, '0010' means attribute of the Zone setting, 'f0' means data type-IEEE address)
this raw data format is from the 'zigbee cluster library' document.
but the sensor gave me 86 status, which means UNSUPPORTED_ATTRIBUTE
well, i think the command is wrong and my assumptions are,
-the format is wrong.
-the values i used is wrong.
-or both.

If you have any idea or any little hint, you can help me. thanks to read!
asked Sep 15, 2016 in ZigBee PRO Featureset (and legacy ZNet 2.5) by zzxxccxx New to the Community (2 points)

Please log in or register to answer this question.

1 Answer

+1 vote
 
Best answer
Who's Zigbee modules are you using?
answered Sep 16, 2016 by mvut Veteran of the Digi Community (14,676 points)
selected Oct 4, 2016 by zzxxccxx
the Zigbee device is a smartthings motion sensor.
and the radio device to make a connection between my computer and the device is Xbee(Digi)
From what I could find out, they are working with the Zigbee home automation profile.   Try using Little Indian formation on the addresses.
thanks! Little Endian was the answer.
...