Sonoff devices can be used from their eWelink Cloud or can be also easily flashed with new firmware that allow local control on them. For this purpose, new devices have a built in mode called DIY MODE: The DIY Mode is designed for IoT home automation users and developers who would like to control the
Flash ESPHome on a Sonoff R2 Mini using OTA DIY mode - Random DiY Projects
Using With Sonoff Basic — ESPHome
Flash Sonoff MiniR2(firmware 3.6.0) with ESPHome Over the Air - Community Guides - Home Assistant Community
Sonoff Mini doesn't go into DIY mode with 3.5.0 update · Issue #75 · itead/Sonoff_Devices_DIY_Tools · GitHub
Sonoff Mini bricking after Full Firmware Update · Issue #6358 · arendst/Tasmota · GitHub
280 Tutorial Sonoff Mini (DIY Mode, flash Tasmota)
How to flash SONOFF mini with Tasmota firmware
Sonoff Mini Relay
Flashing Sonoff mini R2 OTA with HAA · Issue #1434 · RavenSystem/esp-homekit-devices · GitHub
Using With Sonoff 4CH — ESPHome
Sonoff mini dead after flashing tasmota in DIY mode · Issue #62 · itead/Sonoff_Devices_DIY_Tools · GitHub