TSL2561 I2C Luminosity sensor

Supported interfaces

Python Constructor

Use following constructors if you want to create a TSL2561 from your python scripts.


from webiopi.devices.sensor import TSL2561

# Setup a TSL2561
tsl = TSL2561()

Configuration File syntax

Use following syntax to setup a TSL2561 in the webiopi service/command configuration file.

# Setup a TSL2561
tsl = TSL2561