platypush.backend.weather.darksky

class platypush.backend.weather.darksky.WeatherDarkskyBackend(poll_seconds, **kwargs)[source]

Weather forecast backend - listens and propagates new weather events.

Triggers:

Requires:

__init__(poll_seconds, **kwargs)[source]
Parameters:
  • bus – Reference to the bus object to be used in the backend
  • poll_seconds – If the backend implements a loop method, this parameter expresses how often the loop should run in seconds.
  • kwargs – Key-value configuration for the backend
run()[source]

Starts the backend thread. To be implemented in the derived classes if the loop method isn’t defined.