Home Assistant How To - get Radio Stations integrated

BeardedTinker
BeardedTinker
51.4 هزار بار بازدید - 4 سال پیش - If you ever wanted to
If you ever wanted to integrate and push Radio Stations stream to Media Players around your flat/house, here is easy method for doing so.
This work with Alexa too with one small modification!

Integration used in video:
https://www.home-assistant.io/integra...
https://www.home-assistant.io/integra...
https://www.home-assistant.io/integra...
https://www.home-assistant.io/integra...

More complex version of this can be found in my repository:
https://github.com/BeardedTinker/Home...

00:00 Intro
00:20 Thank you to members
00:35 Radio stations in Home Assistant
02:02 Retrieving URL's for radio stream from TuneIn
06:18 Creating Input fields
07:56 Input field for Radio Volume
09:58 Input field for Radio station list
11:35 List of speakers input field
13:36 Creating script to play radio
23:04 Reload inputs and script and test it
24:09 Wrapping up the video


Sample configurations:
⏵ input_number.radio_volume.yaml
__________
radio_volume:
 name: Volume
 icon: mdi:volume-high
 initial: 0.3
 min: 0
 max: 1
 step: 0.05
 mode: box
__________

⏵ input_select.radio_speaker.yaml
__________
radio_speaker:
 name: 'Select Speaker'
 options:
   - 'Display me'
   - 'Clock me'
   - 'Mini me'
   - 'Whatever me'
 initial: 'Clock me'
 icon: mdi:speaker-wireless
__________

⏵ input_select.radio_station yaml
__________
radio_station:
 name: 'Select Radio Station'
 options:
   - 'Otvoreni'
   - '2x2'
   - '1.FM'
 initial: Otvoreni
 icon: mdi:radio
__________

Don't forget to check your configuration and restart if there are no errors.

And you can now add various input fields to Lovelace UI to start streaming radio.

Please, give me a thumb up if you liked this video, subscribe if you still haven't and I'll see you next time!

Have fun!
BeardedTinker

🧡 If you would like to support me and this channel, you can JOIN and become channel member!
https://www.youtube.com/BeardedTinker...

✅Twitter: @BeardedTinker
✅Discord: Discord: discord
#howto #HomeAssistant #radiostream
4 سال پیش در تاریخ 1399/08/07 منتشر شده است.
51,454 بـار بازدید شده
... بیشتر