Page 1 of 1

list devices and get battery level

Posted: 27 Mar 2013 20:00
by johnrswanton
Hi all,

I have recently bought the raspberry pi and z-way module and got it set up no problems

I am currently able to get the state of a door sensor whether it is open or closed using the below url:
http://192.168.0.104:8083/ZWaveAPI/Run/ ... el.valueOf()

what i would like to do it get a list of all the devices that are connect to it and they status( online/offline) also i want to get the current battery level

regards
John

Please conslt the manual.

Posted: 27 Mar 2013 20:00
by PoltoS
Please conslt the manual.

Use /ZWaveAPI/Data/0 to get the full tree.

list devices and get battery level

Posted: 27 Mar 2013 20:00
by johnrswanton
i can access the full tree from
http://rasp_ip:8083/ZWaveAPI/Data/0

I have one door sensor which has node id of 2 where do i find information on this device and other additional devices i add in the future
what part of the tree contains a list of all the devices and their node ids and also their current battery level

regards

John

Please check the Fib 8 on

Posted: 27 Mar 2013 20:00
by PoltoS
Please check the Fib 8 on page 21 of the manual http://razberry.z-wave.me/docs/zway.pdf
It shows where is the list of all devices. New devices are added to the tree. There is a description how to get updates instead of full tree.

Check section Battery Command Class to see how to access battery level.