-
Notifications
You must be signed in to change notification settings - Fork 304
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Multiple accounts Announcements only working for one account #210
Comments
Are the echo devices shared between the accounts? Announce should be using the logged in owner account for each device to try to send messages. We may have to expose the ability to choose the account because it doesn't look like defaulting to the logged in account works consistently. If you use the app to try to do an announce, does it work if the app is using one account vs another? I may need you to turn on |
The echo devices only have one account associated to them. I use account A to announce on devices downstairs with account A, and account B upstairs on devices with account B.In the Alexa app, I can announce to the devices (A) if logged in to (A) and on (B) if logged in to (B)
|
If you swap the order of the accounts in the configuration.yaml, this doesn't change the behavior right? In your initial report you said you deleted "the" pickle file. I assume you meant you deleted the pickle for for each account correct? Can you please generate some debugging laws with alexapy when you try to do a TTS and an Announce to each device? I'm looking for the specific json showing what we're sending to Alexa. Please scrub sensitive information like |
Yes, I deleted both pickle files. Changing the order in Here is the relevant log:
The customer id seems to be correct, but I noticed that the locale is wrong, I am in Germany and both devices are on a german amazon account:
alexa_media:
accounts:
- email: !secret alexa_upstairs_email
password: !secret alexa_upstairs_password
url: !secret alexa_upstairs_url
- email: !secret alexa_downstairs_email
password: !secret alexa_downstairs_password
url: !secret alexa_downstairs_url and alexa_upstairs_url: "amazon.de"
alexa_downstairs_url: "amazon.de" |
Hmm the locale thing was a stale Alexa app with
second one is the working one. The first one has an empty device array, could that be the problem? |
Yes, it's the fact the devices array is empty. There should be some |
Click to expand home_assistant.log
no target method worked for announce, but all of them work for tts |
Thanks. I think I got it. Are you comfortable replacing files in python? I have a fix for you to test in my branch. It's probably easiest to replace the file since it's based on the alexapy 0.6.0 which we're about to release. Save a backup of the 0.5.0 you have just in case. |
works flawlessly now, thanks |
When adding two accounts, announcements only work on one account.
I deleted the pickle file and updated home assistant, now the other devices from account two can have announcements but not from account one. TTS works on all devices on all accounts.
There are no log entries from alexa_media
The text was updated successfully, but these errors were encountered: