Skip to content

Instantly share code, notes, and snippets.

@jschappet
Last active November 17, 2015 16:44
Show Gist options
  • Save jschappet/622e731e6de62d3d8db3 to your computer and use it in GitHub Desktop.
Save jschappet/622e731e6de62d3d8db3 to your computer and use it in GitHub Desktop.
[
{
"id": "305c326f.cfa3ce",
"type": "inject",
"z": "2c682b6d.d397d4",
"name": "Emit Time",
"topic": "",
"payload": "",
"payloadType": "date",
"repeat": "",
"crontab": "",
"once": false,
"x": 206,
"y": 187,
"wires": [
[
"67ba68d2.984598"
]
]
},
{
"id": "67ba68d2.984598",
"type": "debug",
"z": "2c682b6d.d397d4",
"name": "",
"active": true,
"console": "false",
"complete": "payload",
"x": 753,
"y": 184,
"wires": []
},
{
"id": "abdfb022.54205",
"type": "watch",
"z": "2c682b6d.d397d4",
"name": "test",
"files": "/home/pi/filedrop/",
"x": 163,
"y": 363,
"wires": [
[
"53e95f97.ac16a"
]
]
},
{
"id": "fee0064b.011ff8",
"type": "file in",
"z": "2c682b6d.d397d4",
"name": "Get Contents",
"filename": "",
"format": "utf8",
"x": 581,
"y": 302,
"wires": [
[
"67ba68d2.984598"
]
]
},
{
"id": "53e95f97.ac16a",
"type": "change",
"z": "2c682b6d.d397d4",
"name": "change to filename",
"rules": [
{
"t": "set",
"p": "filename",
"to": "msg.payload"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 406,
"y": 419,
"wires": [
[
"fee0064b.011ff8"
]
]
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment