Hi, I’m using a VeraLite running UI5 and I require to remotely retrieve sensor data using a Javascript API call. I know how to run a scene remotely but I cannot find out how to retrieve the value of a temperature sensor. Is this possible?
To retrieve the value of a temperature sensor on Vera ?
Can you send a HTTP call ?
Change the device number 101 to that of your temperature sensor device in Vera.
http://VERA-IP/port_3480/data_request?id=variableget&DeviceNum=101&serviceId=urn:upnp-org:serviceId:TemperatureSensor1&Variable=CurrentTemperature
2 Likes
Thank you @cw-kid that’s exactly what I was looking for. Not much different to luup.variable_get() that I’ve used many times!
1 Like