Home/Support/Support Forum/Xbee+arduino and a heiman smart plug(which uses Zigbee Ha1.2)

Xbee+arduino and a heiman smart plug(which uses Zigbee Ha1.2)

0 votes
Hello,
I'm very new to XBee and I'm trying on a project.
What I have : I have an xbee connected to an arduino (which I plan to use as the coordinator) and a heiman smart plug with Zha1.2 . The manufacturers say that smartplug sends the power consumption of the device connected to the smartplug.
The Objective : I need to see the data sent by the smartplug in the serial monitor of the arduino connect to the coordinator xbee.

I have setup the coordinator Xbee with
ZS 2
AP 2
AO 3
EE 1
EO 2
KY 0x5A6967426565416C6C69616E63653039
CI 12
all other parameters are default values from XCTU.
I can also see the smart plug connected to the xbee in when I scan in XCTU in network wworking mode.

My question :1. is there some other parameters that I need to change from their default value for Xbee for this purpose?
2. how do I get the values from the smart plug? I read and asked around and was informed that I should use ZDO commands. I have no idea how to use it. Could someone tell me how to use it for my problem either examples or where I can read? Hope to hear something soon. Thank you
asked Jan 25, 2018 in RF Solutions and XBee by Thomman New to the Community (0 points)

Please log in or register to answer this question.

1 Answer

0 votes
As for the settings, that is all you need.

As for ZDO, Try looking over https://www.digi.com/resources/documentation/DigiDocs/90002002/default.htm#Reference/r_send_ZDO_cmds.htm%3FTocPath%3DAPI%2520Operation%7C_____4

That will give you an idea as to what a ZDO command would look like. From that, you then need to talk to the manufacture of the device to get a listing of what ZDO commands the device supports and what values they require. Either that or download the HA profile from Zigbee.org and learn how to issue the different ZDO commands to both Pull for active end points, what end points you need and how to issue then to perform different functions.
answered Jan 25, 2018 by mvut Veteran of the Digi Community (11,300 points)
...