Homeassistant core on android

Hello everyone got home assistance core running on termux proot but with lots of issues, nevertheless if you want to try here are the steps

1- update termux

yes | apt update && apt upgrade

2- install proot

apt install proot
apt install proot-distro

3- install ubuntu

proot-distro install ubuntu
proot-distro login ubuntu
4- update ubuntu packages

apt update && apt upgrade -y

5- installation of dependency

apt install python3 python3-pip python3-venv python3-dev build-essential libffi-dev libssl-dev libjpeg-dev zlib1g-dev

6-create a virtual environment

python3 -m venv homeassistant

7-activate the virtual environment

source homeassistant/bin/activate

8-install home assistance core

pip install homeassistant
(It will take a while)

9-start home assistance

hass

Open up your browser and navigate to http://localhost:8123
I tasted on galaxy note9 (exynos)
I am not good in linux,if you know better please try to improve the installation method and help out others and me as well😊
Thank you

Take a look here:

Trust me that if you follow that guide that will give pain more then you can handle :slightly_smiling_face:
I think you didn’t have tried the guide that you replied with
Thank you

1 Like


i try, but it stop in here

Still no success, but anyway this method looks much tidier and easier than two others I tried before.
Three additional steps I had to add:

7.1. pip install --upgrade pip
7.2. apt install cargo   #(additional 400MB!)
7.3. apt install pkg-config

The error I get is:

[homeassistant.util.package] Unable to install package PyQRCode==1.2.1: error: No virtual environment found; run `uv venv` to create an environment, or pass `--system` to install into a non-virtual environment

Actually there is lots of those - not only PyQRCode. But they say essentially the same.

Probably just some variables or paths needed to set, but I’m not familiar with python and venv.