Little help on web service device


(Justin Waymire) #1

I apologize if this has been answered before, if someone could point me in the right direction, I would be very happy. What I am attempting to do is define a device that can either access a webpage and scrape the first line of the page, or even better, able to query a WCF web service. IE… I have my pool temperature logging to my home server and being stored in mssql, as well as a few more of my own “sensors”. I would like to be able to show these as devices and have the system poll the web service or page at intervals to get the latest state information. If someone could point me to a simple example that would be relevant, it would be great. I can find tons of examples, but none of them seem even remotely relevant to what I am trying to achieve. I’m pretty good with c#, however, groovy has me scratching my head.