Home/Support/Support Forum/How can i know if a HA device is ON or OFF

How can i know if a HA device is ON or OFF

0 votes
Hi everyone,

Im trying to control a home automation device with an ccimx6ulsbc with yocto and an xbee3. Once the HA devices are in my network I use a python program to control them. The problem is that i cant find what message I have to send to receive the ON/OFF status of this devices.

for writting ON I use this message:

message=b'\x01\x00\x01'
remote = RemoteZigBeeDevice(xbee, XBee64BitAddress.from_hex_string(mac))
xbee.send_expl_data_async(remote, message, se, de, clid, prfid)
asked Jun 2 in XBee3 ZigBee by pablovi96 New to the Community (25 points)

Please log in or register to answer this question.

1 Answer

+1 vote
Pablov,

I would suggest you start with sending a packet requesting the active end points on the device. This should tell you what the device is capable of providing you.
answered Jun 2 by mvut Veteran of the Digi Community (13,094 points)
I have done that but I dont know how to understand the message that I recieve from the devices. They send a explicit RX indicator from which I can find their adresses, for example, but I cannot find what the payload means. is there any document in which this is explained?
It is going to be a mixture of the Digi product manual and the Zigbee alliance document for the standard in question.

The Digi Manual for the knowing which bytes are the cluster ID and end points and the Zigbee HA manual for the actual data bits in the payload.
...