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)
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.
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?