Get Device State using REST API
Posted: Thu Oct 08, 2015 7:47 am
I know this isn't necessarily specific to the Wunderground Plugin, but how can I get the device states using the REST API?
On the REST examples page I've seen stuff like ;
http://127.0.0.1:8176/devices/office-ce ... method=put
to change states and thought I could do a GET like;
http://127.0.0.1:8176/devices/[WundergoundDeviceName]?Current Conditions - Temperature&_method=get
but that doesn't work.
I'm looking access stuff like [WundergoundDeviceName]Current Conditions - Temperature and [WundergoundDeviceName]Detailed Forecast 1, etc...
Thanks for any help!
M
On the REST examples page I've seen stuff like ;
http://127.0.0.1:8176/devices/office-ce ... method=put
to change states and thought I could do a GET like;
http://127.0.0.1:8176/devices/[WundergoundDeviceName]?Current Conditions - Temperature&_method=get
but that doesn't work.
I'm looking access stuff like [WundergoundDeviceName]Current Conditions - Temperature and [WundergoundDeviceName]Detailed Forecast 1, etc...
Thanks for any help!
M