Manual poll through http

Hi, all

One more question. In Veralite’s UI, there is a button called ‘pull now’ so Vera will pull the data of sensor.

Is there anyway to use http request to do this as well?

I am using Aeon lab 4in1 sensor, and the pull has some problem, so I want to manually pull the node using http request.

Thanks

http://<veraIP>:3480/data_request?id=action&DeviceNum=<devNum>&serviceId=urn:micasaverde-com:serviceId:HaDevice1&action=Poll

with the proper values for and

Note that most battery operated devices are ‘always’ asleep and a manual poll will not work. Is your 4-in-1 USB powered?

Thanks!oTi@

I am using battery powered sensor. You are right, the senors will in sleep mode most of the time, but I don’t want to miss it when it’s awake. So I need to constant poll the device.

I see. Generally, the wake-up cycle is pretty quick (i.e. seconds); Vera actively sends the device back to sleep, so especially if Vera has nothing to say to the device it won’t be awake long.

Alternatively, you could try and catch it with watching the [tt]LastWakeup[/tt] variable ([font=courier]luup.variable_watch/font).

Maybe the alternative solution is to look at datamine and establish what variables it can capture and record.