How to play radio stations on an Alexa devices?

hello,
has anyone been able to play radio stations on an Alexa media player?
Iโ€™ve seen few posts but none was working for me.
thank you!

Bit more detail needed?

Presumably youโ€™re using the Alexa Media Player integration from HACS? If not, thatโ€™s your starting point.

sorry, yes using alexa media player from hacs.
it discovered all my devices (12). I can send TTS via the mini media player.
Iโ€™ve tried the jukebox card from HACS but nothing happens. Iโ€™ve tried another radio project which is playing on Chromecast media players but not on the Alexa.

This works for me:

    - service: media_player.play_media
      data: 
        entity_id: media_player.bedroom
        media_content_id: Capital Yorkshire (East)
        media_content_type: TUNEIN

This works for me (you see a short station list):

type: custom:mini-media-player
name: Office
shortcuts:
  label: Radiostations
  list:
    - type: custom
      name: Ibiza Beats Radio
      id: play Ibiza Beats Radio on tunein
    - type: custom
      name: Samui Island Radio
      id: play Samui Island Radio on tunein
artwork: full-cover-fit
entity: media_player.echo_office

This is a great idea, Iโ€™m now using it, thanks

1 Like

wow, great. thank you so much!
and one more question, is there a way to choose a speaker?
I mean something like input select integrated as the destination speaker rather then have a separate media player for each speaker?

I tried for hours, but no luck, IMO not with this card.
mini-media-player expects entity names or entity_ids, so the friendly names from an input_select dropdown list have to be converted to entitiy names.

Maybe this could work for you, looks like it needs a master though

Grouping does not work with alexa devices.

Supported platforms

  • sonos
  • soundtouch
  • squeezebox2
  • bluesound2
  • snapcast2
  • musiccast_yamaha1
  • linkplay3

Same same, but different:

type: custom:mini-media-player
entity: media_player.echo_office2
name: Office
shortcuts:
  columns: 3
  buttons:
    - type: custom
      name: Milano Lounge
      id: play Milano Lounge on tunein
      icon: mdi:radio
    - type: custom
      name: Sky Radio Lounge
      id: play Sky Radio Lounge on tunein
      icon: mdi:radio
    - type: custom
      name: Club Riva Lounge Radio
      id: play Club Riva Lounge Radio on tunein
      icon: mdi:radio
    - type: custom
      name: Rfm Lounge
      id: play Rfm Lounge on tunein
      icon: mdi:radio
    - type: custom
      name: 06AM Ibiza Underground Radio
      id: play 06AM Ibiza Underground Radio on tunein
      icon: mdi:radio
    - type: custom
      name: Deep House Ibiza
      id: play Deep House Ibiza on tunein
      icon: mdi:radio
    - type: custom
      name: Ibiza Beats Radio
      id: play Ibiza Beats Radio on tunein
      icon: mdi:radio
    - type: custom
      name: Samui Island Radio
      id: play Samui Island Radio on tunein
      icon: mdi:radio
    - type: custom
      name: Cafรฉ del Mar Radio (official)
      id: play Cafรฉ del Mar Radio (official) on tunein
      icon: mdi:radio
artwork: full-cover-fit
hide:
  volume: false
  power: true
  source: true
  name: false
  info: true
  controls: false
  progress: true
  icon: true
  state_label: true

thank you very much.
Iโ€™ve ended up doing it your way.

type: entities
entities:
  - type: custom:mini-media-player
    name: Bedroom
    shortcuts:
      label: Radio Stations
      columns: 4
      buttons:
        - type: custom
          name: ื’ืœื™ ืฆื”"ืœ
          id: play Galei Zahal on tunein
        - type: custom
          name: ืจืฉืช ื’
          id: play KAN GIMMEL on tunein
        - type: custom
          name: ืจืฉืช ื‘
          id: play Kan Bet on tunein
        - type: custom
          name: ืจื“ื™ื• ืœืœื ื”ืคืกืงื”
          id: play 103fm on tunein
        - type: custom
          name: ืจื“ื™ื• ืชืœ ืื‘ื™ื‘
          id: play Radio Tel Aviv on tunein
        - type: custom
          name: ื’ืœื’ืœ"ืฆ
          id: play GLGLZ on tunein
        - type: custom
          name: Smooth 91.5
          id: play Smooth 91.5 on tunein
        - type: custom
          name: Gold 104.3
          id: play Gold 104.3 on tunein
    entity: media_player.bedroom
    group: true
    artwork: none
  - type: custom:mini-media-player
    shortcuts:
      label: Radio Stations
      columns: 4
      buttons:
        - type: custom
          name: ื’ืœื™ ืฆื”"ืœ
          id: play Galei Zahal on tunein
        - type: custom
          name: ืจืฉืช ื’
          id: play KAN GIMMEL on tunein
        - type: custom
          name: ืจืฉืช ื‘
          id: play Kan Bet on tunein
        - type: custom
          name: ืจื“ื™ื• ืœืœื ื”ืคืกืงื”
          id: play 103fm on tunein
        - type: custom
          name: ืจื“ื™ื• ืชืœ ืื‘ื™ื‘
          id: play Radio Tel Aviv on tunein
        - type: custom
          name: ื’ืœื’ืœ"ืฆ
          id: play GLGLZ on tunein
        - type: custom
          name: Smooth 91.5
          id: play Smooth 91.5 on tunein
        - type: custom
          name: Gold 104.3
          id: play Gold 104.3 on tunein
    artwork: cover
    entity_id: media_player.{{ states('input_select.amazon_radio') }}
    group: true
    name: Office
    entity: media_player.alex_s_echo
  - type: custom:mini-media-player
    shortcuts:
      label: Radio Stations
      columns: 4
      buttons:
        - type: custom
          name: ื’ืœื™ ืฆื”"ืœ
          id: play Galei Zahal on tunein
        - type: custom
          name: ืจืฉืช ื’
          id: play KAN GIMMEL on tunein
        - type: custom
          name: ืจืฉืช ื‘
          id: play Kan Bet on tunein
        - type: custom
          name: ืจื“ื™ื• ืœืœื ื”ืคืกืงื”
          id: play 103fm on tunein
        - type: custom
          name: ืจื“ื™ื• ืชืœ ืื‘ื™ื‘
          id: play Radio Tel Aviv on tunein
        - type: custom
          name: ื’ืœื’ืœ"ืฆ
          id: play GLGLZ on tunein
        - type: custom
          name: Smooth 91.5
          id: play Smooth 91.5 on tunein
        - type: custom
          name: Gold 104.3
          id: play Gold 104.3 on tunein
    artwork: cover
    group: true
    entity: media_player.kitchen_echo_show
    name: Kitchen
title: Radio
theme: noctis

Youโ€™re welcome. I like the buttons also better than the dropdown list.