I've got a working dummy copy with Indigo querying the state of my study fan, and updating the state every 5 seconds.
https://www.dropbox.com/s/slv8zjqvmfyd7 ... d.zip?dl=1You need a HTTP Client device with:
URI set to
http://User:Pass@YourIP:8176 (note - this DOES use Digest authentication, even though it's written in Basic authentication URL format)
StatusRequest Method set to GET,
StatusRequest URI set to /devices/Device%20Name.xml
StatusRequest ContentType set to text/xml
Then under that, create variables. I've got one to display the raw XML, one to display the OnState and one to display the lastChangedTimeStr:
Type: HTTP Client Variable (or HTTPVariable once you created it - it displays different type)
Method: GET
StatusSource: StatusRequest (this uses the parent HTTP Client's source XML)
StatusPath: /device/isOn/text() - this stores the text portion of the /device/isOn XML that was returned
Then create a label with TextVariable set to the HTTP Client variable you just created.
Have a play from there.
Peter