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

The Current weather station requests all values from all other weather stations and just averages the lates values for all sensor types.

This station gets configured by the initweather script and is running in an interval every 10 seconds.

All sensors of this station that are vital for operation should have Valid evaluators attached to them.


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 averages of the latest values, which it stores in sensors of the same type. Values from other stations are only used if they are not older than 10 minutes.