Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: about 1 month 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 (about 1 year ago)
- Default Branch: master
- Last Pushed: 2024-01-01T06:55:34.000Z (about 1 year ago)
- Last Synced: 2024-01-01T07:28:38.775Z (about 1 year ago)
- Topics: arduino, home-assistant, m5stack, m5stack-core2, m5stack-dial, mqtt, mqtt-client
- Language: C++
- Homepage:
- Size: 50.8 KB
- Stars: 1
- 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)
![dial](https://i.imgur.com/suuqg7B.jpg)
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.*
- ......
```![mqtt](https://i.imgur.com/lcRaE1f.png)
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