How to get started with ESPHome and Sonoff

Опубликовано: 09 Июнь 2026
на канале: JuanMTech
90,598
1.2k

Today’s video, I'm going to show you step by step how to use the ESPHome add-on in Home Assistant to flash a custom firmware to a Sonoff basic switch. We're also going to look at some of the available components that can be customized via ESPHome so you can integrate them and easily control them via Home Assistant.

⚠️UPDATE: The written guide was last updated on Dec. 18th, 2019, to reflect some changes in ESPHome.

Added how to set up:
✅OTA password
✅Safe Mode
✅Captive Portal
✅Fallback Hotspot
✅!secret

WRITTEN GUIDE
https://www.juanmtech.com/how-to-get-...

RECOMMENDED VIDEOS
Home Assistant new user interface
   • Home Assistant new user interface  
How to integrate Google Assistant with Home Assistant Cloud
   • How to integrate Google Assistant with Hom...  
Location Tracking with OwnTracks HTTP Mode and Home Assistant
   • Video  
How to set up the Picture Elements card in Home Assistant - Lovelace
   • How to set up the Picture Elements card in...  
How to set up Lovelace on Home Assistant
   • Video  
Home Assistant: Hass.io Installation:
   • Video  

❤️ SUPPORT THE CHANNEL ❤️
SUBSCRIBE: https://www.youtube.com/c/JuanMTech?s...
PATREON:   / juanmtech  
BUY ME A COFFEE: https://www.buymeacoffee.com/JuanMTech
AMAZON AFFILIATE LINK: http://amzn.to/2nM3bvM

VISIT MY WEBSITE
https://www.juanmtech.com

FOLLOW ME ON
TWITTER:   / juanmtech  
FACEBOOK:   / juanmtech  
INSTAGRAM:   / juanmtech  

MY GEAR
Camera: http://amzn.to/2nd3nIt
Lens 1: http://amzn.to/2nFL7CO
Lens 2: http://amzn.to/2o57cxW
Mic 1: http://amzn.to/2qh5Iiq
Mic 2: http://amzn.to/2m75JIE
Tripod: http://amzn.to/2oLeoh5

⚠️ DISCLOSURE
Some of the links on this video are affiliate links, meaning, at no additional cost to you, I will earn a commission if you click through and make a purchase.

SOUNDTRACK
Track: NIVIRO - Flashes [NCS Release]
Music provided by NoCopyrightSounds.

#HomeAssistant #Hassio #ESPHome