Install Home Assistant, Mosquitto broker and Node-Red on android

I’m triing to do this https://github.com/saghonfly/shrdzm/wiki/Setup-Quick-Start-Test-Environment

So you want to connect some sensors > wemos > android phone > termux > homeassistant? Or you could just use https://esphome.io/ and get job done without unnecessary steps.

Yes I want to use espnow because I don’t have enough range with wifi

There is termux-usb option but it is limited and i don’t think it will work for you.

I put HASS on a tv box with android 8.1 - everything is according to the instructions above (401 post)… there were no errors HASS after installation - it started. Rebooted Box, loaded termux, found HASS … it won’t start. Tell me what’s the matter?

According to the instructions on that post you skipped a few steps. :wink: If you installed hass in python venv environment first you need to activate it. Command you used cd activate won’t do anything because activate is not a directory. Run source ~/homeassistant/bin/activate
After that you can run hass command.

Thanks for the clarifications!
each time before starting HASS, execute in termux:
source homeassistant / bin / activate
hass
?
and my tv box ip is 192.168.31.19
but with PC 192.168.31.19:8123 does not open. I even disabled the microsoft firewall but it didn’t help either …

Check in .homeassistant folder homeassistant log for errors. Also install libjpeg-turbo
pkg install libjpeg-turbo and than start hass again. You can use pm2 to autostart hass.

Thanks, after reboot - everything worked. I connected the wash outlet through the Tuya integration - turning on and off works but through the Tuya cloud, which is not good … And how to do the integration directly, what would work without the Internet and Tuya cloud? About PM2 - I don’t understand … can you write in more detail how to automatically launch Hass after loading the TV box?

See post 313 Install Home Assistant, Mosquitto broker and Node-Red on android you need to install nodejs-lts before installing pm2. I don’t use tuya but quick google search gives me this custom component https://github.com/rospogrigio/localtuya
It would be good for you to learn some homeassistant basics to understand custom components and integrations. Google is your friend.

Hey, is there anyone running latest 2021.1.0 version? Again it fails to load the frontend, this time I was not able to figure out from the logs whats going on

I just tried to install new version and it loads ok. There was some errors about nabucasa and aiohttp but once i started hass everything worked.

thanks, had to reinstall HA from scratch and now it loads

1 Like

cannot figure out how to uninstall node-red (I´m not using it at all)

Did you try solution from node-red forum?

npm -g remove node-red
rm -R ~/.node-red

TY, that worked

Hi, I’m a new novice user.
I am following this guide to install a Samsung tablet with android 7.
I suffered a problem seems of space how can I solve? I attach photo error. Thanks

You need to press capital letter Y :wink:

1 Like

Same problem :thinking:

Try with
apt -y upgrade

1 Like