Skip to content

Instantly share code, notes, and snippets.

@ktinkerer
Created March 4, 2016 11:52
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 ktinkerer/37d9cb3b573af153a30a to your computer and use it in GitHub Desktop.
Save ktinkerer/37d9cb3b573af153a30a to your computer and use it in GitHub Desktop.
Sun events to IFTTT Node-RED example
[
{
"id":"988f87a9.677078",
"type":"sun events",
"z":"371c357.fc8e3ca",
"testmode":true,
"verbose":false,
"topic":"Sun",
"name":"Sun",
"x":114.21900939941406,
"y":232.70401000976562,
"wires":[
[
"f96ef995.341d78"
]
]
},
{
"id":"eb9b94b2.146468",
"type":"ifttt trigger",
"z":"371c357.fc8e3ca",
"url":"",
"name":"SunIf",
"method":"POST",
"ret":"txt",
"event":"SunIf",
"secretkey":"",
"val1":"",
"val2":"",
"val3":"",
"x":457.9020080566406,
"y":216,
"wires":[
[
]
]
},
{
"id":"f96ef995.341d78",
"type":"function",
"z":"371c357.fc8e3ca",
"name":"",
"func":"msg.value1 = msg.payload;\nreturn msg;",
"outputs":1,
"noerr":0,
"x":295,
"y":222,
"wires":[
[
"eb9b94b2.146468"
]
]
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment