From Let's Control It
(Redirected from LuxSensor2)
Jump to: navigation, search


The ESP module can read a TSL2516 Lux sensor using the I2C protocol.

The TSL2561 sensor needs to be connected to a the I2C pins on the ESP module. These pins can be configured on the hardware tab.



The TLS2561 sensor can be connected directly to an ESP module by using the two pins SDA and SCL.

I2C address set as:
ADDR-to-GND = 0x29
ADDR-to-(no connection) = 0x39
ADDR-to-VCC = 0x49



Custom Sketch

ESP Easy

Use the device tab on the ESP Easy webinterface and create a new task by editing one of the available tasks. Select "Luminosity TSL2561" from the dropdown box.


Enter the IDX found in the Domoticz device page. That should be all.

Optional settings

Use of formulas

Use of value names