From 360af885c1217111fed7798340b9832ab5c99a1e Mon Sep 17 00:00:00 2001 From: NotoriousBDG Date: Mon, 30 Jan 2017 09:03:26 -0500 Subject: [PATCH] Add note about emulated_hue on port 80 as non-root (#1814) Added a note to the troubleshooting section showing hot to setup emulated_hue on port 80 when running as a non-root user. --- source/_components/emulated_hue.markdown | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/source/_components/emulated_hue.markdown b/source/_components/emulated_hue.markdown index 1c82a36da79..fdf4b9f05df 100644 --- a/source/_components/emulated_hue.markdown +++ b/source/_components/emulated_hue.markdown @@ -103,6 +103,11 @@ 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. +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 +sudo setcap 'cap_net_bind_service=+ep' /srv/homeassistant/homeassistant_venv/bin/python3 +``` ### {% linkable_title License %}