Skip to content

Instantly share code, notes, and snippets.

@FokkeZB
Last active September 27, 2016 13:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save FokkeZB/2d475e136cda21c3d642b0da66e565fe to your computer and use it in GitHub Desktop.
Save FokkeZB/2d475e136cda21c3d642b0da66e565fe to your computer and use it in GitHub Desktop.
The Things Network IFTTT Example
[{
"id": "f2d6214.9aaa5e",
"type": "ttn",
"z": "7ea4c213.c54f5c",
"app": "d89e59c8.649c88",
"name": "",
"x": 139.5,
"y": 53,
"wires": [
["e0c21758.740398", "d7c924de.b02c"],
["e0c21758.740398"]
]
}, {
"id": "e0c21758.740398",
"type": "debug",
"z": "7ea4c213.c54f5c",
"name": "",
"active": true,
"console": "false",
"complete": "payload",
"x": 348.5,
"y": 48,
"wires": []
}, {
"id": "d7c924de.b02c",
"type": "function",
"z": "7ea4c213.c54f5c",
"name": "create request",
"func": "return {\n payload: {\n value1: msg.payload.raw\n }\n};",
"outputs": 1,
"noerr": 0,
"x": 208.5,
"y": 141,
"wires": [
["7a3ab7f4.d769b"]
]
}, {
"id": "7a3ab7f4.d769b",
"type": "http request",
"z": "7ea4c213.c54f5c",
"name": "",
"method": "POST",
"ret": "txt",
"url": "https://maker.ifttt.com/trigger/message/with/key/your-key",
"tls": "",
"x": 338.5,
"y": 230,
"wires": [
["11ab257b.51ee03"]
]
}, {
"id": "11ab257b.51ee03",
"type": "debug",
"z": "7ea4c213.c54f5c",
"name": "",
"active": true,
"console": "false",
"complete": "payload",
"x": 464.5,
"y": 309,
"wires": []
}, {
"id": "d89e59c8.649c88",
"type": "ttn app",
"z": "7ea4c213.c54f5c",
"appId": "",
"accessKey": "",
"region": "eu"
}]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment