@@ -6,14 +6,13 @@ Multi Arduino Accounts are allowed.
6
6
## Installation
7
7
Install node-red-contrib-arduino-cloud with:
8
8
9
- ` npm install -g https://{username}:{token}@ github.com/bcmi-labs /node-red-contrib-arduino-cloud.git `
9
+ ` npm install -g https://github.com/arduino /node-red-contrib-arduino-iot -cloud.git `
10
10
11
- where ` username ` is your github login username and ` token ` is one of your github personal access tokens.
12
-
13
- ## Configuration
14
- 1 ) Obtain from an Arduino Cloud account the Client ID and Client Secret
15
- 2 ) Select Arduino nodes from the pallete and drag to a flow
16
- 3 ) Double click
11
+ ## Configuration
12
+ 1 . Obtain Client ID and Client Secret from the [ things webpage] ( https://create.arduino.cc/iot/things ) by clicking on * Add API*
13
+ 2 . Go to NodeRED web page
14
+ 3 . Select one Arduino node from the pallete and drag to a flow
15
+ 4 . Double click on the node
17
16
* set a new connection
18
17
+ select 'Add new arduino-connection...' in the field 'Connection'
19
18
+ Click edit (Pencil button)
@@ -22,32 +21,26 @@ where `username` is your github login username and `token` is one of your github
22
21
* Select a thing
23
22
* Select a Property
24
23
* Set a name
25
- 4 ) Connect Arduino property input node to other nodes to consume data coming from a thing property.
26
- 5 ) Send a payload to the Arduino property output node to change the value of a thing property.
24
+ 5 . Connect Arduino property input node to other nodes to consume data coming from a thing property.
25
+ 6 . Send a payload to the Arduino property output node to change the value of a thing property.
27
26
28
27
## Nodes
28
+
29
29
### property (In)
30
30
This node injects in the flow the changed value of a specific Arduino IoT Cloud property.
31
+
31
32
### property (Out)
32
33
This node update a specific Arduino IoT Cloud property with the value received in input
34
+
33
35
### historic
34
36
This node injects in the flow a set of values of an Arduino Cloud Property based on the node configuration.
35
-
36
37
Node parameter:
37
38
+ Time Filter: defines time range for historical values
39
+
38
40
### periodic
39
41
This node injects in the flow the value of an Arduino Cloud Property with a periodicity based on the node configuration.
40
-
41
42
Node parameter:
42
43
+ Poll Every: defines polling time interval (seconds, minutes, hours, days, weeks)
43
- ### inject
44
- This node injects in the flow the value of an Arduino Cloud Property after receiving an input event.
45
- ## Development environment
46
- To use development version of arduino APIs set the following environment variables befor starting node-red
47
-
48
- + ` API_BASE_PATH=http://api-dev.arduino.cc/iot `
49
-
50
- + ` NODE_RED_ACCESS_TOKEN_URI=https://login.oniudra.cc/oauth/token `
51
-
52
- + ` NODE_RED_MQTT_HOST=wss.iot.oniudra.cc `
53
44
45
+ ### inject
46
+ This node injects in the flow the value of an Arduino Cloud Property after receiving an input event.
0 commit comments