Hello there,
i successfully created a NFC Jukebox with the tutorials available. But now I would like to improve on adding new music cards. Up to now got to the NFC-Tag page in HA, scanned a new Tag and typed what music I would like to hear on one media player.
Now I would like to improve the automation by creating a blueprint. The automation looks like this:
trigger:
- platform: tag
tag_id: 93-8F-8C-08
condition: []
action:
- service: notify.alexa_media_echo_kinderzimmer
data:
data:
type: tts
message: 'Ich spiele: Folge 2: Lieselotte feiert Geburtstag'
- service: media_player.play_media
target:
entity_id: media_player.echo_kinderzimmer
data:
media_content_id: 'album Folge 2: Lieselotte feiert Geburtstag (Vier Hörspiele)'
media_content_type: AMAZON_MUSIC
mode: single
So when scanning a new tag, I would like to enter just the content ID. And perhaps the message, but that was just for testing. Another thing I would like to change is the static mediaplayer, in this case âecho_kinderzimmerâ for example if the Tag is scanned with the Tag reader in the living room the music should play on âecho_wohnzimmerâ. But up to now I couldnât find an easy way to get reader and player combined. At the Moment there are four readers and eight players available.
Best regards
Mirko