In the script I’m calling a source. The sources are radio stations marked as favourites in the Sonos app.
I’m also setting the right volume level prior to starting the actual radio stream so it’s always on a nice background listening volume. You don’t want the Sonos to start banging your eardrums early in the morning
I’m trying to design my UI so if my Media Player is ‘on’, the button (shortcut) will be blue, if it’s ‘off’ the button will be grey.
Can you please help me with that?
Is anybody here who done it with the platform musiccast_yamaha? What is the path to the radio station?
i can’t get it to work… e. g. Radio>Favoriten>1LIVE doesnt work… i have a german receiver.
Here is my code:
delete
EDIT:
Here is my Solution for my Problem. It isnt compatible with musiccast_yamaha. It only works with the platform yamaha. To see the entity, the receiver has to enter in the config.yaml with platform yamaha and the ip.
In the Sonos(S2) app, search for your favourite music station, hold down the radio station and choose “Add station to My Sonos”, or something like that (my app is in Dutch), which marks the station as favourite.
As soon as the radio station is added, it will be available as source in your media player in Home Assistant.
Very nice card, thanks to the developper Was able to install it, I can configure the player, my Marantz AV, but I’m just unable to select my server, that is just a Serviio server running in my environment which is accessible through ip address.
I’ve seen in doc:
Ok, so my simple question, it’s trivial maybe, sorry : is it the right card for me to do that? Or did I miss a step just to configure a source like standard media server or even HA media browser? Thanks for your patience
Hi Folks, I’m quite new to this all and could use some help.
I downloaded the latest mini-player js and added it into config/www successfully.
But I don’t know where to add;
When trying to click on group all I got this error:
Logger: homeassistant.components.websocket_api.http.connection
Source: core.py:1405
Integration: Home Assistant WebSocket API (documentation, issues)
First occurred: 2:25:39 PM (3 occurrences)
Last logged: 2:25:41 PM
[2844097624] must contain at least one of entity_id, area_id.
Traceback (most recent call last):
File "/usr/local/lib/python3.8/site-packages/voluptuous/schema_builder.py", line 272, in __call__
return self._compiled([], data)
File "/usr/local/lib/python3.8/site-packages/voluptuous/schema_builder.py", line 817, in validate_callable
return schema(data)
File "/usr/src/homeassistant/homeassistant/helpers/config_validation.py", line 140, in validate
raise vol.Invalid("must contain at least one of {}.".format(", ".join(keys)))
voluptuous.error.Invalid: must contain at least one of entity_id, area_id.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 135, in handle_call_service
await hass.services.async_call(
File "/usr/src/homeassistant/homeassistant/core.py", line 1405, in async_call
processed_data = handler.schema(service_data)
File "/usr/local/lib/python3.8/site-packages/voluptuous/validators.py", line 218, in __call__
return self._exec((Schema(val) for val in self.validators), v)
File "/usr/local/lib/python3.8/site-packages/voluptuous/validators.py", line 340, in _exec
raise e if self.msg is None else AllInvalid(self.msg, path=path)
File "/usr/local/lib/python3.8/site-packages/voluptuous/validators.py", line 336, in _exec
v = func(v)
File "/usr/local/lib/python3.8/site-packages/voluptuous/schema_builder.py", line 276, in __call__
raise er.MultipleInvalid([e])
voluptuous.error.MultipleInvalid: must contain at least one of entity_id, area_id.
I’m pretty new to Home Assistant. Currently I try to include the Mini Media Player card offering the ability to browse my local mp3 files, similar how it is done in the video here: https://www.home-assistant.io/blog/2020/09/17/release-115/
For now I got stuck in displaying the folder button to show up where one can click on to bring the library browser up. Can someone point me to the things I’m missing?