Based on the Widgets of ReneTode I made three new widgets for my own Dashboard and I ant to share my results.
You can download them on GitHub:
Please feel free to use them or contribute to improve them. I would be happy if they are of any use and could be part of the standard appdaemon project.
i love it, a custom custom widget
1 tiny remark, to make it more understandable what is what it would be very helpfull if you create a picture from a english dashboard
Nice work! Does this pull from the source list attribute of the media player? I’m guessing you just add as many your media select as media players you want to add? And it will know to put them in there?
This is going to be great I can tell. One issue with the media select though. Am I suppose to use the same entity? so media_player.living_room is sonos speakers. Would I use that entity for both, and the way you have it setup on yours does that group speakers? thanks!
Also right. You use will have to use the same entity and place them so that you will understand that they belong to the same entity.
My Setup reflects my AirPlay-Enabled Yamaha Speakers that I have stepped with the iTunes component. At the moment there is no equivalent for the Musisccast-Component that will do the same.
What I do is start itunes via the itunes-media_player and then select and control the volume of each speaker.
Like this (sorry but my setup is in italian)
thanks. it works, the volume control works fine. but as you can see in my pic the media select does not work. im using sonos, that pulls all favorites and is show in the pics also. any idea why the select is not working?
nevermind, it wanted that yaml file in a dif area for some reason. it works once i created it…/usr/local/lib/python3.6/site-packages/appdaemon/widgets/media_select.yaml
not sure what it is but it doesnt do well with sonos. it will play a song for 1 or 2 seconds and then stop. I can look at the sonos directly and it keeps flipping from play to pause, Ive never seen that behavior withsonos before…
Ok found it. I just compared your sonos entity with mine from yamaha and there is a difference.
The Sonos differs regarding the field media_content_id which is set as Playlist.
Another thing that differs is the field source and then the array source_list.
The source “Radio” is not in the source_list array.
What my widget does is to take a select from the source_list and set it up as state of the entity.
It looks to me that the sonos entity does not work like this.
What happens to the field source when you select a different radio station within HA ? Will it change or stays it to the value “Radio” ?
Dont waste too much of your time. I really appreciate it, i like the look with the volume and was hoping for grouping but no biggie. I spent a lot of my time and pestering @ReneTode to get mine setup. I could never be happy with my dashboards until I got them like this, been in use for over a month with no issues.