[
{
"id": "e6b7dd7f.bf737",
"type": "tab",
"label": "Flow 1",
"disabled": true,
"info": ""
},
{
"id": "1bb2c77d.eef559",
"type": "tab",
"label": "Flow 2",
"disabled": true,
"info": ""
},
{
"id": "6b8d443f.c7008c",
"type": "tab",
"label": "Flow 3",
"disabled": true,
"info": ""
},
{
"id": "15b74a9.aca83b5",
"type": "tab",
"label": "Haupt-Menu - Flow",
"disabled": false,
"info": ""
},
{
"id": "f48ec1bf.914d3",
"type": "tab",
"label": "Manuell - Mode - Flow",
"disabled": false,
"info": ""
},
{
"id": "1b8e8ca25cec6db5",
"type": "tab",
"label": "Flow 4",
"disabled": false,
"info": "",
"env": []
},
{
"id": "c8c64f68.dc6b6",
"type": "tab",
"label": "Halbautomatisch- Tab - Flow",
"disabled": true,
"info": ""
},
{
"id": "d38741fb.c23a7",
"type": "tab",
"label": "Automatisch - Tab - Flow",
"disabled": false,
"info": ""
},
{
"id": "e467a0e2.36083",
"type": "tab",
"label": "Über - Uns - Flow",
"disabled": false,
"info": ""
},
{
"id": "e74cb38c.b1893",
"type": "tab",
"label": "Flow 5",
"disabled": true,
"info": ""
},
{
"id": "d38b5238.f6976",
"type": "ui_group",
"name": "Analog IO",
"tab": "5427dab2.d35b94",
"order": 1,
"disp": true,
"width": "7",
"collapse": false,
"className": ""
},
{
"id": "b0de7e1f.61af",
"type": "ui_group",
"name": "Digital IO",
"tab": "5427dab2.d35b94",
"order": 3,
"disp": true,
"width": "7",
"collapse": false,
"className": ""
},
{
"id": "eef67859.c33ed8",
"type": "ui_base",
"theme": {
"name": "theme-dark",
"lightTheme": {
"default": "#0094CE",
"baseColor": "#0094CE",
"baseFont": "-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif",
"edited": true,
"reset": false
},
"darkTheme": {
"default": "#097479",
"baseColor": "#097479",
"baseFont": "-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif",
"edited": true,
"reset": false
},
"customTheme": {
"name": "Untitled Theme 1",
"default": "#4B7930",
"baseColor": "#4B7930",
"baseFont": "-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif",
"reset": false
},
"themeState": {
"base-color": {
"default": "#097479",
"value": "#097479",
"edited": false
},
"page-titlebar-backgroundColor": {
"value": "#097479",
"edited": false
},
"page-backgroundColor": {
"value": "#111111",
"edited": false
},
"page-sidebar-backgroundColor": {
"value": "#333333",
"edited": false
},
"group-textColor": {
"value": "#0eb8c0",
"edited": false
},
"group-borderColor": {
"value": "#555555",
"edited": false
},
"group-backgroundColor": {
"value": "#333333",
"edited": false
},
"widget-textColor": {
"value": "#eeeeee",
"edited": false
},
"widget-backgroundColor": {
"value": "#097479",
"edited": false
},
"widget-borderColor": {
"value": "#333333",
"edited": false
},
"base-font": {
"value": "-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif"
}
},
"angularTheme": {
"primary": "indigo",
"accents": "blue",
"warn": "red",
"background": "grey",
"palette": "light"
}
},
"site": {
"name": "Node-RED Dashboard",
"hideToolbar": "false",
"allowSwipe": "false",
"lockMenu": "false",
"allowTempTheme": "true",
"dateFormat": "DD.MM.YYYY",
"sizes": {
"sx": 48,
"sy": 48,
"gx": 6,
"gy": 6,
"cx": 6,
"cy": 6,
"px": 0,
"py": 0
}
}
},
{
"id": "89fc3bf3.9fad98",
"type": "ui_tab",
"name": "Startsite",
"icon": "fa-home",
"order": 1,
"disabled": false,
"hidden": false
},
{
"id": "5427dab2.d35b94",
"type": "ui_tab",
"name": "Manuell Mode",
"icon": "touch_app",
"order": 2,
"disabled": false,
"hidden": false
},
{
"id": "2ce8bd4a.579392",
"type": "ui_tab",
"name": "Automatisch Mode",
"icon": "mi-show_chart",
"order": 4,
"disabled": false,
"hidden": false
},
{
"id": "acd48ae8.0017c8",
"type": "ui_tab",
"name": "Über uns",
"icon": "mi-info",
"order": 5,
"disabled": false,
"hidden": false
},
{
"id": "3d96f363.7e871c",
"type": "ui_tab",
"name": "Halbautomatisch Mode",
"icon": "dashboard",
"order": 3,
"disabled": false,
"hidden": false
},
{
"id": "167f17d8.833ef8",
"type": "ui_group",
"name": "Analog IO",
"tab": "89fc3bf3.9fad98",
"order": 1,
"disp": true,
"width": "7",
"collapse": false,
"className": ""
},
{
"id": "c307a9d5.516298",
"type": "ui_group",
"name": "Test group",
"tab": "713b5a6c10af1dfb",
"order": 3,
"disp": true,
"width": "7",
"collapse": false,
"className": ""
},
{
"id": "d12c839.d7254",
"type": "ui_group",
"name": "Chart",
"tab": "2ecb90e3.af7a5",
"order": 3,
"disp": true,
"width": "26",
"collapse": false
},
{
"id": "2ecb90e3.af7a5",
"type": "ui_tab",
"name": "Solar",
"icon": "fa-sun-o",
"order": 1,
"disabled": false,
"hidden": false
},
{
"id": "a4448716.200ac8",
"type": "ui_group",
"name": "LEVEL",
"tab": "6e01408.cda5dc",
"order": 1,
"disp": true,
"width": "8",
"collapse": false
},
{
"id": "6e01408.cda5dc",
"type": "ui_tab",
"name": "Home",
"icon": "track_changes",
"order": 1,
"disabled": false,
"hidden": false
},
{
"id": "38cdd4c7.157a0c",
"type": "ui_group",
"name": "Home - Menue",
"tab": "89fc3bf3.9fad98",
"order": 2,
"disp": true,
"width": "6",
"collapse": false,
"className": ""
},
{
"id": "69506c5c.69cc44",
"type": "ui_group",
"name": "Manuell - Group",
"tab": "5427dab2.d35b94",
"order": 2,
"disp": true,
"width": "6",
"collapse": false,
"className": ""
},
{
"id": "434da36f.97884c",
"type": "ui_group",
"name": "Halbautomatisch Group",
"tab": "3d96f363.7e871c",
"order": 3,
"disp": true,
"width": "6",
"collapse": false,
"className": ""
},
{
"id": "16973422.73256c",
"type": "ui_group",
"name": "Automatisch Group",
"tab": "2ce8bd4a.579392",
"order": 1,
"disp": true,
"width": "6",
"collapse": false,
"className": ""
},
{
"id": "9e582012.011a2",
"type": "ui_spacer",
"z": "e467a0e2.36083",
"name": "spacer",
"group": "16973422.73256c",
"order": 1,
"width": 1,
"height": 1
},
{
"id": "75cb2437.5bf50c",
"type": "ui_group",
"name": "Über uns Group",
"tab": "acd48ae8.0017c8",
"order": 1,
"disp": true,
"width": "6",
"collapse": false,
"className": ""
},
{
"id": "90e17a4e.5b4108",
"type": "ui_group",
"name": "Group 2",
"tab": "2ce8bd4a.579392",
"order": 2,
"disp": true,
"width": 6
},
{
"id": "798830ce.cb221",
"type": "ui_group",
"name": "Group 3",
"tab": "2ce8bd4a.579392",
"order": 3,
"disp": true,
"width": 6
},
{
"id": "6ce45bce.cdff94",
"type": "PCA9685",
"deviceNumber": "1",
"address": "64",
"frequency": "50"
},
{
"id": "e4b30ae.0ac5bf8",
"type": "ui_group",
"name": "LEVEL",
"tab": "d628dd08.bd0b5",
"order": 1,
"disp": true,
"width": "8",
"collapse": false
},
{
"id": "d628dd08.bd0b5",
"type": "ui_tab",
"name": "Home",
"icon": "track_changes",
"order": 1,
"disabled": false,
"hidden": false
},
{
"id": "aff66d43.7f838",
"type": "PCA9685",
"deviceNumber": "1",
"address": "64",
"frequency": "50"
},
{
"id": "6ef77d1.390bb84",
"type": "ioplugin",
"name": "",
"username": "",
"password": "",
"boardType": "raspi-io",
"serialportName": "",
"connectionType": "local",
"mqttServer": "",
"pubTopic": "",
"subTopic": "",
"tcpHost": "",
"tcpPort": "",
"sparkId": "",
"sparkToken": "",
"beanId": "",
"impId": "",
"uuid": "",
"token": "",
"sendUuid": "",
"samplingInterval": "10"
},
{
"id": "45e03009.9ea36",
"type": "ioplugin",
"name": "",
"username": "",
"password": "",
"boardType": "raspi-io",
"serialportName": "/dev/ttyACM0",
"connectionType": "local",
"mqttServer": "",
"pubTopic": "",
"subTopic": "",
"tcpHost": "",
"tcpPort": "",
"sparkId": "",
"sparkToken": "",
"beanId": "",
"impId": "",
"uuid": "",
"token": "",
"sendUuid": "",
"samplingInterval": "50"
},
{
"id": "9d14748.fca1188",
"type": "ioplugin",
"name": "",
"username": "",
"password": "",
"boardType": "raspi-io",
"serialportName": "",
"connectionType": "local",
"mqttServer": "",
"pubTopic": "",
"subTopic": "",
"tcpHost": "",
"tcpPort": "",
"sparkId": "",
"sparkToken": "",
"beanId": "",
"impId": "",
"uuid": "",
"token": "",
"sendUuid": "",
"samplingInterval": "100"
},
{
"id": "713b5a6c10af1dfb",
"type": "ui_tab",
"name": "Test",
"icon": "dashboard",
"disabled": false,
"hidden": false
},
{
"id": "34f02bdd.ed8b94",
"type": "ui_slider",
"z": "e6b7dd7f.bf737",
"name": "",
"label": "PWM2 OUT",
"tooltip": "",
"group": "167f17d8.833ef8",
"order": 4,
"width": 0,
"height": 0,
"passthru": true,
"outs": "all",
"topic": "",
"topicType": "str",
"min": 0,
"max": "255",
"step": 1,
"className": "",
"x": 250,
"y": 700,
"wires": [
[
"8f3d1505.7489e8",
"120bfdd.cf0de02"
]
]
},
{
"id": "dbb8f4c1.0f76e8",
"type": "ui_text",
"z": "e6b7dd7f.bf737",
"group": "167f17d8.833ef8",
"order": 5,
"width": 0,
"height": 0,
"name": "",
"label": "PWM2 OUT",
"format": "{{msg.payload}} Volt",
"layout": "row-spread",
"className": "",
"x": 690,
"y": 760,
"wires": []
},
{
"id": "120bfdd.cf0de02",
"type": "range",
"z": "e6b7dd7f.bf737",
"minin": "0",
"maxin": "255",
"minout": "0",
"maxout": "5",
"action": "scale",
"round": false,
"property": "payload",
"name": "",
"x": 410,
"y": 760,
"wires": [
[
"5317e513.cc6e9c"
]
]
},
{
"id": "5317e513.cc6e9c",
"type": "smooth",
"z": "e6b7dd7f.bf737",
"name": "",
"property": "payload",
"action": "mean",
"count": "1",
"round": "2",
"mult": "single",
"reduce": false,
"x": 540,
"y": 760,
"wires": [
[
"dbb8f4c1.0f76e8"
]
]
},
{
"id": "fd472b5e.e36a08",
"type": "comment",
"z": "e6b7dd7f.bf737",
"name": "Analog IO / PWM2 OUT",
"info": "",
"x": 290,
"y": 660,
"wires": []
},
{
"id": "8f3d1505.7489e8",
"type": "gpio out",
"z": "e6b7dd7f.bf737",
"name": "",
"state": "PWM",
"pin": "2",
"i2cDelay": "0",
"i2cAddress": "",
"i2cRegister": "",
"outputs": 0,
"board": "45e03009.9ea36",
"x": 410,
"y": 700,
"wires": []
},
{
"id": "5eae0de8.c2547c",
"type": "function",
"z": "1bb2c77d.eef559",
"name": "Create Chart Arrays",
"func": "const data = msg.payload;\nconst dataLength = data.length;\n\nconst home=[]\nconst grid=[]\nconst solar=[]\nconst battery=[]\nconst labels = []\n\nfor (var i = 0; i < dataLength; i++) {\n const localDt = new Date(data[i].created)\n labels[i] = localDt.toLocaleString()\n home[i] = {\n x: data[i].created,\n y: data[i].home\n }\n grid[i] = data[i].grid\n solar[i] = data[i].solar\n battery[i] = data[i].battery\n}\n\nmsg.payload = {\n labels: JSON.stringify(labels),\n home: JSON.stringify(home),\n grid: JSON.stringify(grid),\n solar: JSON.stringify(solar),\n battery: JSON.stringify(battery),\n}\n\nreturn msg;",
"outputs": 1,
"noerr": 0,
"initialize": "",
"finalize": "",
"libs": [],
"x": 400,
"y": 500,
"wires": [
[
"8654012a.dfffb"
]
]
},
{
"id": "8654012a.dfffb",
"type": "template",
"z": "1bb2c77d.eef559",
"name": "",
"field": "template",
"fieldType": "msg",
"format": "html",
"syntax": "mustache",
"template": "\n\n",
"output": "str",
"x": 590,
"y": 500,
"wires": [
[
"f9934ae3.096548"
]
]
},
{
"id": "f9934ae3.096548",
"type": "ui_template",
"z": "1bb2c77d.eef559",
"group": "d12c839.d7254",
"name": "Line Chart Solar",
"order": 1,
"width": "26",
"height": "20",
"format": "",
"storeOutMessages": true,
"fwdInMessages": true,
"resendOnRefresh": false,
"templateScope": "local",
"className": "",
"x": 770,
"y": 500,
"wires": [
[]
]
},
{
"id": "42e24046.96964",
"type": "inject",
"z": "1bb2c77d.eef559",
"name": "Inject data",
"props": [
{
"p": "payload"
},
{
"p": "topic",
"vt": "str"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "",
"payload": "[{\"home\":622,\"grid\":622,\"solar\":-10,\"battery\":0,\"epochTime\":1641708000000,\"created\":\"2022-01-09T06:00:00.000Z\"},{\"home\":605.25,\"grid\":630,\"solar\":-10,\"battery\":-20,\"epochTime\":1641708300000,\"created\":\"2022-01-09T06:05:00.000Z\"},{\"home\":606.25,\"grid\":619,\"solar\":0,\"battery\":-10,\"epochTime\":1641708600000,\"created\":\"2022-01-09T06:10:00.000Z\"},{\"home\":637.25,\"grid\":630,\"solar\":0,\"battery\":0,\"epochTime\":1641708900000,\"created\":\"2022-01-09T06:15:00.000Z\"},{\"home\":617.25,\"grid\":622,\"solar\":0,\"battery\":-10,\"epochTime\":1641709200000,\"created\":\"2022-01-09T06:20:00.000Z\"},{\"home\":621,\"grid\":619,\"solar\":0,\"battery\":-20,\"epochTime\":1641709500000,\"created\":\"2022-01-09T06:25:00.000Z\"},{\"home\":631,\"grid\":623,\"solar\":-10,\"battery\":30,\"epochTime\":1641709800000,\"created\":\"2022-01-09T06:30:00.000Z\"},{\"home\":630.25,\"grid\":619,\"solar\":0,\"battery\":0,\"epochTime\":1641710100000,\"created\":\"2022-01-09T06:35:00.000Z\"},{\"home\":653.75,\"grid\":679,\"solar\":-10,\"battery\":-10,\"epochTime\":1641710400000,\"created\":\"2022-01-09T06:40:00.000Z\"},{\"home\":657.5,\"grid\":669,\"solar\":-10,\"battery\":0,\"epochTime\":1641710700000,\"created\":\"2022-01-09T06:45:00.000Z\"},{\"home\":720,\"grid\":726,\"solar\":-20,\"battery\":10,\"epochTime\":1641711000000,\"created\":\"2022-01-09T06:50:00.000Z\"},{\"home\":730.25,\"grid\":779,\"solar\":0,\"battery\":-30,\"epochTime\":1641711300000,\"created\":\"2022-01-09T06:55:00.000Z\"},{\"home\":717,\"grid\":733,\"solar\":-20,\"battery\":0,\"epochTime\":1641711600000,\"created\":\"2022-01-09T07:00:00.000Z\"},{\"home\":720.25,\"grid\":743,\"solar\":-10,\"battery\":10,\"epochTime\":1641711900000,\"created\":\"2022-01-09T07:05:00.000Z\"},{\"home\":750.25,\"grid\":741,\"solar\":0,\"battery\":-10,\"epochTime\":1641712200000,\"created\":\"2022-01-09T07:10:00.000Z\"},{\"home\":719.5,\"grid\":728,\"solar\":-10,\"battery\":-20,\"epochTime\":1641712500000,\"created\":\"2022-01-09T07:15:00.000Z\"},{\"home\":731.25,\"grid\":730,\"solar\":-10,\"battery\":-10,\"epochTime\":1641712800000,\"created\":\"2022-01-09T07:20:00.000Z\"},{\"home\":688.25,\"grid\":712,\"solar\":-20,\"battery\":-20,\"epochTime\":1641713100000,\"created\":\"2022-01-09T07:25:00.000Z\"},{\"home\":718.5,\"grid\":726,\"solar\":-10,\"battery\":-30,\"epochTime\":1641713400000,\"created\":\"2022-01-09T07:30:00.000Z\"},{\"home\":699,\"grid\":715,\"solar\":-20,\"battery\":0,\"epochTime\":1641713700000,\"created\":\"2022-01-09T07:35:00.000Z\"}]",
"payloadType": "json",
"x": 210,
"y": 500,
"wires": [
[
"5eae0de8.c2547c"
]
]
},
{
"id": "4d57cc16.16c144",
"type": "inject",
"z": "6b8d443f.c7008c",
"name": "",
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "",
"payload": "[]",
"payloadType": "json",
"x": 550,
"y": 700,
"wires": [
[
"ee7b6ece.8a5dd"
]
]
},
{
"id": "ee7b6ece.8a5dd",
"type": "ui_chart",
"z": "6b8d443f.c7008c",
"name": "",
"group": "a4448716.200ac8",
"order": 2,
"width": 0,
"height": 0,
"label": "chart",
"chartType": "line",
"legend": "false",
"xformat": "HH:mm:ss",
"interpolate": "linear",
"nodata": "",
"dot": false,
"ymin": "-5",
"ymax": "10",
"removeOlder": 1,
"removeOlderPoints": "",
"removeOlderUnit": "60",
"cutout": 0,
"useOneColor": false,
"colors": [
"#1f77b4",
"#ff0000",
"#ff7f0e",
"#2ca02c",
"#98df8a",
"#d62728",
"#ff9896",
"#9467bd",
"#c5b0d5"
],
"outputs": 1,
"x": 700,
"y": 760,
"wires": [
[]
]
},
{
"id": "3cc8a340.8bd7ec",
"type": "function",
"z": "6b8d443f.c7008c",
"name": "",
"func": "var last = context.get('last') || 'under'\nvar undermessage = {topic:'under',payload:null}\nvar overmessage = {topic:'over',payload:null}\nvar unsent = null\n\nif(msg.payload > 0){\n if(last == 'under'){\n undermessage.payload = 0\n overmessage.payload = 0\n unsent = msg\n }\n else{\n overmessage.payload = msg.payload\n }\n last = 'over'\n}\nelse{\n if(last == 'over'){\n overmessage.payload = 0\n undermessage.payload = 0\n unsent = msg\n }\n else{\n undermessage.payload = msg.payload\n }\n last = 'under'\n}\ncontext.set('last',last)\n\nreturn [[overmessage,undermessage],unsent]",
"outputs": 2,
"noerr": 0,
"x": 530,
"y": 760,
"wires": [
[
"ee7b6ece.8a5dd"
],
[
"a7892d6a.2a3af"
]
]
},
{
"id": "2fa965fb.05d94a",
"type": "ui_slider",
"z": "6b8d443f.c7008c",
"name": "",
"label": "slider",
"tooltip": "",
"group": "a4448716.200ac8",
"order": 2,
"width": 0,
"height": 0,
"passthru": true,
"outs": "all",
"topic": "",
"min": "-5",
"max": 10,
"step": "0.1",
"x": 360,
"y": 760,
"wires": [
[
"3cc8a340.8bd7ec"
]
]
},
{
"id": "a7892d6a.2a3af",
"type": "delay",
"z": "6b8d443f.c7008c",
"name": "",
"pauseType": "delay",
"timeout": "20",
"timeoutUnits": "milliseconds",
"rate": "1",
"nbRateUnits": "1",
"rateUnits": "second",
"randomFirst": "1",
"randomLast": "5",
"randomUnits": "seconds",
"drop": false,
"outputs": 1,
"x": 540,
"y": 840,
"wires": [
[
"3cc8a340.8bd7ec"
]
]
},
{
"id": "3efbec71.204884",
"type": "inject",
"z": "15b74a9.aca83b5",
"name": "",
"props": [
{
"p": "payload"
},
{
"p": "topic",
"vt": "str"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "",
"payload": "ON",
"payloadType": "str",
"x": 380,
"y": 440,
"wires": [
[
"d89283ec.ecc95"
]
]
},
{
"id": "e0fb9568.e9c9d8",
"type": "debug",
"z": "15b74a9.aca83b5",
"name": "",
"active": true,
"tosidebar": true,
"console": false,
"tostatus": false,
"complete": "payload",
"targetType": "msg",
"statusVal": "",
"statusType": "auto",
"x": 890,
"y": 440,
"wires": []
},
{
"id": "d89283ec.ecc95",
"type": "function",
"z": "15b74a9.aca83b5",
"name": "",
"func": "var binaer = context.get('binaer')||0;\nbinaer +=2;\nmsg.payload = \"hoch 2\"+msg.payload+\" \"+binaer;\ncontext.set('binaer',binaer);\nreturn msg;",
"outputs": 1,
"noerr": 0,
"initialize": "",
"finalize": "",
"libs": [],
"x": 640,
"y": 420,
"wires": [
[
"e0fb9568.e9c9d8"
]
]
},
{
"id": "c2626c80.e2b0a",
"type": "ui_switch",
"z": "15b74a9.aca83b5",
"name": "",
"label": "LED - Rot",
"tooltip": "",
"group": "38cdd4c7.157a0c",
"order": 0,
"width": 0,
"height": 0,
"passthru": true,
"decouple": "false",
"topic": "topic",
"topicType": "msg",
"style": "",
"onvalue": "true",
"onvalueType": "bool",
"onicon": "",
"oncolor": "",
"offvalue": "false",
"offvalueType": "bool",
"officon": "",
"offcolor": "",
"animate": false,
"className": "",
"x": 460,
"y": 640,
"wires": [
[]
]
},
{
"id": "a356ec9b.acc39",
"type": "PCA9685 out",
"z": "f48ec1bf.914d3",
"name": "PWM Output 4 (Servo)",
"pca9685": "aff66d43.7f838",
"channel": "4",
"payload": "",
"unit": "microseconds",
"onStep": "0",
"x": 680,
"y": 340,
"wires": []
},
{
"id": "b47f92b6.89bbd",
"type": "inject",
"z": "f48ec1bf.914d3",
"name": "60°",
"props": [
{
"p": "payload"
},
{
"p": "topic",
"vt": "str"
}
],
"repeat": "",
"crontab": "",
"once": true,
"onceDelay": "",
"topic": "",
"payload": "1500",
"payloadType": "num",
"x": 190,
"y": 640,
"wires": [
[
"db56ed52.7e0ab"
]
]
},
{
"id": "29476323.46cc2c",
"type": "inject",
"z": "f48ec1bf.914d3",
"name": "0°",
"props": [
{
"p": "payload"
},
{
"p": "topic",
"vt": "str"
}
],
"repeat": "",
"crontab": "",
"once": true,
"onceDelay": "",
"topic": "",
"payload": "900",
"payloadType": "num",
"x": 190,
"y": 680,
"wires": [
[
"db56ed52.7e0ab"
]
]
},
{
"id": "5b3d078c.b03408",
"type": "inject",
"z": "f48ec1bf.914d3",
"name": "Off",
"repeat": "",
"crontab": "",
"once": false,
"topic": "",
"payload": "0",
"payloadType": "num",
"x": 190,
"y": 720,
"wires": [
[
"db56ed52.7e0ab"
]
]
},
{
"id": "db56ed52.7e0ab",
"type": "PCA9685 out",
"z": "f48ec1bf.914d3",
"name": "PWM Output 6 (Servo)",
"pca9685": "6ce45bce.cdff94",
"channel": "7",
"payload": "",
"unit": "microseconds",
"onStep": "0",
"x": 415,
"y": 660,
"wires": []
},
{
"id": "ba4ab2fc.8930c",
"type": "ui_button",
"z": "f48ec1bf.914d3",
"name": "",
"group": "69506c5c.69cc44",
"order": 1,
"width": 0,
"height": 0,
"passthru": false,
"label": "Servo 1 - 0°",
"tooltip": "",
"color": "",
"bgcolor": "",
"className": "",
"icon": "",
"payload": "900",
"payloadType": "num",
"topic": "topic",
"topicType": "msg",
"x": 130,
"y": 360,
"wires": [
[
"a356ec9b.acc39"
]
]
},
{
"id": "631a75a2.2a949c",
"type": "ui_button",
"z": "f48ec1bf.914d3",
"name": "",
"group": "69506c5c.69cc44",
"order": 2,
"width": 0,
"height": 0,
"passthru": false,
"label": "Servo 1 - 60°",
"tooltip": "",
"color": "",
"bgcolor": "",
"className": "",
"icon": "",
"payload": "1500",
"payloadType": "num",
"topic": "topic",
"topicType": "msg",
"x": 120,
"y": 320,
"wires": [
[
"a356ec9b.acc39"
]
]
},
{
"id": "4b92f43f.cdbe7c",
"type": "ui_button",
"z": "f48ec1bf.914d3",
"name": "",
"group": "69506c5c.69cc44",
"order": 3,
"width": 0,
"height": 0,
"passthru": false,
"label": "Servo 1 - 120°",
"tooltip": "",
"color": "",
"bgcolor": "",
"className": "",
"icon": "",
"payload": "2100",
"payloadType": "num",
"topic": "topic",
"topicType": "msg",
"x": 130,
"y": 260,
"wires": [
[
"a356ec9b.acc39"
]
]
},
{
"id": "3176b8b4.67e9b8",
"type": "ui_button",
"z": "f48ec1bf.914d3",
"name": "",
"group": "69506c5c.69cc44",
"order": 4,
"width": 0,
"height": 0,
"passthru": false,
"label": "Servo 1 - Off",
"tooltip": "",
"color": "",
"bgcolor": "",
"className": "",
"icon": "",
"payload": "0",
"payloadType": "num",
"topic": "topic",
"topicType": "msg",
"x": 140,
"y": 420,
"wires": [
[
"a356ec9b.acc39"
]
]
},
{
"id": "062bce9b48dcb09a",
"type": "inject",
"z": "f48ec1bf.914d3",
"name": "",
"props": [
{
"p": "payload"
},
{
"p": "topic",
"vt": "str"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "",
"payload": "",
"payloadType": "date",
"x": 220,
"y": 120,
"wires": [
[
"aa5d4a2b75d0717c"
]
]
},
{
"id": "aa5d4a2b75d0717c",
"type": "ui_text",
"z": "f48ec1bf.914d3",
"group": "69506c5c.69cc44",
"order": 4,
"width": 0,
"height": 0,
"name": "",
"label": "text",
"format": "{{msg.payload}}",
"layout": "row-spread",
"className": "",
"x": 470,
"y": 120,
"wires": []
},
{
"id": "641ae5595291e2ba",
"type": "ui_button",
"z": "1b8e8ca25cec6db5",
"name": "",
"group": "c307a9d5.516298",
"order": 0,
"width": 0,
"height": 0,
"passthru": false,
"label": "button",
"tooltip": "",
"color": "",
"bgcolor": "",
"className": "",
"icon": "",
"payload": "run",
"payloadType": "str",
"topic": "topic",
"topicType": "msg",
"x": 210,
"y": 260,
"wires": [
[
"819c45a4b8919f9e"
]
]
},
{
"id": "00506a1ddb542643",
"type": "PCA9685 out",
"z": "1b8e8ca25cec6db5",
"name": "",
"pca9685": "6ce45bce.cdff94",
"channel": "4",
"payload": "",
"unit": "steps",
"onStep": "0",
"x": 570,
"y": 260,
"wires": []
},
{
"id": "819c45a4b8919f9e",
"type": "function",
"z": "1b8e8ca25cec6db5",
"name": "",
"func": "\nreturn msg;",
"outputs": 1,
"noerr": 0,
"initialize": "",
"finalize": "",
"libs": [],
"x": 400,
"y": 260,
"wires": [
[
"00506a1ddb542643"
]
]
},
{
"id": "22f258dd.085578",
"type": "ui_chart",
"z": "c8c64f68.dc6b6",
"name": "threshold driven",
"group": "434da36f.97884c",
"order": 2,
"width": 0,
"height": 0,
"label": "threshold driven",
"chartType": "line",
"legend": "false",
"xformat": "HH:mm:ss",
"interpolate": "linear",
"nodata": "",
"dot": false,
"ymin": "-1",
"ymax": "1",
"removeOlder": 1,
"removeOlderPoints": "",
"removeOlderUnit": "60",
"cutout": 0,
"useOneColor": false,
"useUTC": false,
"colors": [
"#1f77b4",
"#0df2be",
"#ff7f0e",
"#2ca02c",
"#98df8a",
"#d62728",
"#ff9896",
"#9467bd",
"#c5b0d5"
],
"outputs": 1,
"useDifferentColor": false,
"className": "",
"x": 1120,
"y": 520,
"wires": [
[]
]
},
{
"id": "586e91fe.8b531",
"type": "inject",
"z": "c8c64f68.dc6b6",
"name": "Clear chart",
"props": [
{
"p": "payload",
"v": "[]",
"vt": "json"
},
{
"p": "topic",
"v": "",
"vt": "string"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "",
"payload": "[]",
"payloadType": "json",
"x": 920,
"y": 540,
"wires": [
[
"22f258dd.085578",
"418722cf.c450fc"
]
]
},
{
"id": "f1c1bb16.c8dd18",
"type": "function",
"z": "c8c64f68.dc6b6",
"name": "Sin",
"func": "msg.payload = Math.sin(msg.payload/4000)\nreturn msg;",
"outputs": 1,
"noerr": 0,
"x": 630,
"y": 600,
"wires": [
[
"a021f39.781e51",
"46c06a1b.4423e4"
]
]
},
{
"id": "d7c466fc.fe6d88",
"type": "inject",
"z": "c8c64f68.dc6b6",
"name": "0.5 sec timestamp",
"props": [
{
"p": "payload"
},
{
"p": "topic",
"vt": "str"
}
],
"repeat": "0.5",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "",
"payload": "",
"payloadType": "date",
"x": 650,
"y": 660,
"wires": [
[
"f1c1bb16.c8dd18"
]
]
},
{
"id": "418722cf.c450fc",
"type": "ui_chart",
"z": "c8c64f68.dc6b6",
"name": "occurrence driven",
"group": "434da36f.97884c",
"order": 0,
"width": 0,
"height": 0,
"label": "occurrence driven",
"chartType": "line",
"legend": "false",
"xformat": "HH:mm:ss",
"interpolate": "linear",
"nodata": "",
"dot": false,
"ymin": "",
"ymax": "",
"removeOlder": 1,
"removeOlderPoints": "",
"removeOlderUnit": "60",
"cutout": 0,
"useOneColor": false,
"useUTC": false,
"colors": [
"#1f77b4",
"#aec7e8",
"#ff7f0e",
"#2ca02c",
"#98df8a",
"#d62728",
"#ff9896",
"#9467bd",
"#c5b0d5"
],
"outputs": 1,
"useDifferentColor": false,
"className": "",
"x": 1120,
"y": 560,
"wires": [
[]
]
},
{
"id": "a021f39.781e51",
"type": "function",
"z": "c8c64f68.dc6b6",
"name": "change by occurrence",
"func": "let threshold = 0.5\nlet lowTopic = \"low\"\nlet highTopic = \"high\"\nlet thisTopic;\nlet totherTopic\nif (msg.payload > threshold) {\n thisTopic = highTopic\n totherTopic = lowTopic\n} else {\n thisTopic = lowTopic\n totherTopic = highTopic\n}\nlet lastTopic = context.get('last') || thisTopic\nlet msg2 = null\nif (thisTopic != lastTopic) {\n // just crossed the threshold, send to both lines\n msg.topic = lastTopic\n msg2 = {payload: msg.payload, topic: thisTopic}\n} else {\n msg.topic = thisTopic\n msg2 = {payload: null, topic: totherTopic} // leave payload null to stop the line\n}\ncontext.set('last', thisTopic)\nreturn [[msg, msg2]];",
"outputs": 1,
"noerr": 0,
"x": 890,
"y": 600,
"wires": [
[
"418722cf.c450fc"
]
]
},
{
"id": "46c06a1b.4423e4",
"type": "function",
"z": "c8c64f68.dc6b6",
"name": "change by threshold",
"func": "var last = context.get('last') || 'under'\nvar threshold = 0.5\nvar undermessage = {topic:'under',payload:null}\nvar overmessage = {topic:'over',payload:null}\nvar unsentmessage = null\n\nif(msg.payload > threshold){\n if(last == 'under'){\n undermessage.payload = threshold\n overmessage.payload = threshold\n unsentmessage = msg\n }\n else{\n overmessage.payload = msg.payload\n }\n last = 'over'\n}\nelse{\n if(last == 'over'){\n overmessage.payload = threshold\n undermessage.payload = threshold\n unsentmessage = msg\n }\n else{\n undermessage.payload = msg.payload\n }\n last = 'under'\n}\ncontext.set('last',last)\n\nreturn [unsentmessage,[overmessage,undermessage]]",
"outputs": 2,
"noerr": 0,
"initialize": "",
"finalize": "",
"libs": [],
"x": 890,
"y": 480,
"wires": [
[
"1dd7a8a3.0e2037"
],
[
"22f258dd.085578"
]
]
},
{
"id": "1dd7a8a3.0e2037",
"type": "delay",
"z": "c8c64f68.dc6b6",
"name": "",
"pauseType": "delay",
"timeout": "5",
"timeoutUnits": "milliseconds",
"rate": "1",
"nbRateUnits": "1",
"rateUnits": "second",
"randomFirst": "1",
"randomLast": "5",
"randomUnits": "seconds",
"drop": false,
"outputs": 1,
"x": 900,
"y": 420,
"wires": [
[
"46c06a1b.4423e4"
]
]
},
{
"id": "995c96a6.c1b5c8",
"type": "rpi-gpio in",
"z": "c8c64f68.dc6b6",
"name": "",
"pin": "17",
"intype": "up",
"debounce": "25",
"read": false,
"bcm": true,
"x": 320,
"y": 420,
"wires": [
[
"46c06a1b.4423e4",
"a021f39.781e51"
]
]
},
{
"id": "93c29ee4.55ebb",
"type": "rpi-gpio in",
"z": "c8c64f68.dc6b6",
"name": "",
"pin": "27",
"intype": "up",
"debounce": "25",
"read": false,
"bcm": true,
"x": 320,
"y": 480,
"wires": [
[
"46c06a1b.4423e4",
"a021f39.781e51"
]
]
},
{
"id": "ee91b877.3dd5f8",
"type": "debug",
"z": "d38741fb.c23a7",
"name": "",
"active": true,
"tosidebar": true,
"console": false,
"tostatus": false,
"complete": "payload",
"targetType": "msg",
"statusVal": "",
"statusType": "auto",
"x": 210,
"y": 380,
"wires": []
},
{
"id": "f0676dd2.c2bad",
"type": "debug",
"z": "d38741fb.c23a7",
"name": "",
"active": true,
"tosidebar": true,
"console": false,
"tostatus": false,
"complete": "false",
"statusVal": "",
"statusType": "auto",
"x": 210,
"y": 660,
"wires": []
},
{
"id": "9031ed1d.fe3e",
"type": "rpi-gpio in",
"z": "d38741fb.c23a7",
"name": "GPIO17-pin11 White",
"pin": "17",
"intype": "up",
"debounce": "150",
"read": false,
"bcm": true,
"x": 210,
"y": 440,
"wires": [
[
"ee91b877.3dd5f8",
"ef7d3bb.7297fc8"
]
]
},
{
"id": "b343dba6.7792e8",
"type": "rpi-gpio in",
"z": "d38741fb.c23a7",
"name": "GPIO27-pin13 Green",
"pin": "27",
"intype": "up",
"debounce": "150",
"read": false,
"bcm": true,
"x": 140,
"y": 580,
"wires": [
[
"f0676dd2.c2bad",
"76d7d4cd0cba4a84"
]
]
},
{
"id": "ef7d3bb.7297fc8",
"type": "function",
"z": "d38741fb.c23a7",
"name": "",
"func": "var count = flow.get('count')||0;\n\nif (msg.payload = 1){\n \ncount +=1;\n\nmsg.payload=count;\n\nflow.set('count',count)\n\n}\n\n/*raw = msg.payload;\nif (raw ==1){\n beat = msg.payload;\n \n} else {\n nobeat= msg.payload;\n}\nsignal = (beat / 1) * 60;\n\nmsg.payload = signal;*/\n\nreturn msg;",
"outputs": 1,
"noerr": 0,
"initialize": "",
"finalize": "",
"libs": [],
"x": 460,
"y": 440,
"wires": [
[
"1783087423be467b",
"99061d15c416d07f",
"85c8bad0d7c287ba"
]
]
},
{
"id": "b9136b2.2a63598",
"type": "ui_chart",
"z": "d38741fb.c23a7",
"name": "",
"group": "16973422.73256c",
"order": 4,
"width": 0,
"height": 0,
"label": "Test",
"chartType": "line",
"legend": "false",
"xformat": "HH:mm:ss",
"interpolate": "bezier",
"nodata": "",
"dot": false,
"ymin": "",
"ymax": "",
"removeOlder": "60",
"removeOlderPoints": "",
"removeOlderUnit": "1",
"cutout": 0,
"useOneColor": false,
"useUTC": false,
"colors": [
"#1f77b4",
"#aec7e8",
"#ff7f0e",
"#2ca02c",
"#98df8a",
"#d62728",
"#ff9896",
"#9467bd",
"#c5b0d5"
],
"outputs": 1,
"useDifferentColor": false,
"className": "",
"x": 910,
"y": 560,
"wires": [
[]
]
},
{
"id": "45b0f10f.dc956",
"type": "ui_button",
"z": "d38741fb.c23a7",
"name": "",
"group": "16973422.73256c",
"order": 5,
"width": 0,
"height": 0,
"passthru": false,
"label": "Flush",
"tooltip": "",
"color": "",
"bgcolor": "",
"className": "",
"icon": "",
"payload": "timestamp",
"payloadType": "str",
"topic": "topic",
"topicType": "msg",
"x": 210,
"y": 760,
"wires": [
[
"810c2d24.154ce"
]
]
},
{
"id": "810c2d24.154ce",
"type": "function",
"z": "d38741fb.c23a7",
"name": "Flush",
"func": "msg.payload = [];\nreturn msg;",
"outputs": 1,
"noerr": 0,
"initialize": "",
"finalize": "",
"libs": [],
"x": 350,
"y": 760,
"wires": [
[
"b9136b2.2a63598"
]
]
},
{
"id": "1783087423be467b",
"type": "debug",
"z": "d38741fb.c23a7",
"name": "",
"active": true,
"tosidebar": true,
"console": false,
"tostatus": false,
"complete": "false",
"statusVal": "",
"statusType": "auto",
"x": 670,
"y": 520,
"wires": []
},
{
"id": "76d7d4cd0cba4a84",
"type": "function",
"z": "d38741fb.c23a7",
"name": "",
"func": "var count = context.get('count')||0;\n\nif (msg.payload = 1){\n \ncount +=1;\n\nmsg.payload=count;\n\ncontext.set('count',count)\n\n}\n\nreturn msg;",
"outputs": 1,
"noerr": 0,
"initialize": "",
"finalize": "",
"libs": [],
"x": 420,
"y": 580,
"wires": [
[
"b9136b2.2a63598"
]
]
},
{
"id": "99061d15c416d07f",
"type": "delay",
"z": "d38741fb.c23a7",
"name": "",
"pauseType": "delay",
"timeout": "1",
"timeoutUnits": "seconds",
"rate": "1",
"nbRateUnits": "1",
"rateUnits": "second",
"randomFirst": "1",
"randomLast": "5",
"randomUnits": "seconds",
"drop": false,
"allowrate": false,
"outputs": 1,
"x": 680,
"y": 360,
"wires": [
[
"4de5341fb8118dcc"
]
]
},
{
"id": "85c8bad0d7c287ba",
"type": "function",
"z": "d38741fb.c23a7",
"name": "",
"func": "raw = msg.payload;\n\nSignal = raw*60;\n\nmsg.payload = Signal;\n\nreturn msg;",
"outputs": 1,
"noerr": 0,
"initialize": "",
"finalize": "",
"libs": [],
"x": 800,
"y": 460,
"wires": [
[
"b9136b2.2a63598"
]
]
},
{
"id": "4de5341fb8118dcc",
"type": "function",
"z": "d38741fb.c23a7",
"name": "set count to 0",
"func": "var count = flow.get('count')||0;\n\ncount = 0;\nflow.set('count', count);\n\nreturn msg;",
"outputs": 1,
"noerr": 0,
"initialize": "",
"finalize": "",
"libs": [],
"x": 420,
"y": 320,
"wires": [
[
"ef7d3bb.7297fc8"
]
]
},
{
"id": "dacccbb.8a1e938",
"type": "ui_text",
"z": "e467a0e2.36083",
"group": "75cb2437.5bf50c",
"order": 0,
"width": "6",
"height": "6",
"name": "",
"label": "Hier beschreben wir unsere Aspekte und Vision",
"format": "{{msg.payload}}",
"layout": "row-spread",
"className": "",
"x": 830,
"y": 540,
"wires": []
},
{
"id": "d35fa016.a4e3c",
"type": "ui_slider",
"z": "e74cb38c.b1893",
"name": "",
"label": "slider",
"tooltip": "",
"group": "e4b30ae.0ac5bf8",
"order": 2,
"width": 0,
"height": 0,
"passthru": true,
"outs": "end",
"topic": "",
"min": "-1",
"max": "1",
"step": ".1",
"x": 550,
"y": 440,
"wires": [
[
"50b7ee76.5dc9b",
"540de43f.8b3b9c"
]
]
},
{
"id": "532be957.f796b8",
"type": "ui_chart",
"z": "e74cb38c.b1893",
"name": "threshold driven",
"group": "e4b30ae.0ac5bf8",
"order": 2,
"width": 0,
"height": 0,
"label": "threshold driven",
"chartType": "line",
"legend": "false",
"xformat": "HH:mm:ss",
"interpolate": "linear",
"nodata": "",
"dot": false,
"ymin": "-1",
"ymax": "1",
"removeOlder": 1,
"removeOlderPoints": "",
"removeOlderUnit": "60",
"cutout": 0,
"useOneColor": false,
"useUTC": false,
"colors": [
"#1f77b4",
"#0df2be",
"#ff7f0e",
"#2ca02c",
"#98df8a",
"#d62728",
"#ff9896",
"#9467bd",
"#c5b0d5"
],
"outputs": 1,
"useDifferentColor": false,
"className": "",
"x": 1040,
"y": 480,
"wires": [
[]
]
},
{
"id": "63536e37.f08b3",
"type": "inject",
"z": "e74cb38c.b1893",
"name": "Clear chart",
"props": [
{
"p": "payload",
"v": "[]",
"vt": "json"
},
{
"p": "topic",
"v": "",
"vt": "string"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "",
"payload": "[]",
"payloadType": "json",
"x": 840,
"y": 500,
"wires": [
[
"532be957.f796b8",
"bfdfa914.10fab8"
]
]
},
{
"id": "e388eda7.fd5cd",
"type": "function",
"z": "e74cb38c.b1893",
"name": "Sin",
"func": "msg.payload = Math.sin(msg.payload/4000)\nreturn msg;",
"outputs": 1,
"noerr": 0,
"x": 550,
"y": 560,
"wires": [
[
"50b7ee76.5dc9b",
"540de43f.8b3b9c"
]
]
},
{
"id": "d5bf32aa.f423a",
"type": "inject",
"z": "e74cb38c.b1893",
"name": "0.5 sec timestamp",
"props": [
{
"p": "payload",
"v": "",
"vt": "date"
},
{
"p": "topic",
"v": "",
"vt": "string"
}
],
"repeat": "0.5",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "",
"payload": "",
"payloadType": "date",
"x": 570,
"y": 620,
"wires": [
[
"e388eda7.fd5cd"
]
]
},
{
"id": "bfdfa914.10fab8",
"type": "ui_chart",
"z": "e74cb38c.b1893",
"name": "occurrence driven",
"group": "e4b30ae.0ac5bf8",
"order": 0,
"width": 0,
"height": 0,
"label": "occurrence driven",
"chartType": "line",
"legend": "false",
"xformat": "HH:mm:ss",
"interpolate": "linear",
"nodata": "",
"dot": false,
"ymin": "",
"ymax": "",
"removeOlder": 1,
"removeOlderPoints": "",
"removeOlderUnit": "60",
"cutout": 0,
"useOneColor": false,
"colors": [
"#1f77b4",
"#aec7e8",
"#ff7f0e",
"#2ca02c",
"#98df8a",
"#d62728",
"#ff9896",
"#9467bd",
"#c5b0d5"
],
"outputs": 1,
"x": 1040,
"y": 520,
"wires": [
[]
]
},
{
"id": "50b7ee76.5dc9b",
"type": "function",
"z": "e74cb38c.b1893",
"name": "change by occurrence",
"func": "let threshold = 0.5\nlet lowTopic = \"low\"\nlet highTopic = \"high\"\nlet thisTopic;\nlet totherTopic\nif (msg.payload > threshold) {\n thisTopic = highTopic\n totherTopic = lowTopic\n} else {\n thisTopic = lowTopic\n totherTopic = highTopic\n}\nlet lastTopic = context.get('last') || thisTopic\nlet msg2 = null\nif (thisTopic != lastTopic) {\n // just crossed the threshold, send to both lines\n msg.topic = lastTopic\n msg2 = {payload: msg.payload, topic: thisTopic}\n} else {\n msg.topic = thisTopic\n msg2 = {payload: null, topic: totherTopic} // leave payload null to stop the line\n}\ncontext.set('last', thisTopic)\nreturn [[msg, msg2]];",
"outputs": 1,
"noerr": 0,
"x": 810,
"y": 560,
"wires": [
[
"bfdfa914.10fab8"
]
]
},
{
"id": "540de43f.8b3b9c",
"type": "function",
"z": "e74cb38c.b1893",
"name": "change by threshold",
"func": "var last = context.get('last') || 'under'\nvar threshold = 0.5\nvar undermessage = {topic:'under',payload:null}\nvar overmessage = {topic:'over',payload:null}\nvar unsentmessage = null\n\nif(msg.payload > threshold){\n if(last == 'under'){\n undermessage.payload = threshold\n overmessage.payload = threshold\n unsentmessage = msg\n }\n else{\n overmessage.payload = msg.payload\n }\n last = 'over'\n}\nelse{\n if(last == 'over'){\n overmessage.payload = threshold\n undermessage.payload = threshold\n unsentmessage = msg\n }\n else{\n undermessage.payload = msg.payload\n }\n last = 'under'\n}\ncontext.set('last',last)\n\nreturn [unsentmessage,[overmessage,undermessage]]",
"outputs": 2,
"noerr": 0,
"initialize": "",
"finalize": "",
"libs": [],
"x": 810,
"y": 440,
"wires": [
[
"7a0695bc.6dfb7c"
],
[
"532be957.f796b8"
]
]
},
{
"id": "7a0695bc.6dfb7c",
"type": "delay",
"z": "e74cb38c.b1893",
"name": "",
"pauseType": "delay",
"timeout": "5",
"timeoutUnits": "milliseconds",
"rate": "1",
"nbRateUnits": "1",
"rateUnits": "second",
"randomFirst": "1",
"randomLast": "5",
"randomUnits": "seconds",
"drop": false,
"outputs": 1,
"x": 820,
"y": 380,
"wires": [
[
"540de43f.8b3b9c"
]
]
}
]