You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/getting-started/android.md
+24-6Lines changed: 24 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,11 +7,13 @@ redirect_from:
7
7
- /docs/platforms/android
8
8
---
9
9
10
-
Using the [Termux](https://termux.com) app in the app store makes it easy to run
11
-
Node-RED on Android devices. You can get it from the [Play Store](https://play.google.com/store/apps/details?id=com.termux&hl=en_GB).
10
+
Using the [Termux](https://termux.com) app makes it easy to run
11
+
Node-RED on Android devices. Get it directly from thier [github](https://github.com/termux/termux-app#github) or via [F-Droid](https://f-droid.org/) here [Termux on F-Droid](https://f-droid.org/en/packages/com.termux/).
12
+
13
+
Note that the Play Store version is not maintained.
12
14
13
15
<divclass="doc-callout"><em>Note</em> : the Node-RED team have no connection
14
-
with the Termux application nor its development. We cannot provide support for
16
+
with the Termux application nor its development, nor F-Droid. We cannot provide support for
15
17
it in any way, other than to say that at this point in time it works.</div>
16
18
17
19
### Installing
@@ -26,21 +28,33 @@ Install it, and run it. Then at the prompt type
26
28
27
29
Then you can point a browser to `http://localhost:1880`
28
30
31
+
Note that installing openssh may make interacting with termux a little easier. [see this thread](https://discourse.nodered.org/t/android-termux-playstore-no-longer-a-recommended-install-source/85034/4) for a description of one such install.
32
+
29
33
### Notes
30
34
31
35
- You can also npm install other node-red nodes such as `node-red-dashboard` in the standard way :
32
36
33
37
cd ~/.node-red
34
38
npm i node-red-dashboard
39
+
40
+
or via the Pallete Manager.
35
41
36
42
- The `volume-down` key is the ctrl key - so `vol-down-c` can be used to "break" a running app.
37
43
- The instructions above also install the `nano` editor, which is useful for editing files.
38
44
39
45
### Autostarting
40
46
41
-
The recommended way of starting applications running in Termux is using the [Termux:Boot application](https://github.com/termux/termux-boot) (available from [F-droid](https://f-droid.org/en/packages/com.termux.boot/) or [Play Store](https://play.google.com/store/apps/details?id=com.termux.boot)).
47
+
The recommended way of starting applications running in Termux is using the [Termux:Boot application](https://github.com/termux/termux-boot) (available from [F-droid](https://f-droid.org/en/packages/com.termux.boot/) - note that the Play Store version may not be maintained, and it's recommended to use the same source that you installed termux from).
48
+
49
+
We have found this other app useful for autostarting Termux on boot - <ahref="https://play.google.com/store/apps/details?id=com.autostart&hl=en_GB">Autostart - No Root</a> (Note: with termux:boot, use of other autoboot apps does not seem to be required).
42
50
43
-
We have found this other app useful for autostarting Termux on boot - <ahref="https://play.google.com/store/apps/details?id=com.autostart&hl=en_GB">Autostart - No Root</a>
51
+
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:
52
+
53
+
```
54
+
#!/data/data/com.termux/files/usr/bin/sh
55
+
termux-wake-lock
56
+
node /data/data/com.termux/files/usr/bin/node-red
57
+
```
44
58
45
59
### Device Access
46
60
@@ -50,7 +64,7 @@ node.
50
64
51
65
**Note**: you need to install both the add-on app, and also the add-on api in Termux.
52
66
53
-
Install add-on app - <ahref="https://play.google.com/store/apps/details?id=com.termux.api&hl=en">Termux:API</a> from Play store.
67
+
Install add-on app - Termux:API from the same source you got termux.
54
68
55
69
Install add-on access into Termux
56
70
@@ -59,3 +73,7 @@ Install add-on access into Termux
59
73
### Useful links
60
74
61
75
-[How to use Termux API](https://wiki.termux.com/wiki/Termux:API)
Copy file name to clipboardExpand all lines: docs/user-guide/runtime/configuration.md
+3Lines changed: 3 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -237,6 +237,9 @@ The theme of the editor can be changed by using the following settings object. A
237
237
// The following only apply if the editor is set to "monaco"
238
238
theme: "vs", // Select a color theme for the text editor component. Must match the file name of a theme in packages/node_modules/@node-red/editor-client/src/vendor/monaco/dist/theme
239
239
}
240
+
},
241
+
mermaid: {
242
+
theme: "default" // Select a color theme for the Mermaid diagramming and charting tool. Must match the name of a theme in https://mermaid.js.org/config/theming.html#available-themes
0 commit comments