Status of devices in API

Discussions about RaZberry - Z-Wave board for Raspberry computer
Post Reply
controlom
Posts: 2
Joined: 13 Feb 2013 13:26

Status of devices in API

Post by controlom »

Hello,

I want to have the status of devices (ON/OFF or false/true for sensor ..) , is it available in API ?

Tks.
User avatar
PoltoS
Posts: 7565
Joined: 26 Jan 2011 19:36

Sure! For examle:

Post by PoltoS »

Sure! For examle:
/ZWaveAPI/Run/devices[1].instances[0].commandClasses.SensorBinary.data.level.valueOf()
Post Reply