install home-assistant mosquitto-broker and node-red on android
This is Home Assistant, MQTT broker - Mosquitto, Node-RED installation. Requires Android 5.0 and up. Works without root. Install Termux and Termux:API from Play Store or F-droid. Install Hacker’s keyboard. This works for me, why you have a problem with this i don’t have a clue. :)
Start Termux
Update packages
packages update
packages upgrade
packages list-installed
packages install python python-dev coreutils nano ndk-stl clang mosquitto nodejs openssh termux-apiInstall HA, Mosquitto, Node-RED
npm i -g --unsafe-perm node-red
npm i -g --unsafe-perm pm2
pip install homeassistantStart:
node-red
#Stop node-red with ctrl +c or volume down + c
mosquitto
#Stop Mosquitto with ctrl +c or volume down + c
hass
#Wait for a installation to complete then stop HA with ctrl +c or volume down + cStart at login
If you make mistake in pm2 configuration…
Enjoy!
Last updated
Was this helpful?