Page 1 of 1

How to get temperature from the sensor using ZwaveAPI http

Posted: 09 Nov 2015 15:39
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

Re: How to get temperature from the sensor using ZwaveAPI ht

Posted: 15 Nov 2015 02:31
by PoltoS