How to get temperature from the sensor using ZwaveAPI http

Discussions about RaZberry - Z-Wave board for Raspberry computer
Post Reply
kovi44
Posts: 10
Joined: 09 Nov 2015 15:02

How to get temperature from the sensor using ZwaveAPI http

Post by kovi44 »

Dear friends,
I would kindly ask for help. I finally success to configure my system. Now I need to collect some data and do some analysis. I need to get the temperature value from the sensor and also power/gas consumption.

I found that if I run http://192.168.0.xy/ZWaveAPI/Run/devices[36] which is GAS consuption meter.
The output looks like:

{"instances":{"0":{"commandClasses":{"32":{"name":"Basic","data":{"invalidateTime":1444558021,"updateTime":1444558022,"type":"string","value":"Electric"},"val":{"invalidateTime":1444558021,"updateTime":1447071213,"type":"float","value":299.1919872},"scale":{"invalidateTime":1444558021,"updateTime":1444558022,"type":"int","value":0},"scaleString":{"invalidateTime":1444558021,"updateTime":1444558022,"type":"string","value":"kWh"},"ratetype":{"invalidateTime":1444558021,"updateTime":1447071213,"type":"int","value":1},"delta":{"invalidateTime":1444558021,"updateTime":1447071213,"type":"int","value":0},"previous":

and I would like to get just this value: 299.1919872
Thanks a lot for your help
Lukas


Post Reply