We focus on sharing DIY Home Automation/Smart Home projects and products that are easy to put together that are cheaper and offer many additional features than more expensive ones. The Tasmota open source firmware is an awesome project that can unlock a huge amount of potential of many products on the market.
If you are familiar with the Shelly devices from the Shelly1 to Shelly 2.5, etc this might be old hat for you. They are 120VAC power, 15A smart plugs with power monitoring! Local control options right out of the box. No flashing, no Tuya Convert, etc. required. If you are thinking at first glance you might have seen this plug before, you might not be wrong. Subscribe and enable notifications for the digiblurDIY YouTube channel to catch an upcoming video on it.
There are a few things they got right and few things they didn't get right unfortunately. For starters the design is a plus, it doesn't block the second plug. You can put two of these on the same outlet with ease. Power monitoring is another huge plus! Great for those washer and gas dryer notifications on the laundry which is still one our favorite automations to this day. The software that comes with the ShellyPlugUS is open and welcomes developers. You can opt to use their cloud or if you are like me and don't care for their app much, I just add it to my network using the AP mode and enable MQTT on it. And last but not least, you can easily upgrade this to Tasmota or ESPHome. Yes! I said upgrade as there are some issues with the stock firmware that I will explain shortly.
So what's the bad? Flip it over to the back....
Notice something missing? No screws and no pin header! C'mon Shelly! Don't forget your roots, that's why you have so many die hard fans. You had an opportunity to knock the Sonoff S31 plug off the throne of "the" go to power monitoring plug for the DIY crows but you blew it.
So about that stock firmware...
The web interface is the same one you are used to, power monitoring was right on point. I plugged in a 60 watt bulb and my Kill-a-watt meter also agreed it was 57 watts. Sadly no amps, no volts, etc. but we will get to that.
Enabled MQTT and put in our broker information. I kept it default and didn't choose retain to see how things worked. Unfortunately it doesn't even retain the online presence in MQTT and didn't seem to fully support LWT (Last Will and Testament). I enabled retain and tried again. The only thing it retained was the state of the plug and energy information. That's definitely a problem if it doesn't properly support one of the fundamentals of MQTT.
Take for instance a Tasmota device shown above. It has a retained message on plug_lamp1 as the MQTT broker dropped the Offline message after the Tasmota device fell from the network. This allows anything else that connects to MQTT such as HomeAssistant to see that the device is offline and not allow the user to interact with it. The stock Shelly firmware seems to be broken in this aspect.
Upgrade to Tasmota
So how do we fix this?!? We upgrade it to Tasmota which also adds a ton of additional features! It is simple! All you need is your web browser. I discussed the process in this video and it is documented in this Github with the link to use for the ShellyPlug US upgrade.
If you followed the video or did it based off the Github link, please make sure you use the firmware upgrade menu to upgrade Tasmota via the web to the latest and greatest release. This will enable all the features necessary such as PowerDelta and many others.
Go to the Console page and paste in the following on one line and hit enter:
Give it a few seconds and it will reboot and the console will refresh. Paste the following in on one line:
rule1 on power1#state do backlog ledpower1 %value%; ledpower2 %value% endon on power1#boot do backlog ledpower1 %value%; ledpower2 %value% endon
Then you need to enable the rule that sets the red/blue status lights with one last command:
Hit the Main Menu button and you should be greeted with something like this:
I did notice the energy calibrations were some what close right out of the gate. I typically use an incandescent 60w light bulb to set the 3 calibrations. If you have Kill-a-Watt meter or other devices with known loads you can use that to tweak your calibrations.
In order to easily calibrate your device with a 60 watt bulb I first check my house voltage with another plug/device or a volt meter. Then I issue the following commands separately on console:
"powerset 60" for 60 watts, currentset 500 for 0.500 amps and voltageset 122 for the 122 volts found during this test. As I mentioned before my bulb was showing 57 watts, using a voltage/amps/watts calculator to get it exact I would use 122V, 57W, and 0.467 amps.
Add it to Home Assistant
Go to Configuration, Configure MQTT.
Enter in your MQTT IP, User and Password. Change the Topic to a unique name that resembles the device. Save it. Go to Configuration, Configuration Other and set the Device Name and Friendlyname to something user friendly such as "Living Room Lamp". Save it. Return to the Tasmota Console enter in the following command:
This will enable Auto Discovery and pull right into HomeAssistant without any YAML editing. All you need to do is go to your HomeAssistant MQTT integration to use the device. Enjoy!
Stay tuned for my upcoming video on a few comparisons of this device... if you think you've seen this plug before you might not be wrong. Hmmm.....
I reviewed the Sonoff Zigbee Bridge a few months ago in a video and was excited to see it had an ESP82xx chipset onboard. This meant there was a glimmer of hope it could be flashed with open source local control firmware such as Tasmota ! That time has come! The genius developers with Tasmota have done their magic again. An inexpensive device you can add to Home Assistant as a Zigbee controller. No YAML, no custom plugins, no MQTT. One of the major advantages is being able to place it closer to your Zigbee devices which is especially helpful if you have your Home Assistant box in the basement or buried back in some closet. Behold the ZHA Integration below. Purchase Sonoff Zigbee Bridge from Banggood or iTead So how do we flash this? First and foremost, there's NO soldering; don't close the window just yet! It's relatively easy to do. This is a full step by step walk through, some of the Tasmota veterans can skip many of the steps such as adding Tasmota to your
The 2.3 refresh of the Tuya Convert process with a few additional features such as the Tuya Donor, custom bin file menu, start with ESPHome, update Tasmota, etc. Flash all your devices without any soldering or opening of devices! This process allows you to flash your previously locked out devices that wouldn't flash before on the original version of Tuya Convert. TC will convert both older and newer firmware devices automatically. Use your Raspberry Pi, Linux PC, Proxmox, etc to unlock all the amazing features of open source firmware. Protect your privacy and data and keep it in your home. Parts List Raspberry Pi 4 or Pi 3 32gb Micro SD Card Fliirc Case (optional: great RPi heat sink case) Wemos D1 Mini (optional) Tuya based favorites Aoycocr Plugs in Video Martin Jerry Dimmer Martin Jerry Switch 4 pack Smart Plugs Aoycocr Switch 3 LED Lohas Smart Light 4 pack and many more Zemismart downlights Zemismart downlight (Amazon) Links Raspbian Buster Lite
Welcome back to flashing your devices without any soldering or opening of devices! Flash Smart switches, plugs, lights, sockets and more with ease! This process allows you to flash your previously locked out devices that wouldn't flash before on the original version of Tuya Convert. TC will convert both older and newer firmware devices automatically. Use your Raspberry Pi, Linux PC, Proxmox, etc to unlock all the amazing features of open source firmware. Protect your privacy and data and keep it in your home. Raspbian Buster Lite Download - https://www.raspberrypi.org/downloads/raspbian/ Etcher Link - https://www.balena.io/etcher/ Putty Link - https://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html Parts List Raspberry Pi 3 32gb Micro SD Card Fliirc Case (optional: great RPi heat sink case) Raspberry Pi 3 Kit (UK) Tuya based favorites Martin Jerry Dimmer Martin Jerry Switch Martin Jerry 3 way Moes 3-Way Smart Switch 4 pack Smart Bulbs 4 pack Smart P