Part 1 of 2 - How to Expand Tasmota/Sonoff Devices with the i2c protocol

Our first part of the I2C (I²C) sensor expansion with Tasmota. Add multiple sensors with minimal GPIO pin usage with a wide array of sensors on the market.  Add additional GPIO pins, LUX, Humidity, Pressure, Gas, Etc.

Parts Used in this Video:

MCP23017 GPIO Expansion
BME280 Temp/Humidity/Pressure
SHT31 Temp/Humidity
Female Jumper Wires
PIR Motion AM312 Sensor
ADS1115 4 Channel Analog Input
Breadboard and Jumper Wires

Tasmota Supported Sensors

CP2102 USB Drivers:

Precompiled Tasmota Bin with ADS1115 and MCP23017 i2c Enabled:

MCP23017 Console Commands Used:

sensor29 0,5
sensor29 1,5
sensor29 8,5
sensor29 0,T
sensor29 1,T
sensor29 8,T

sensor29 3,2,0
sensor29 2,2,0

MCP23017 Rules:

rule1 on event#MCPINT_D2=0 do backlog sensor29 0,OFF;senso…

We were doing it live! Catch the Replay of the Full Smart Switch Teardown and a new Dimmer.

Two switches shown in the video:

Martin Jerry Switch
Martin Jerry Dimmer

Did a rather short (sarcasm) live stream showing the process to break open the smart switch, identify features, flash tasmota, setup the template, etc. It was my first time doing this switch model and first time doing the real live stream.

I also showed the bonus of the very cool new dimmer switch I've been working with on and off. It's very close and works out of the box right now as it is with a few Tasmota rules.

Had a lot of fun and let me know if you'd like to see more of these (hopefully shorter next time!)

3-Way KULED Smart Switch Tips & Tricks with Tasmota

We are showing additional tips and tricks on the KULED WiFi Smart Switch; 3-Way Config, Long Press Actions to control other devices, LED Control, and LED Dimming.  Learn how to use Tasmota rules with the various configurations in your projects.

Watch the previous video of how to flash the KULED Smart Switches as we are setting them in a 3-way configuration!

Parts List (to flash Tasmota):
KULED SmartSwitch (2 Pack)
USB FTDI Adapter(for Flashing, set jumper to 3v3 - NOT 5 volts) Male Headers
Jumper Wires

Best WiFi Smart Switch? - Flash Tasmota on the KULED Smart Switch

The KULED WiFi Smart Switch unboxing and Tasmota firmware flashing tutorial.  These switches have been welcomed by many as an easy solution to their smarthome projects.

Can it replace a Sonoff Switch?  You be the judge. One of the easiest devices to flash, with NO soldering!  Don't forget to set your flashing adapter to 3.3 volts!

Parts List:
KULED SmartSwitch (2 Pack)
USB FTDI Adapter(for Flashing, set jumper to 3v3 - NOT 5 volts)
Male Headers
Jumper Wires

Verify your header layout is the same as pictured, some switch variants have labels the layout is different.
HomeAssistant Binary Sensor Config YAML- platform: mqttname: "KuLED Test"state_topic: "stat/KULED-1/POWER"command_topic: "cmnd/KULED-1/POWER"availability_topic: "tele/KULED-1/LWT"qos: 1payload_on: "ON"payload_off: "OFF"payload_available: "Online"payload_not_available: "Offline"retain: false

GitHub with the pictures and sample HomeAssistant C…

Sonoff Basic Expansion Mod - Buttons, PIR Motion Sensors, Tasmota Rules and more!

The Sonoff Hydra-Basic with two capacitive touch buttons and a PIR motion sensor.  Break into the powerful Rules of the Tasmota firmware and control more than one light/function with a Sonoff Basic.

Parts List:
Sonoff Basic
USB FTDI Adapter(Sonoff Flashing)
Male Headers
AM312 PIR Sensor
Capacitive Touch Button
Jumper Wires
Fuses (optional but recommended)

DrZzs video on step by step how to flash a Sonoff -

Tasmota Rules Commands Used:backlog switchmode1 3;switchmode2 1;switchmode3 1 rule1 on switch2#state=1 do publish cmnd/S20Beta/POWER TOGGLE endon rule1 on rule2 on switch3#state=1 do publish HydraBasic/PIR/state YES endon on switch3#state=0 do publish HydraBasic/PIR/state NO endon rule2 on rule3 on switch3#state=1 do publish cmnd/TuyaDimTest/Dimmer 75 endon on switch3#state=0 do publish cmnd/TuyaDimTest/Dimmer 25 endon rule3 on HomeAssistant Binary Sensor Config YAML- platform: mqttname: "HydraBasic Motion"state_topic: "H…

Finally! A Tasmota WiFi Dimmer Smart Switch

Looking for a MQTT WiFi Dimmer Switch that works with Tasmota for local control that works with HomeAssistant and many other home automation solutions?  Check out this dimmer smart switch here on Amazon - Oittm Dimmer Switch.  If they don't ship to your country/area try this variant here on Amazon.

This is a 1 gang US sized WiFi dimmer smart switch with Tasmota firmware! No cloud or internet necessary.  All local control.

The WiFi controller is an ESP8266 chip ready to be flashed with Tasmota firmware.  I've coded the serial communications necessary into the Tasmota firmware and compiled the firmware for you.

Flash with a standard USB ESP8266 capable flasher device.  Do NOT connect it to mains power while flashing.  Flashing this device will void the warranty, do so at your own risk!

Firmware -

Or you can snag one of the latest nightly builds here:

Example Home…