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

You could try manual install. But i never used grafana or influxdb. Google is your best bet.

Good evening,
I installed 2 times Home Assistant on android 8 using the following procedure:

  • pkg update
  • pkg install python libffi openssl coreutils clang libjpeg-turbo
  • python -m venv homeassistant
  • source homeassistant/bin/activate
  • pip install --upgrade pip
  • pip install wheel
  • pip install homeassistant
    and I didn’t see any error messages.

Immediately after the installation I started Home Assistant:

  • cd homeassistant/bin/activate
  • hass
    and I didn’t see any error messages.

I logged in localhost:8123 and everything seemed ok.

I closed Home Assistant and when I tried to modify it copying configuration.yaml did not allow me to do so because the file system was in read only.

Did I do something wrong?

How can I understand the cause of the error?

Thanks for everything.
Lorenzo

That is strange. Are you in home directory? Go to home.
cd ~
Then find user
id
You’ll get something like u0_a199. Then
ls -all
and compare owner of folders and files with id user.

Good evening,
you are right.
It’s my little experience (but a lot of interest) for home assinstant and android/linux; I come from other experiences and platforms.
I enclose commands result.
Now I’m looking for how to modify the file.
Thank you.
Lorenzo

Hello !
Is there a good offline voice assistant to use with termux ?

I think you greatly overestimate what termux can do. :smiley: But i quick google search show that some kind soul created offline speech recognition for termux.


You could try to run webhook trigger from script.
1 Like

Thank you maybe I should buy a rasp pi

Good evening Vladimir,
The experiment with Home Assistant + IP Webcam went very well.
Now I would like to replicate the experiment with Node-red + IP Webcam, to evaluate what is suitable for the project.
I used the following installation procedure for Node-red:

  • apt update
  • apt upgrade
  • apt install coreutils nano nodejs
  • npm i -g --unsafe-perm node-red

Is it correct?
I saw several reports during the installation and, even if Node-red is reachable, I notice some strange behaviors (e.g.: “switch” does not seem to respond as in other platforms).
Is Node-red on android more stable or is a different platform preferable?
Thanks for everything and greetings.
Lorenzo

Remove nodejs and node-red. Install nodejs-lts because that is currently recommended node version for node-red. I don’t use node-red so i can’t help you much but what strange behavior have you experienced with switch node?

Good evening Vladimir,
I have a simple configuration made by a “telegram receiver” node and immediately after a “switch” node.
On the switch node I check the value of the field msg.payload.type, if “message” is valid it goes in output1, if “photo” is valid it goes in output2.
On windows 10 it behaves correctly, while on android it seems not to perform the test and values the same output on output1 and output2.
Thanks and greetings.
Lorenzo

Good morning Vladimir,
I redid the clean installation by adding python.
This is the procedure:

  • apt-get update
  • apt-get upgrade
  • apt install coreutils nano nodejs
  • pkg install python
  • npm i -g --unsafe-perm node-red node-red-admin

Now the “switch” node works correctly.
I proceed with the project.

Thanks and greetings.
Lorenzo

Good evening
I’m trying do automations using node red.
I added node-red-contrib-home-assistant-websocket but then I have error Error: Cannot find module
I cannot see my entities from home assistant.
I’m not sure about the procedure
If you can help me on this

See this tutorial and check if you skipped some steps.
https://zachowj.github.io/node-red-contrib-home-assistant-websocket/guide/#configuration

Well thank you I just needed to reboot node red after addind home assistant’s nodes

I have some bluetooth speaker at home.
How can I integret it using home assistant ?

Termux won’t help you with bluetooth. Officially bluetooth is not supported with termux-api. Even with ha on pi or other platforms there isn’t easy way of using bt speakers (as far as i know).

I’ve heard about BlueALSA but I don’t how I can use it :confused:

That won’t work with termux. Rpi is probably better option for you.

Hello,
Is it possible to use a serial communication with a wemos d1 mini with an OTG cable and then integrate it in Home assistant

Why would you do that? You can easily add wemos into HA without termux.