Fedora is an operating system based on the Linux kernel, developed by the community-supported Fedora Project. There are releases for x86 and x86_64 including ARM and other architectures.
Install the development package of Python.
sudo dnf -y install python3-devel redhat-rpm-config
To isolate the Home Assistant installation a venv
is handy. First create a new directory to store the installation and adjust the permissions.
sudo mkdir -p /opt/homeassistant
sudo useradd -rm homeassistant -G dialout
sudo chown -R homeassistant:homeassistant /opt/homeassistant
Now switch to the new directory, setup the venv
, and activate it.
sudo -u homeassistant -H -s
cd /opt/homeassistant
python -m venv .
source bin/activate
Install Home Assistant itself.
pip3 install homeassistant colorlog
Check the autostart section in the documentation for further details.
In Fedora the access to a host is very limited. This means that you can’t access the Home Assistant frontend that is running on a host outside of the host machine.
To fix this you will need to open your machine’s firewall for TCP traffic to port 8123.
sudo firewall-cmd --permanent --add-port=8123/tcp
sudo firewall-cmd --reload