From 2c458baa282bfcb72dff0755d91b6f51f0bb33d4 Mon Sep 17 00:00:00 2001 From: nodered-iot Date: Mon, 10 Feb 2025 21:50:34 +0100 Subject: [PATCH] iot broker test --- flows.json | 70 ++++++++++++++++++++++++++++++++++++++++++++++++- flows_cred.json | 2 +- 2 files changed, 70 insertions(+), 2 deletions(-) diff --git a/flows.json b/flows.json index 871d8fc..16a4ceb 100644 --- a/flows.json +++ b/flows.json @@ -3,10 +3,41 @@ "id": "27084be7aa8f9652", "type": "tab", "label": "Flow 1", - "disabled": false, + "disabled": true, "info": "", "env": [] }, + { + "id": "bede7d5436c69c52", + "type": "mqtt-broker", + "name": "nr-iot", + "broker": "emqx.iot.devnet.local", + "port": 1883, + "clientid": "", + "autoConnect": true, + "usetls": false, + "protocolVersion": "4", + "keepalive": 60, + "cleansession": true, + "autoUnsubscribe": true, + "birthTopic": "iottest", + "birthQos": "0", + "birthRetain": "false", + "birthPayload": "", + "birthMsg": {}, + "closeTopic": "", + "closeQos": "0", + "closeRetain": "false", + "closePayload": "", + "closeMsg": {}, + "willTopic": "", + "willQos": "0", + "willRetain": "false", + "willPayload": "", + "willMsg": {}, + "userProps": "", + "sessionExpiry": "" + }, { "id": "98189df2ee850f46", "type": "inject", @@ -68,5 +99,42 @@ "x": 480, "y": 140, "wires": [] + }, + { + "id": "47dcd3b7a859621d", + "type": "mqtt in", + "z": "27084be7aa8f9652", + "name": "", + "topic": "iottest", + "qos": "2", + "datatype": "auto-detect", + "broker": "bede7d5436c69c52", + "nl": false, + "rap": true, + "rh": 0, + "inputs": 0, + "x": 170, + "y": 360, + "wires": [ + [ + "f9b7adaaa095bb7c" + ] + ] + }, + { + "id": "f9b7adaaa095bb7c", + "type": "debug", + "z": "27084be7aa8f9652", + "name": "debug 3", + "active": true, + "tosidebar": true, + "console": false, + "tostatus": false, + "complete": "false", + "statusVal": "", + "statusType": "auto", + "x": 360, + "y": 360, + "wires": [] } ] \ No newline at end of file diff --git a/flows_cred.json b/flows_cred.json index e0b834a..c413e1b 100644 --- a/flows_cred.json +++ b/flows_cred.json @@ -1,3 +1,3 @@ { - "$": "5210ab61524655549081c3a3e4eadb6c1p0=" + "$": "749921e59b82dcaf9c6e9525d0b7c065Y6KQAp5MQdOrokLxwZ5A76tIgHzxwRWh88o9P3QHhccHNRBqZMVR+RC6FmOlPcjQnibLBQwYFc6CKHrwyR3mGsA=" } \ No newline at end of file