Movatterモバイル変換


[0]ホーム

URL:


Node-RED
docsgetting startedandroid
     

    Running on Android

    Using theTermux app makes it easy to runNode-RED on Android devices. Get it directly from theirgithub or viaF-Droid hereTermux on F-Droid.

    Note that the Play Store version is not maintained.

    Note : the Node-RED team have no connectionwith the Termux application nor its development, nor F-Droid. We cannot provide support forit in any way, other than to say that at this point in time it works.

    Installing

    Install it, and run it. Then at the prompt type

    apt updateapt upgradeapt install coreutils nano nodejsnpm i -g --unsafe-perm node-rednode-red

    Then you can point a browser tohttp://localhost:1880

    Note that installing openssh may make interacting with termux a little easier.see this thread for a description of one such install.

    Notes

    • You can also npm install other node-red nodes such asnode-red-dashboard in the standard way :

      cd ~/.node-rednpm i node-red-dashboard

      or via the Pallete Manager.

    • Thevolume-down key is the ctrl key - sovol-down-c can be used to “break” a running app.
    • The instructions above also install thenano editor, which is useful for editing files.

    Autostarting

    The recommended way of starting applications running in Termux is using theTermux:Boot application (available fromF-droid - note that the Play Store version may not be maintained, and it’s recommended to use the same source that you installed termux from).

    We have found this other app useful for autostarting Termux on boot -Autostart - No Root (Note: with termux:boot, use of other autoboot apps does not seem to be required).

    Note that the shebang in the node-red script is incompatible with termux:boot scripts. The workaround is to start node-red using a termux:boot startup script like:

    #!/data/data/com.termux/files/usr/bin/shtermux-wake-locknode /data/data/com.termux/files/usr/bin/node-red

    Device Access

    You can get direct access to various hardware on the device by using the extraTermux device plugins - which can then be accessed viaNode-RED using theexecnode.

    Note: you need to install both the add-on app, and also the add-on api in Termux.

    Install add-on app - Termux:API from the same source you got termux.

    Install add-on access into Termux

    apt install termux-api

    Useful links

    Node-RED: Low-code programming for event-driven applications.

    CopyrightOpenJS Foundation and Node-RED contributors. All rights reserved. TheOpenJS Foundation has registered trademarks and uses trademarks. For a list of trademarks of theOpenJS Foundation, please see ourTrademark Policy andTrademark List. Trademarks and logos not indicated on thelist of OpenJS Foundation trademarks are trademarks™ or registered® trademarks of their respective holders. Use of them does not imply any affiliation with or endorsement by them.

    The OpenJS Foundation |Terms of Use |Privacy Policy |OpenJS Foundation Bylaws |Trademark Policy |Trademark List |Cookie Policy


    [8]ページ先頭

    ©2009-2025 Movatter.jp