Video coming soon…
📡 Setup ESPHome — Firmware Builder for ESP32 & ESP8266
Deploy ESPHome on Ubuntu — a web dashboard that turns simple YAML into custom firmware for ESP32 and ESP8266 boards, flashing them over the air and integrating with Home Assistant.
⚠️ This script is provided for demo and testing purposes only. Not intended for production use.
📦 Resources & Setup Scripts
Grab the automated bash script from GitHub to follow along with the video.
Quick Install:
wget https://raw.githubusercontent.com/mhmdali94/Docker/main/iot/esphome/esphome-ubuntu.sh
chmod +x esphome-ubuntu.sh
sudo bash esphome-ubuntu.sh
Tutorial Steps
1 Download the Script
wget https://raw.githubusercontent.com/mhmdali94/Docker/main/iot/esphome/esphome-ubuntu.sh
2 Make it Executable
chmod +x esphome-ubuntu.sh
3 Run the Installer
The script installs Docker if needed, pulls the ghcr.io/esphome/esphome image, and starts the dashboard on port 6052 with a persistent ./config volume holding your device YAML files.
sudo bash esphome-ubuntu.sh
4 Open the Dashboard
Open your browser and navigate to the ESPHome dashboard, then create your first device configuration:
http://<your-server-ip>:6052
Ports Used
| Port | Purpose |
|---|---|
| 6052 | ESPHome dashboard (edit, compile, OTA flash) |