HTTP Get Virtual Sensor

I have been using the HTTP Get Switch for automating low voltage lights and it's great. Now, I want to respond to change in state of some sensors that are accessible via HTTP Get. I want to poll for state change and set a virtual sensor to open or closed based on the response of the HTTP Get.

Is there something like this already? Or just a groovy file that shows how to code the http polling or setting the state of a virtual sensor?

Setting up a polling driver to process a GET request is fairly easy. The most difficult piece is parsing the response correctly so that you get the desired end result. There are examples out there but are specific to the device as the format of each response is unique to the device/manufacturer.

What kind of device is it? Brand/Model. Maybe someone has something already. If not, it is helpful to have any API documentation from the manufacturer.

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.