



















There is no support for BananaPi M5 from Home Assistant OS, which leaves me either the container or the core version. Originally I was going to use the container image, however, it needs too much disk space (7GB was not enough as it maxed out my onboard storage). I went for Home Assistant Core instead, and this post records my journey setting it up.
uv (a Python environment manager)uv to manage the virtual environment (note that I’ll enable ISAL for better performance).cd /srv/homeassistant/
uv venv pyenv --python 3.13
source pyenv/bin/activate
uv pip install homeassistant==2024.12.3
uv pip install isal # ISAL for faster gzip and zlib
cloudflared add-on cannot be used because Home Assistant Core doesn’t support add-ons.systemd for Home Assistant’s hass so that it starts on boot and restarts on failures. I created this file /etc/systemd/system/ha@homeassistant.service (systemctl enable and systemctl start afterwards):[Unit] Description=Home Assistant After=network-online.target After=network.target [Service] Type=simple User=homeassistant ExecStart=/srv/homeassistant/pyenv/bin/hass Restart=on-failure RestartSec=5s [Install] WantedBy=multi-user.target
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。