iot broker test

This commit is contained in:
nodered-iot 2025-02-10 21:50:34 +01:00
parent c811541743
commit 2c458baa28
2 changed files with 70 additions and 2 deletions

View File

@ -3,10 +3,41 @@
"id": "27084be7aa8f9652", "id": "27084be7aa8f9652",
"type": "tab", "type": "tab",
"label": "Flow 1", "label": "Flow 1",
"disabled": false, "disabled": true,
"info": "", "info": "",
"env": [] "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", "id": "98189df2ee850f46",
"type": "inject", "type": "inject",
@ -68,5 +99,42 @@
"x": 480, "x": 480,
"y": 140, "y": 140,
"wires": [] "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": []
} }
] ]

View File

@ -1,3 +1,3 @@
{ {
"$": "5210ab61524655549081c3a3e4eadb6c1p0=" "$": "749921e59b82dcaf9c6e9525d0b7c065Y6KQAp5MQdOrokLxwZ5A76tIgHzxwRWh88o9P3QHhccHNRBqZMVR+RC6FmOlPcjQnibLBQwYFc6CKHrwyR3mGsA="
} }