Installable via ESPHome this code offers the ability to view what is currently playing through a Home Assistant Spotify media_player entity, and send basic controls back to Home Assistant.
Currently artwork is not displayed due to lack of support for JPG images in LVGL/ESPHome's online_image
Update the substitution at the top of the YAML with your entity ID and you should be good to go.
Install my-project via ESPHome either in your HA setup or via CLI, you will need to add your wifi/ota/api details to the yaml.
You will also need to replace the spotify_entity with you HA Entity
substitutions:
spotify_entity: media_player.spotify_xxx # Replace with your HA media_player entity
Contributions are always welcome!
This has only been tested with my setup, so feel free to open an issue if you come across anything.
- There is quite a large delay between the HA Spotify entity updating with the current track, in turn this leads to a delay with the screen updating
- Artwork cannot be displayed due to no JPG support in online_image
- Open feature request here: esphome/feature-requests#3028