I’m testing using NFC tags and set up what I thought was a simple test to scan the tag and have the Amazon Echo on my desk say something. The scanning and triggering work, but Alexa responds with the above message. What’s the correct way to send text for Alexa to say? My current YAML is as follows.
- id: '1773878789877'
alias: New automation
description: ''
triggers:
- trigger: tag
tag_id: 1f8001d1-1f38-4e48-9e10-b0c2a6395fa2
conditions: []
actions:
- action: tts.speak
metadata: {}
target:
entity_id: tts.google_translate_en_com
data:
cache: true
media_player_entity_id: media_player.snowball
message: the black bin tag has been scanned
mode: single
I asked CoPilot. For anyone else who wants to do this, the corrected YAML is below. I’m surprised and disappointed no-one had immediately told me I was using an obsolete service having been told this was a very active forum.
- id: '1773878789877'
alias: New automation
description: ''
triggers:
- trigger: tag
tag_id: 1f8001d1-1f38-4e48-9e10-b0c2a6395fa2
conditions: []
actions:
- action: notify.alexa_media
data:
message: the black bin tag has been scanned
target: media_player.snowball
data:
type: tts
title: black bag scanned
That’s probably because a lot of us have either completely abandoned AMP or are transitioning from AMP to HA’s core integration, Alexa Devices (AD). The devs recently merged media_player controls for AD and will soon be launching a test version. AMP will probably be phased out as AD continues to mature.
So why did no-one reply saying that? I’ve been using HA for less than a month and so far my most significant discovery seems to be that much of the online documentation may be out of date or wrong. For example, I spent several days trying work out how to access the “Add-ons” option which is still referenced in many places, only to learn that this no longer exists. Now I learn that another component I’ve only just figured out how to use is also deprecated. While I appreciate there may be a lot of active development, the lack of response when simple questions are asked is not helpful.
In any event, I’d like to thank you for pointing me to a new area of research. At least I now know one topic I should be researching as, at the last count, I have 19 Amazon Echo devices, although, due to building work, I think only 12 are active.
Please read the pinned post, specifically this section.
Getting huffy because you did not get a reply in the 15 or so hours between your first & second post isn’t a good look.
I’ve been working in IT for over 45 years - I used to use dialup BBSs and had an account on Compuserve - and, having been on many forums over time, my expectations of the phrase “very active” were probably a bit high; I’ve been on some where people would respond to many posts in minutes.
I’d also recently wasted several hours following an AI’s incorrect instructions to access “Add-ons” - which involved reinstalling HA and restoring from backup - only to be told by someone that “Add-ons” are now “Apps”. So when my second ever query about HA resulted in my learning that I was attempting to use obsolete methods and I then get a response implying no-one replied because of this, I think my reaction is understandable.
Just because these are my first posts here, it isn’t my first rodeo…