

You can customize the name of the speaker.Using the UI configurator, you can do the following: The many options of the Mini Media Player custom card for Home Assistant Once install, adding a custom component is simply a matter of clicking a button. All you will need is a GitHub account and a bit of patience. I won’t be detailing the approach in this guide, as the official website has that part covered. The far better option is using the Home Assistant Community Store, or HACS for short.
Set default media player in google home install#
You can manually install the Mini Media Player custom card, although I do not recommend this approach.
Set default media player in google home how to#
How to install the Mini Media Player custom card for Home Assistant Shortcut buttons in the Mini Media Player custom card.Artwork options in the Mini Media Player compared.Configuring the Mini Media Player custom card.How to install the Mini Media Player custom card for Home Assistant.Karl Kihlström is the developer of this popular alternative to the official Media Control Card, though as with most things Home Assistant, the community has been actively contributing to the project. Running without it is not supported by the Home Assistant project, and will cause this integration to be unable to discover to your Cast devices.The Mini Media Player custom card, for Home Assistant’s Lovelace dashboard, is one of the most popular custom components in the Community Store. When running the Home Assistant Container in Docker, make sure it is running with host network mode. If it is not possible, it’s necessary to either enable mDNS forwarding between the subnets or to configure a list of known hosts. Cast devices and Home Assistant on different subnetsĬast devices can only be automatically discovered if they are on the same subnet as Home Assistant because mDNS packets are not routed across subnets.Īutomatic discovery in setups with cast devices on a different subnet than Home Assistant is not recommended and not supported. The Zeroconf integration has some configuration options which impact mDNS routing. The Google Cast integration relies on the Zeroconf integration for mDNS discovery.

If none of the tips in this section helps, the recommended solution is to ensure all cast devices have static IPs assigned to them and configure a list of known hosts. MDNS relies on UDP multicast, which may fail for various reasons. You need to set the media_content_id to the media URL and media_content_type to a matching content type.Īlias : " Cast BBC Sounds to My Chromecast" sequence : - service : media_ay_media target : entity_id : media_player.my_chromecast data : media_content_type : cast media_content_id : ' ' extra : metadata : metadataType : 0 title : " Bitz & Bob" subtitle : " Castle Makeover" images : - url : " " Troubleshooting automatic discovery You can play MP3 streams like net radios, FLAC files or videos from your local network with the media_ay_media service, as long as the media is accessible via HTTP(S). Chromecast devices do not support other protocols like DLNA or playback from an SMB file share. The media needs to be accessible via HTTP(S). As a rule of thumb, if a Chrome browser can play a media file a Chromecast will be able to handle that too. Using the built in media player app (Default Media Receiver)Ĭhromecasts can play many kinds of modern media (image/audio/video) formats using the built in app Default Media Receiver. Note that the Home Assistant Cloud will not be used if an external_url is configured. This is important when casting TTS or local media sources the cast integration will cast such media from the external_url if configured, otherwise from the Home Assistant Cloud if configured, otherwise from the internal_url. A hostname which can’t be publicly resolved, e.g. This means media URLs must either be specifying the IP-address of the server directly, e.g. If multiple instances of Google Cast are configured, choose the instance you want to configure.Ĭhromecasts generally ignore DNS servers from DHCP and will instead use Google’s DNS servers, 8.8.8.8 and 8.8.4.4.Options for Google Cast can be set via the user interface, by taking the following steps: If mDNS does not work in your network, the IP addresses of the Cast devices can be manually entered in the configuration as mentioned below. Make sure that your router has this feature enabled. Support for mDNS discovery in your local network is mandatory for automatic discovery.


