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/balena.md
+17-4Lines changed: 17 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,9 @@ redirect_from:
7
7
- /docs/platforms/balena
8
8
---
9
9
10
-
This guide is going to install Node-RED on an edge device using [balena.io](https://balena.io) in 1 click. Running Node-RED on balena, means that you are using containers and Node-RED can run alognside with other services such as MQTT, databases, LoRa Network Servers and more. balena is a platform for managing fleets of connected devices.
10
+
This guide is going to install Node-RED on an edge device using [balena.io](https://balena.io) in 1 click.
11
+
12
+
Running Node-RED on balena, means that you are using containers and Node-RED can run alognside with other services such as MQTT, databases, LoRa Network Servers and more. balena is a platform for managing fleets of connected devices. balena.io fleets run balenaOS (open source Linux operating system), which executes containers (using balenaEngine based on Docker Moby).
11
13
12
14
13
15
### Hardware required
@@ -40,9 +42,17 @@ You can deploy this project to a new balenaCloud fleet in one click using the bu
40
42
41
43
Clicking the deploy button will create an application with all the necessary code to deploy your Node-RED project.
42
44
43
-
<imgsrc="images/balena-creating-fleet.png" />
45
+
<imgsrc="/images/balena-creating-fleet.png" />
46
+
47
+
Create the fleet and you will see the code being release on balenaCloud.
48
+
49
+
Click `Add device` and download the balenaOS image with the WiFi credentials that you will need (in case that you use WiFi).
44
50
45
-
<imgsrc="images/balena-device-nodeRED.png" />
51
+
Flash the SD card with [balenaEtcher](https://www.balena.io/etcher/) and power up the device with the SD card.
52
+
53
+
The device will appear on balenaCloud and the `Node-RED` service will be deployed on the device, such as in the image below.
54
+
55
+
<imgsrc="/images/balena-device-nodeRED.png" />
46
56
47
57
Once the `Node-RED` service has been deployed on your device, copy your local IP (if you are using the same network) or just click on `Public Device URL` and access to the Node-RED UI.
48
58
@@ -125,9 +135,12 @@ Now using the balena CLI, push the code to your fleet using `balena push <the-na
125
135
126
136
Once the project has been built on the balena builders, you should see your device downloading the new images containers and starting them.
127
137
128
-
<img src="images/balena-nodeRED-mqtt.png" />
138
+
<img src="/images/balena-nodeRED-mqtt.png" />
129
139
130
140
In this repository you can find an example of [nodeRED and MQTT mosquitto](https://github.com/mpous/balena-nodered-mqtt) on balena.
131
141
132
142
143
+
### Troubleshooting
144
+
145
+
If there is any issue not reported here, feel free to report it at the [balena forums](https://forums.balena.io).
0 commit comments