XBee PRO S2B communicating with Zigbee HA profile sensors
Pajci
Posts: 3
Is it possible to communicate with Zigbee HA profile sensors with Xbee PRO S2B and if yes, how?
Does anyone know where could I find any specification regarding Zigbee HA profile?Thank you far any help!
Does anyone know where could I find any specification regarding Zigbee HA profile?Thank you far any help!
Comments
Pajci,
I'm pretty sure the Series 2 XBees should be able to communicate with other ZigBee devices.
From page 236 of Building Wireless Sensor Networks:
Just to be sure, you can call Digi at (866) 765-9885 (toll-free from US or Canada) They're open 8 am to 5 pm Mountain Time.
Sorry, I don't know what you need to do to get the two devices to communicate. One of sites in Franklin's search might help or you could ask Digi.
I could not found anywhere that information. And where could I find HA profile specification, how the api packet are built. I bought some sensors from wulian company, for example: http://www.wulian.cc/english/chanpin/chakan_chuanganqi.aspx?title=Wireless+IR+Motion+Detector
What settings should be set on my Xbee module in order to establish connection with them. Right now "node discovery" command returns me nothing ...
I think you have to fill out a form at zigbee.org to download the profile.
ZS=2
If it's an encrypted network.
EE=1
EO=0
KY=5A6967426565416C6C69616E63653039
(that's a standard link key used in HA profile)
Check SC to ensure it's scanning the right channels. FFFF will scan all channels.
You'll need to use the API mode to communicate. In particular API method 0x11 for sending packets. Unfortunately there is a lot of reading and research before you'll get results. I recommend you read the XBee manual cover-to-cover. You should also get the ZigBee standard documents and read as much of them as you can bear.
For now I have succeeded to establish connection between XBee and HA sensor. This happened automatically. So how do yo do node discovery for example?
And where can I find information on how to manage particular sensor? For any more information I would be more than happy!
Here is my settings:
API mode
Pan ID: FFFF
ZS: 2 (asserts PRO)
EE: 1 (encryption enabled)
KY: 5a6967426565416c6c69616e63653039
AO: 1
I'm still working on this subject, I'm trying to connect my XBee S2 (On Arduino Shield) to the Philips Hue Bulb (Without Gateway).
I have the ti Zigbee sniffer which allows me to see frames between devices.
Actually I use the common configuration to communicate with HA Sensors on my Xbee :
API mode
ZS: 2 (asserts PRO)
EE: 1 (encryption enabled)
EO: 0
KY: 5a6967426565416c6c69616e63653039
AO: 1
Without using tne link Key KY, I can see that my Bulb send "beacon request", the Xbee send the superframe specification (and maybe establish connection ?), Bulb send "Association Request" and Xbee reply "Association Succeded". But "beacon Request" come back...
When I use the KY key, I have just one beacon request and the association seems to work.
But now, after connection established, the bulb answered a new kind of frame "NWK Unknown Command" when I send an 0x11 packet. Encryption Problem ? Did I forget something ?
Does anyone know if communication with Hue bulb is possible ? Is there a key exchange during connection/authentification ?
jdesbonnet, do you have more informations about this subject ?
Thanks