Hi and thank you and @Paul-Reed for the quick response!
I have tried both methods of setting the originator and set it message specific.
I am however having trouble receiving this particulair message. I do not seem to realise anything that is off. I confirmed the originator is set properly and simular as the original message.
See screenshot of console.log:
I have also shared my simple test flow with my current code. I believe it should be copy’able.
Rob
[
{
"id": "eb3b78bce9daaeed",
"type": "tab",
"label": "UI Navigation",
"disabled": false,
"info": "",
"env": []
},
{
"id": "02fa133eee9ba3be",
"type": "group",
"z": "eb3b78bce9daaeed",
"name": "UI Communication Example",
"style": {
"label": true
},
"nodes": [
"49c9aee1fb65d9db",
"daaf17478b89feb0",
"f5fac2d4f61ede18"
],
"x": 108,
"y": 59,
"w": 944,
"h": 308
},
{
"id": "daaf17478b89feb0",
"type": "group",
"z": "eb3b78bce9daaeed",
"g": "02fa133eee9ba3be",
"name": "Send Command/Data / Receive Command/Data",
"style": {
"label": true
},
"nodes": [
"3e3ccf70407e0492",
"6756c553dbc5c3e0",
"0993ceca16973cba"
],
"x": 134,
"y": 139,
"w": 892,
"h": 82
},
{
"id": "f5fac2d4f61ede18",
"type": "group",
"z": "eb3b78bce9daaeed",
"g": "02fa133eee9ba3be",
"name": "Send Command/Data (and get response)",
"style": {
"label": true
},
"nodes": [
"f669e9c29c0ed4f1",
"3ba738b136ed6003",
"3fc1ae1b57e4f07d"
],
"x": 134,
"y": 259,
"w": 892,
"h": 82
},
{
"id": "3e3ccf70407e0492",
"type": "debug",
"z": "eb3b78bce9daaeed",
"g": "daaf17478b89feb0",
"name": "Receive Data",
"active": false,
"tosidebar": true,
"console": false,
"tostatus": false,
"complete": "true",
"targetType": "full",
"statusVal": "",
"statusType": "auto",
"x": 900,
"y": 180,
"wires": []
},
{
"id": "f669e9c29c0ed4f1",
"type": "inject",
"z": "eb3b78bce9daaeed",
"g": "f5fac2d4f61ede18",
"name": "Send Ping",
"props": [
{
"p": "topic",
"vt": "str"
},
{
"p": "payload"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "CHECK",
"payload": "ping",
"payloadType": "str",
"x": 240,
"y": 300,
"wires": [
[
"3ba738b136ed6003"
]
]
},
{
"id": "3ba738b136ed6003",
"type": "uib-sender",
"z": "eb3b78bce9daaeed",
"g": "f5fac2d4f61ede18",
"url": "communication",
"uibId": "6756c553dbc5c3e0",
"name": "Sender",
"topic": "",
"passthrough": false,
"return": true,
"outputs": 1,
"x": 480,
"y": 300,
"wires": [
[
"3fc1ae1b57e4f07d"
]
]
},
{
"id": "3fc1ae1b57e4f07d",
"type": "debug",
"z": "eb3b78bce9daaeed",
"g": "f5fac2d4f61ede18",
"name": "Response Data",
"active": true,
"tosidebar": true,
"console": false,
"tostatus": false,
"complete": "true",
"targetType": "full",
"statusVal": "",
"statusType": "auto",
"x": 900,
"y": 300,
"wires": []
},
{
"id": "49c9aee1fb65d9db",
"type": "comment",
"z": "eb3b78bce9daaeed",
"g": "02fa133eee9ba3be",
"name": "Documentation",
"info": "https://totallyinformation.github.io/node-red-contrib-uibuilder/",
"x": 240,
"y": 100,
"wires": [],
"icon": "font-awesome/fa-commenting-o"
},
{
"id": "0993ceca16973cba",
"type": "inject",
"z": "eb3b78bce9daaeed",
"g": "daaf17478b89feb0",
"name": "Send Hello World",
"props": [
{
"p": "payload"
},
{
"p": "topic",
"vt": "str"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "",
"payload": "hello world!",
"payloadType": "str",
"x": 260,
"y": 180,
"wires": [
[
"6756c553dbc5c3e0"
]
]
},
{
"id": "6756c553dbc5c3e0",
"type": "uibuilder",
"z": "eb3b78bce9daaeed",
"g": "daaf17478b89feb0",
"name": "Communication Example",
"topic": "",
"url": "communication",
"okToGo": true,
"fwdInMessages": false,
"allowScripts": false,
"allowStyles": false,
"copyIndex": true,
"templateFolder": "blank",
"extTemplate": "",
"showfolder": false,
"reload": true,
"sourceFolder": "src",
"deployedVersion": "7.2.0",
"showMsgUib": false,
"title": "",
"descr": "",
"editurl": "vscode://file\\Users\\Interko\\.node-red\\uibuilder/communication/?windowId=_blank",
"x": 590,
"y": 180,
"wires": [
[
"3e3ccf70407e0492"
],
[]
]
}
]