zacharyinserra/deskhub
Hardware & IoTA desk dashboard for the Waveshare ESP32-S3-Touch-LCD-4.3B board, fed by a Windows companion app over Wi-Fi.
What it is
Desk Hub turns a Waveshare ESP32-S3-Touch-LCD-4.3B board into a small desk display. Custom firmware (ESP-IDF + LVGL) runs on the board; a Python companion app on a Windows PC streams data to it over Wi-Fi and receives taps from on-screen shortcut buttons.
The Home page combines clock, date, weather, calendar events, now-playing media, CPU/GPU/RAM gauges and Claude Code limits. Separate pages cover detailed PC and network statistics, AI usage, calendar, weather, shortcuts, a countdown timer, Steam and other games, GitHub contributions and up to four 3D printers. Clock and weather keep working when the PC is off, and the timer runs on the board alone; the feature table lists which data each page consumes.
The board hosts a WebSocket server at ws://deskhub.local/ws. After a token handshake the companion streams JSON messages for stats, media, events, tiles, layout, Home widgets, printer state and Claude waiting alerts, plus binary cover art. The protocol is documented in How it works.
Who it's for
People who own this exact 4.3B board and want a desk display, and who are comfortable running a Windows companion, flashing firmware and editing a TOML config. It is not a generic ESP32 display project: other boards have different wiring and need code changes.
Quick start
Requirements: the Waveshare ESP32-S3-Touch-LCD-4.3B, a USB-C data cable, a Windows 10/11 PC on the same network, a 2.4 GHz Wi-Fi network (the ESP32-S3 cannot join 5 GHz), and an NVIDIA driver if you want GPU stats.
- Install Git for Windows (git-scm.com),
uv(installer) and ESP-IDF v5.5 through Espressif's Windows installer (ESP-IDF downloads), keeping the default install folder. - Clone the repository with
git clone https://github.com/zacharyinserra/deskhub.git, thencd deskhub\companion. Use a short path such asC:\Code\deskhub. - Plug the board into the PC using the port labeled USB (not UART on two-port boards), then run
uv run deskhub-setupincompanion. Setup asks for Wi-Fi, city and units, then optional calendars, printers, games, shortcuts, visible pages, Home widget layout, and screen sleep/night mode. It builds and flashes the firmware as part of the flow. - Start the companion with
uv run python -m deskhuband leave the window open. The monitor icon above the Wi-Fi icon on the board's sidebar turns green and PC-powered pages fill in.
To change one setting later, name the topic: uv run deskhub-setup calendar. After pulling new code or changing a firmware setting, run uv run deskhub-flash. The full sequence is in the setup section.
Setup details worth knowing
- Calendars: Google, iCloud, Outlook or any ICS feed;
uv run deskhub-calendarslists, adds and removes them (calendars). - Games: Steam data comes from local files; other games are picked from currently open windows with
uv run deskhub-games(Steam, non-Steam games). - 3D printers: up to four printers across Bambu Lab, Klipper/Moonraker, PrusaLink, OctoPrint, Flashforge, Elegoo, Snapmaker and Anycubic (3D printer).
- Claude Code:
uv run python install_claude.py statuslineanduv run python install_claude.py hooksinstall the status line and waiting-alert hooks; the live-limits option queries Anthropic's usage endpoint using the CLI's saved sign-in (Claude Code usage). - Home layout: edit
[home] gridincompanion/config.tomlor use setup's Home step; widgets take sizes on a 5×3 grid (Customizing Home).
Constraints
- The B model only. Other boards need different wiring and code changes, and this panel's backlight can only be switched on or off, not dimmed.
- Windows 10/11 companion, 2.4 GHz Wi-Fi, and USB access to the board for the first flash. Board discovery relies on
deskhub.local; if that name does not resolve, set the board's IP inconfig.toml. - Only one companion can run at a time; start it as
python -m deskhub, notuv run deskhub, because the launcher stays locked while it runs. Restart it after config edits. - Secrets go into Windows Credential Manager rather than
config.toml: the Apple app-specific password, Steam Web API key, Bambu access token, printer access codes and Snapmaker token. - Codex usage is read from local session logs and has no live-limit feed, so percentages can be stale; Claude live limits depend on an undocumented endpoint and fall back to status-line readings if Anthropic changes it.
- MIT license; bundled fonts keep their own licenses (LICENSE).
HotRepo's take
The project is new. Its only HotRepo record is a 2026-11-23 Python new-listing snapshot reporting 103 stars and 7 forks, with stars moving from 102 to 103 within one hour of sampling; it has no recorded all-language daily rank, so the data does not show whether adoption holds. The design is deliberately narrow: one exact panel, a documented WebSocket protocol, a setup flow that handles flashing, and explicit handling of credentials and Claude session data. That focus keeps the build understandable but means the setup cost is real, and anyone without a Windows PC or the 4.3B board cannot use it as shipped.
Written by AI from the project's public information and HotRepo's records, updated . The project's own docs are the source of truth.
You might also like
- socquique/TamaPokeAn open-firmware virtual pet game for one specific round ESP32-S3 AMOLED board, with a browser flashing tool.
- Liu-zhongxian/zongzhu-botA round-screen ESP32-S3 desk voice terminal that listens on-device, runs PC commands locally, and forwards other requests to a Grok bot.
- Kristian8606/esp32-airplay2-surroundBuild wireless 5.1/7.1 AirPlay speakers from one ESP32-S3 board per speaker.