-
-
Notifications
You must be signed in to change notification settings - Fork 8k
alexa devices updates #41622
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
base: current
Are you sure you want to change the base?
alexa devices updates #41622
Changes from all commits
519ca9b
2df9b52
ce7429b
b695df3
a4d9319
e13fbca
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -44,6 +44,8 @@ There is support for the following device families within Home Assistant: | |
|
|
||
| This integration requires multifactor authentication using an authentication app (such as Microsoft Authenticator, for example). To enable MFA, in your Amazon account settings select **Login & Security** > **2-step verification** > **Backup methods** > **Add new app**. See [Amazon's documentation](https://www.amazon.com/gp/help/customer/display.html?nodeId=G9MX9LXNWXFKMJYU) for more information. | ||
|
|
||
| You must ensure the authenticator app is setup as your preferred method for 2FA. | ||
|
|
||
| {% endwarning %} | ||
|
|
||
| {% include integrations/config_flow.md %} | ||
|
|
@@ -160,6 +162,28 @@ data: | |
| text_command: whats the time | ||
| ``` | ||
|
|
||
| ### Set volume | ||
|
|
||
| {% note %} | ||
| Once media player functionality is supported you will be able to achieve this through standard media player actions. | ||
| {% endnote %} | ||
|
|
||
| ```yaml | ||
| action: alexa_devices.send_text_command | ||
| data: | ||
| device_id: 037d79c1af96c67ba57ebcae560fb18e | ||
| text_command: volume 7 | ||
| ``` | ||
|
|
||
| ### Control devices in Alexa | ||
|
|
||
| ```yaml | ||
| action: alexa_devices.send_text_command | ||
| data: | ||
| device_id: 037d79c1af96c67ba57ebcae560fb18e | ||
| text_command: turn study lights off | ||
| ``` | ||
|
|
||
| ### Play BBC Radio 6 | ||
|
|
||
| ```yaml | ||
|
|
@@ -218,17 +242,36 @@ This integration {% term polling polls %} data from the device every 30 seconds | |
|
|
||
| ## Troubleshooting | ||
|
|
||
| ### Can’t set up the integration | ||
| ### Unable to setup | ||
|
|
||
| #### Symptom: "CannotAuthenticate" | ||
|
|
||
| ##### Description | ||
|
|
||
| You will see `MFA OTP code not found on login page` or `Cannot find "auth-mfa-otpcode" in html source` in the logs when trying to set up the integration. This is because the authentication details are incorrect. | ||
|
|
||
| You need to ensure you are: | ||
|
|
||
| - using the right credentials (The ones you would use to log in to the Alexa app and Amazon shopping site) | ||
| - set up to use app based 2FA | ||
| - not set up to receive SMS 2FA codes | ||
|
|
||
| To test this you should log in to your local Amazon shopping site in incognito/private mode in your browser and check you are prompted for the OTP code from your authenticator app, and you are able to log in successfully. | ||
|
|
||
| ### Sensors unavailable | ||
|
|
||
| #### Symptom: "Too many requests" | ||
|
|
||
| You see something similar to | ||
|
|
||
| #### Symptom: "Not found" | ||
| - `Error retrieving devices state: Too many requests for path ['listEndpoints']` | ||
| - `Error retrieving data: CannotRetrieveData('Request failed: Bad Request')` | ||
|
|
||
| When trying to set up the integration, the form shows the message "Not found". | ||
| In logs. | ||
|
Comment on lines
+265
to
+270
|
||
|
|
||
| ##### Description | ||
|
|
||
| This appears to indicate that your Alexa devices aren't owned by you, but are connected through Amazon Family. | ||
| This setup isn't supported by the Alexa Mobile app, so it's not supported by this integration. | ||
| Move the devices to your primary account. | ||
| This happens because of rate limits applied by Amazon. We are working to reduce these errors. If these errors are causing you issues, you can disable polling for the integration. Disabling polling will stop these errors, but it will also stop DND, sensors, and connectivity from being updated. However, speech, announcements, and text commands will continue to work. | ||
|
|
||
| ## Removing the integration | ||
|
|
||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
According to the coding guidelines, lists should be surrounded by blank lines. There should be a blank line before the list starts.