/esphome-remote-rotary-encoder

wifi smart home remote with display that runs on ESPHome. Uses on Lilygo T-Display or M5Stack Fire

Primary LanguageC++

ESPHome Remote ⚙️

iPod style wifi smart home remote. Uses ESPHome and Home Assistant to integrate with Sonos, Roku and run custom scenes and scripts. Supports many different hardware configurations:

  • M5Stack Fire (no additional hardware)
  • Lilygo T-Display T4 (no additional hardware, scrollwheel coming soon)
  • Lilygo T-Display TTGO with Adafruit ANO Scrollwheel

Demo Video 🎬

Demo Video

Features 📝

iPod classic style menu

t-display demo m5stack fire demo lilygo T4 demo
Scroll Demo Gif Scroll List Fire Demo Gif Lilygo T4 Demo
  • Scroll through list and press center to select
  • With a scrollwheel the top button goes back
  • On M5Stack going up past the top of the list will go back
  • A scroll bar appears if list extends past the screen.
  • Screen returns to now playing after display sleeps
    • Display sleeps after 10s of idle. Device sleeps after 2h of idle 💤
  • Font size and UI size is adjustable in yaml 🔨
  • Simple yaml configuration. all of the complicated code is included in other files 🛠
  • Header is always shown at the top with info about the current state

Now playing screen ⏯

  1. Current media player + # of grouped speakers
  2. Volume %
  3. Shuffle state
  4. Play/Pause/Stopped state
  5. Battery level
  6. Playlist or album title
  7. Media artist
  8. Media title
  9. Media position and playback bar
  10. Media duration

Media Control 🔊📺

1. Control Sonos speakers

Play / pause, next track, previous track, toggle shuffle and mute Scroll for volume (with scroll wheel)
Shuffle Gif Scroll Volume Demo Gif
Manage speaker group Change source from Sonos favourites list
Speaker Group Demo Gif Scroll Volume Demo Gif

2. Control Roku tv 📺

  • Remote directional buttons up, down, left, right, select (with scroll wheel)

  • Scroll for volume (with scroll wheel)

  • Power, back, home, pause in second menu

  • Change source from tv source list

  • Change current media player (tv or speaker) from home menu

    • On boot the current media player is the first speaker found playing music or the tv

Smart Home Control 🧠🏠

Toggle lights on and off View sensors from Home Assistant Run scenes and scripts
Lights Menu Sensors Menu Scenes Menu

Hardware

1. Lilygo T-Display with Scrollwheel ⚙️

T-Display with scrollwheel has the same controls as an ipod

Lilygo T-Display Controls

2. M5Stack Fire 🔥

M5Stack Fire is supported without any additional hardware

M5Stack Fire Controls M5Stack Fire Boot sequence
Fire Boot Demo Gif

3. Lilygo T-Display T4

Lilygo T-Display T4 is supported without any additional hardware

Lilygo T4 Controls

includes

todo

  • queue count
  • sonos night sound / speech boost
  • repeat/all/single/off
  • marquee long text
  • case
  • circuit diagram for tdisplay