This page last changed on Feb 02, 2014 by redgie.

Hello, Can anyone shed any light on the following problem?

I've got a multi sensor (Aeon Labs). Temp, Luminosity, Humidity are all returning values OK when using HTTP calls - but the level value (i.e. trigger value) isn't.

If I enter http://<IP ADDRESS>:8083/ZWaveAPI/Run/devices4.instances0.commandClasses48.data directly, I get


I can get values returned for everything up to "interviewCounter" - then nothing after that: for instance when I query http://<IP ADDRESS>:8083/ZWaveAPI/Run/devices4.instances0.commandClasses48.data.level.value I get...

Error 500: Internal Server Error
Uncaught TypeError: Cannot read property 'value' of undefined

Am I being stupid? (Again)

Thanks,

Andy.


Capture.PNG (image/png)

How did you specify your OpenRemote http call to RaZberry?

I don't have the device, so I can't say for sure.
Did you try other other instances then 0? Try to get the complete device tree with:

 http://<IP ADDRESS>:8083/ZWaveAPI/Run/devices[4]
Posted by pz1 at Feb 02, 2014 20:38

I'll post that when I get a chance. But why would the value for 'level' be returned as per above (I.e. false in this case), but not when I query it explicitly?

If I activate the sensor and run the query again it shows 'true', so I know its working and the data is registering, but I still get the 500 error when tryingbto return the value.

Posted by redgie at Feb 02, 2014 22:21

Yup, I was being stupid. Should have been http://<IP ADDRESS>:8083/ZWaveAPI/Run/devices[4].instances[0].commandClasses[48].data.1.level.value

Posted by redgie at Feb 07, 2014 13:37
Document generated by Confluence on Jun 05, 2016 09:37