Posts

Flash Tuya Smart Switches Over the Air - No soldering!

Image
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 connect…

True 3-Way Smart Switch w/ Tasmota - No rewiring!

Image
It's here!  A smart switch that works in several different 3 way wiring configurations without any rewiring or other tricks.  Swapping out one of the 3 way switches with this one is the only requirement.  This video also shows the details of using with Tasmota for local MQTT control with Home Assistant.

Moes 3-Way Smart Switch

Additional Parts for Flashing Tasmota if Needed
Soldering Iron Station
Helping Hands(as shown)
Alternative Upgraded Helping Hands
0.015 Solder
Female Jumper Wires
USB FTDI for Flashing

Amazon US Link

Tasmota Backlog Commands

backlog ssid1 NetWorkName;password1 MyPassword

backlog module 18;gpio4 21;gpio5 57;gpio12 30;gpio13 18;gpio14 9;switchtopic 0;switchmode1 0;buttontopic 0;rule1 on event#ON do power2 TOGGLE endon on event#OFF do power2 TOGGLE endon;rule1 1;

Check to make sure the entire backlog took by verifying the rule is configured by typing rule1 after the reboot!

Sample Home Assistant Config

- platform: mqtt
  name: "SW-HallWay"
  state_topic: "…

How to install unRaid NAS and Home Assistant

Image
Have you outgrown the Raspberry Pi with Home Assistant?  Need something easy with more space and horsepower?  Look no further as unRaid is an easy Network Attached Storage solution that works great with Home Assistant.  No command line experience needed!  The docker management GUI of unRaid is second to none with easy installs, automatic updates, notifications, and more.

Spaceinvader One's channel for additional unRaid Tutorials

How to install Community Applications on unRaid Form thread

Smart Motion Sensor and Night Light - How To

Image
How to make a Smart Motion Sensor out of a Night Light Smart Plug.  An excellent solution to easily put a motion sensor in a room where you couldn't before for automated lights. You also get a night light and smart plug in the same package for less than $20!

Parts List
Smart Plug - iMah or iClever 
PIR Motion AM312 Sensor - 2 pack or 1 pack

Soldering Iron Station
Helping Hands(as shown)
Better Helping Hands
0.015 Solder
Female Jumper Wires
USB FTDI for Flashing



(click the pic to zoom)



Home Assistant Configuration YAML - Samples
switch:   - platform: mqtt     name: "MotionNite Switch"     state_topic: "stat/MotionNite1/POWER1"     command_topic: "cmnd/MotionNite1/POWER1"     availability_topic: "tele/MotionNite1/LWT"     qos: 1     payload_on: "ON"     payload_off: "OFF"     payload_available: "Online"     payload_not_available: "Offline"     retain: false
binary_sensor:   - platform: mqtt     name: "Moti…

State of the Dimmer - Tasmota Dimmer Updates

Image
The Martin Jerry, Lesim and OG Oittm Dimmers are covered from usage, firmware changes, Home Assistant configuration templates, and other differences.  The three WiFi dimmers I use in my home for local control with MQTT and no reliance on the cloud.

Martin Jerry Dimmer
Lesim Dimmer
Oittm/Lopoo/Moes Dimmer

digiDIM Tasmota Fork

Smart Laundry Notifications with a Sonoff S31 & Home Assistant

Image
Make your Laundry Smarter with our favorite smart plug, the Sonoff S31, and Home Assistant with Voice Notifications when the Washer and/or Dryer are finished.  Easy power monitoring and automations with this step by step tutorial of the setup.

Sonoff S31

Soldering Iron Station
Helping Hands(as shown)
Better Helping Hands
0.015 Solder
Female Jumper Wires
USB FTDI for Flashing

Tasmota Backlog (modify to your values)
backlog ssid MyWiFiz; password SooperSekret; mqtthost 192.168.1.5; mqttuser me123; mqttpassword 123that; powerretain 1; topic SNF-Washer; sensorretain 1; poweronstate 1; friendlyname SNF-Washer; teleperiod 60

Home Assistant Config Sample & Automations:

(configuration.yaml)
 sensor:
  - platform: mqtt
    name: "Washer State"
    state_topic: "hass/state/washer"
    icon: mdi:washing-machine
  - platform: mqtt
    name: "Washer Watts"
    state_topic: "tele/SNF-Washer/SENSOR"
    value_template: "{{value_json['ENERGY'].Power }}&…

Part 2 - How to Expand Tasmota/Sonoff Devices with the I2C Protocol - MCP23017 GPIO Expansion - I²C

Image
Part 2 of 2 - How to Expand Tasmota/Sonoff Devices with the i2c protocol.  Adding the powerful MCP23017 Chip to expand your ESP8266 device with 16 additional input/output pins.  We cover a few scenarios of advanced rules with the chip combined with rules for publishing other sensors to MQTT.

Parts Used in this Video:

NodeMCU
MCP23017 GPIO Expansion
BME280 Temp/Humidity/Pressure
SHT31 Temp/Humidity
Breadboard and Jumper Wires
ADS1115 4 Channel Analog Input
Female Jumper Wires
PIR Motion AM312 Sensor - https://amzn.to/2DhrkpA or https://amzn.to/2F7P9lE

Tasmota Supported Sensors
https://github.com/arendst/Sonoff-Tasmota/wiki/Sensors-Supported-by-Tasmota

Rules and Commands used in the videos:
https://www.digiblur.com/2018/11/part-1-of-2-how-to-expand-tasmotasonoff.html

CP2102 USB Drivers:
https://www.silabs.com/products/development-tools/software/usb-to-uart-bridge-vcp-drivers

Precompiled Tasmota Bin with ADS1115 and MCP23017 i2c Enabled:
https://github.com/digiblur/Sonoff-HydraBasic-Tasmota/raw/mas…