I have a raspberry pi with some sensors on it. The Sensors will return data with a web GET. For example, if you request http://10.10.10.10:1200 a value from one of the sensors is returned. Is there a way to get this value and assign it to a virtual device?
Announcement
Collapse
No announcement yet.
Virtual device Value set with GET
Collapse
X
-
Yes although it will depend on what the data is returned by, is it plain html, text, XML, JSON etc. If it is very simple text you might be able to get by with a single line scripting call, if not then it's likely to need a full script (which would be a couple of lines) you would run in a recurring event.
Probably best if you post the contents of the web page so it can be understand how it is coming back to you.
Comment