It should only fail once or twice when a speaker changes from “standalone” mode to slave mode. How often do you see this error in the log?
EDIT: The reason why it fails is that the speaker gets a new IP when it goes into slave mode and thus can’t be reached any longer on the IP provided in the HA configuration. As soon as the component detects that the device is in slave mode it stops trying to reach the speaker via it’s configured IP and the errors should stop…
Could you try to upgrade to the latest version of the component and make sure that the devicename parameter in the HA configuration matches exactly the name of the device as specified in the iOS/Android companion app?
Entity ID alb is an invalid entity id for dictionary value @ data[‘entity_id’]
Traceback (most recent call last):
File “/usr/local/lib/python3.7/site-packages/homeassistant/components/websocket_api/commands.py”, line 122, in handle_call_service
connection.context(msg))
File “/usr/local/lib/python3.7/site-packages/homeassistant/core.py”, line 1118, in async_call
processed_data = handler.schema(service_data)
File “/usr/local/lib/python3.7/site-packages/voluptuous/schema_builder.py”, line 267, in call
return self._compiled(, data)
File “/usr/local/lib/python3.7/site-packages/voluptuous/schema_builder.py”, line 589, in validate_dict
return base_validate(path, iteritems(data), out)
File “/usr/local/lib/python3.7/site-packages/voluptuous/schema_builder.py”, line 427, in validate_mapping
raise er.MultipleInvalid(errors)
voluptuous.error.MultipleInvalid: Entity ID alb is an invalid entity id for dictionary value @ data[‘entity_id’]
Hi, thanks for the custom component, it works very well.
I have a problem with TTS, or with the resume of streaming service after TTS.
I know that for Sonos there are 2 services that work in this situations that are media_player_sonos_snapshot which take a snapshot of the current status of the player and madia_player_sonos_restore which is used to restore the media player snapshot.
It’s possible to integrate this two services in Linkplay custom component?
As I see, the author of this component — nicjo814 — for some reason has not been in touch for a long time and does not update the code.
Now, due to recent changes in HA, its code is already seriously outdated.
I propose to save this component by transferring its support into the hands of the community.
I created a separate repository for this component, transferred the latest version of the code to it, and also created different service files:
Including the code to support the ability to update the component via custom_updater.
To initiate tracking add this lines to you configuration.yaml file:
I myself can’t hardly seriously support this component. Therefore I invite collaborators. @Christian_Hollbjar, how about join this repository as collaborator?
refuse? I cant code phyton, so what do you want me to colaborate with? What I posted above to fix the issue is already posted all over the forum, so did not “invent” anything… I can join as colaborator but i do not know what i can bring to the table…
I won’t be able to work very much on the component due to a combination of work load and family taking all my time. I hope you will be able to continue the development in some fashion.
Hi!
The latest update and the latest hassio seams to be broken
Log Details (ERROR)
Mon Aug 12 2019 12:23:23 GMT+0200 (Central European Summer Time)
Update for media_player.koket fails
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 249, in async_update_ha_state
await self.async_device_update()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 419, in async_device_update
await self.hass.async_add_executor_job(self.update)
File "/usr/local/lib/python3.7/concurrent/futures/thread.py", line 57, in run
result = self.fn(*self.args, **self.kwargs)
File "/config/custom_components/linkplay/media_player.py", line 766, in update
self._update_from_id3()
File "/config/custom_components/linkplay/media_player.py", line 658, in _update_from_id3
import eyed3
File "/usr/local/lib/python3.7/site-packages/eyed3/__init__.py", line 32, in <module>
from .utils.log import log # noqa: E402
File "/usr/local/lib/python3.7/site-packages/eyed3/utils/__init__.py", line 27, in <module>
import magic
File "/usr/local/lib/python3.7/site-packages/magic.py", line 181, in <module>
raise ImportError('failed to find libmagic. Check your installation')
ImportError: failed to find libmagic. Check your installation