108 lines
No EOL
2.3 KiB
JSON
108 lines
No EOL
2.3 KiB
JSON
[
|
|
{
|
|
"id": "84222b92.d65d18",
|
|
"type": "inject",
|
|
"z": "a7ac8a68.0f7218",
|
|
"name": "",
|
|
"props": [
|
|
{
|
|
"p": "payload"
|
|
},
|
|
{
|
|
"p": "topic",
|
|
"vt": "str"
|
|
}
|
|
],
|
|
"repeat": "",
|
|
"crontab": "",
|
|
"once": false,
|
|
"onceDelay": 0.1,
|
|
"topic": "",
|
|
"payload": "Hello, World!",
|
|
"payloadType": "str",
|
|
"x": 230,
|
|
"y": 160,
|
|
"wires": [
|
|
[
|
|
"b4b9f603.739598"
|
|
]
|
|
]
|
|
},
|
|
{
|
|
"id": "7b014430.dfd94c",
|
|
"type": "comment",
|
|
"z": "a7ac8a68.0f7218",
|
|
"name": "Watch changes of a file",
|
|
"info": "Watch node can watch and report changes of a file.",
|
|
"x": 200,
|
|
"y": 80,
|
|
"wires": []
|
|
},
|
|
{
|
|
"id": "b4b9f603.739598",
|
|
"type": "file",
|
|
"z": "a7ac8a68.0f7218",
|
|
"name": "",
|
|
"filename": "/tmp/hello.txt",
|
|
"appendNewline": true,
|
|
"createDir": false,
|
|
"overwriteFile": "true",
|
|
"encoding": "none",
|
|
"x": 420,
|
|
"y": 160,
|
|
"wires": [
|
|
[]
|
|
]
|
|
},
|
|
{
|
|
"id": "672d3693.3cabd8",
|
|
"type": "comment",
|
|
"z": "a7ac8a68.0f7218",
|
|
"name": "↓write to /tmp/hello.txt",
|
|
"info": "",
|
|
"x": 440,
|
|
"y": 120,
|
|
"wires": []
|
|
},
|
|
{
|
|
"id": "15f1f5aa.506ffa",
|
|
"type": "watch",
|
|
"z": "a7ac8a68.0f7218",
|
|
"name": "",
|
|
"files": "/tmp/hello.txt",
|
|
"recursive": "",
|
|
"x": 410,
|
|
"y": 200,
|
|
"wires": [
|
|
[
|
|
"a91562b9.ca805"
|
|
]
|
|
]
|
|
},
|
|
{
|
|
"id": "a91562b9.ca805",
|
|
"type": "debug",
|
|
"z": "a7ac8a68.0f7218",
|
|
"name": "",
|
|
"active": true,
|
|
"tosidebar": true,
|
|
"console": false,
|
|
"tostatus": false,
|
|
"complete": "false",
|
|
"statusVal": "",
|
|
"statusType": "auto",
|
|
"x": 610,
|
|
"y": 200,
|
|
"wires": []
|
|
},
|
|
{
|
|
"id": "2ab4eba8.267d64",
|
|
"type": "comment",
|
|
"z": "a7ac8a68.0f7218",
|
|
"name": "↑watch changes of /tmp/hello.txt",
|
|
"info": "",
|
|
"x": 470,
|
|
"y": 240,
|
|
"wires": []
|
|
}
|
|
] |