Plugs and switches · Sonoff
Sonoff relays and switches
Cloud-first out of the box, but a short list of models answer to a genuine local API with no firmware change, and almost every model takes Tasmota.
ModelsBasic R3Mini R2Mini R3S26S31POW R3TH164CH Pro R3
Saved in this browser, no account.
What it can become
What owners already do with it, easiest first.
Easy~15 minNo risk
Switch it with no cloud, no firmware change
Basic R3, Mini R2/R3 and a few bulbs answer to a documented local HTTP API once you flip DIY Mode in the eWeLink app. Check your exact model first.
Built inSonoff DIY Mode API
An evening~30 minNo risk
Keep the rest of the fleet working without eWeLink
Log in once to fetch each device's encryption key, then Home Assistant talks to it over your network from then on, no DIY Mode needed.
Hands-on~1.5 hCan brick it
Replace the firmware with Tasmota
Opening the case to reach a serial header, and sometimes soldering, gets you local MQTT and HTTP control with eWeLink dropped entirely.
Everything built for it
29 projects from the index, most active first.
- arendst/TasmotaAlternative firmware for ESP8266/ESP32 smart devices with local MQTT/HTTP controlActive★ 24.9K
- AlexxIT/SonoffLANControls Sonoff/eWeLink devices with stock firmware over LAN and cloudActive★ 3.3K
- xoseperez/espurnaCustom firmware for ESP8266-based smart switches and plugsActive★ 3.1K
- joBr99/nspanel-lovelace-uiCustom display firmware for the Sonoff NSPanel with a Lovelace-style UI, driven from Tasmota or ESPHomeActive★ 997
- homebridge-plugins/homebridge-ewelinkHomebridge plugin for eWeLink/Sonoff devices via the unofficial eWeLink API and LAN modeActive★ 413
- NSPManager/NSPanelManagerCustom firmware and manager for the Sonoff NSPanelActive★ 347
- roleoroleo/sonoff-hackCustom firmware for the Sonoff GK-200MP2B cameraActive★ 241
- SmartHome-yourself/sonoff-tx-ultimate-for-esphomeESPHome component for the Sonoff TX Ultimate wall switch with its reverse-engineered touch panel protocolActive★ 161
- smartboxchannel/SONOFF-SNZB-02-Temperature-and-humidity-sensorAlternative Zigbee firmware for the SONOFF SNZB-02 sensorActive★ 109
- mightymos/RF-Bridge-OB38S003Alternative firmware for the Sonoff RF Bridge radio MCUActive★ 107
- olicooper/esphome-nspanel-lovelace-nativeNative ESPHome component for the Sonoff NSPanel speaking the nspanel-lovelace-ui TFT serial protocolActive★ 93
- edwardtfn/TX-Ultimate-EasyESPHome-based custom firmware for the Sonoff TX Ultimate wall switchActive★ 83
Show all 29
- Batyushin/Sonoff-HomeKitFirmware making the Sonoff Basic HomeKit-compatibleActive★ 29
- RealZimboGuy/ewelink-api-javaJava client for the Sonoff eWeLink APIActive★ 20
- Gruppio/Sonoff-HomekitFirmware making Sonoff switches natively compatible with Apple HomeKitSlow★ 1K
- skydiver/ewelink-apiJavaScript client for the unofficial eWeLink (Sonoff) cloud and LAN APISlow★ 286
- blakadder/nspanelSonoff NSPanel display protocol documentation and a Tasmota Berry driver for itSlow★ 142
- KmanOz/Sonoff-HomeAssistantAlternative firmware for ESP8266-based Sonoff switches for Home AssistantDormant★ 353
- KmanOz/KmanSonoffAlternative firmware for ESP8266-based Sonoff switches over MQTTDormant★ 284
- andreacucci/Sonoff-ESP8266-HomeKitFirmware controlling Sonoff switches natively through HomeKitDormant★ 63
- thegroove/esphome-zbbridgeESPHome firmware for the Sonoff Zigbee Bridge exposing its Zigbee chip over TCPDormant★ 50
- delid4ve/openhab-3.x-sonoffopenHAB binding for Sonoff/eWeLink devicesDormant★ 27
- mongoose-os-apps/sonoff-basic-openhabMongoose OS firmware for the Sonoff Basic working with openHABDormant★ 22
- peterbuga/HASS-sonoff-ewelinkHome Assistant component for Sonoff/eWeLink devices with original firmwareArchived★ 790
- Portisch/RF-Bridge-EFM8BB1Alternative firmware for the Sonoff RF Bridge 433 MHz chip with raw protocol sniffingArchived★ 301
- SamZorSec/Itead_SonoffAlternative MQTT firmware for Itead Sonoff switchesArchived★ 114
- jp112sdl/SonoffHMLOXAlternative Sonoff firmware for HomeMatic CCU and LoxoneArchived★ 64
- rb-engineer/ewelink-web-uiWeb app for managing eWeLink (Sonoff) devices from a PCArchived★ 17
- willdurand/sonoff-webthingAlternative firmware exposing iTead Sonoff devices as Web ThingsArchived★ 13