HomeHome AutomationHow to flash Tasmota on Sonoff DualR3

How to flash Tasmota on Sonoff DualR3

Making Sonoff DualR3 mine!

This article is greatly delayed, as I accidentally killed my Sonoff DualR3 during my review. If you want to know what happened and laugh at my mistakes, feel free to check the article out. ITEAD was kind enough to send me another one, knowing that I will disregard their eWeLink app and jump straight into flashing. Unfortunately, the method isn’t as simple as with other ESP8266 based devices as Sonoff DualR3 is ESP32 based and all-new ITEAD devices will be ESP32 based as well.

Tasmota on Sonoff DualR3

I’m sad to report that Sonoff DualR3 doesn’t even come with Sonoff DIY mode, which would make thigs easier. The DIY mode is good enough for most of my uses, but if you want to take Sonoff DualR3 a step further, you have to flash the device in a more traditional way. I will have to reach out for my good old soldering iron (I recently upgraded from TS80 (review) to TS80P (review pending) and FTD1232.

As brilliant Tasmotizer for ESP8622 devices is out of the picture, I had to look elsewhere to get the tools for the job. Thankfully, some work already been completed in this GitHub discussion, so I will base my tutorial on their findings.

List of downloads:

To flash Tasmota on Sonoff DualR3, you will need to connect the usual pins to the device. Thankfully, dev pads are properly exposed, and the button is linked to GPIO00. Follow the table below to connect your FTD1232 (or similar) to Sonoff DualR3:

Sonoff DualR3FTD programmer
3V3Vcc/3.3v
GNDGND
RXTX
TXRX

Do not flash the ESP32 with Sonoff DualR3 connected to mains. FTD1232 is enough to power the pins and flash Tasmota on Sonoff DualR3. To enter flash mode, hold down the button on Sonoff DualR3 while power cycling the device.

ESP flasher & custom Tasmota firmware

Software is self-explanatory, open the software, select the tasmota32.bin from your drive, select the port to which the device is connected and hit flash. You should be done in a couple of minutes. If all went well, you should see “tasmota-XXXXX” SSID after reboot. Connect to that SSID and navigate to 192.168.4.1

Enter credentials (and hostname) and reboot your device. You can use the Fing app to find the device on the networks again or use the hostname. Navigate to Configure->Configure Other and use this template to configure Tasmota on Sonoff DualR3. After reboot, you should see a familiar menu with 2 channels to toggle and energy use information.

{"NAME":"Sonoff Dual R3","GPIO":[32,0,0,0,0,0,0,0,0,576,225,0,0,0,0,0,0,0,0,0,0,7296,7328,224,0,0,0,0,160,161,0,0,0,0,0,0],"FLAG":0,"BASE":1}

Bear in mind, that this firmware is a custom build. I have compiled this from source, and until properly integrated with the tasmota32 dev branch. Upgrading the firmware with binaries from the official channel may break the functionality of Tasmota on Sonoff DualR3.

Going further

Despite being in beta, Tasmota for ESP32 works pretty well, the interface is responsive and updates switch state changes reasonably quickly (about 1 sec). Power metering accuracy is on par with what I got with the eWeLink edition, the only thing that is not present is the data logging. This is something you will have to do yourself. My recommendation would be to use Grafana and InfluxDB – and as it happen, I have a handy tutorial for you to get you started.

Now, you will be able to take advantage of the REST API and MQTT. If you want to learn how to integrate these with NodeRED – I have tutorials available already. If you need Alexa integration – here is an article for you, and for Google Assistant – take advantage of NORA. Should you wish to recreate fancy features like inching or interlocking – I also covered this for you.

Buy Sonoff Dual R3

Buy it using these links to support NotEnoughTech.

Final Thoughts

Although Sonoff DualR3 comes without DIY support, flashing Tasmota on Sonoff DualR3 isn’t a total pain in the neck, and has to be done just once. I hope that ITEAD will rethink the approach to new devices and add Sonoff DIY by default. My source tells me that all future Sonoff devices will be ESP32 based, so it would be nice to see Tasmota and Tasmotizer evolving more in that direction. If you have any comments, feel free to let me know in this Reddit thread.

PayPal

Nothing says "Thank you" better than keeping my coffee jar topped up!

Patreon

Support me on Patreon and get an early access to tutorial files and videos.

image/svg+xml

Bitcoin (BTC)

Use this QR to keep me caffeinated with BTC: 1FwFqqh71mUTENcRe9q4s9AWFgoc8BA9ZU

Smart Ideas with

Automate your space in with these ecosystems and integrate it with other automation services

client-image
client-image
client-image
client-image
client-image
client-image
client-image
client-image
client-image

Learn NodeRED

NodeRED for beginners: 1. Why do you need a NodeRED server?

0
To server or not to server? That's a very silly question!

Best Automation Projects

Sonoff R3 DIY mode & why it sucks

0
Long awaited Sonoff R3 DIY mode is even worse than I expected.

IKEA TRADFRI Wireless dimmer in NodeRED

0
Thanks to NodeRED you can use IKEA TRADFRI Wireless Dimmer to interact with everything

Things they don’t tell you about IKEA Trådfri

0
There are things you should know about IKEA Tradfri before you make your purchase

Flashing ESP with Tasmotizer is a dream come true

0
How to flash Tasmota on ESP devices with new Tasmotizer tool

Flashing Tasmota on Sonoff ZigBee Bridge

0
How to flash Tasmota on Sonoff ZigBee Bridge to enable it for NodeRED and Home Assistant

Smart Home

No more hubs: Aqara G2H

0
Aqara G2H brings the power of ZigBee sensors to an IP camera.

Two cool features of Avatar Smart Bulbs

0
Avatar Smart Bulbs come with 2 cool features I wish more smart bulb manufacturers would include in their products.

Shelly 2.5 vs Sonoff DualR3

0
It's time to pitch similar devices against each other and compare their functions: Shelly 2.5 vs Sonoff DualR3

How to flash Tasmota on Sonoff DualR3

0
Make the device yours by flashing Tasmota on Sonoff DualR3. Now with channel control and power consumption

Shelly Duo – going beyond twice

0
Their #ShellyDuo is a WiFi-enabled lightbulb with colour temperature. Plus it comes with 2 features don't often offered by other smart lights.