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/raspberrypi.md
+8-13Lines changed: 8 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,16 +7,11 @@ redirect_from:
7
7
- /docs/hardware/raspberrypi
8
8
---
9
9
10
-
11
-
### Prerequisites
12
-
13
-
If you are using Raspberry Pi OS, Bullseye is the currently supported version.
14
-
15
10
### Installing and Upgrading Node-RED
16
11
17
12
We provide a script to install Node.js, npm and Node-RED onto a Raspberry
18
-
Pi. The script can also be used to upgrade an existing install when a new
19
-
release is available.
13
+
Pi, and other platforms running a Debian based OS. The script can also be
14
+
used to upgrade an existing install when a new release is available.
20
15
21
16
Running the following command will download and run the script. If you want
22
17
to review the contents of the script first, you can view it [on Github](https://raw.githubusercontent.com/node-red/linux-installers/master/deb/update-nodejs-and-nodered).
@@ -60,7 +55,7 @@ As with [running Node-RED locally](/docs/getting-started/local), you can use
60
55
the `node-red` command to run Node-RED in a terminal. It can then be stopped
61
56
by pressing `Ctrl-C` or by closing the terminal window.
62
57
63
-
Due to the limited memory of the Raspberry Pi, you will need to start Node-RED
58
+
Due to the limited memory of the Raspberry Pi, you may need to start Node-RED
64
59
with an additional argument to tell the underlying Node.js process to free up
The install script for the Pi also sets it up to run as a service. This means it
71
+
The install script also sets it up to run as a service. This means it
77
72
can run in the background and be enabled to automatically start on boot.
78
73
79
74
The following commands are provided to work with the service:
@@ -82,16 +77,16 @@ The following commands are provided to work with the service:
82
77
Pressing `Ctrl-C` or closing the window does *not* stop the service; it keeps
83
78
running in the background
84
79
-`node-red-stop` - this stops the Node-RED service
85
-
-`node-red-restart` - this stops and restarts the Node-RED service
80
+
-`node-red-restart` - this restarts the Node-RED service
81
+
-`node-red-reload` - this stops then starts the Node-RED service
86
82
-`node-red-log` - this displays the log output of the service
87
83
88
84
You can also start the Node-RED service on the Raspberry Pi OS Desktop by selecting
89
85
the `Menu -> Programming -> Node-RED` menu option.
90
86
91
87
### Autostart on boot
92
88
93
-
If you want Node-RED to run when the Pi is turned on, or re-booted, you can enable the service
94
-
to autostart by running the command:
89
+
If you want Node-RED to run when the device is turned on, or re-booted, you can enable the service to autostart by running the command:
95
90
96
91
```
97
92
sudo systemctl enable nodered.service
@@ -108,7 +103,7 @@ Once Node-RED is running you can access the editor in a browser.
108
103
109
104
If you are using the browser on the Pi desktop, you can open the address: <http://localhost:1880>.
110
105
111
-
<divclass="doc-callout">We recommend using a browser outside of the PI and pointing it at Node-RED running on the Pi. However you can use the built in browser and if so we recommend Chromium or Firefox-ESR and <i>not</i> Epiphany</div>.
106
+
<divclass="doc-callout">We recommend using a browser outside of the Pi and pointing it at Node-RED running on the Pi. However you can use the built in browser and if so we recommend Chromium or Firefox and <i>not</i> Epiphany</div>.
112
107
113
108
When browsing from another machine you should use the hostname or IP-address of the Pi: `http://<hostname>:1880`. You
114
109
can find the IP address by running `hostname -I` on the Pi.
0 commit comments