#Unknown Error Occurred for Alexa Devices

1 messages · Page 1 of 1 (latest)

restive kiln
gilded forum
#

Hi

#

yeah via discord is way better

#

First of all, are you using the old AMP integration ?

restive kiln
#

No. I was some time ago, but killed it when it became useless for me. I double checked today

gilded forum
#

I would need more lines of the log to see if the call fails or there is somehow another issue

restive kiln
#

It gave a wall of text before failing. It did output these files though. Would any of them be useful?

gilded forum
#

is enough the data on the console

#

should be logging all the info needed

#

the file you are seeing there are the replies from amazon site ( you can disable craeting them with the save settings key )

#

Now that I look closer I see a "api-dnd.json" so

#

can you open it and check how many devices are reported there ?

#

and how many you have on the Alexa mobile app ?

restive kiln
#

I have 9 devices on the DND list, but all with enabled = false.

gilded forum
#

which is probably true as you don't have the DND active on them

restive kiln
#

^ output of the console log. Let me know if you can't access it

gilded forum
#

trying

#

Seems ok from your log:

#

2025-06-12 10:22:09.743 DEBUG (MainThread) [aioamazondevices] Response URL: https://alexa.amazon.com/api/dnd/device-status-list 2025-06-12 10:22:09.743 DEBUG (MainThread) [aioamazondevices] Response code: |200| 2025-06-12 10:22:09.743 DEBUG (MainThread) [aioamazondevices] Response data: |{"doNotDisturbDeviceStatusList":[{"deviceSerialNumber":"G091P306118301GE","deviceType":"A1XWJRHALS1REP","enabled":false},{"deviceSerialNumber":"G6G1GG10143503ED","deviceType":"A15996VY63BQ2D","enabled":false},{"deviceSerialNumber":"11a1507d81dd4d7c9a83eb9110c89d6c","deviceType":"A3C9PE6TNYLTCH","enabled":false},{"deviceSerialNumber":"85385bf837a249478f3f9f8419bfcb93","deviceType":"A3C9PE6TNYLTCH","enabled":false},{"deviceSerialNumber":"G091EU07047712JW","deviceType":"A2U21SRK4QGSE1","enabled":false},{"deviceSerialNumber":"G6G1EV0704570M1T","deviceType":"A2U21SRK4QGSE1","enabled":false},{"deviceSerialNumber":"66810536505649b8a53c7c7b00f69e33","deviceType":"A3C9PE6TNYLTCH","enabled":false},{"deviceSerialNumber":"G8M2HN04335403R2","deviceType":"ASQZWP4GPYUT7","enabled":false},{"deviceSerialNumber":"13268E172C8D468DBAFF8EC4433CABE0","deviceType":"A2IVLV5VM2W81","enabled":false}]}|

#

We need to understand for which device it fails

#

if I tell you what to change, can you modify the library python files ?

restive kiln
#

Ya, I can

gilded forum
#

nice!

#

add:
_LOGGER.debug("Creating AmazonDevice for %s", device)

#

so we can get which is the offending device