After reading this i excitedly retried mine as i was experiencing the same as wombateer, i can pause/resume and adjust volume but i can’t get any TTS/notify to work at all. Unfortunately nothing has changed here and still not working. Hope it is something weird on Amazon’s side and its just not finished being rolled out yet
edit: I was doing some more debugging and enabled advanced debugging and deleted the pickle file to capture the new logged data and it started working. I definitely had a working connection before because i could pause media etc so not entirely sure why that fixed it but i’ll take working over not any day.
Hmm just reading your reply makes me wonder if changing my amazon account from co.uk to .de and back has actually ‘solved’ my problem. As to do this I had to delete the pickle file and it got recreated. Did you have to go through the Captcha process again after deleting the pickle file?
hi all, I have Alexa as media player integration in my hassio, I use the tts service for automation to speak the days when to bring out rubbish (I use a package created for this purpose with the option to use google or alexa media player tts). In the notify automation there is a telegram message and also a call to alexa tts service, I added before and after the tts part a volume set at higher value and then at lower value. If I manually send tts message I hear it, if not, I see only led on my echo light when the volume is set higher or lower, but not hear anything, maybe because the media player don’t go out of standby? Is there a solution to bring alexa media player out of standby before using it to speak tts message?
Thank you for the help.
don’t know if this is related to my issue, I ask a tip for this thing, I have the rubbish python scripts that calls alexa tts service, it is written in this way
try:
for entity_alexa in entity_alexa_tts:
hass.services.call('media_player', 'alexa_tts', {'entity_id': 'media_player.' + entity_alexa, 'message': message})
except:
pass
how I can change this code to another with the requirements of notify.alexa_media service?
I’m trying replacing with data, target etc. but don’t know the right syntax, for example
try:
for entity_alexa in entity_alexa_tts:
hass.services.call('notify.alexa_media', {'message': message, 'data':'type': tts, 'target': media_player.echo_plus})
I don’t know the specific python you’re using, but based off the earlier version you posted, you can try this. I probably won’t help debug it further than this one suggestion.
try:
for entity_alexa in entity_alexa_tts:
hass.services.call('notify', 'alexa_media', {'message': message, 'data':'type': 'tts', 'target': 'media_player.' + entity_alexa})
Probably not; it impacts the help function for the dev-service developer tool. We have an issue to fix it for 0.92 along with another change.
something change in the past couple of days? Went out of town for 4 days, came back and my announcements no longer work. But a manual service call still works fine.
If a manual call still works, then it’s likely it’s not this component. It’s probably a HA issue. One thing to check is if you are able to manually trigger the automation?
Not sure why this fixed it… But I just went to the automations section in the UI. Added one letter to the automation name and saved it, works just fine now. Had to do that with every single automation.
I have the notify hooked up, but it’s not clear to me how I can use this as a “notifier” for the alert component. Is the notifier “alexa_media”? How can I specify the specific target entity?
I have these set up in the ‘last_alexa’ template, but when ask Alexa to report on a script (which has the states.sensor.last_alexa.state set as entity_id) from an account 2 device she only responds in the attic. When I Iook at the States in HA, I can see ‘last_called: true’ for both the attic and 1 device on account 2. This must be because HA doesn’t know how to merge them.
My idea is, is it possible to modify the JSON for the value_template to say something like "map attribute entity_id from ‘last_called=true’ but if multiple trues, based on the timestamp (or log) within HA States of the latest one of the last_called=trues?
Or alternatively if it’s possible to set the other true’s previous state back to false as it’s run?
(Sorry but I’m very much a copy/paste/modify type of programmer, so I couldn’t think of a better way to express this )