Skip to content

Commit 56bdc78

Browse files
mateuszdrabfrenck
authored andcommitted
Internal DNS notes (home-assistant#7688)
* Internal DNS notes Add a neat trick to force google casts to use internal DNS * ✏️ Language tweaks
1 parent 7451e5b commit 56bdc78

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

source/_components/tts.markdown

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,8 @@ The Google cast devices (Google Home, Chromecast, etc.) present the following pr
8383

8484
* They do not work with URLs that contain hostnames established by local naming means. Let's say your Home Assistant instance is running on a machine made known locally as `ha`. All your machines on your local network are able to access it as `ha`. However, try as you may, your cast device won't download the media files from your `ha` machine. That's because your cast device ignores your local naming setup. In this example, the `say` service creates a URL like `http://ha/path/to/media.mp3` (or `https://...` if you are using SSL). Setting a `base_url` that contains the IP address of your server works around this issue. By using an IP address, the cast device does not have to resolve the hostname.
8585

86+
* An alternative way to force Google cast devices to use internal DNS is to block them from accessing Google DNS at the firewall/router level. This would be useful in the case, for example, where your internal IP of HASS is a private IP and you have your internal DNS server (quite often a split-brain DNS scenario). This method works on both Google Home Mini and Google Chromecasts.
87+
8688
## {% linkable_title Service say %}
8789

8890
The `say` service support `language` and on some platforms also `options` for set, i.e., *voice, motion, speed, etc*. The text for speech is set with `message`.

0 commit comments

Comments
 (0)