ESP32 TFT Dashboard for Home Assistant — Flash From Browser, No VS Code Needed

Mark
Autor
ESP32 TFT Dashboard for Home Assistant — Flash From Browser, No VS Code Needed

Did you like this article?

Creating guides takes a lot of time, and I don’t want ads on the site. If I’ve helped you and you feel like it — buy me a coffee. It really motivates me to keep writing!

ESP32 TFT Dashboard — First Boot Without VS Code or Any Build Tools
Web flasher, WiFi captive portal, MQTT config in the web panel and first live data from Home Assistant

Before You Start

This guide assumes you’ve already wired the display following the pin table from Part 1 and set up MQTT in HA from Part 2. Have these ready:
✓
ESP32 with TFT display wired up
✓
USB cable connected to your computer
✓
Chrome or Edge (WebSerial API — Firefox doesn’t support it)
✓
HA IP address, MQTT username and password from Part 2
✓
USB driver for your ESP32 board installed (CH340 or CP2102)

Step 1 — Flash the Firmware

No VS Code, no PlatformIO, no compiling. The web flasher does everything — open a page in Chrome and click Flash.
 Web Flasher

https://marklabs.pl/en/tft-flasher-dashboard-en/

Chrome / Edge · Windows · Mac · Linux
tft flasher home asistant dashboard
1
Open the flasher and pick your display
ST7789 (240×320), ILI9341 (240×320) or ILI9488 (320×480)
2
Plug in the ESP32 and click Flash
The browser shows available serial ports — select your ESP32. Usually the only port on the list.
3
Wait about 1–2 minutes
Progress bar shows flashing status. ESP32 reboots automatically when done — the WiFi setup screen appears on the display.
No COM port showing up? Install the USB driver for your board. Most DevKits use CH340 or CP2102 — check the marking next to the USB port.

Step 2 — WiFi Setup via Captive Portal

After flashing, the ESP32 starts as an open WiFi access point and shows a setup screen on the display. No AP password — connect and the configuration portal opens automatically.
1
The display shows a WiFi setup screen
You’ll see the AP network name — something like ESP32-Dashboard-XXXX with random digits at the end.
2
Connect your phone or laptop to that network
No password. The captive portal opens automatically. If it doesn’t — navigate to 192.168.4.1 manually.
3
Select your network and enter the password
The portal shows a network scan. Pick yours, type the password and hit Connect.
4
ESP32 connects and reboots
WiFi credentials are saved, the ESP32 restarts. The dashboard appears on screen — tiles empty for now since MQTT isn’t configured yet.
Need to change WiFi later? There’s a WiFi reset option in the ESP32 web panel — the device goes back into AP mode and you can configure a new connection.
tft dashborad home assistan

Step 3 — Web Panel and MQTT Config

After connecting to WiFi, the ESP32 serves a web panel. Open it in your browser and configure everything — MQTT, panels, tiles, colors. Zero YAML.
How to reach the web panel:
ESP32 shows its IP on screen after booting — type it into your browser, e.g. http://192.168.1.55. Available immediately after boot.
Also works via mDNS: http://esp32-dashboard.local
1
Open the web panel and go to the MQTT tab
2
Enter broker details:

Broker (HA IP)
192.168.1.xxx
Port
1883
Username
esp32-dashboard
Password
your password from Part 2
3
Click Save — a green dot appears in the top right corner when ESP32 connects to the broker
Green dot on the TFT status bar — confirms broker connection. Red dot means check the broker IP and credentials.

Step 4 — First Data on Screen

ESP32 is connected to the broker — now tell HA which entities to push to the display. Switch to Home Assistant.
1
Settings → Devices & Services → TFT Dashboard → Configure
2
Click Add entity and pick e.g. sensor.living_room_temperature
3
The integration starts publishing to tft/sensor_living_room_temperature/state
4
In the ESP32 web panel add a tile pointing to that topic — the value appears on screen. Panels and tiles are covered in Part 4.

Common First-Boot Issues

Black screen after flashing — check VCC is on 3.3V (not 5V) and SPI pins match the table in Part 1.
Captive portal doesn’t open automatically — navigate to 192.168.4.1 manually after connecting to the ESP32 AP.
Red MQTT dot after saving — double-check broker IP (it’s your HA IP, not localhost), port 1883, and credentials. Make sure Mosquitto is running in HA.
Tiles show “- -” instead of values — check that the tile topic exactly matches what TFT Dashboard publishes. Verify in HA Developer Tools → MQTT by subscribing to tft/#.

What’s Next

ESP32 is running, MQTT connected, first values on screen. Now set up panels and tiles properly — choosing types, adding tiles, setting colors and icons. All from the web panel, no code.
Different display model or hitting a different issue? Leave a comment below.

MarkLabs Community

Questions about this article?

Ask in our English forum section. Share your question, experience or solution and include the article link.

Ask in the English forum

A free MarkLabs account is required to post. You can use your existing account.

buymeacoffee.com