Hello
I would like to play only a single radio stream to a media player with one single button.
I have tried many but everything is too extensive.
So no selectors but just one button that plays one stream one media player.
Who can help me on my way.
So please no links to all the difficult script i tried them all and they are too much.
Nice i understand much but iām such a beginner i donāt know how to go further whit the input boolean
I understand i have to trigger it there it stops for me.
Hi Besiktas.
Iāve been trying to build that radioplayer as well. I didnāt use the packages option. However, I have an issue with the scripts. I have no error message, but in the script.yaml file, this is all I see:
I think thats because you didnāt use the option for the package one.
Because the whole thing is forwarding to that place and if you didnāt made your changes good to not use the āāpackage optionāā, then that will be your issue.
Just throws up an error saying āMessage malformed: extra keys not allowed @ data[ātriggerā]ā.
Of all the things Iāve set up in Home assistant this is easily the hardest, it is absolutely ridiculous how difficult it is to push a button and turn on the radio when itās so simple to do so much more complicated things.
Unless you have entities named exactly like mine it is not going to work.
We will need to know your entity names and what your yaml is. You canāt just copy mine, it was just an example. Oh and it works every day here, except that URL is now long out of date.
Oh and its not at all difficult these days, just use radio browser, set an automation triggered by an input boolean, action play media, pick a player and then choose the media using radio browser.
I appreciate the response, I did update the entity names though.
I think we must be on different versions of Home Assistant, there is no way to select the media like this, you have to manually enter the content ID and there is seemingly no way to find that ID from the Radio Browser.
An automation can pick a radio browser station easily. For action just call service, play media and pick the player then pick.the media using radio browserā¦ No need for any content id.
Music assistant is also a good way of doing it.