Skip to content

TSL2561 light sensor~

This feature is included only in tasmota-sensors.bin

Otherwise you must compile your build. Add the following to user_config_override.h:

#ifndef USE_VEML6070
#define USE_TSL2561         // Enable TSL2561 sensor (I2C address 0x29, 0x39 or 0x49) (+2k3 code)
#endif

The TSL2561 luminosity sensor is an advanced digital light I2C sensor, ideal for use in a wide range of light situations.

Configuration~

Wiring~

TSL2561 ESP8266
GND GND
VCC 3.3V
SCL GPIOy
SDA GPIOx
INT not used

Tasmota Settings~

In the Configuration -> Configure Module page assign:

  1. GPIOx to I2C SDA (6)
  2. GPIOy to I2C SCL (5)

After a reboot the driver will detect TSL2561 automatically and display Illuminance.

image

Sensor sends a tele/%topic%/SENSOR JSON reponse:

{"Time":"2019-11-03T21:04:05","TSL2561":{"Illuminance":21.180}}

Breakout Boards~