class Average(station: Station, *args, **kwargs)[source]

The Average weather station requests all values from all other weather stations and calculates 5-minutes averages for all sensor types.

This station gets configured by the initweather script and is running on a crontab every 5 minutes.


Entry point for creating sensors for this station.

No sensors created here, that all happens on-the-fly in update().


Entry point for updating sensor values for this station.

This method loops all sensor types and fetches all related sensors from all stations and calculates 5-minutes averages, which it stores in sensors of the same type.