url api to razberry

Discussions about Z-Way software and Z-Wave technology in general
Post Reply
cbnidk
Posts: 41
Joined: 14 May 2015 11:25

url api to razberry

Post by cbnidk »

hi

I can get the status of my switch by this

http://ip_raspberry:8083/ZWaveAPI/Run/devices[3].instances[2].SwitchBinary.data.level.value
I get true or false back in my brower

but I can't find the code to get my temperatur from my SensorBinary
it is a Univeral Binary Sensor FGBS-001 with a DS18B20 sensor

devices[4] and instances[3]
can someone help

Claus
pz1
Posts: 2053
Joined: 08 Apr 2012 13:44

Re: url api to razberry

Post by pz1 »

try:

Code: Select all

http://ip_raspberry:8083/ZWaveAPI/Run/devices[3].instances[X].SensorMultilevel.data[1].val.value
where x=3 through 6 for the respective four temperature sensors.
Note the sensors should be connected to the device while you include it. So you may have to re-include.
Since 29-12-2016 I am no longer a moderator for this forum
cbnidk
Posts: 41
Joined: 14 May 2015 11:25

Re: url api to razberry

Post by cbnidk »

pz1 wrote:try:

Code: Select all

http://ip_raspberry:8083/ZWaveAPI/Run/devices[4].instances[3].SensorMultilevel.data[1].val.value
where x=3 through 6 for the respective four temperature sensors.
Note the sensors should be connected to the device while you include it. So you may have to re-include.
Yes this is working! Thank you
with device 4 and instances 3

Claus
Post Reply