platypush.backend.light.hue

class platypush.backend.light.hue.LightHueBackend(poll_seconds=10, *args, **kwargs)[source]

This backend will periodically check for the status of your configured Philips Hue light devices and trigger events when the status of a device (power, saturation, brightness or hue) changes.

Triggers:

Requires:

__init__(poll_seconds=10, *args, **kwargs)[source]
Parameters:poll_seconds (float) – How often the backend will poll the Hue plugin for status updates. Default: 10 seconds
run()[source]

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