Thank you for your reply!
- This was the issue. I feel so silly! Before, I saved the files with “right click & save” and thought that they were raw copied, but lot of HTML stuff were inside. Now I copied and pasted raw code.
Unfortunately, it seems I still have an issue. Before, HA closed during start-up, now HA start-up is regular, but it prompts a config error in alexa_media and I cannot discover any configuration device. Below again the alexa_media part in the configuration.yaml
alexa_media:
accounts:
- email: [email protected]
password: *****
url: amazon.it
And below the log in which some lines are related to alexa_media.
2019-06-28 09:42:18 WARNING (MainThread) [homeassistant.loader] You are using a custom component for alexa_media which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you do experience issues with Home Assistant.
2019-06-28 09:42:21 WARNING (Recorder) [homeassistant.components.recorder] Ended unfinished session (id=85 from 2019-06-28 07:39:18.911452)
2019-06-28 09:42:22 ERROR (MainThread) [homeassistant.setup] Error during setup of component alexa_media
Traceback (most recent call last):
File "C:\Users\Gianluca\AppData\Local\Programs\Python\Python37-32\lib\site-packages\homeassistant\setup.py", line 154, in _async_setup_component
component.setup, hass, processed_config) # type: ignore
File "C:\Users\Gianluca\AppData\Local\Programs\Python\Python37-32\lib\concurrent\futures\thread.py", line 57, in run
result = self.fn(*self.args, **self.kwargs)
File "C:\Users\Gianluca\AppData\Roaming\.homeassistant\custom_components\alexa_media\__init__.py", line 173, in setup
from alexapy import AlexaLogin, __version__ as alexapy_version
ModuleNotFoundError: No module named 'alexapy'
2019-06-28 09:42:22 ERROR (MainThread) [homeassistant.config_entries] Error setting up entry UPnP/IGD for upnp
Traceback (most recent call last):
File "C:\Users\Gianluca\AppData\Local\Programs\Python\Python37-32\lib\site-packages\homeassistant\config_entries.py", line 302, in async_setup
result = await component.async_setup_entry(hass, self)
File "C:\Users\Gianluca\AppData\Local\Programs\Python\Python37-32\lib\site-packages\homeassistant\components\upnp\__init__.py", line 134, in async_setup_entry
config_entry.data.get('udn'))
File "C:\Users\Gianluca\AppData\Local\Programs\Python\Python37-32\lib\site-packages\homeassistant\components\upnp\__init__.py", line 81, in async_discover_and_construct
discovery_infos = await Device.async_discover(hass)
File "C:\Users\Gianluca\AppData\Local\Programs\Python\Python37-32\lib\site-packages\homeassistant\components\upnp\device.py", line 32, in async_discover
discovery_infos = await IgdDevice.async_search(source_ip=local_ip)
File "C:\Users\Gianluca\AppData\Roaming\.homeassistant\deps\Python37\site-packages\async_upnp_client\profiles\profile.py", line 50, in async_search
await async_search(async_callback=on_response, source_ip=source_ip)
File "C:\Users\Gianluca\AppData\Roaming\.homeassistant\deps\Python37\site-packages\async_upnp_client\search.py", line 49, in async_search
transport, _ = await connect
File "C:\Users\Gianluca\AppData\Local\Programs\Python\Python37-32\lib\asyncio\base_events.py", line 1250, in create_datagram_endpoint
sock, protocol, r_addr, waiter)
File "C:\Users\Gianluca\AppData\Local\Programs\Python\Python37-32\lib\asyncio\base_events.py", line 447, in _make_datagram_transport
raise NotImplementedError
NotImplementedError
019-06-28 09:42:18 WARNING (MainThread) [homeassistant.loader] You are using a custom component for alexa_media which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you do experience issues with Home Assistant.
2019-06-28 09:42:21 WARNING (Recorder) [homeassistant.components.recorder] Ended unfinished session (id=85 from 2019-06-28 07:39:18.911452)
2019-06-28 09:42:22 ERROR (MainThread) [homeassistant.setup] Error during setup of component alexa_media
Traceback (most recent call last):
File "C:\Users\Gianluca\AppData\Local\Programs\Python\Python37-32\lib\site-packages\homeassistant\setup.py", line 154, in _async_setup_component
component.setup, hass, processed_config) # type: ignore
File "C:\Users\Gianluca\AppData\Local\Programs\Python\Python37-32\lib\concurrent\futures\thread.py", line 57, in run
result = self.fn(*self.args, **self.kwargs)
File "C:\Users\Gianluca\AppData\Roaming\.homeassistant\custom_components\alexa_media\__init__.py", line 173, in setup
from alexapy import AlexaLogin, __version__ as alexapy_version
ModuleNotFoundError: No module named 'alexapy'
2019-06-28 09:42:22 ERROR (MainThread) [homeassistant.config_entries] Error setting up entry UPnP/IGD for upnp
Traceback (most recent call last):
File "C:\Users\Gianluca\AppData\Local\Programs\Python\Python37-32\lib\site-packages\homeassistant\config_entries.py", line 302, in async_setup
result = await component.async_setup_entry(hass, self)
File "C:\Users\Gianluca\AppData\Local\Programs\Python\Python37-32\lib\site-packages\homeassistant\components\upnp\__init__.py", line 134, in async_setup_entry
config_entry.data.get('udn'))
File "C:\Users\Gianluca\AppData\Local\Programs\Python\Python37-32\lib\site-packages\homeassistant\components\upnp\__init__.py", line 81, in async_discover_and_construct
discovery_infos = await Device.async_discover(hass)
File "C:\Users\Gianluca\AppData\Local\Programs\Python\Python37-32\lib\site-packages\homeassistant\components\upnp\device.py", line 32, in async_discover
discovery_infos = await IgdDevice.async_search(source_ip=local_ip)
File "C:\Users\Gianluca\AppData\Roaming\.homeassistant\deps\Python37\site-packages\async_upnp_client\profiles\profile.py", line 50, in async_search
await async_search(async_callback=on_response, source_ip=source_ip)
File "C:\Users\Gianluca\AppData\Roaming\.homeassistant\deps\Python37\site-packages\async_upnp_client\search.py", line 49, in async_search
transport, _ = await connect
File "C:\Users\Gianluca\AppData\Local\Programs\Python\Python37-32\lib\asyncio\base_events.py", line 1250, in create_datagram_endpoint
sock, protocol, r_addr, waiter)
File "C:\Users\Gianluca\AppData\Local\Programs\Python\Python37-32\lib\asyncio\base_events.py", line 447, in _make_datagram_transport
raise NotImplementedError
NotImplementedError
- Sorry for that I’m a newbie, I hope this time is correct, thank you for teaching me something new!