From 87ab5b6cf8b6d1a12bb9360b308cb78d8ca49b45 Mon Sep 17 00:00:00 2001 From: yankees9920 Date: Sun, 4 Jun 2017 04:27:48 -0400 Subject: [PATCH] Tweaks for Google Home support (#2753) I had to explicitly set `listen_port: 80` for Google Home to work properly. It was defaulting to port 8300 without that declaration. Also the docs should be more explicit in the Troubleshooting section because the URLs you need to confirm for Google Home are actually - http://:80/description.xml - http://:80/api/pi/lights --- source/_components/emulated_hue.markdown | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/source/_components/emulated_hue.markdown b/source/_components/emulated_hue.markdown index 8db5a8205c5..c50f15861ed 100644 --- a/source/_components/emulated_hue.markdown +++ b/source/_components/emulated_hue.markdown @@ -28,6 +28,8 @@ To enable the emulated Hue bridge, add one of the following configs to your `con ```yaml # Google Home example configuration.yaml entry emulated_hue: + type: google_home + listen_port: 80 # Google Home does not work on different ports. ``` @@ -111,6 +113,8 @@ You can verify that the `emulated_hue` component has been loaded and is respondi - `http://:8300/description.xml` - This URL should return a descriptor file in the form of an XML file. - `http://:8300/api/pi/lights` - This will return a list of devices, lights, scenes, groups, etc.. that `emulated_hue` is exposing to Alexa. +For Google Home, verify that the URLs above are using port 80, rather than port 8300 (i.e. http://:80/description.xml). + An additional step is required to run Home Assistant as non-root user and use port 80 when using the AiO script. Execute the following command to allow `emulated_hue` to use port 80 as non-root user. ```bash