Skip to content

Commit 23b6697

Browse files
committed
Node-RED: This and that
1 parent 7866c82 commit 23b6697

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

docs/integrate/node-red/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ deployed to its runtime in a single-click.
2222
:::{dropdown} **Managed Node-RED**
2323
```{div}
2424
:style: "float: right; margin: 0.5em"
25-
[![FlowFuse logo](https://github.com/crate/crate-clients-tools/assets/453543/200d1a92-1e38-453a-89bf-d8b727451fab){w=180px}][FlowFuse]
25+
[![FlowFuse logo](https://github.com/crate/crate-clients-tools/assets/453543/200d1a92-1e38-453a-89bf-d8b727451fab){width=180px}][FlowFuse]
2626
```
2727

2828
With [FlowFuse], and [FlowFuse Cloud], essentially unmanaged and managed DevOps

docs/integrate/node-red/mqtt-tutorial.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,12 @@ You need:
1313

1414
## Producing data
1515

16-
First, generate data to populate the MQTT topic with Node-RED. If you already have an MQTT topic with regular messages, you can skip this part.
17-
![Screenshot 2021-09-13 at 14.58.42|690x134, 50%](https://us1.discourse-cdn.com/flex020/uploads/crate/original/1X/5722946039148ca6ce69702d963f9f842c4f972c.png){h=134px}
16+
First, generate data to populate the MQTT topic with Node-RED. If you already
17+
have an MQTT topic with regular messages, you can skip this part.
18+
![Screenshot 2021-09-13 at 14.58.42|690x134, 50%](https://us1.discourse-cdn.com/flex020/uploads/crate/original/1X/5722946039148ca6ce69702d963f9f842c4f972c.png){width=480px}
1819

1920
The `inject` node creates a JSON payload with three attributes:
20-
![Screenshot 2021-09-13 at 14.56.42|690x293, 50%](https://us1.discourse-cdn.com/flex020/uploads/crate/original/1X/8084a53e544d681e79f85d780c621a340a7d0d30.png){h=293px}
21+
![Screenshot 2021-09-13 at 14.56.42|690x293, 50%](https://us1.discourse-cdn.com/flex020/uploads/crate/original/1X/8084a53e544d681e79f85d780c621a340a7d0d30.png){width=480px}
2122

2223
In this example, two fields are static; only the timestamp changes.
2324
Download the full workflow definition: [flows-producer.json](https://community.cratedb.com/uploads/short-url/eOvAk3XzDkRbNZjcZV0pZ0SnGu4.json) (1.3 KB)
@@ -60,7 +61,7 @@ Download the full workflow definition: [flows-consumer.json](https://community.c
6061
## Testing
6162

6263
To test the workflow, click the square to the left of the timestamp node
63-
(![Screenshot 2021-09-13 at 14.24.50|70x68, 40%](https://us1.discourse-cdn.com/flex020/uploads/crate/original/1X/d3e06521d875fe2daa959b3adc9f5bf6a22453e7.png){w=30px})
64+
(![Screenshot 2021-09-13 at 14.24.50|70x68, 40%](https://us1.discourse-cdn.com/flex020/uploads/crate/original/1X/d3e06521d875fe2daa959b3adc9f5bf6a22453e7.png){width=30px})
6465
to inject a message. In this configuration, an INSERT triggers after two
6566
messages or after ten seconds if a second message does not arrive.
6667

@@ -69,4 +70,4 @@ Then run a SELECT statement on your CrateDB cluster to see the inserted rows:
6970
SELECT *
7071
FROM nodered_target;
7172
```
72-
![Screenshot 2021-09-13 at 16.05.33|690x419, 75%](https://us1.discourse-cdn.com/flex020/uploads/crate/original/1X/37e20012ca132be3b1c810cc73340724640fb658.png){w=640px}
73+
![Screenshot 2021-09-13 at 16.05.33|690x419, 75%](https://us1.discourse-cdn.com/flex020/uploads/crate/original/1X/37e20012ca132be3b1c810cc73340724640fb658.png){width=640px}

0 commit comments

Comments
 (0)