Try this
[
{
"id": "995061048c706d6e",
"type": "tab",
"label": "流程 1",
"disabled": false,
"info": "",
"env": []
},
{
"id": "f6cde6d32be766eb",
"type": "function",
"z": "995061048c706d6e",
"name": "function 1",
"func": "msg.payload = \n{\n ssid: \"Test01\",\npassword: \"1234\"\n}\nreturn msg;",
"outputs": 1,
"noerr": 0,
"initialize": "",
"finalize": "",
"libs": [],
"x": 100,
"y": 220,
"wires": [
[
"6dece5d4154264f9"
]
]
},
{
"id": "77c9b67ab488af4d",
"type": "inject",
"z": "995061048c706d6e",
"name": "",
"props": [
{
"p": "payload"
},
{
"p": "topic",
"vt": "str"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "",
"payload": "",
"payloadType": "date",
"x": 70,
"y": 140,
"wires": [
[
"f6cde6d32be766eb"
]
]
},
{
"id": "6dece5d4154264f9",
"type": "function",
"z": "995061048c706d6e",
"name": "function 2",
"func": "var command = \"nmcli device wifi con ssid \" + msg.payload.ssid + \" password \\\"\" + msg.payload.password +\"\\\"\";\nmsg.payload = command;\nreturn msg;",
"outputs": 1,
"noerr": 0,
"initialize": "",
"finalize": "",
"libs": [],
"x": 280,
"y": 200,
"wires": [
[
"434be9b283ea07a3"
]
]
},
{
"id": "434be9b283ea07a3",
"type": "debug",
"z": "995061048c706d6e",
"name": "debug 21",
"active": true,
"tosidebar": true,
"console": false,
"tostatus": false,
"complete": "false",
"statusVal": "",
"statusType": "auto",
"x": 480,
"y": 200,
"wires": []
}
]