|
1 | 1 | # node-red-contrib-arduino-iot-cloud
|
2 | 2 |
|
3 |
| -This module implements node-red nodes for interacting with [Arduino IoT Cloud](https://create.arduino.cc/iot). |
| 3 | +This module implements Node-RED nodes for interacting with [Arduino IoT Cloud](https://create.arduino.cc/iot). |
4 | 4 | Multi Arduino Accounts are allowed.
|
5 | 5 |
|
| 6 | +## Docker and Node-RED installation |
| 7 | +The easiest way to install Docker on a linux system is to use [the convenience script](https://docs.docker.com/engine/install/ubuntu/#install-using-the-convenience-script): |
| 8 | +```shell |
| 9 | +curl -sSL https://get.docker.com/ | sh |
| 10 | +``` |
| 11 | +To install Node-RED you can use the [official docker container](https://hub.docker.com/r/nodered/node-red): |
| 12 | +```shell |
| 13 | +docker run -it -p 1880:1880 -v myNodeREDdata:/data --name mynodered nodered/node-red |
| 14 | +``` |
| 15 | + |
| 16 | + |
6 | 17 | ## Installation
|
7 |
| -Install node-red-contrib-arduino-iot-cloud with: |
| 18 | +Just search *node-red-contrib-arduino-iot-cloud* in the Node-RED palette manager and click on install |
8 | 19 |
|
9 |
| -`npm install @arduino/node-red-contrib-arduino-iot-cloud` |
| 20 | +Or you can install the plugin by using `npm` in your `$HOME/.node-red` directory: |
10 | 21 |
|
11 |
| -into your $HOME/.node-red directory or via node-red palette manager |
| 22 | +`npm install @arduino/node-red-contrib-arduino-iot-cloud` |
12 | 23 |
|
13 | 24 | ## Configuration
|
14 |
| -1. Obtain Client ID and Client Secret from the [things webpage](https://create.arduino.cc/iot/things) by clicking on *Add API* |
15 |
| -2. Go to NodeRED web page |
16 |
| -3. Select one Arduino node from the pallete and drag to a flow |
| 25 | +1. Obtain Client ID and Client Secret from the [integrations webpage](https://create.arduino.cc/iot/integrations) by clicking on *Create API key* |
| 26 | +2. Go to Node-RED web page |
| 27 | +3. Select one Arduino nodes from the pallete and drag to a flow |
17 | 28 | 4. Double click on the node
|
18 | 29 | * set a new connection
|
19 | 30 | + select 'Add new arduino-connection...' in the field 'Connection'
|
|
0 commit comments