I have a several notifiactions that go to specific or all echos, such as water leak, etc. But other ones I want to speak from the one that I just spoke to.
I’m pretty sure this would work, but just checking. then something like so in an automation
all of those are scanned by the mediaplayer component every second.
when TTS is all you want from that you got 60 or more scans a minute more then you need
even if you dont notice it now, there will come a time in home automating that those are exactly the things you want to avoid.
both hack the alexa app, by sending json to the alexa servers pretending to be the app. they use a different way to send it but the result is the same.
the difference in the way they send doesnt make a difference in how the amazon server recieves it, so i dont think that breaking changes on the amazon site would make a difference.
i guess in your case quite a lot.
i did get a warning that the component did take over 10 secs all the time in my logs. maybe because of other stuff i have going on.
like i said above, if you dont need the mediaplayers then you get send a reqeust form HA to the amazon server at least 1 time every second.
thats a high price for avoiding to create your own service.
i dont know if you use HAdashboard or appdaemon, but with a simple app you can send tts to all devices just as well, without all that scanning.
no you cant that way.
the command
/home/homeassistant/.homeassistant/alexa_wrapper.sh -lastalexa
asks what the last alexa is
so you cant send commands to that.
you would need to use the speak command (and if possible with a template part in it that puts in last alexa sensor) to send the notify
no you dont have to have anything more then prime, for prime music.
and its strange that she confirms to play but then doesnt play.
can you see that she starts playing in the app?
(please remember you are faking the app, so always look at the at the app for results)
you wont find it in histoty, because its no command that alexa can interpret as spoken, but as activated from the app.
in the home page from the app you can find cards for what has been activated last.
@maurizio53 does she aso say she will play it? if not then you got a different problem.
i dont know, but i have seen so much remarks from you with reactions to that with possible solutions that its hard to tell anything.
my suggestion for you is to start reading this topic at post 1, and look for all possible options that are there when its not working and try out why its not working for you. it could very well be your cookie, but can be anything else.
Only thing i can see is that every other command send an output like Alexa.Traffic.Play (when i ask -e traffic), or Alexa.Speak while every command regarding music (and i have Prime Music) i get {“message”:null} as answer…
I have not tried that yet. But I noticed that if you create an Alexa routine that you can include music sources and playlists. Was thinking about creating an Alexa routine with a Spotify playlist. Then starting that routine using scripts
I tried, but always with no success… i created a routine which include an Amazon Prime playlist that works good if i call it with voice, but if i call it with a script like this:
sudo ./alexa_remote_control.sh -e automation:"Alexa, sono a casa" -d 'Echo Spot'
I get this:
`ERROR: no such utterance ‘Alexa, sono a casa’ in Alexa routines.
EDIT: Solved, i must call the routine without Alexa at the beginning… using only “sono a casa” it works…
Now it only remains to understand why calling music from the script directly doesn’t work…