Wemos D1 Mini and TSL2561 Luminosity Sensor

Raymond Mouthaan edited this page May 21, 2018 · 1 revision

TSL2561 Luminosity Sensor (I2C)

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

Note: before the TSL2561 can be used with Tasmota, make sure it's enabled. To enable it, remove the forward slashes before this line before you compile and upload tasmota to your Wemos device.

#define USE_TSL2561   // Add I2C code for TSL2561 sensor using library Joba_Tsl2561 (+2k3 code)

Connecting the TSL2561 to a Wemos Mini D1

Wemos TSL2561
3.3V VCC
D2 (gpio04) SDA
D1 (gpio05) SCL

Tasmota Configuration

In the Configuration -> Configure Module page, select the following:

  1. Module Type : 18 Generic
  2. D2 GPIO04 : 06 I2C SDA
  3. D1 GPIO05 : 05 I2C SCL

Tasmota Main

After reboot of the device the displays the TSL2561 Illuminance.

Theo's Tasmota Tips
What's New

Getting Started

Upload tools


Devices - Additional Info

Home Automation Integration

Other Integrations

Further Topics



Clone this wiki locally
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.