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 » 10 Mar 2013 14:37

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: 4714
Joined: 26 Jan 2011 19:36

Sure! For examle:

Post by PoltoS » 10 Mar 2013 14:37

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

Post Reply