r/Stadia • u/erikdamoon • 9h ago
Discussion Open-source ESP32-S3 Wi-Fi USB dongle firmware for Wi-Fi Stadia Controllers (1000 Hz HID/XInput, rumble, 3.5 mm headset audio, battery level, auto-pairing)
Hey r/Stadia — if you still have a Stadia Controller running its original Wi-Fi firmware (never switched to Bluetooth mode, or kept on Wi-Fi on purpose), I built a free, open-source firmware for the ~$7 Seeed Studio XIAO ESP32-S3 that turns it into a standalone USB-C wireless receiver.
It builds on the awesome protocol reverse-engineering work from jkfran/stadiacast, ported to run completely standalone on the ESP32-S3 with no background PC software or extra drivers needed.
Why Wi-Fi instead of Bluetooth mode?
Google's official Bluetooth firmware works over BLE GATT (higher latency, no 3.5 mm audio, no OS battery reporting on Linux). Running the controller's original Wi-Fi firmware over a direct zero-hop SoftAP to the ESP32-S3 gives you:
- 1000 Hz USB polling + Dual Rumble — feels noticeably snappier than BLE mode, connects in under ~10 seconds from cold power-on.
Live USB Mode Switching (saved in flash):
- Stadia HID mode (
18d1:9400): Native Stadia Controller layout with all 17 buttons (including Assistant & Capture) + rumble (hid-google-stadiaffon Linux, Steam Input, SDL, macOS). - XInput mode (
1209:9401): Plug-and-play Xbox 360 controller + rumble on Windows (xusb22.sys) and Linux (xpad).
- Stadia HID mode (
- Full-Duplex 3.5 mm Headset Audio (UAC1): 48 kHz stereo headphone output + 48 kHz mono mic input (uses the headset mic when plugged in, or the controller's built-in front mic when unplugged), with hardware mic mute and adjustable mic gain (
1.0x–2.5x) right from controller hotkeys. - Live OS Battery Percentage: Reads the controller's battery gauge immediately on connect and exposes it as a standard USB HID battery (shows up natively in Linux UPower / KDE Plasma / GNOME with zero extra daemons), plus low-battery rumble/LED alerts and an on-demand battery check hotkey.
- Zero-App Auto-Pairing (On-Board BLE): Put any Wi-Fi Stadia Controller into orange-blink setup mode near the dongle and the ESP32-S3 automatically pairs it over BLE — no phone app or PC tool required. (BLE scanning pauses automatically as soon as the controller connects over Wi-Fi so it never interferes with gameplay.)
- Built-in Web Dashboard + Wi-Fi OTA (
http://192.168.4.1): Change settings, customize SSID/password, upload firmware updates from any browser, or trigger 1-button Home Wi-Fi updates from the controller.
Important Requirements & Caveats
- Wi-Fi firmware only: Only works with Stadia Controllers still on original Wi-Fi firmware (controllers permanently converted to Bluetooth mode cannot use this).
- Hardware: Specifically targets the Seeed Studio XIAO ESP32-S3 (8 MB Flash, 8 MB OPI PSRAM).
- 100% free & open-source (not selling anything — you just flash your own off-the-shelf board).
Links
- 1-Click Browser Web Flasher (Chrome / Edge / Brave): https://erikb-lab.github.io/stadiacast-esp32/
- GitHub Repository & Source Code: https://github.com/erikb-lab/stadiacast-esp32
- Upstream Protocol Credit: https://github.com/jkfran/stadiacast
Happy to answer any technical questions about how the ESP32-S3 handles the Stadia DTLS/SRTP/Opus stack or how to set one up!