I have a small screen (480x320) where to display my dashboards and I want to be able to control 4 MPD instances from one dashboard - that’s why the built-in media_player won’t do it for me.
Here’s what I had in mind:
- A row with 4 items that represent each mpd instance. They should behave like a group of radio buttons (only one of them can be selected at one time).
- A row with media player controls (play/stop/volume/currently playing) that affect only the selected mpd instance.
- Two or more rows with playlists that are to be loaded into the selected mpd instance.
I’ve played with appdaemon and I’ve created an app already, but I need to be pointed in the right direction for the following topics:
- Can I have an appdaemon app that exposes fake entities (sensors/switches) to the dashboard and reacts to dashboard events? If yes, can you point me to a demo/documentation?
- Can I register functions to react to events from the dashboard (e.g. button X was pressed), and can I read values from the dashboard? I guess this is difficult, since I want the server to read something clientside. Maybe I could trigger an event from the dashboard via a custom javascript that contains the active mpd instance…
One way to do it would be to have 4 dashboards and to navigate between them when selecting the active mpd, but it feels like cheating
Anyway, I’d still need a helper app to read entities from HA and to call services…
Ideas welcome!