NODE-RED ON ANDROID

Node-RED Installation on Android EUDs

NOTE The Google Play Store version does not allow Termux API access to core phone functions. This replaces that process and does open up your phone to security risks if you do not know what you are doi>

Github Site for Termux app

Download and Install from F-Droid

You DO NOT need to download the F-Droid app to download the .apk files - just scroll down to the bottom of the version and select Download .apk

  1. Termux
  2. Termux API
  3. Termux Widget - Github

Install Node-RED using Termux:

  1. Open Termux
  2. pkg update
  3. pkg install tsu
  4. pkg install coreutils gnupg
  5. pkg install wget
  6. wget https://raw.githubusercontent.com/its-pointless/its-pointless.github.io/master/setup-pointless-repo.sh
  7. chmod +x setup-pointless-repo.sh
  8. ./setup-pointless-repo.sh
  9. pkg install python make clang gcc-8 nodejs
  10. npm i -g --unsafe-perm node-red
  11. termux-fix-shebang $(which node-red)
  12. pkg uninstall nodejs
  13. pkg install nodejs-lts
  14. pkg install termux-api
  15. cd .~/node-red
  16. npm i node-red-node-email
  17. node-red
  18. Open browser and enter: http://localhost:1880
  19. mkdir -p /data/data/com.termux/files/home/.shortcuts chmod 700 -R /data/data/com.termux/files/home/.shortcuts
  20. mkdir -p /data/data/com.termux/files/home/.shortcuts/tasks chmod 700 -R /data/data/com.termux/files/home/.shortcuts/tasks