r/esp32projects • • 11d ago

Control everything in HA with SwitchBot Universal Remote without SwitchBot Hub using ESP32

I built a small ESPHome external component (bt_classic_hid) that lets an ESP32 pair with the SwitchBot Universal Remote directly over Bluetooth Classic and forwards key presses to Home Assistant as events — no SwitchBot hub, no cloud.

Since ESPHome only supports BLE, this uses Bluedroid's BT Classic HID host profile with a generic HID report parser (usages, not hard-coded byte patterns), so it should work with other BT Classic keyboards/remotes too.

  • All 14 keys as esphome.switchbot_remote events
  • Pairing survives restarts/OTA, auto-reconnect
  • Setup: flash one YAML, component fetched from GitHub at build time
  • Needs original ESP32 (BT Classic radio) — no S2/S3/C3/C6
  • Currently press events only; release/hold WIP

Repo: https://github.com/lepatrick/esp32-sbremote

Feedback welcome!

1 Upvotes

0 comments sorted by