Skip to content

Instantly share code, notes, and snippets.

@stevehenderson
Created October 12, 2020 21:11
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 stevehenderson/d977191fd19a1988b2f1feae3be69593 to your computer and use it in GitHub Desktop.
Save stevehenderson/d977191fd19a1988b2f1feae3be69593 to your computer and use it in GitHub Desktop.
RaspberryPi Green Lab
[
{
"id": "e8651431.f956e8",
"type": "tab",
"label": "Flow 1",
"disabled": false,
"info": ""
},
{
"id": "a645b11c.917fd",
"type": "rpi-gpio out",
"z": "e8651431.f956e8",
"name": "GREEN LED",
"pin": "40",
"set": true,
"level": "0",
"freq": "",
"out": "out",
"x": 790,
"y": 120,
"wires": []
},
{
"id": "1138bdcd.444c02",
"type": "debug",
"z": "e8651431.f956e8",
"name": "",
"active": true,
"tosidebar": true,
"console": false,
"tostatus": false,
"complete": "false",
"statusVal": "",
"statusType": "auto",
"x": 790,
"y": 480,
"wires": []
},
{
"id": "6fa99cff.d94db4",
"type": "split",
"z": "e8651431.f956e8",
"name": "",
"splt": "\\n",
"spltType": "str",
"arraySplt": 1,
"arraySpltType": "len",
"stream": false,
"addname": "",
"x": 590,
"y": 180,
"wires": [
[
"a645b11c.917fd",
"1138bdcd.444c02"
]
]
},
{
"id": "df945e76.1e093",
"type": "inject",
"z": "e8651431.f956e8",
"name": "GREEN ON",
"props": [
{
"p": "payload"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "",
"payload": "1",
"payloadType": "str",
"x": 390,
"y": 120,
"wires": [
[
"6fa99cff.d94db4"
]
]
},
{
"id": "74e4245c.7e9ffc",
"type": "inject",
"z": "e8651431.f956e8",
"name": "GREEN OFF",
"props": [
{
"p": "payload"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "",
"payload": "0",
"payloadType": "str",
"x": 390,
"y": 180,
"wires": [
[
"6fa99cff.d94db4"
]
]
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment