@@ -19,27 +19,29 @@ Drag an Inject node onto the workspace from the palette.
19
19
20
20
Double click the node to bring up the edit dialog. Set the repeat interval to ` every 5 minutes ` .
21
21
22
- Click Ok to close the dialog.
22
+ Click Done to close the dialog.
23
23
24
24
#### 2. Add an HttpRequest node
25
25
26
- The HttpRequest node can be used to retrieve a web-page when triggered.
26
+ The HttpRequest node (not the first http node you see) can be used to retrieve a web-page when triggered.
27
27
28
28
After adding one to the workspace, edit it to set the ` URL ` property to:
29
29
30
30
https://earthquake.usgs.gov/earthquakes/feed/v1.0/summary/significant_week.csv
31
31
32
- You can optionally add a friendly name .
32
+ You can optionally add a friendly Name. Then click Done when to close the dialog .
33
33
34
34
This is the US Geological Survey web site feed of significant earthquakes in the last 7 days,
35
35
there are plenty of other options there if you want to play around - see https://earthquake.usgs.gov/earthquakes/feed/v1.0/csv.php
36
36
37
37
38
38
#### 3. Add a CSV node
39
39
40
- Add a CSV node and edit the properties, and tick the
40
+ Add a CSV node and edit the properties, (open by double clicking) and tick the
41
41
42
42
Input - [x] First row contains column names
43
+
44
+ Then click Done to close.
43
45
44
46
#### 4. Add a Debug node
45
47
@@ -56,16 +58,17 @@ Add a Debug node to the output.
56
58
- Wire a Switch node to the output of the CSV node.
57
59
- Configure the property to be ` msg.payload.mag `
58
60
- Configure the test to be ` >= ` and the value to be ` 7 `
61
+ - Click Done to close
59
62
60
63
#### 8. Add a Change node
61
64
62
65
- Wire a Change node to the output of the Switch node.
63
66
- Configure the node to ` Set ` , ` msg.payload ` to be ` PANIC! ` .
67
+ - Click Done to close
64
68
65
69
#### 9. Add a Debug node
66
70
67
- Wire a Debug node to the output of the Change node
68
-
71
+ Wire a new Debug node to the output of the Change node
69
72
70
73
#### 10. Deploy
71
74
0 commit comments