Install ESPHome on Sonoff Mini via OTA from Home Assistant OS

Опубликовано: 17 Июнь 2026
на канале: La Choza Digital
5,211
235

In this video tutorial, we'll show you how to install ESPHome directly on a Sonoff Mini R2 using DIY mode directly from Home Assistant, without the need for external tools.

This also applies to Sonoff Basic R3 and Sonoff RF R3, and in general, any Sonoff Wi-Fi with DIY mode.

To avoid using external tools, we'll use Linux commands that can be easily used from Home Assistant in a HAOS or Supervised installation.

You can find the command list here: https://github.com/MiguelAngelLV/lach...

Tutorial for installing on devices without OTA mode (classic method) such as the Sonoff Basic: R1 and R2    • EspHome en dispositivos comerciales como l...  

*Amazon*
Sonoff R2 https://amzn.to/3VmNhdi

*Aliexpress*
Sonoff R2: https://s.click.aliexpress.com/e/_EH8...

Aliexpress Discounts
3{{currency} in orders 15: IFPCPGI7
5{{currency} in orders 30: IFPVKEH4
7{{currency} in orders 49: IFPVPPVR
11{{currency} in orders 79: IFP2TIDB
20{{currency} in orders 139: IFPVPJVR
30{{currency} in orders 209: IFPXZ9LM
45{{currency} in orders 319: IFP4U3EA
60{{currency} in orders 429: IFPPNPOJ
70{{currency} in orders 509: IFPK0NOE

Chapters
00:00 Introduction
00:14 Sonoff DIY Mode
01:16 Connect Sonoff to our local network
02:32 Create ESPHome firmware for Sonoff
04:10 Upload firmware to Home Assistant
05:38 Obtain Sonoff IP using nmap
07:28 Obtain information about our Sonoff
07:55 Activate OTA mode
08:34 Flash ESPHome firmware on Sonoff Mini
11:52 Configure firmware for Sonoff Mini
14:05 Farewell
Tags: #homeassistant #esphome #esp32 #esp8266 #home automation