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://<HA IP Address>:80/description.xml
- http://<HA IP Address>:80/api/pi/lights
This commit is contained in:
yankees9920 2017-06-04 04:27:48 -04:00 committed by Fabian Affolter
parent 0de17d8d95
commit 87ab5b6cf8

View File

@ -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://<HA IP Address>:8300/description.xml` - This URL should return a descriptor file in the form of an XML file.
- `http://<HA IP Address>: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://<HA IP Address>: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