platypush.backend.sensor.ltr559

class platypush.backend.sensor.ltr559.SensorLtr559Backend(light=True, proximity=True, **kwargs)[source]

Backend to poll an LTR559 light/proximity sensor

Requires:

  • ltr559 (pip install ltr559)
__init__(light=True, proximity=True, **kwargs)[source]
Parameters:
  • light – Enable light sensor
  • proximity – Enable proximity sensor