HTTP API Read status of device

Discussions about Z-Way software and Z-Wave technology in general
Post Reply
kamlipin
Posts: 6
Joined: 25 Feb 2016 17:38

HTTP API Read status of device

Post by kamlipin »

Hello.

In another question i asked about how can i send command to device.

Know i have got something like this:

http://192.168.0.103:8083/ZAutomation/a ... command/on

But i want also read status of this device. I can request:
http://192.168.0.103:8083/ZAutomation/a ... way_3-0-37
and in response i have json array
like this:
{
"data": {
"creationTime": 1469135445,
"creatorId": 1,
"deviceType": "switchBinary",
"h": 1107079066,
"hasHistory": false,
"id": "ZWayVDev_zway_3-0-37",
"location": 2,
"metrics": {
"icon": "switch",
"title": "Everspring Switch (3.0)",
"level": "off"
},
"permanently_hidden": false,
"probeType": "",
"tags": [],
"visibility": true,
"updateTime": 1470164373
},
"code": 200,
"message": "200 OK",
"error": null
}

and now How can i read this status and display on my visualization.

Please help
kamlipin
Posts: 6
Joined: 25 Feb 2016 17:38

Re: HTTP API Read status of device

Post by kamlipin »

If I click button on this device (hardware) than status of device in this ^^^ response dont change. :(
Post Reply