Without docker, well, it will require a whole bunch of operations to deal with dependencies, which is what this entire topic is about, and it’s not recommended for beginners. That said, if your Termux is disposable, feel free to follow the instructions from Home Assistant Core on Android Tablet - #217 by romanovj and see where it takes you.
Any new ideas? Install homeassisstant supervised on termux via proot-distro debian?
Proot is slower and has some limitations homeassistant could work? There would be sudo and root as in linux. Maybe that would solve the unavailability of /proc/…
I managed to copy paste enough commands from all over the internet to resolve the errors and get home assistant to start and be able to access the web interface. However after creating an account the interface will always show “Home Assistant is starting, please wait…”. On Termux after starting hass -v it seemingly locks up after some time with no more output. The last thing it said was “Setup of domain bluetooth took 0.1 seconds” and it has been stuck on that for 25 minutes. But sometimes it gets stuck on “Starting zeroconf broadcast” instead, which it passes other times
HA loads modules in an asynchronous manner.
So the last message you see might not be the relevant one.
With that in mind, the first launches are always the longest since a lot of the required modules will download and install then. For me, for example, a first start might take between 30 to 50 minutes, especially if it has to recompile some stuff on the way.
What you can do:
Analyse the full log for errors and processes in progress
Check the current activity of your processes from the system point of view. See if anything related to HA or python is currently active.
hass -v
2023-12-05 07:25:55.467 INFO (MainThread) [homeassistant.bootstrap] Config directory: /data/data/com.termux/files/home/.homeassistant
Bad system call
Try to see my message and previous ones about the “bad system call”, earlier in this thread.
Basically it’s not solved but in my case using termux-chroot before launching HA allows it to work.
What should be installed for this version? I tried with version 2023.11.0 and there was an error in py Turbo JPEG (you need version 1.7.1 and it returns an error in nampy) how can I overcome this?
editing: Ok now I see you updated the code. Thank you
I encountered a bus error, is there a way to solve it? (generic unrooted tablet)