pyobs_weather.weather.stations.McDonaldLocke

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

The McDonaldLocke weather station reads current weather information from the Mt. Lock weather page at http://weather.as.utexas.edu/latest_5min.dat.

It does not require any configuration.

create_sensors()[source]

Entry point for creating sensors for this station.

Sensors created by this station are:

  • temp

  • humid

  • winddir

  • windspeed

  • particles

  • rain

update()[source]

Entry point for updating sensor values for this station.

This method reads the Mt. Locke weather page and extracts the latest values.