# Sonoff BasicR2

> WiFi smart switch based on ESP8285, widely used in the open-source home automation community. Easily flashable with Tasmota or ESPHome for local-only smart home control without cloud dependency.

## Quick Facts

- **Brand:** Sonoff
- **Board Type:** smart-switch
- **Price:** ~$4.9
- **Product Readiness:** consumer
- **CPU:** ESP8285
- **CPU Architecture:** Xtensa LX106
- **CPU Cores:** 1
- **RAM:** 80KB
- **Flash:** 1MB
- **Power:** 100-240V AC
- **Operating Voltage:** 3.3V
- **Antenna:** Built-in PCB antenna

## Connectivity

- **Wifi:** 802.11 b/g/n

## Open Source

- **Firmware:** No
- **Schematics:** No
- **PCB Layout:** No

## Certifications

CE, FCC

## Compatible Firmware

tasmota, esphome, arduino

## Use Cases

- smart-home
- home-automation
- light-switch
- tasmota-device
- esphome-node

## Components

- **ESP8285** (MCU): Espressif ESP8285 — single-core Xtensa LX106 at 80MHz with built-in 1MB flash and WiFi 802.11 b/g/n. Pin-compatible with ESP8266 but with integrated flash. — [Datasheet](https://openhardware.directory/r?to=https%3A%2F%2Fwww.espressif.com%2Fsites%2Fdefault%2Ffiles%2Fdocumentation%2F0a-esp8285_datasheet_en.pdf&ref=openhardware.directory&product=sonoff-basicr2&source=md-export)
- **10A Relay** (Relay): Single-pole single-throw relay rated for 10A at 250V AC, used to switch mains-powered loads like lights and small appliances. — [Datasheet](https://openhardware.directory/r?to=https%3A%2F%2Fsonoff.tech%2Fproduct%2Fdiy-smart-switches%2Fbasicr2%2F&ref=openhardware.directory&product=sonoff-basicr2&source=md-export)

## Protocols

- **UART**

## Description

# Sonoff BasicR2

The **Sonoff BasicR2** is a WiFi smart switch based on the ESP8285 chip, widely adopted in the open-source home automation community. While it ships with Sonoff's proprietary eWeLink firmware, its ESP8285 MCU makes it trivially flashable with **Tasmota** or **ESPHome** — enabling fully local smart home control without any cloud dependency.

## Why It Matters for Open Hardware

The BasicR2 is one of the most popular devices in the Tasmota/ESPHome ecosystem. Its low cost, reliable relay, and easy-to-flash ESP8285 make it a gateway device for many people entering the open-source smart home world.

## Key Features

- **ESP8285 MCU** — single-core 80MHz with built-in 1MB flash
- **10A relay** — suitable for lights and small appliances (100-240V AC)
- **WiFi 802.11 b/g/n** — 2.4GHz connectivity
- **Compact form factor** — fits inside most junction boxes
- **UART header** — accessible for serial flashing with Tasmota/ESPHome

## Flashing with Tasmota/ESPHome

The BasicR2 has accessible UART pads (3.3V, RX, TX, GND, GPIO0) that allow serial flashing. Many guides exist for converting it to run Tasmota or ESPHome, making it work with Home Assistant and other local-first platforms.

## Important Notes

- Ships with closed-source eWeLink firmware (cloud-dependent)
- The hardware itself is not open source, but the ESP8285 MCU is fully programmable
- Once flashed with Tasmota/ESPHome, it operates completely locally
- **Do not open or modify while connected to mains power**

## Where to Buy

- [OpenELAB](https://openhardware.directory/r?to=https%3A%2F%2Fopenelab.io%2Fproducts%2Fseeed-studio-sonoff-basicr2-wifi-smart-switch-smart-home-voice-control&ref=openhardware.directory&product=sonoff-basicr2&source=md-export) — $8.95

## Resources

- [product](https://openhardware.directory/r?to=https%3A%2F%2Fsonoff.tech%2Fproduct%2Fdiy-smart-switches%2Fbasicr2%2F&ref=openhardware.directory&product=sonoff-basicr2&source=md-export)

## Tags

`sonoff`, `esp8285`, `tasmota`, `esphome`, `smart-switch`, `smart-home`, `home-automation`, `wifi`

## Images

![Sonoff BasicR2](https://nbg1.your-objectstorage.com/openhardware-directory/entities/sonoff-basicr2/ac899525ce83.png)
![Sonoff BasicR2](https://nbg1.your-objectstorage.com/openhardware-directory/entities/sonoff-basicr2/c4bbdf3588a6.jpg)
![Sonoff BasicR2](https://nbg1.your-objectstorage.com/openhardware-directory/entities/sonoff-basicr2/eb0b120d5fc0.jpg)
![Sonoff BasicR2](https://nbg1.your-objectstorage.com/openhardware-directory/entities/sonoff-basicr2/41da2e399c10.jpg)
![Sonoff BasicR2](https://nbg1.your-objectstorage.com/openhardware-directory/entities/sonoff-basicr2/48c52b821f14.jpg)
![Sonoff BasicR2](https://nbg1.your-objectstorage.com/openhardware-directory/entities/sonoff-basicr2/5eced40834b6.jpg)
![Sonoff BasicR2](https://nbg1.your-objectstorage.com/openhardware-directory/entities/sonoff-basicr2/52b6771be472.jpg)
![Sonoff BasicR2](https://nbg1.your-objectstorage.com/openhardware-directory/entities/sonoff-basicr2/2c72f738dbc1.jpg)

---
[View full device page](https://openhardware.directory/devices/sonoff-basicr2)