Sonoff S31 Smart Plug – Flashing Tasmota and openHAB MQTT Configuration

Sonoff S31 Smart Plug Tasmota Firmware Flash and openHAB MQTT Configuration – In this video, I’ll show you how to take apart, connect to and flash Tasmota Firmware onto a Sonoff S31 Smart Plug, how to configure the Tasmota Sonoff S31 firmware, and how to connect the flashed smart plug to your openHAB 2 home automation system through MQTT.

JOIN OUR DISCORD SERVER ( for DIY electronics, home automation and other discussions!

-Sonoff S31 Smart Plug –
-FTDI USB/Serial Converter –
-Raspberry Pi kit w/case and power supply –
-32GB Sandisk microSD card –
-32GB Sandisk USB Drive –
-USB SD/microSD Card Reader/Writer –


-ESPEasy Flasher (
-Tasmota Firmware (
-openHAB documentation (
-Full openHAB 2 Playlist (
-openhabianPI Project/Image –
-Items documentation site –

Thanks for watching my videos! If you want to support the channel, subscribe! You can also support me in the following ways:

-Affiliate links in this description (doesn’t cost you anything! 🙂

-Canon T3i camera –
-Manfrotto Tripod –
-Rode Procaster Dynamic Mic –
-Behringer U-Phoria UMC22 USB Audio Interface –
-Logitech c922x Pro Streamer Cam –

Check out my (mostly functional) 3D designs – ( ! If you like them and want to support my projects, use one of the links below when you’re planning to buy anything from these sites (it won’t cost you anything extra!). Thank you in advance!


5 Replies to “Sonoff S31 Smart Plug – Flashing Tasmota and openHAB MQTT Configuration”

  1. Roco Roco

    Thanks for this review and details. I just bought one and I am surprised by the built quality – taking it apart is interesting and shows great attention to details – I will eventually flash it with Tasmota but, for now, I don't really see the advantage. The power measuring feature is quite impressive.

  2. J Lk

    Interesting information to see S/H + imports fee to Bermuda cost more than the unit, by itself.
    You can also get the unit to a cheaper price from Ebay and wait forever to get it.

Leave a Reply

Your email address will not be published. Required fields are marked *