@@ -6,14 +6,13 @@ Multi Arduino Accounts are allowed.
66## Installation
77Install node-red-contrib-arduino-cloud with:
88
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 `
1010
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
1716 * set a new connection
1817 + select 'Add new arduino-connection...' in the field 'Connection'
1918 + Click edit (Pencil button)
@@ -22,32 +21,26 @@ where `username` is your github login username and `token` is one of your github
2221 * Select a thing
2322 * Select a Property
2423 * 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.
2726
2827## Nodes
28+
2929### property (In)
3030This node injects in the flow the changed value of a specific Arduino IoT Cloud property.
31+
3132### property (Out)
3233This node update a specific Arduino IoT Cloud property with the value received in input
34+
3335### historic
3436This node injects in the flow a set of values of an Arduino Cloud Property based on the node configuration.
35-
3637Node parameter:
3738+ Time Filter: defines time range for historical values
39+
3840### periodic
3941This node injects in the flow the value of an Arduino Cloud Property with a periodicity based on the node configuration.
40-
4142Node parameter:
4243+ 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 `
5344
45+ ### inject
46+ This node injects in the flow the value of an Arduino Cloud Property after receiving an input event.
0 commit comments