Get last battery status from Z-way REST API

Discussions about RaZberry - Z-Wave board for Raspberry computer
Post Reply
jleng
Posts: 2
Joined: 02 Jan 2015 19:31

Get last battery status from Z-way REST API

Post by jleng »

Hi

I can not figure out how to get the latest known battery status of a device from the REST API

I've tried things like below without success :?
http://<ip>:8083/ZAutomation/api/v1/devices/<deviceid>/command/battery/level

Any help would be greatly appreciated :D

/ Johan
User avatar
PoltoS
Posts: 7649
Joined: 26 Jan 2011 19:36

Re: Get last battery status from Z-way REST API

Post by PoltoS »

http://<ip>:8083/ZAutomation/api/v1/devices/<deviceid> and take it from the json
Post Reply