https://github.com/mhwlng/arduino-albumcover
Experiment to show album cover from home assistant media player on M5Stack dial and core2 displays (ESP32)
https://github.com/mhwlng/arduino-albumcover
arduino home-assistant m5stack m5stack-core2 m5stack-dial mqtt mqtt-client
Last synced: 14 days ago
JSON representation
Experiment to show album cover from home assistant media player on M5Stack dial and core2 displays (ESP32)
- Host: GitHub
- URL: https://github.com/mhwlng/arduino-albumcover
- Owner: mhwlng
- License: mit
- Created: 2023-12-28T08:45:22.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2024-01-01T06:55:34.000Z (over 1 year ago)
- Last Synced: 2025-03-29T09:34:08.016Z (about 1 month ago)
- Topics: arduino, home-assistant, m5stack, m5stack-core2, m5stack-dial, mqtt, mqtt-client
- Language: C++
- Homepage:
- Size: 52.7 KB
- Stars: 5
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# arduino-albumcover
Experiment to show album cover from home assistant media player on M5Stack dial and core2 displays (ESP32)

1. This project requires https://github.com/imgproxy/imgproxy to resize the image from home assistant and convert from .png to .jpg.
To create an imgproxy docker container, listening on port 8088:
```
sudo docker run -d \
--name=imgproxy \
-p 8088:8080 \
--restart unless-stopped \
darthsim/imgproxy
```
2. This project requires an MQTT broker, like the Mosquitto broker add-on in Home Assistant.3. This project requires Home Assistant, to create an MQTT topic, for the media player entity_picture.
One way to do that, is to use the mqtt_statestream integration:
https://www.home-assistant.io/integrations/mqtt_statestream/
```
mqtt_statestream:
base_topic: hass
publish_attributes: true
publish_timestamps: true
exclude:
entity_globs:
- device_tracker.*
- ......
```
The 8.8 inch touch screen, in above picture, is connected to a raspberry pi and can show Home Assistant dashboards.
More information can be found here:https://github.com/mhwlng/kiosk-server
The 3d-printed enclosure can be found here:
https://www.printables.com/@mhwlng_888536/collections/920676
note that espMqttClient.h references this specific library:
https://github.com/bertmelis/espMqttClient