Thanks. Seems that mixed things up a bit Will dig into this.
Hello, I changed my password on the amazon website, now my echo devices appear as “unavailable”. I would like to update the password but I don’t know where to change it.
I tried to uninstall the Alexa Media Player on HACS, remove the integration, install again and perform the integration again, but it remains on this screen forever:
“Wait while the integration is being installed”
The email and password options do not appear.
Can anybody help me?
remove the integration, restart HA, then install again and you should be prompted for username and password, captcha etc…
Thank you for responding. I already did that, stay on that screen “Wait while the integration is being installed” and there is no screen to enter password, user and captcha.
Any idea why setting the echo show background does not work if file is pointing to a duck dns URL? This works if I replace the url with: https://home-assistant.io/images/cast/splash.png
I have verified that the duckdns url is correct. I even opened the URL from the echo show using the web browser.
service: media_player.play_media
data:
entity_id: media_player.echo_show
media_content_type: image
media_content_id: "https://myownurl.duckdns.org/local/splash_images/garbage.png"
I’ve seen this in a dev system but haven’t been able to determine why. It’s an issue with HA trying to install the dependency but not completing or returning any errors. The workaround is to install the dependency manually and restart but you’ll probably run into a continuing issue with any attempt to install dependencies.
Amazon appears to do some undetermined checking on the link. This includes https cert checks and maybe it’s checking resolution/meta data of the image. Someone probably needs to experiment and document it on the wiki for everyone.
That’s a HA error. I can’t help you with that.
Hello,
i installed the component via HACS and always when i try to configure it, i get following error, what do i do wrong?
Thx in advance Wiesl
Make sure that you use the correct amazon URL for your country
i do with:
the error log means something with a Cookie Error… can i reset them in any way?
@Wiesl the same to me. Registering is only possible with amazon.com. so if you do so, the integration does work (but with conflicts in tts function. There is no speech/notify output possible). But if i try to change to amazon.de in the configuration.yaml, it doesn´t work for me. HA tries to configure the integration again, whether the other integration (created with amazon.com) is although there …
Hi, the first time, that my wife wanted to use the alexa integration in order to give out a text per speech. Alexa integration was broken, entring a captcha didn’t work, I had to restart and my wife was bugged. Its annoying. All in all, the integration is still shaky. A little annoying meanwhile
Its no blaming, please do not misunderstand. I know how difficult it is, to develop an interface against an api which is still under construction. But anyway, I’m starting to be open for an alternate, which is more reliable. Sorry, I had to write down my frustration. Tomorrow everything will be fine again.
I will have a beer now and start the weekend.
.
just in case someone wants to know the proper JSON to build in Node-RED for the latest and greatest, this is it. Yeah, it is posted somewhere in the 4073 posts before this, but a little refresher never hurt anybody
return { "payload": {
"service": "alexa_media_your_device", // Find in Developer Tools > Services, type "alexa_"
"domain": "notify",
"data": {
"message": "Message from a function in Node-RED",
"data": {
"type": "tts"
}
}
}
};
What is the alternative?
Yo, that’s the question. For the time being there is no alternate.
I expect a solution from Nabu Casa. That would be great.
In anycase, google is definately no alternate for me.
I didn’t think there was an official API, just reverse engineering?
My integration with Alexa media player stopped worked a few days ago. While trying to connect to Amazon, they send push notification to my mobile, I approve access from HA, but can’t connect.
Tried to reinstall Alexa media player,- can’t install because of the same problem during installation.
Managed to solve it after adding two-step verification in Amazon.
Hi All,
Suddenly I see this error:
HA 0.1114.1
Alexa Media Player: v2.10.1
2020-08-16 21:26:33 ERROR (MainThread) [alexapy.helpers] alexaapi.get_devices((<alexapy.alexalogin.AlexaLogin object at 0xacf96f70>,), {}): A login error occured: An exception of type JSONDecodeError occurred. Arguments:
('Expecting value: line 1 column 1 (char 0)',)
2020-08-16 21:26:33 ERROR (MainThread) [alexapy.helpers] alexaapi.get_notifications((<alexapy.alexalogin.AlexaLogin object at 0xacf96f70>,), {}): A login error occured: An exception of type JSONDecodeError occurred. Arguments:
('Expecting value: line 1 column 1 (char 0)',)
2020-08-16 21:26:33 ERROR (MainThread) [custom_components.alexa_media] Unexpected error fetching alexa_media data: object NoneType can't be used in 'await' expression
Traceback (most recent call last):
File "/usr/local/lib/python3.8/site-packages/alexapy/helpers.py", line 111, in wrapper
return await func(*args, **kwargs)
File "/usr/local/lib/python3.8/site-packages/alexapy/alexaapi.py", line 901, in get_devices
(await response.json(content_type=None))["devices"]
File "/usr/local/lib/python3.8/site-packages/alexapy/aiohttp/client_reqrep.py", line 1095, in json
return loads(stripped.decode(encoding))
File "/usr/local/lib/python3.8/json/__init__.py", line 357, in loads
return _default_decoder.decode(s)
File "/usr/local/lib/python3.8/json/decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/local/lib/python3.8/json/decoder.py", line 355, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/config/custom_components/alexa_media/__init__.py", line 298, in async_update_data
) = await asyncio.gather(*tasks)
File "/usr/local/lib/python3.8/site-packages/alexapy/helpers.py", line 131, in wrapper
raise AlexapyLoginError
alexapy.errors.AlexapyLoginError
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 143, in async_refresh
self.data = await self._async_update_data()
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 131, in _async_update_data
return await self.update_method()
File "/config/custom_components/alexa_media/__init__.py", line 314, in async_update_data
await hass.bus.async_fire(
TypeError: object NoneType can't be used in 'await' expression
2020-08-16 21:26:33 ERROR (MainThread) [alexapy.helpers] alexaapi.get_bluetooth((<alexapy.alexalogin.AlexaLogin object at 0xacf96f70>,), {}): A login error occured: An exception of type JSONDecodeError occurred. Arguments:
('Expecting value: line 1 column 1 (char 0)',)
2020-08-16 21:26:33 ERROR (MainThread) [alexapy.helpers] alexaapi.get_dnd_state((<alexapy.alexalogin.AlexaLogin object at 0xacf96f70>,), {}): A login error occured: An exception of type JSONDecodeError occurred. Arguments:
('Expecting value: line 1 column 1 (char 0)',)
2020-08-16 21:26:33 ERROR (MainThread) [alexapy.helpers] alexaapi.get_device_preferences((<alexapy.alexalogin.AlexaLogin object at 0xacf96f70>,), {}): A login error occured: An exception of type JSONDecodeError occurred. Arguments:
('Expecting value: line 1 column 1 (char 0)',)
2020-08-16 21:46:35 ERROR (MainThread) [alexapy.helpers] alexaapi.get_notifications((<alexapy.alexalogin.AlexaLogin object at 0xacf96f70>,), {}): A login error occured: An exception of type JSONDecodeError occurred. Arguments:
('Expecting value: line 1 column 1 (char 0)',)
2020-08-16 21:46:35 ERROR (MainThread) [alexapy.helpers] alexaapi.get_bluetooth((<alexapy.alexalogin.AlexaLogin object at 0xacf96f70>,), {}): A login error occured: An exception of type JSONDecodeError occurred. Arguments:
('Expecting value: line 1 column 1 (char 0)',)
2020-08-16 21:46:35 ERROR (MainThread) [alexapy.helpers] alexaapi.get_devices((<alexapy.alexalogin.AlexaLogin object at 0xacf96f70>,), {}): A login error occured: An exception of type JSONDecodeError occurred. Arguments:
('Expecting value: line 1 column 1 (char 0)',)
2020-08-16 21:46:35 ERROR (MainThread) [alexapy.helpers] alexaapi.get_dnd_state((<alexapy.alexalogin.AlexaLogin object at 0xacf96f70>,), {}): A login error occured: An exception of type JSONDecodeError occurred. Arguments:
('Expecting value: line 1 column 1 (char 0)',)
2020-08-16 21:46:35 ERROR (MainThread) [alexapy.helpers] alexaapi.get_device_preferences((<alexapy.alexalogin.AlexaLogin object at 0xacf96f70>,), {}): A login error occured: An exception of type JSONDecodeError occurred. Arguments:
('Expecting value: line 1 column 1 (char 0)',)
2020-08-16 21:46:35 ERROR (MainThread) [custom_components.alexa_media] Unexpected error fetching alexa_media data: object NoneType can't be used in 'await' expression
Traceback (most recent call last):
File "/usr/local/lib/python3.8/site-packages/alexapy/helpers.py", line 111, in wrapper
return await func(*args, **kwargs)
File "/usr/local/lib/python3.8/site-packages/alexapy/alexaapi.py", line 1101, in get_notifications
(await response.json(content_type=None))["notifications"]
File "/usr/local/lib/python3.8/site-packages/alexapy/aiohttp/client_reqrep.py", line 1095, in json
return loads(stripped.decode(encoding))
File "/usr/local/lib/python3.8/json/__init__.py", line 357, in loads
return _default_decoder.decode(s)
File "/usr/local/lib/python3.8/json/decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/local/lib/python3.8/json/decoder.py", line 355, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/config/custom_components/alexa_media/__init__.py", line 298, in async_update_data
) = await asyncio.gather(*tasks)
File "/usr/local/lib/python3.8/site-packages/alexapy/helpers.py", line 131, in wrapper
raise AlexapyLoginError
alexapy.errors.AlexapyLoginError
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 143, in async_refresh
self.data = await self._async_update_data()
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 131, in _async_update_data
return await self.update_method()
File "/config/custom_components/alexa_media/__init__.py", line 314, in async_update_data
await hass.bus.async_fire(
TypeError: object NoneType can't be used in 'await' expression
2020-08-16 22:06:36 ERROR (MainThread) [alexapy.helpers] alexaapi.get_notifications((<alexapy.alexalogin.AlexaLogin object at 0xacf96f70>,), {}): A login error occured: An exception of type JSONDecodeError occurred. Arguments:
('Expecting value: line 1 column 1 (char 0)',)
2020-08-16 22:06:36 ERROR (MainThread) [custom_components.alexa_media] Unexpected error fetching alexa_media data: object NoneType can't be used in 'await' expression
Traceback (most recent call last):
File "/usr/local/lib/python3.8/site-packages/alexapy/helpers.py", line 111, in wrapper
return await func(*args, **kwargs)
File "/usr/local/lib/python3.8/site-packages/alexapy/alexaapi.py", line 1101, in get_notifications
(await response.json(content_type=None))["notifications"]
File "/usr/local/lib/python3.8/site-packages/alexapy/aiohttp/client_reqrep.py", line 1095, in json
return loads(stripped.decode(encoding))
File "/usr/local/lib/python3.8/json/__init__.py", line 357, in loads
return _default_decoder.decode(s)
File "/usr/local/lib/python3.8/json/decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/local/lib/python3.8/json/decoder.py", line 355, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/config/custom_components/alexa_media/__init__.py", line 298, in async_update_data
) = await asyncio.gather(*tasks)
File "/usr/local/lib/python3.8/site-packages/alexapy/helpers.py", line 131, in wrapper
raise AlexapyLoginError
alexapy.errors.AlexapyLoginError
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 143, in async_refresh
self.data = await self._async_update_data()
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 131, in _async_update_data
return await self.update_method()
File "/config/custom_components/alexa_media/__init__.py", line 314, in async_update_data
await hass.bus.async_fire(
TypeError: object NoneType can't be used in 'await' expression
2020-08-16 22:06:36 ERROR (MainThread) [alexapy.helpers] alexaapi.get_devices((<alexapy.alexalogin.AlexaLogin object at 0xacf96f70>,), {}): A login error occured: An exception of type JSONDecodeError occurred. Arguments:
('Expecting value: line 1 column 1 (char 0)',)
2020-08-16 22:06:36 ERROR (MainThread) [alexapy.helpers] alexaapi.get_device_preferences((<alexapy.alexalogin.AlexaLogin object at 0xacf96f70>,), {}): A login error occured: An exception of type JSONDecodeError occurred. Arguments:
('Expecting value: line 1 column 1 (char 0)',)
2020-08-16 22:06:36 ERROR (MainThread) [alexapy.helpers] alexaapi.get_dnd_state((<alexapy.alexalogin.AlexaLogin object at 0xacf96f70>,), {}): A login error occured: An exception of type JSONDecodeError occurred. Arguments:
('Expecting value: line 1 column 1 (char 0)',)
2020-08-16 22:06:36 ERROR (MainThread) [alexapy.helpers] alexaapi.get_bluetooth((<alexapy.alexalogin.AlexaLogin object at 0xacf96f70>,), {}): A login error occured: An exception of type JSONDecodeError occurred. Arguments:
('Expecting value: line 1 column 1 (char 0)',)