Wemos D1 Mini and TSL2561 Luminosity Sensor - seurat-atreides/Sonoff-Tasmota GitHub Wiki



The TSL2561 luminosity sensor is an advanced digital light sensor, ideal for use in a wide range of light situations.
Note: To use the TSL2561 with Tasmota you have to enable sensors (e.g., use sonoff-sensors.bin).
Wemos | TSL2561 |
---|---|
GND | GND |
3.3V | VCC |
D2 (gpio04) | SDA |
D1 (gpio05) | SCL |
In the Configuration -> Configure Module page, select the following:
- Module Type : 18 Generic
- D2 GPIO04 : 06 I2C SDA
- D1 GPIO05 : 05 I2C SCL

After the device reboots, the home page will display the TSL2561 Illuminance.

Note: If you wish to eliminate Analog0
from the home page and A0
from the telemetry messages, create a template for your device and uncheck the ADC0 input
checkbox in the template setup.