I would like to make something for HE but I am not sure if it'd be a driver or an app.
Basically I would like to make SOMETHING, that polls a web URL and then parses the JSON data and makes values available to the rest of the HE system.
For a simple example, lets say we wanted to poll a URL, receive a number and then use that value as the value for some capability every 30 seconds.
I know that a driver drives a device but I'm not sure the difference between an app. To me it makes sense to have the device that is providing this data, but I'm not sure if you can poll a URI regularly from either.
I'm having a hard time finding good examples and decent docs. Out of 17 listed methods only 7 have any documentation. And of the ones documented, there are more "additional to be documented" than actually documented.