I followed the instructions on https://home-assistant.io/components/emulated_hue/
and use the simplest setting:
# Google Home example configuration.yaml entry emulated_hue: type: google_home # Google Home does not work on different ports. listen_port: 80
but the last step, I cannot make it to work:
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.
sudo setcap ‘cap_net_bind_service=+ep’ /srv/homeassistant/homeassistant_venv/bin/python3
I got this error:
[email protected]:~ $ sudo setcap ‘cap_net_bind_service=+ep’ /srv/homeassistant/homeassistant_venv/bin/python3
Failed to set capabilities on file `/srv/homeassistant/homeassistant_venv/bin/python3’ (Invalid argument)
The value of the capability argument is not permitted for a file. Or the file is not a regular (non-symlink) file
Anyone knows what’s going on? What did I miss? Is there any other extra steps that I need to follow?