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
In all the projects in this repository, we are using `libgpiod` and the different wrappers and bindings for the variuos programming languages to interact with the RPI GPIOs. There are many other projects and libraries that can be used, but this is the most portable one across all the Raspberry Pi flavours and it can also be extrapolated to any Linux-based machine.
6
+
7
+
In this project, we are going to use `node-red-contrib-libgpiod` which is the
8
+
9
+
Go to the menu "Manage Palette" --> "Install". Search the following nodes and install them.
10
+
11
+
@arduino/node-red-contrib-arduino-iot-cloud
12
+
node-red-contrib-libgpiod
13
+
14
+
## Configure the access to Arduino Cloud
15
+
16
+
## How to install Node-RED
17
+
There are many ways to install Node-RED in a Raspberry Pi or any other machine. Typically, you can use: docker, snap, apt, native node.js installation.
18
+
The tricky point is that we want our Node-RED instance to have access to the GPIOs and host system. This can be achieved with all the installation methods but for most of them it is quite difficult to achieve and many conflicts and issues need to be solved. So, the easiest and recommended way would be to do a native installation using NPM.
19
+
20
+
These are the instructions
21
+
1. Installation
22
+
```
23
+
sudo npm install -g --unsafe-perm node-red
24
+
```
25
+
2. Manage the service
26
+
I recommend using pm2 to manage the service and make it start on boot
0 commit comments