Posts

3 Way Smart Switch with Motion Activation

Image
Installing the true 3 Way Smart Switch from Etekcity.  As always we flash the switch with open source firmware, Tasmota for 100% local control.  No soldering required to flash!  After the setup we do a slight modification to add a motion sensor to solve an issue I had in our laundry room.

Etekcity 3 Way (2 pack)
Etekcity Single Pole

Flashing
FTDI USB Flasher
Jumper Wires
Straight Header Pins https://amzn.to/30EZsUK

To Add Motion Activation
AM312
Angled Header Pins

Installation Tools
Wago 221 Wire Connectors
Circuit Tester

Soldering gear I use
Station
Solder 
Flux 
Helping Hands

Additional Links
Tasmota
NodeMCU Pyflasher
3 Way Switch Diagrams
Cliff Quicktest

Tasmota Template

{"NAME":"Etekcity 3Way","GPIO":[255,255,0,255,23,29,0,0,82,22,10,0,0],"FLAG":0,"BASE":18}

Setup Commands for the Console

backlog switchtopic 0;switchmode1 1;switchmode2 5;switchmode3 1;powerretain 1;rule1 on event#ON do power2 TOGGLE endon;rule1 1;rule2 on event#OFF do power2 TOGGLE endo…

3 Way DIY Smart Dimming

Image
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 - https://www.patreon.com/digiblurDIY
Discord - https://discord.gg/bNtTF2v

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 …

LOHAS Smart Bulbs and a cool white/warm white bulb configured with ESPHome and Tasmota

Image
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) 
LOHAS CW/WW LED 
Anoopsyche CW/WW LED

Amazon US Link

Connect with Us
Patreon - https://www.patreon.com/digiblurDIY
Discord - https://discord.gg/bNtTF2v

LOHAS ESPHome Configurations and CopyChan component - https://github.com/digiblur/ESPHome_LOHAS_LED

Home Assistant Sample MQTT Configurations - https://github.com/digiblur/Sonoff-Tasmota/wiki/Smart-Bulbs

Tuya Convert Process - https://www.youtube.com/watch?v=O5GYh470m5k

DIY Smart Laundry - Electric Dryer Voice Notifications

Image
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
Breadboard

Alternative NodeMCU 8266
Alternative NodeMCU 8285

Amazon US Link

Connect with Us
Patreon - https://www.patreon.com/digiblurDIY
Discord - https://discord.gg/bNtTF2v

Misc Links
Wiring Diagrams and Arduino Sketch - https://github.com/digiblur/digiDryerMon
Arduino IDE Download - https://www.arduino.cc/en/Main/Software
AsyncMQTT - https://github.com/marvinroger/async-mqtt-client
ESPAsyncTCP - https://github.com/me-no-dev/ESPAsyncTCP

Boards Manager Address for Arduino IDE Config:
http://arduino.esp8266…

Smart Bulbs with Tasmota & ESPHome - Home Assistant

Image
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 - https://www.youtube.com/watch?v=O5GYh470m5k

Tasmota Project - https://github.com/arendst/Sonoff-Tasmota
ESPHome Project - https://esphome.io/index.html

Sample Home Assistant Config:
https://github.com/digiblur/Sonoff-Tasmota/wiki/Smart-Bulbs

Tasmota Device Templates - https://blakadder.github.io/templates/

DIY ESPHome Multisensor - Temp, Humidity, RGB LED, Motion and LUX

Image
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 
NodeMCU
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)

esphomeyaml:
  name: sensor_node1
  platform: ESP8266
  board: nodemcuv2

wifi:
  ssid: 'yourWIFIhere'
  password: 'yourPASShere'
  manual_ip:
    static_ip: 10.10.1.40  change this IP and remove this message
    gateway: 10.10.1.1
    subnet: 255.255.255.0
    dns1: 10.10.1.1
    dns2: 10.10.1.1

# Enable logging
logger:

# Enable Home Assistant API
api:

ota:

sensor:
  - platform: dht
    pin: D7

Sonoff RF Bridge Easy Setup with Tasmota Rules and the trigBoard

Image
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
TrigBoard

Amazon US Link

How to Flash the RF Bridge with Tasmota: https://youtu.be/OfSbIFIJPuc?t=40

Wireless Sensors
Door 
Water

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