Page 1 of 2

Aeotec multisensor

Posted: 21 May 2013 16:56
by johnrswanton
Hi

I have a Aeotec Multisensor and i have incuded it RaZberry I'm able to get the value for the motion from this url : http://RASPBERRYPI_IP/ZWaveAPI/Run/devices[4].instances[0].commandClasses.SensorBinary.data.level.valueOf()

but i am unable to get the temperature,humidity and light sensor readings so how do i go about this, what url should i be using ?
please help

regards
John

Use SensorMultilevel.data[**]

Posted: 21 May 2013 16:56
by PoltoS
Use SensorMultilevel.data[**].val.valueOf()

Try just SensorMultilevel.data to get the tree and see what ** should be

Thanks for you reply,

Posted: 21 May 2013 16:56
by johnrswanton
Thanks for you reply,
i have tried
http://RASPBERRYPI_IP:8083/ZWaveAPI/Run/devices[4].instances[0].commandClasses.SensorMultilevel.data

and got this response

{"name":"devices.4.instances.0.commandClasses.49.data","updated":"1970-01-16T20:17:47.557Z","invalidated":"1970-01-16T20:17:47.556Z","version":{"name":"version","updated":"1970-01-16T20:17:47.647Z","invalidated":"1970-01-16T20:17:47.646Z"},"security":{"name":"security","updated":"1970-01-16T20:17:47.557Z","invalidated":"1970-01-16T20:17:47.556Z"},"interviewDone":{"name":"interviewDone","updated":"1970-01-16T20:17:47.647Z","invalidated":"1970-01-16T20:17:47.556Z"},"interviewCounter":{"name":"interviewCounter","updated":"1970-01-16T20:17:47.557Z","invalidated":"1970-01-16T20:17:47.556Z"},"sensorType":{"name":"sensorType","updated":"1970-01-16T20:21:47.673Z","invalidated":"1970-01-16T20:17:47.556Z"},"sensorTypeString":{"name":"sensorTypeString","updated":"1970-01-16T20:21:47.673Z","invalidated":"1970-01-16T20:17:47.556Z"},"val":{"name":"val","updated":"1970-01-16T20:21:47.673Z","invalidated":"1970-01-16T20:20:29.070Z"},"scale":{"name":"scale","updated":"1970-01-16T20:21:47.673Z","invalidated":"1970-01-16T20:17:47.556Z"},"scaleString":{"name":"scaleString","updated":"1970-01-16T20:21:47.673Z","invalidated":"1970-01-16T20:17:47.556Z"}}


when i tried
http://RASPBERRYPI_IP:8083/ZWaveAPI/Run/devices[4].instances[0].commandClasses.SensorMultilevel.data.val.valueOf()

I got a value of 21.5 does this mean it 21.5 degrees or is this really the temperature ?

regards
John

Use data.scaleString.valueOf(

Posted: 21 May 2013 16:56
by PoltoS
Use data.scaleString.valueOf() to get the units. Looks like a reasonable temperature

I have temperature but how do i get light and humidity values

Posted: 21 May 2013 16:56
by johnrswanton
Hi,I am able to get the temperature but it keeps jumping in value im not sure but maybe im getting the light and humidity but all on the same url as shown below, is there a way of seperating them?http://RASP_IP:8083/ZWaveAPI/Run/devices[4].instances[0].commandClasses.SensorMultilevel.data.val.valueOf()I have included links to screenshots of the control panel for the device in question, from the configuration it looks like it should give me all the values but just mainly the temperature. please help regards John 

Hello

Posted: 21 May 2013 16:56
by Pitt13
Hello
http://IP_RPi:8083/ZWaveAPI/Run/devices[4].instances[0].commandClasses[49].data[1].val.value => for Temperature

http://IP_RPi:8083/ZWaveAPI/Run/devices[4].instances[0].commandClasses[49].data[3].val.value => for Lux

http://IP_RPi:8083/ZWaveAPI/Run/devices[4].instances[0].commandClasses[49].data[5].val.value => for Humidity

Thanks,   well tried them

Posted: 21 May 2013 16:56
by johnrswanton
Thanks,   well tried them urls and got this error"Uncaught TypeError: Cannot read property 'val' of undefined"regards John

Hello,

Posted: 21 May 2013 16:56
by Pitt13
Hello,
my adjustment are :
wake up 10 minutes => yes
On time delay => 600
Unsolicitate reports interval timing for group 1 and 2 and 3 : 720
Wake up time => 600

My config : Device N°5

Posted: 21 May 2013 16:56
by Pitt13
My config : Device N°5

{"name":"devices.5.instances.0.commandClasses.49.data","type":"NoneType","value":null,"updateTime":1368228278,"invalidateTime":1368228277,"version":{"name":"version","type":"int","value":5,"updateTime":1368228280,"invalidateTime":1368228278},"security":{"name":"security","type":"bool","value":false,"updateTime":1368228278,"invalidateTime":1368228277},"interviewDone":{"name":"interviewDone","type":"bool","value":true,"updateTime":1368228288,"invalidateTime":1368228277},"interviewCounter":{"name":"interviewCounter","type":"int","value":9,"updateTime":1368228286,"invalidateTime":1368228277},"1":{"name":"1","type":"NoneType","value":null,"updateTime":1370035837,"invalidateTime":1369676675,"sensorTypeString":{"name":"sensorTypeString","type":"str","value":"Temperature","updateTime":1368228287,"invalidateTime":1368228286},"val":{"name":"val","type":"float","value":19.899999618530273,"updateTime":1370035837,"invalidateTime":1368228286},"deviceScale":{"name":"deviceScale","type":"int","value":0,"updateTime":1370035837,"invalidateTime":1368228286},"scale":{"name":"scale","type":"int","value":0,"updateTime":1370035837,"invalidateTime":1368228286},"scaleString":{"name":"scaleString","type":"str","value":"°C","updateTime":1370035837,"invalidateTime":1368228286}},"3":{"name":"3","type":"NoneType","value":null,"updateTime":1370035837,"invalidateTime":1369676675,"sensorTypeString":{"name":"sensorTypeString","type":"str","value":"Luminiscence","updateTime":1368228287,"invalidateTime":1368228286},"val":{"name":"val","type":"float","value":201,"updateTime":1370035837,"invalidateTime":1368228286},"deviceScale":{"name":"deviceScale","type":"int","value":1,"updateTime":1370035837,"invalidateTime":1368228286},"scale":{"name":"scale","type":"int","value":1,"updateTime":1370035837,"invalidateTime":1368228286},"scaleString":{"name":"scaleString","type":"str","value":"Lux","updateTime":1370035837,"invalidateTime":1368228286}},"5":{"name":"5","type":"NoneType","value":null,"updateTime":1370035837,"invalidateTime":1369676675,"sensorTypeString":{"name":"sensorTypeString","type":"str","value":"Humidity","updateTime":1368228287,"invalidateTime":1368228286},"val":{"name":"val","type":"float","value":56,"updateTime":1370035837,"invalidateTime":1368228286},"deviceScale":{"name":"deviceScale","type":"int","value":0,"updateTime":1370035837,"invalidateTime":1368228286},"scale":{"name":"scale","type":"int","value":0,"updateTime":1370035837,"invalidateTime":1368228286},"scaleString":{"name":"scaleString","type":"str","value":"%","updateTime":1370035837,"invalidateTime":1368228286}}}

It seems you have old version

Posted: 21 May 2013 16:56
by PoltoS
It seems you have old version of RaZberry (v1.1). Please use the new version (v1.2 or greater - latest is v1.3.1). You will need to force re-interview for that device.