alandtse / alexa_media_player

This is a custom component to allow control of Amazon Alexa devices in Home Assistant using the unofficial Alexa API.
Apache License 2.0
1.44k stars 275 forks source link

Echo Glow Devices no longer being recognized #2350

Closed bdf0506 closed 1 month ago

bdf0506 commented 1 month ago

IMPORTANT: Please search the issues, including closed issues, and the FAQ before opening a new issue. The template is mandatory; failure to use it will result in issue closure.

Describe the bug

Echo Glow devices are no longer being recognized by this integration. It looks like this issue may have been addressed in #2185, but post closure of the issue, there are still reports of issues happening. Might also be related to #2344

To Reproduce

  1. Connect an Echo Glow Device to your Amazon account.
  2. It will show up in the debug log as an unsupported device, despite it previously being supported. Unsure at what point it stopped working.

Expected behavior

The integration should process this device as a supported light entity. #680 is the initial support for this device type in this integration.

Screenshots

n/a

System details

Logs Please provide logs.

2024-07-21 10:20:40.759 DEBUG (MainThread) [custom_components.alexa_media.alexa_entity] Found unsupported device {'applianceId': 'AAA_SonarCloudService_00PgJs-vMoWMNHGYq<redacted>BLzk9G9nWN2bHcHn-EmRYg', 'endpointTypeId': 'A2OV3VSK41OD7X', 'driverIdentity': {'namespace': 'AAA', 'identifier': 'SonarCloudService'}, 'manufacturerName': 'Amazon', 'friendlyDescription': 'Amazon branded Smart Light', 'modelName': '', 'deviceType': '', 'version': '0', 'friendlyName': 'First light', 'friendlyNameModifiedAt': 1682551996772, 'capabilitiesModifiedAt': 1682551996772, 'ipAddress': '', 'port': '', 'entityId': '6f7f269a<redacted>', 'applianceNetworkState': {'reachability': 'REACHABLE', 'lastSeenAt': 1721571640312, 'createdAt': 1682551996772, 'lastSeenDiscoverySessionId': {'value': '4c63b196-a1b5-4a4f-ac79-ac5267be208f'}}, 'tags': {'tagNameToValueSetMap': {}}, 'additionalApplianceDetails': {'additionalApplianceDetails': {'deviceType': 'A2OV3VSK41OD7X', 'configurationVersion': '1', 'swVersion': '101000004', 'regionIdentifier': '00.ATVPDKIKX0DER', 'deviceSerialNumber': '<redacted>'}}, 'firmwareVersion': '0', 'actions': [], 'capabilities': [{'capabilityType': 'AVSInterfaceCapability', 'type': 'AlexaInterface', 'version': '3', 'properties': {'supported': [{'name': 'powerState'}], 'proactivelyReported': True, 'retrievable': True, 'readOnly': False}, 'interfaceName': 'Alexa.PowerController'}, {'capabilityType': 'AVSInterfaceCapability', 'type': 'AlexaInterface', 'version': '3', 'properties': {'supported': [{'name': 'mode'}], 'proactivelyReported': True, 'retrievable': True, 'readOnly': False}, 'configuration': {'ordered': False, 'supportedModes': [{'value': '4', 'modeResources': {'friendlyNames': [{'value': {'assetId': 'Alexa.Value.Campfire'}, '@type': 'asset'}]}}, {'value': '6', 'modeResources': {'friendlyNames': [{'value': {'assetId': 'Alexa.Value.Christmas'}, '@type': 'asset'}]}}, {'value': '3', 'modeResources': {'friendlyNames': [{'value': {'assetId': 'Alexa.Value.ColorFlow'}, '@type': 'asset'}, {'value': {'assetId': 'Alexa.Value.Rainbow'}, '@type': 'asset'}]}}, {'value': '5', 'modeResources': {'friendlyNames': [{'value': {'assetId': 'Alexa.Value.Disco'}, '@type': 'asset'}]}}, {'value': '13', 'modeResources': {'friendlyNames': [{'value': {'assetId': 'Alexa.Value.Dragonfire'}, '@type': 'asset'}]}}, {'value': '11', 'modeResources': {'friendlyNames': [{'value': {'assetId': 'Alexa.Value.Firetruck'}, '@type': 'asset'}]}}, {'value': '7', 'modeResources': {'friendlyNames': [{'value': {'assetId': 'Alexa.Value.Hanukkah'}, '@type': 'asset'}]}}, {'value': '8', 'modeResources': {'friendlyNames': [{'value': {'assetId': 'Alexa.Value.Kwanzaa'}, '@type': 'asset'}]}}, {'value': '2', 'modeResources': {'friendlyNames': [{'value': {'assetId': 'Alexa.Value.MoodLight'}, '@type': 'asset'}]}}, {'value': '14', 'modeResources': {'friendlyNames': [{'value': {'assetId': 'Alexa.Value.NightOwl'}, '@type': 'asset'}]}}, {'value': '10', 'modeResources': {'friendlyNames': [{'value': {'assetId': 'Alexa.Value.Siren'}, '@type': 'asset'}]}}, {'value': '1', 'modeResources': {'friendlyNames': [{'value': {'assetId': 'Alexa.Value.SolidColor'}, '@type': 'asset'}, {'value': {'assetId': 'Alexa.Value.SingleColor'}, '@type': 'asset'}, {'value': {'assetId': 'Alexa.Value.Normal'}, '@type': 'asset'}]}}, {'value': '12', 'modeResources': {'friendlyNames': [{'value': {'assetId': 'Alexa.Value.Underwater'}, '@type': 'asset'}]}}, {'value': '9', 'modeResources': {'friendlyNames': [{'value': {'assetId': 'Alexa.Value.Valentines'}, '@type': 'asset'}]}}]}, 'resources': {'friendlyNames': [{'value': {'assetId': 'Alexa.Setting.Mode'}, '@type': 'asset'}]}, 'instance': '1', 'interfaceName': 'Alexa.ModeController'}, {'capabilityType': 'AVSInterfaceCapability', 'type': 'AlexaInterface', 'version': '3', 'properties': {'supported': [{'name': 'color'}], 'proactivelyReported': True, 'retrievable': True, 'readOnly': False}, 'interfaceName': 'Alexa.ColorController'}, {'capabilityType': 'AVSInterfaceCapability', 'type': 'AlexaInterface', 'version': '3', 'properties': {'supported': [{'name': 'brightness'}], 'proactivelyReported': True, 'retrievable': True, 'readOnly': False}, 'interfaceName': 'Alexa.BrightnessController'}, {'capabilityType': 'AVSInterfaceCapability', 'type': 'AlexaInterface', 'version': '3', 'properties': {'supported': [{'name': 'toggleState'}], 'proactivelyReported': True, 'retrievable': True, 'readOnly': False}, 'resources': {'friendlyNames': [{'value': {'assetId': 'Alexa.Setting.Tap'}, '@type': 'asset'}, {'value': {'assetId': 'Alexa.Value.TapControl'}, '@type': 'asset'}, {'value': {'assetId': 'Alexa.Value.Tapping'}, '@type': 'asset'}]}, 'instance': '3', 'interfaceName': 'Alexa.ToggleController'}, {'capabilityType': 'AVSInterfaceCapability', 'type': 'AlexaInterface', 'version': '3', 'properties': {'supported': [{'name': 'connectivity'}], 'proactivelyReported': True, 'retrievable': True, 'readOnly': False}, 'interfaceName': 'Alexa.EndpointHealth'}], 'applianceTypes': ['LIGHT'], 'isEnabled': True, 'aliases': [{'friendlyName': 'Night Light', 'id': {'uuid': 'e3f8cb82-790b-40b6-a2a9-8d400bcb59d8', 'type': 'ALIAS'}, 'enabled': True}], 'connectedVia': '', 'alexaDeviceIdentifierList': [{'dmsDeviceSerialNumber': '<redacted>', 'dmsDeviceTypeId': 'A2OV3VSK41OD7X'}], 'applianceKey': '6f7f269a-57dc-4e09-a6cc-45565b178420', 'identifiers': {'networkInterfaceIdentifiers': []}, 'ipaddress': '', 'applianceLambdaControlled': True, 'applianceDriverIdentity': {'namespace': 'AAA', 'identifier': 'SonarCloudService'}, 'mergedApplianceIds': ['AAA_SonarCloudService_00PgJs-vMo<redacted>bHcHn-EmRYg']}

Formatted JSON for ease of reading:

{
   "applianceId":"AAA_SonarCloudService_00PgJs-vMoWMNHGYq<redacted>BLzk9G9nWN2bHcHn-EmRYg",
   "endpointTypeId":"A2OV3VSK41OD7X",
   "driverIdentity":{
      "namespace":"AAA",
      "identifier":"SonarCloudService"
   },
   "manufacturerName":"Amazon",
   "friendlyDescription":"Amazon branded Smart Light",
   "modelName":"",
   "deviceType":"",
   "version":"0",
   "friendlyName":"First light",
   "friendlyNameModifiedAt":1682551996772,
   "capabilitiesModifiedAt":1682551996772,
   "ipAddress":"",
   "port":"",
   "entityId":"6f7f269a<redacted>",
   "applianceNetworkState":{
      "reachability":"REACHABLE",
      "lastSeenAt":1721571640312,
      "createdAt":1682551996772,
      "lastSeenDiscoverySessionId":{
         "value":"4c63b196-a1b5-4a4f-ac79-ac5267be208f"
      }
   },
   "tags":{
      "tagNameToValueSetMap":{

      }
   },
   "additionalApplianceDetails":{
      "additionalApplianceDetails":{
         "deviceType":"A2OV3VSK41OD7X",
         "configurationVersion":"1",
         "swVersion":"101000004",
         "regionIdentifier":"00.ATVPDKIKX0DER",
         "deviceSerialNumber":"<redacted>"
      }
   },
   "firmwareVersion":"0",
   "actions":[

   ],
   "capabilities":[
      {
         "capabilityType":"AVSInterfaceCapability",
         "type":"AlexaInterface",
         "version":"3",
         "properties":{
            "supported":[
               {
                  "name":"powerState"
               }
            ],
            "proactivelyReported":true,
            "retrievable":true,
            "readOnly":false
         },
         "interfaceName":"Alexa.PowerController"
      },
      {
         "capabilityType":"AVSInterfaceCapability",
         "type":"AlexaInterface",
         "version":"3",
         "properties":{
            "supported":[
               {
                  "name":"mode"
               }
            ],
            "proactivelyReported":true,
            "retrievable":true,
            "readOnly":false
         },
         "configuration":{
            "ordered":false,
            "supportedModes":[
               {
                  "value":"4",
                  "modeResources":{
                     "friendlyNames":[
                        {
                           "value":{
                              "assetId":"Alexa.Value.Campfire"
                           },
                           "@type":"asset"
                        }
                     ]
                  }
               },
               {
                  "value":"6",
                  "modeResources":{
                     "friendlyNames":[
                        {
                           "value":{
                              "assetId":"Alexa.Value.Christmas"
                           },
                           "@type":"asset"
                        }
                     ]
                  }
               },
               {
                  "value":"3",
                  "modeResources":{
                     "friendlyNames":[
                        {
                           "value":{
                              "assetId":"Alexa.Value.ColorFlow"
                           },
                           "@type":"asset"
                        },
                        {
                           "value":{
                              "assetId":"Alexa.Value.Rainbow"
                           },
                           "@type":"asset"
                        }
                     ]
                  }
               },
               {
                  "value":"5",
                  "modeResources":{
                     "friendlyNames":[
                        {
                           "value":{
                              "assetId":"Alexa.Value.Disco"
                           },
                           "@type":"asset"
                        }
                     ]
                  }
               },
               {
                  "value":"13",
                  "modeResources":{
                     "friendlyNames":[
                        {
                           "value":{
                              "assetId":"Alexa.Value.Dragonfire"
                           },
                           "@type":"asset"
                        }
                     ]
                  }
               },
               {
                  "value":"11",
                  "modeResources":{
                     "friendlyNames":[
                        {
                           "value":{
                              "assetId":"Alexa.Value.Firetruck"
                           },
                           "@type":"asset"
                        }
                     ]
                  }
               },
               {
                  "value":"7",
                  "modeResources":{
                     "friendlyNames":[
                        {
                           "value":{
                              "assetId":"Alexa.Value.Hanukkah"
                           },
                           "@type":"asset"
                        }
                     ]
                  }
               },
               {
                  "value":"8",
                  "modeResources":{
                     "friendlyNames":[
                        {
                           "value":{
                              "assetId":"Alexa.Value.Kwanzaa"
                           },
                           "@type":"asset"
                        }
                     ]
                  }
               },
               {
                  "value":"2",
                  "modeResources":{
                     "friendlyNames":[
                        {
                           "value":{
                              "assetId":"Alexa.Value.MoodLight"
                           },
                           "@type":"asset"
                        }
                     ]
                  }
               },
               {
                  "value":"14",
                  "modeResources":{
                     "friendlyNames":[
                        {
                           "value":{
                              "assetId":"Alexa.Value.NightOwl"
                           },
                           "@type":"asset"
                        }
                     ]
                  }
               },
               {
                  "value":"10",
                  "modeResources":{
                     "friendlyNames":[
                        {
                           "value":{
                              "assetId":"Alexa.Value.Siren"
                           },
                           "@type":"asset"
                        }
                     ]
                  }
               },
               {
                  "value":"1",
                  "modeResources":{
                     "friendlyNames":[
                        {
                           "value":{
                              "assetId":"Alexa.Value.SolidColor"
                           },
                           "@type":"asset"
                        },
                        {
                           "value":{
                              "assetId":"Alexa.Value.SingleColor"
                           },
                           "@type":"asset"
                        },
                        {
                           "value":{
                              "assetId":"Alexa.Value.Normal"
                           },
                           "@type":"asset"
                        }
                     ]
                  }
               },
               {
                  "value":"12",
                  "modeResources":{
                     "friendlyNames":[
                        {
                           "value":{
                              "assetId":"Alexa.Value.Underwater"
                           },
                           "@type":"asset"
                        }
                     ]
                  }
               },
               {
                  "value":"9",
                  "modeResources":{
                     "friendlyNames":[
                        {
                           "value":{
                              "assetId":"Alexa.Value.Valentines"
                           },
                           "@type":"asset"
                        }
                     ]
                  }
               }
            ]
         },
         "resources":{
            "friendlyNames":[
               {
                  "value":{
                     "assetId":"Alexa.Setting.Mode"
                  },
                  "@type":"asset"
               }
            ]
         },
         "instance":"1",
         "interfaceName":"Alexa.ModeController"
      },
      {
         "capabilityType":"AVSInterfaceCapability",
         "type":"AlexaInterface",
         "version":"3",
         "properties":{
            "supported":[
               {
                  "name":"color"
               }
            ],
            "proactivelyReported":true,
            "retrievable":true,
            "readOnly":false
         },
         "interfaceName":"Alexa.ColorController"
      },
      {
         "capabilityType":"AVSInterfaceCapability",
         "type":"AlexaInterface",
         "version":"3",
         "properties":{
            "supported":[
               {
                  "name":"brightness"
               }
            ],
            "proactivelyReported":true,
            "retrievable":true,
            "readOnly":false
         },
         "interfaceName":"Alexa.BrightnessController"
      },
      {
         "capabilityType":"AVSInterfaceCapability",
         "type":"AlexaInterface",
         "version":"3",
         "properties":{
            "supported":[
               {
                  "name":"toggleState"
               }
            ],
            "proactivelyReported":true,
            "retrievable":true,
            "readOnly":false
         },
         "resources":{
            "friendlyNames":[
               {
                  "value":{
                     "assetId":"Alexa.Setting.Tap"
                  },
                  "@type":"asset"
               },
               {
                  "value":{
                     "assetId":"Alexa.Value.TapControl"
                  },
                  "@type":"asset"
               },
               {
                  "value":{
                     "assetId":"Alexa.Value.Tapping"
                  },
                  "@type":"asset"
               }
            ]
         },
         "instance":"3",
         "interfaceName":"Alexa.ToggleController"
      },
      {
         "capabilityType":"AVSInterfaceCapability",
         "type":"AlexaInterface",
         "version":"3",
         "properties":{
            "supported":[
               {
                  "name":"connectivity"
               }
            ],
            "proactivelyReported":true,
            "retrievable":true,
            "readOnly":false
         },
         "interfaceName":"Alexa.EndpointHealth"
      }
   ],
   "applianceTypes":[
      "LIGHT"
   ],
   "isEnabled":true,
   "aliases":[
      {
         "friendlyName":"Night Light",
         "id":{
            "uuid":"e3f8cb82-790b-40b6-a2a9-8d400bcb59d8",
            "type":"ALIAS"
         },
         "enabled":true
      }
   ],
   "connectedVia":"",
   "alexaDeviceIdentifierList":[
      {
         "dmsDeviceSerialNumber":"<redacted>",
         "dmsDeviceTypeId":"A2OV3VSK41OD7X"
      }
   ],
   "applianceKey":"6f7f269a-57dc-4e09-a6cc-45565b178420",
   "identifiers":{
      "networkInterfaceIdentifiers":[

      ]
   },
   "ipaddress":"",
   "applianceLambdaControlled":true,
   "applianceDriverIdentity":{
      "namespace":"AAA",
      "identifier":"SonarCloudService"
   },
   "mergedApplianceIds":[
      "AAA_SonarCloudService_00PgJs-vMo<redacted>bHcHn-EmRYg"
   ]
}

Additional context

SConaway commented 1 month ago

Looks like this is being tracked here: https://github.com/alandtse/alexa_media_player/issues/2344

danielbrunt57 commented 1 month ago

@bdf0506

  • alexa_media (version from const.py or HA startup): 4.11.1

Include devices connected via Echo was broken is releases 4.11.1 to 4.11.4 but has been resolved in 4.11.5. Please upgrade to the latest integration release and if your issue is resolved, would you be so kind as to close it? Thanks!

SConaway commented 1 month ago

You might need to turn the option on and off a few times to get it to work too, I had to.

danielbrunt57 commented 1 month ago

I'm looking for testers for my current: __init__.py.zip

** Note - it is still a WIP but it currently seems to address:

danielbrunt57 commented 1 month ago

@bdf0506 I was going to get one of these to test but I'm sorry to report that the Amazon Echo Glow Device for Kids was discontinued by Amazon on December 31, 2022: Amazon axes Glow video-calling device for kids - CNBC Customer reviews: Amazon Glow | Video-Calling &amp

It appears that while it may still work for you locally within your Amazon cloud network of devices, I strongly suspect that since the continual advancement of the Amazon infrastructure and what we are able get programmatically from it is in constant flux, I strongly believe that the integration can no longer support a device that we no longer have access to at an HTTP/S level.

bdf0506 commented 1 month ago

Apologies for not being able to test this. I’ll be able to get to this in a couple of days.

However, the device that’s referenced in my initial logs (Echo Glow) is not the one you’ve linked (Amazon Glow). The Echo Glow light which is still for sale, is really just like a smart bulb.

https://a.co/d/7czphVh

listlesslife commented 1 month ago

@danielbrunt57 As mentioned previously, the issue at hand is not with the Amazon Glow devices (although there may be understandable problems with that). It's the Echo Glow devices (a big frosted RBG light) that have become unavailable within HA. Amazon is still selling them, they're still working in the Alexa app without issue, so they're likely still supported by Amazon. I think it's been about a month or more since these devices became unavailable in HA.

danielbrunt57 commented 1 month ago

Found it: https://www.amazon.com/Echo-Glow-Multicolor-Certified-Compatible/dp/B07KRY43KN?ie=UTF8&useRedirectOnSuccess=1&ref_=dex_glow_signin&path=%2FEcho-Glow-Multicolor-Certified-Compatible%2Fdp%2FB07KRY43KN

Unfortunately, unless I were to personally acquire one to debug it, I don't see how I can help...