Notes

The station scope set in the META tag is of the form domain handle/station handle, for example, /.

The station scope can also be set to random which pulls data from a random a station in the WeatherSTEM network, closest which pulls data from the station closest to the user in the WeatherSTEM network, and assigned which will look for a cookie named station and use it as the station to pull data from

The component includes a public WeatherSTEM.get() method which accepts a handler function as input and will return to it the latest data from the station in scope.

The component also includes a public WeatherSTEM.update() method which updates the data from the station in scope. By default, this method is called every 60 seconds but you can call it manually anytime.

Any element with a data-sensor attribute will have its child contents replaced by the current reading from the specified sensor. Values can be implemented for dynamically added elements by calling WeatherSTEM.update().