Sorry all , maybe the discussion has been made millions of time now , but unfortunately i am not able to get to a woring solution.
All post refers to different configurations , and i find quite difficult to retreive a solution.
I installed HACS
configured alexa component
Added in configuration.yaml
alexa_media:
accounts:
- email: [email protected]
password: xx
url: amazon.com
include_devices:
- bedroom
- livingroom
then in mediaplayer.yaml
- platform: alexa_media
email: [email protected]
password: xxx
url: alexa.amazon.co.uk
I have now my 2 echos
Related services :
volume_level: 0.63
is_volume_muted: false
media_content_type: standby
media_position_updated_at: '2020-02-20T14:55:09.877705+00:00'
available: true
last_called: null
last_called_timestamp: null
friendly_name: echo_bedroom
supported_features: 56253
Added on frontpage a player custom card:
- artwork: cover
columns: 2
entity: media_player.bedroom
hide_volume: false
icon: 'mdi:amazon-alexa'
icon_state: true
idle_view:
when_idle: true
when_paused: true
when_standby: true
name: Bed_room
power_color: true
scroll_info: true
shortcuts:
buttons:
- icon: 'mdi:album'
id: 'spotify:user:spotify:playlist:07o6biIfhRyK1zmesNXgpR'
type: playlist
- icon: 'mdi:cassette'
id: 'spotify:user:spotify:playlist:1O71ZswxlTkA1vKaI6UrTk'
type: playlist
columns: 2
show_source: true
show_tts: google
type: 'custom:mini-media-player'
show_header_toggle: false
title: Media players
type: entities
When i play something via voice or alexa app , it starts palyng , but the status become unavailable not showing what is happening.
If i push button to recall spotify playlists , it doesn’t play anything.
I am really lost to how to manage the integration of media player media play component.
Logs are the following
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 134, in handle_call_service
connection.context(msg),
File "/usr/src/homeassistant/homeassistant/core.py", line 1204, in async_call
processed_data = handler.schema(service_data)
File "/usr/local/lib/python3.7/site-packages/voluptuous/schema_builder.py", line 272, in __call__
return self._compiled([], data)
File "/usr/local/lib/python3.7/site-packages/voluptuous/schema_builder.py", line 594, in validate_dict
return base_validate(path, iteritems(data), out)
File "/usr/local/lib/python3.7/site-packages/voluptuous/schema_builder.py", line 432, in validate_mapping
raise er.MultipleInvalid(errors)
voluptuous.error.MultipleInvalid: extra keys not allowed @ data['Service']
2020-02-20 18:36:45 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection.140446029068048] extra keys not allowed @ data['Service']
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 134, in handle_call_service
connection.context(msg),
File "/usr/src/homeassistant/homeassistant/core.py", line 1204, in async_call
processed_data = handler.schema(service_data)
File "/usr/local/lib/python3.7/site-packages/voluptuous/schema_builder.py", line 272, in __call__
return self._compiled([], data)
File "/usr/local/lib/python3.7/site-packages/voluptuous/schema_builder.py", line 594, in validate_dict
return base_validate(path, iteritems(data), out)
File "/usr/local/lib/python3.7/site-packages/voluptuous/schema_builder.py", line 432, in validate_mapping
raise er.MultipleInvalid(errors)
voluptuous.error.MultipleInvalid: extra keys not allowed @ data['Service']
2020-02-20 18:36:58 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection.140446029068048] extra keys not allowed @ data['Service']
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 134, in handle_call_service
connection.context(msg),
File "/usr/src/homeassistant/homeassistant/core.py", line 1204, in async_call
processed_data = handler.schema(service_data)
File "/usr/local/lib/python3.7/site-packages/voluptuous/schema_builder.py", line 272, in __call__
return self._compiled([], data)
File "/usr/local/lib/python3.7/site-packages/voluptuous/schema_builder.py", line 594, in validate_dict
return base_validate(path, iteritems(data), out)
File "/usr/local/lib/python3.7/site-packages/voluptuous/schema_builder.py", line 432, in validate_mapping
raise er.MultipleInvalid(errors)
voluptuous.error.MultipleInvalid: extra keys not allowed @ data['Service']
2020-02-20 18:40:56 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection.140446029068048] extra keys not allowed @ data['Service']
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 134, in handle_call_service
connection.context(msg),
File "/usr/src/homeassistant/homeassistant/core.py", line 1204, in async_call
processed_data = handler.schema(service_data)
File "/usr/local/lib/python3.7/site-packages/voluptuous/schema_builder.py", line 272, in __call__
return self._compiled([], data)
File "/usr/local/lib/python3.7/site-packages/voluptuous/schema_builder.py", line 594, in validate_dict
return base_validate(path, iteritems(data), out)
File "/usr/local/lib/python3.7/site-packages/voluptuous/schema_builder.py", line 432, in validate_mapping
raise er.MultipleInvalid(errors)
voluptuous.error.MultipleInvalid: extra keys not allowed @ data['Service']
Thanks.
Nevermind , all solved , plugin deleted , folder alexa deleted , reinstalled , configured and now services as tts or play work