logo elektroda
logo elektroda
X
logo elektroda

Refoss Switch R10 Wi-Fi interior and simple ESP8266 firmware change without soldering

p.kaczmarek2  3 1008 Cool? (+4)
📢 Listen (AI):
Refoss R10 relay packaging with Alexa and Google Home logos
Do IoT manufacturers want to help us change firmware? The Refoss Switch R10 is a single relay module capable of controlling both a classic switch and from the Refoss mobile app. The device is based on the ESP8266 chip and is distinguished by an easily accessible programming connector that allows the firmware to be changed without soldering. What's more, this connector is even externally accessible, although here you have to be careful - the device has no galvanic separation, so you ABSOLUTELY cannot plug anything in there when it is connected to the mains. I will show here the whole process of changing the firmware and give its template for the Tasmota software.

Let's start with the packaging. Nothing here stands out about this product, maybe possibly that warranty. Two years? Anyone respect that?
Box of Smart Wi-Fi Switch R10 featuring device image and Alexa and Google Home logos Side of Wi-Fi switch box showing product name in 12 languages Back of Refoss R10 switch box with technical specs and certification labels
Inside is the module, instructions and additional cables.
Refoss R10 module with manual and wires on a white background
The module itself is distinguished by two features:
- there is a "window" for programming, now obscured
- the module can operate on 100-240 V AC or on 12 V DC
Above the window is a valid note - do not open when power is connected.
Refoss R10 module with technical specifications and CE marking on casing Top view of Refoss R10 relay module housing with terminal labels visible

Time to look inside . We simply lift the lid. The first thing that catches the eye is the state of the PCB. Is it dirty from flux?
Close-up of Refoss R10 PCB with visible components and programming header J1
PCB designation: R10-V1_1_2 2023/06/15 This is a fairly new design for a chip with ESP8266. You can also immediately see the programming connector. Next to it is a BoyMicro flash bone with firmware and a BL0937 for energy measurement.
Refoss R10 PCB with programming header J1 and 2023/06/15 marking, cover removed
On the other side of the board is an ESP8266. In the power supply section I see a BP2525.
Close-up of Refoss R10 PCB with ESP8266 chip and labeled GND and 3V3 pins
A varistor is available in the power section:
Close-up of capacitors and screw terminals inside the Refoss R10 module

Changing the firmware is very simple . This is an ESP8266, so you will need an esptool. We connect 3.3V, ground, RX, TX and GPIO 0, which must be in the low state. We only turn the power on when everything is connected. When the ESP8266 boots with GPIO 0 at ground potential, it will enter bootloader mode.
You can follow my detailed material on the relay:
ESP8266 and Tasmota - step by step WiFi relay control
In my case it worked out like this:
Refoss R10 module with UART wires connected for firmware flashing
Note: the product must be disconnected from the mains before any operation with the programming connector! There is a BP2525-based step-down converter inside, there is no galvanic isolation, so connecting the product to the mains and to the computer at the same time may result in a short circuit!
Now the GPIO still needs to be configured. In OpenBeken we would have automatic configuration detection, but here it is done manually. Fortunately, someone has done this for us before:
https://templates.blakadder.com/refoss_R10.html
Refoss R10 relay module with GPIO pinout and Tasmota configuration shown
I also learned from this site that this relay is more dangerous than I thought:
Quote:

SAFETY HAZARD: The digital GND is connected directly to mains voltage "L", so the GPIOs become LIVE during normal operation.

I haven't tested this in practice - it's just absolutely impossible to operate on its GPIO when it's powered from the mains.
Tasmota template:
Code: JSON
Log in, to see the code

GPIO mapping table for the Refoss R10 module based on ESP8266

Summary
It's been a long time since I've seen something on the ESP8266. Tuya has rather completely moved on to other chips, such as the older BK7231T in particular, the newer BK7231N and the latest BK7238. Here, however, the ESP is still in the middle - and the design is also fresh, from 2023, just 2 years ago. Well, more than 2.
So much so that this is not "just an ESP product" - here you don't even have to solder to upload a new batch. In addition, the whole thing works on two voltages. Very convenient.
The only downside I can see is the danger associated with the lack of galvanic isolation, but this is nothing as long as you follow the basic rules. Virtually every Wi-Fi controlled relay module has this affliction.
Do you know of another product of this type, where the manufacturer leaves a gateway for us to change the firmware and this without soldering? Maybe someone is able to recommend something?
My feelings here are very positive.

About Author
p.kaczmarek2
p.kaczmarek2 wrote 14416 posts with rating 12371 , helped 650 times. Been with us since 2014 year.

Comments

Adam-T 15 Jan 2026 12:41

And do you know/see this? 🤔 https://obrazki.elektroda.pl/1458265600_1768477228_thumb.jpg https://obrazki.elektroda.pl/1346390800_1768477263_thumb.jpg https://obrazki.elektroda.pl/2902392300_1768477303_thumb.jpg... [Read more]

p.kaczmarek2 15 Jan 2026 12:47

I also have Shelly, waiting in the queue for publication: https://obrazki.elektroda.pl/2714824300_1766400636_thumb.jpg It pairs nicely with Home Assistant too. [Read more]

tesla97 16 Jan 2026 12:33

In my opinion, when it is not a device for an example from a shop on the I and the manufacturer wants to force us to use its one and only right system and management panel, the use of ESP and still programming... [Read more]

FAQ

TL;DR: Refoss R10 is an ESP8266 relay you can reflash without soldering; it supports 100–240 V AC and 12 V DC. “Changing the firmware is very simple.” [Elektroda, p.kaczmarek2, post #21809328]

Why it matters: This FAQ helps DIYers safely flash Tasmota/Open firmware on the R10 for local, app‑free control.

Quick-Facts

Quick Facts

What is the Refoss Switch R10, and who is it for?

It’s a single‑relay smart switch built on ESP8266, controllable by a wall switch and app. It targets makers who want local control and custom firmware without soldering. It also suits installers needing 12 V DC or 100–240 V AC flexibility. [Elektroda, p.kaczmarek2, post #21809328]

Can I change the firmware on the R10 without soldering?

Yes. The board exposes a programming window with 3.3 V, GND, RX, TX, and GPIO0. Connect a 3.3 V USB‑to‑TTL adapter and use esptool. The author notes, “Changing the firmware is very simple.” Always disconnect mains first. [Elektroda, p.kaczmarek2, post #21809328]

How do I flash Tasmota on the R10 (3 steps)?

  1. With mains disconnected, wire 3.3 V, GND, RX↔TX, TX↔RX, and pull GPIO0 low.
  2. Power the module, enter bootloader, and use esptool to write Tasmota.
  3. Apply the provided Tasmota template to map GPIOs correctly. [Elektroda, p.kaczmarek2, post #21809328]

Which pins do I connect from my USB‑to‑TTL adapter?

Connect 3.3 V to 3V3, GND to GND, adapter RX to module TX, adapter TX to module RX, and hold GPIO0 low during boot. Use only 3.3 V logic. [Elektroda, p.kaczmarek2, post #21809328]

What safety precautions are critical when flashing?

Never connect the programmer while the device is on mains. There’s no galvanic isolation and digital GND is tied to line. The GPIOs become live during normal operation. Unplug AC, then work at 3.3 V only. [Elektroda, p.kaczmarek2, post #21809328]

Does the R10 support both mains and low‑voltage setups?

Yes. It operates from 100–240 V AC or from a 12 V DC supply. This flexibility helps for bench flashing and in vehicles or low‑voltage systems. [Elektroda, p.kaczmarek2, post #21809328]

What is the exact Tasmota template for this device?

Use the supplied JSON template named “Refoss‑R10.” Paste it into Tasmota’s Configure Template, then activate it to map relay, switch, and LEDs. [Elektroda, p.kaczmarek2, post #21809328]

What chips are on the R10 PCB?

It includes an ESP8266 MCU, a BL0937 energy‑measurement IC, a BP2525 step‑down supply, a BoyMicro flash, and a varistor. The PCB is marked R10‑V1_1_2, dated 2023‑06‑15. [Elektroda, p.kaczmarek2, post #21809328]

What is OpenBeken?

OpenBeken is an open firmware project for IoT devices. The author notes it can auto‑detect GPIO configurations on some devices, reducing manual setup steps compared with templates. [Elektroda, p.kaczmarek2, post #21809328]

How do I enter ESP8266 bootloader mode on the R10?

Hold GPIO0 low while powering the board from 3.3 V. The ESP8266 then boots into the ROM bootloader, ready for esptool flashing. [Elektroda, p.kaczmarek2, post #21809328]

What is Tuya, and why is it mentioned here?

Tuya is a smart‑device platform and chip ecosystem. The post notes many products moved from ESP8266 to BK7231T/N and BK7238. The R10 is notable because it still uses ESP8266 and exposes flashing pads. [Elektroda, p.kaczmarek2, post #21809328]

Can I use the BL0937 energy metering with Tasmota on R10?

Yes, the BL0937 is present, and the shared template maps required pins. After flashing Tasmota, apply the template to enable measurement features. [Elektroda, p.kaczmarek2, post #21809328]

What tools and software do I need to flash?

Use a 3.3 V USB‑to‑TTL adapter, dupont leads, and esptool on your PC. Prepare the Tasmota binary and the provided template for fast configuration after flashing. [Elektroda, p.kaczmarek2, post #21809328]

What happens if I connect the programmer while R10 is on mains?

This is an edge‑case failure. Because there is no isolation and GND ties to line, you risk shorts or electric shock. Only program when fully unplugged from AC. [Elektroda, p.kaczmarek2, post #21809328]

Is there any warranty note relevant to modders?

The packaging indicates a two‑year warranty. Modifying firmware may void it, so document changes and test on 12 V DC first. [Elektroda, p.kaczmarek2, post #21809328]

Why choose R10 over newer Tuya‑based relays?

R10 offers ESP8266 simplicity, exposed programming, and dual‑voltage power. Newer Tuya chips require different toolchains. If you value quick, solder‑free flashing, R10 is convenient. [Elektroda, p.kaczmarek2, post #21809328]
Generated by the language model.
%}