Skip to main content

3-Way Dimming without the cloud! I show the hallway 3 way light that was in dire need of dimming at night from our motion activated lights.  All of the Tasmota rules and links to wiring diagrams are included below. Enjoy! Subscribe, give us a thumbs up, and feel free to comment if you have any questions.

Acenx Dimmer Switch

Zemismart Switch

3-Way Switch Diagrams

How to Flash the Acenx/Martin Jerry Dimmer

Amazon US Link

Connect with Us
Patreon -
Discord -
Primary Dimmer Rules
Rule1 on Switch2#state=2 do Dimmer - endon on Switch3#state=2 do Dimmer + endon on Switch2#state=3 do Dimmer 30 endon on Switch3#state=3 do Dimmer 100 endon
Rule2 on Power1#State=1 do backlog publish cmnd/SW_Hall_Secondary/ledpower 1; ledpower 0 endon on Power1#State=0 do backlog publish cmnd/SW_Hall_Secondary/ledpower 0; ledpower 1 endon
Rule3 on Dimmer#State>=70 do Var1 15 endon on Dimmer#State<70 do Var1 85 endon on System#Boot do Var1 15 endon on Event#TogDim do Dimmer %var1% endon

Secondary Switch Rules
Rule1 on Switch1#State=2 do publish cmnd/SW_Hall_Primary/Power TOGGLE endon
Rule2 on Switch1#State=3 do publish cmnd/SW_Hall_Primary/Event TogDim endon

Do you use an electric dryer and need a solution to send voice notifications when the cycle is complete?  Let's build a simple non-invasive DIY sensor that monitors the electrical draw from the dryer using a Wemos D1/NodeMCU, a couple resistors, capacitor and a split core current transformer.  You can also apply this same project to many other electrical monitoring projects in the home. 

Parts List
Split Core Current Transformer
Wemos D1 Mini 
10µF Capacitor
10k Resistors 
Preformed Jumpers

Alternative NodeMCU 8266 
Alternative NodeMCU 8285

Amazon US Link

Connect with Us
Patreon -
Discord -

Misc Links
Wiring Diagrams and Arduino Sketch -
Arduino IDE Download -
AsyncMQTT -

Boards Manager Address for Arduino IDE Config:\_esp8266com\_index.json
Sample Home Assistant Config

- platform: mqtt
name: "Dryer Current"
state_topic: "digiDryerMon-4A443E/SCT"
unit_of_measurement : "A"
icon: mdi:flash-circle
availability_topic: "digiDryerMon-4A443E/LWT"
payload_available: "Online"
payload_not_available: "Offline"

  - platform: mqtt
name: "DryerMon Signal"
state_topic: "digiDryerMon-4A443E/RSSI"
unit_of_measurement: "dBm"
availability_topic: "digiDryerMon-4A443E/LWT"
payload_available: "Online"
payload_not_available: "Offline" 

  - platform: mqtt
name: "DryerMon Status"
state_topic: "digiDryerMon-4A443E/BUILD"
availability_topic: "digiDryerMon-4A443E/LWT"
payload_available: "Online"
payload_not_available: "Offline"

Sample Home Assistant Voice Notifications from the S31 Video -

The LOHAS LED Bulbs utilize dual channels of warm white and cool white LEDs on the MY9231/MY9291 LED drivers.  We show in ESPHome how to solve this issue with a custom component.  All of the sample configurations used in the video can be found at the GitHub link below.  The Anoop bulb is a dual channel PWM light shown in Tasmota.  We also show how to easily configure the device using the new copy and paste templates of Tasmota.

LOHAS Color (3 pack)
LOHAS Color (1 pack)
Anoopsyche CW/WW LED

Amazon US Link
Connect with Us
Patreon -
Discord -

LOHAS ESPHome Configurations and CopyChan component -

Home Assistant Sample MQTT Configurations -

Tuya Convert Process -

I built another multisensor for the bedroom and I decided to change up a few components.  Dive in and take a step by step approach to build it with Otto Winter's ESPHome software this time around as it's been a year since I built the initial Bruh Automation version.  ESPHome is easy to use and configure; No Arduino IDE, no coding, just a config file and the sensors wired up! 

Parts List Used
TSL2561 LUX Sensor  or Sensor#2
Jumper Wires
AM312 Motion Sensor
5mm Neopixel or  8mm Neopixel
DHT22 Temp/Humidity

Sample ESPHome YAML (replace the IP address and WiFi information)

name: sensor_node1
platform: ESP8266
board: nodemcuv2

ssid: 'yourWIFIhere'
password: 'yourPASShere'
static_ip:  change this IP and remove this message

# Enable logging

# Enable Home Assistant API


- platform: dht
pin: D7
model: dht22   
name: "SenseNode Temp"
name: "SenseNode Humidity"
update_interval: 30s
- platform: tsl2561
name: "SenseNode LUX"
address: 0x39
update_interval: 5s   

- platform: gpio
pin: D6
name: "SenseNode Motion"
device_class: motion
- light.turn_on: ESPD4led   
- light.turn_off: ESPD4led   
- platform: fastled_clockless
chipset: WS2812
pin: D3
num_leds: 1
rgb_order: RGB
name: "SenseNode LED"
- platform: binary
name: "SenseNode D4Led"
output: D4led
id: ESPD4led

sda: D2
scl: D1
scan: False

- platform: gpio
pin: D4
id: D4led
inverted: True

3D Cases Used

Huge shout out to Bruh Automation for starting me on this ESP8266 journey on the first version of this multisensor a year ago.

Renting or can't swap out your light switches with the various solutions we have shown?  Let's check out some smart lighting options.

Lights Used
Smart Bulb RGBW
Smart Downlight RGBW - 4inch
Smart Downlight RGBW - 6inch

How to configure both ESPHome & Tasmota with 2 smart lighting options.  Both of these devices utilize the MY9291 LED Driver inside.  After using the easy Tuya Convert process to flash custom firmware we show how to configure each light in Home Assistant for MQTT/API Local Control without the cloud.

Upcoming Lights: Set#1  and Set#2

Amazon US Link

Tuya Convert Process -

Tasmota Project -
ESPHome Project -

Sample Home Assistant Config:

Tasmota Device Templates -

Easy setup of wireless sensors utilizing the Sonoff 433mhz RF Bridge.  Custom MQTT topics and automations with Tasmota rules all self contained in the bridge.  We also check out the trigBoard from Kevin Darrah with deep sleep modes and custom sensors all from a battery powered ESP8266 based board.

Sonoff RF Bridge

Amazon US Link

How to Flash the RF Bridge with Tasmota:

Wireless Sensors

Sample Home Assistant Sensor Configuration

  - platform: mqtt
name: "Freezer Door"
state_topic: "RFBridge/sensor1"
availability_topic: "tele/RFBridge1/LWT"
qos: 1
payload_on: "Open"
payload_off: "Closed"
payload_available: "Online"
payload_not_available: "Offline"
device_class: door

You heard correctly, flash all of your SmartLife Tuya App devices with no soldering at all.  Flash them while you can before devices are updated.  All you need is a Raspberry Pi 3 to flash your devices with Tasmota.  No soldering at all and you will have full local control unlocking the true power of your smart devices.

UPDATE: Be very careful that you put in the correct SSID and Password.  It might not be a bad idea to put in a simple backup SSID and Password in position 2.  If for some reason you mistype the slot 1 password you could always change your WiFi router to send out the simple SSID and password in slot 2 to fix the issue with slot 1.  Also once you get into the switch/plug Tasmota GUI, I would highly recommend changing the WiFi Config tool to WiFi Manager by typing "wificonfig 2" (without the quotes on the console), it should respond back with that WiFiManager is selected.  This will make the device go into access point mode anytime there is an issue with connecting to the wifi.

Parts List
Raspberry Pi 3
32gb Micro SD Card
Moes 3-Way Smart Switch(optional)
4 pack Smart Plugs(optional)
Fliirc Case (optional: great RPi heat sink case)

Other Tuya based favorites
Night Light 2 pack or Night Light 1 Pack
Martin Jerry Dimmer
Oittm/Lopoo/Moes Dimmer
SK03 Outdoor Smart Plug (w/Power Monitoring)
KULED SmartSwitch
Martin Jerry Switch

Amazon US Link
Software and Github Links
Raspbian Stretch Lite
Putty (SSH)
Tuya Convert Github

Raspberry Pi Commands for Copy & Paste
sudo raspi-config
sudo apt-get update
sudo apt-get dist-upgrade
sudo apt-get install network-manager
sudo apt install git

Thanks to VTRUST for their contribution page on GitHub on this project!

Per Request, GPIO Configuration for the Smart Plugs linked above