[
{
"id": "9a2ddab8.b4087",
"type": "subflow",
"name": "View",
"info": "",
"category": "",
"in": [
{
"x": 40,
"y": 40,
"wires": [
{
"id": "9a37929.89a1cf"
},
{
"id": "635af5c7.62bcdc"
},
{
"id": "b72c7f11.e2e4c"
},
{
"id": "fea20361.d13298"
},
{
"id": "ddc17701.796078"
},
{
"id": "5bb29558.e429cc"
},
{
"id": "2b1f9c05.44b8b4"
},
{
"id": "90d310e2.9b8ef"
},
{
"id": "8087ec1d.d5f178"
},
{
"id": "b16e771e.e31208"
},
{
"id": "4db349c5.a44b28"
},
{
"id": "a219bfe9.84b7f8"
}
]
}
],
"out": [],
"env": [],
"color": "#DDAA99"
},
{
"id": "a219bfe9.84b7f8",
"type": "ui_gauge",
"z": "9a2ddab8.b4087",
"name": "MOBIL - Teile pro Stunde",
"group": "622eccb9.f4d83c",
"order": 1,
"width": 6,
"height": 4,
"gtype": "gage",
"title": "{{msg.label}}",
"label": "{{msg.units}}",
"format": "{{value|number:2}}",
"min": "0",
"max": "0",
"colors": [
"#ca3737",
"#e6e600",
"#00b500"
],
"seg1": "",
"seg2": "",
"x": 770,
"y": 120,
"wires": []
},
{
"id": "9a37929.89a1cf",
"type": "ui_button",
"z": "9a2ddab8.b4087",
"name": "MOBIL - Button/Status",
"group": "622eccb9.f4d83c",
"order": 2,
"width": 6,
"height": 1,
"passthru": false,
"label": "{{msg.ts}} - {{msg.values[6]}} - {{msg.values[8]}} - {{msg.values[7]}} - {{msg.values[11]}}",
"tooltip": "",
"color": "",
"bgcolor": "{{background}}",
"icon": "",
"payload": "temp",
"payloadType": "str",
"topic": "",
"x": 760,
"y": 160,
"wires": [
[
"6650d652.f2212"
]
]
},
{
"id": "635af5c7.62bcdc",
"type": "ui_template",
"z": "9a2ddab8.b4087",
"group": "ee7659dd.90b95",
"name": "Division - ALLE - Kopf",
"order": 1,
"width": 11,
"height": 4,
"format": "
\n {{msg.values[10]}}\n Produkt\n Auftragsnummer\n
\n\n {{msg.values[6]}}\n {{msg.values[7]}}\n {{msg.values[11]}}
\n
\n\n Startzeit\n Laufzeit\n Bogen\n
\n\n {{msg.values[9]}}\n {{msg.values[5]}}\n {{msg.values[8]}}
\n
\n",
"storeOutMessages": false,
"fwdInMessages": true,
"templateScope": "local",
"x": 760,
"y": 260,
"wires": [
[]
]
},
{
"id": "fea20361.d13298",
"type": "ui_button",
"z": "9a2ddab8.b4087",
"name": "Division - ALLE - Button/Status",
"group": "ee7659dd.90b95",
"order": 7,
"width": 17,
"height": 1,
"passthru": false,
"label": "{{msg.values[6]}} - {{msg.values[8]}} - {{msg.values[7]}} - {{msg.values[11]}}",
"tooltip": "",
"color": "",
"bgcolor": "{{background}}",
"icon": "",
"payload": "DEV 2250",
"payloadType": "str",
"topic": "",
"x": 790,
"y": 340,
"wires": [
[]
]
},
{
"id": "b72c7f11.e2e4c",
"type": "ui_gauge",
"z": "9a2ddab8.b4087",
"name": "Division - ALLE - Teile pro Stunde",
"group": "ee7659dd.90b95",
"order": 2,
"width": 6,
"height": 4,
"gtype": "gage",
"title": "{{msg.label}}",
"label": "{{msg.units}}",
"format": "{{value|number:2}}",
"min": 0,
"max": "0",
"colors": [
"#ca3737",
"#e6e600",
"#00b500"
],
"seg1": "",
"seg2": "",
"x": 800,
"y": 300,
"wires": []
},
{
"id": "260318af.8caf98",
"type": "ui_ui_control",
"z": "9a2ddab8.b4087",
"name": "",
"events": "all",
"x": 1240,
"y": 160,
"wires": [
[]
]
},
{
"id": "f61dc10d.55a218",
"type": "comment",
"z": "9a2ddab8.b4087",
"name": "View Mobil",
"info": "",
"x": 720,
"y": 80,
"wires": []
},
{
"id": "25349487.de399c",
"type": "comment",
"z": "9a2ddab8.b4087",
"name": "View Division",
"info": "",
"x": 730,
"y": 220,
"wires": []
},
{
"id": "b751686d.bd08c8",
"type": "comment",
"z": "9a2ddab8.b4087",
"name": "View Detail",
"info": "",
"x": 720,
"y": 400,
"wires": []
},
{
"id": "ddc17701.796078",
"type": "ui_template",
"z": "9a2ddab8.b4087",
"group": "f9d4c80d.a26ae",
"name": "Detail - Kopf",
"order": 1,
"width": 23,
"height": 3,
"format": "\n \n \n Produkt | \n Auftragsnummer | \n Status | \n Startzeit | \n Laufzeit | \n Bogen | \n
\n \n \n \n {{msg.values[7]}} | \n {{msg.values[11]}} | \n {{msg.values[6]}} | \n {{msg.values[9]}} | \n {{msg.values[5]}} | \n {{msg.values[8]}} | \n
\n \n | \n
\n \n Station | \n akt. Zykluszeit | \n letzte Zykluszeit | \n letzter Datensatz | \n | \n | \n
\n \n {{msg.values[14]}} | \n {{msg.values[15]}} | \n {{msg.values[4]}} | \n {{msg.ts}} | \n | \n | \n
\n \n
\n",
"storeOutMessages": false,
"fwdInMessages": true,
"templateScope": "local",
"x": 730,
"y": 440,
"wires": [
[]
]
},
{
"id": "5bb29558.e429cc",
"type": "ui_gauge",
"z": "9a2ddab8.b4087",
"name": "DETAIL - Teile pro Stunde",
"group": "f9d4c80d.a26ae",
"order": 3,
"width": 5,
"height": 3,
"gtype": "gage",
"title": "{{msg.units}}",
"label": "",
"format": "{{value|number:2}}",
"min": "0",
"max": "0",
"colors": [
"#ca3737",
"#e6e600",
"#00b500"
],
"seg1": "",
"seg2": "",
"x": 770,
"y": 480,
"wires": []
},
{
"id": "10b439c.f951546",
"type": "ui_gauge",
"z": "9a2ddab8.b4087",
"name": "DETAIL - Teile pro 15 Minuten",
"group": "f9d4c80d.a26ae",
"order": 5,
"width": 5,
"height": 3,
"gtype": "gage",
"title": "{{msg.units15}}",
"label": "",
"format": "{{value|number:2}}",
"min": "0",
"max": "0",
"colors": [
"#ca3737",
"#e6e600",
"#00b500"
],
"seg1": "",
"seg2": "",
"x": 790,
"y": 520,
"wires": []
},
{
"id": "fb71d53e.945348",
"type": "ui_gauge",
"z": "9a2ddab8.b4087",
"name": "DETAIL - Teile pro 30 Minuten",
"group": "f9d4c80d.a26ae",
"order": 7,
"width": 5,
"height": 3,
"gtype": "gage",
"title": "{{msg.units30}}",
"label": "",
"format": "{{value|number:2}}",
"min": "0",
"max": "0",
"colors": [
"#ca3737",
"#e6e600",
"#00b500"
],
"seg1": "",
"seg2": "",
"x": 790,
"y": 560,
"wires": []
},
{
"id": "2b1f9c05.44b8b4",
"type": "change",
"z": "9a2ddab8.b4087",
"name": "15 Minuten",
"rules": [
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "values[2]",
"tot": "msg"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 430,
"y": 520,
"wires": [
[
"10b439c.f951546"
]
]
},
{
"id": "90d310e2.9b8ef",
"type": "change",
"z": "9a2ddab8.b4087",
"name": "30 Minuten",
"rules": [
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "values[3]",
"tot": "msg"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 430,
"y": 560,
"wires": [
[
"fb71d53e.945348"
]
]
},
{
"id": "643ca986.5978a8",
"type": "average-bars",
"z": "9a2ddab8.b4087",
"name": "Stundendurchschnitt",
"title": "Stundendurchschnitt",
"period": "day",
"yMin": "0",
"yMax": "auto",
"showBarsValue": true,
"showScaleValue": true,
"showLastValue": true,
"showAverageValue": true,
"showMinimumValue": true,
"showMaximumValue": true,
"maxBar": 30,
"topColor": "#00ff40",
"bottomColor": "#ff0000",
"unit": "",
"fontColor": "#aaaaaa",
"barStyle": "Equalizer",
"decimal": 1,
"x": 760,
"y": 600,
"wires": [
[
"18c5bc47.7297fc"
]
]
},
{
"id": "18c5bc47.7297fc",
"type": "ui_template",
"z": "9a2ddab8.b4087",
"group": "f9d4c80d.a26ae",
"name": "Stundendurchschnitt",
"order": 18,
"width": 23,
"height": 6,
"format": "",
"storeOutMessages": true,
"fwdInMessages": true,
"templateScope": "local",
"x": 1000,
"y": 600,
"wires": [
[]
]
},
{
"id": "8087ec1d.d5f178",
"type": "change",
"z": "9a2ddab8.b4087",
"name": "Stundendurchschnitt",
"rules": [
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "values[1]",
"tot": "msg"
},
{
"t": "set",
"p": "topic",
"pt": "msg",
"to": "rate",
"tot": "str"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 460,
"y": 600,
"wires": [
[
"643ca986.5978a8"
]
]
},
{
"id": "43941e7c.8da6e",
"type": "ui_template",
"z": "9a2ddab8.b4087",
"group": "f9d4c80d.a26ae",
"name": "Menge pro Tag",
"order": 19,
"width": 23,
"height": 6,
"format": "",
"storeOutMessages": true,
"fwdInMessages": true,
"templateScope": "local",
"x": 980,
"y": 640,
"wires": [
[]
]
},
{
"id": "b16e771e.e31208",
"type": "rbe",
"z": "9a2ddab8.b4087",
"name": "",
"func": "rbe",
"gap": "",
"start": "",
"inout": "out",
"property": "values[8]",
"x": 230,
"y": 640,
"wires": [
[
"af46fa65.4be488"
]
]
},
{
"id": "af46fa65.4be488",
"type": "change",
"z": "9a2ddab8.b4087",
"name": "Menge pro Tag",
"rules": [
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "1",
"tot": "num"
},
{
"t": "set",
"p": "topic",
"pt": "msg",
"to": "maschinenzyklen",
"tot": "str"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 440,
"y": 640,
"wires": [
[
"4eff32ed.6e9644"
]
]
},
{
"id": "4db349c5.a44b28",
"type": "change",
"z": "9a2ddab8.b4087",
"name": "Menge pro Stunde Chart",
"rules": [
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "values[1]",
"tot": "msg"
},
{
"t": "set",
"p": "topic",
"pt": "msg",
"to": "",
"tot": "str"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 470,
"y": 680,
"wires": [
[
"e1f1cb30.876d7"
]
]
},
{
"id": "4eff32ed.6e9644",
"type": "sum-bars",
"z": "9a2ddab8.b4087",
"name": "Menge pro Tag",
"title": "Bogen/Tag",
"period": "week",
"yMin": "0",
"yMax": "auto",
"showBarsValue": true,
"showScaleValue": true,
"showSumValue": true,
"maxBar": 30,
"topColor": "#008000",
"bottomColor": "#ff0000",
"unit": "",
"fontColor": "#aaaaaa",
"barStyle": "Rectangle",
"decimal": 1,
"x": 740,
"y": 640,
"wires": [
[
"43941e7c.8da6e"
]
]
},
{
"id": "e1f1cb30.876d7",
"type": "ui_chart",
"z": "9a2ddab8.b4087",
"name": "Menge pro Stunde (Auftrag)",
"group": "f9d4c80d.a26ae",
"order": 17,
"width": 23,
"height": 6,
"label": "chart",
"chartType": "line",
"legend": "false",
"xformat": "HH:mm:ss",
"interpolate": "linear",
"nodata": "",
"dot": false,
"ymin": "0",
"ymax": "250",
"removeOlder": 1,
"removeOlderPoints": "",
"removeOlderUnit": "3600",
"cutout": 0,
"useOneColor": false,
"colors": [
"#1f77b4",
"#aec7e8",
"#ff7f0e",
"#2ca02c",
"#98df8a",
"#d62728",
"#ff9896",
"#9467bd",
"#c5b0d5"
],
"useOldStyle": false,
"outputs": 1,
"x": 780,
"y": 680,
"wires": [
[]
]
},
{
"id": "dfdb7c88.552ee8",
"type": "debug",
"z": "9a2ddab8.b4087",
"name": "Anzeige Subflow",
"active": true,
"tosidebar": true,
"console": false,
"tostatus": false,
"complete": "true",
"targetType": "full",
"x": 740,
"y": 40,
"wires": []
},
{
"id": "6650d652.f2212",
"type": "change",
"z": "9a2ddab8.b4087",
"name": "setLink",
"rules": [
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "link",
"tot": "flow"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 980,
"y": 160,
"wires": [
[
"260318af.8caf98"
]
]
},
{
"id": "622eccb9.f4d83c",
"type": "ui_group",
"z": "",
"name": "Division1",
"tab": "fd66380c.1f9188",
"order": 1,
"disp": true,
"width": "6",
"collapse": false
},
{
"id": "ee7659dd.90b95",
"type": "ui_group",
"z": "",
"name": "all",
"tab": "b4c6133.1306f7",
"order": 1,
"disp": true,
"width": "30",
"collapse": false
},
{
"id": "f9d4c80d.a26ae",
"type": "ui_group",
"z": "",
"name": "detail",
"tab": "158921ec.9b2516",
"order": 1,
"disp": true,
"width": "23",
"collapse": false
},
{
"id": "fd66380c.1f9188",
"type": "ui_tab",
"z": "",
"name": "Mobil",
"icon": "dashboard",
"order": 2,
"disabled": false,
"hidden": false
},
{
"id": "b4c6133.1306f7",
"type": "ui_tab",
"z": "",
"name": "Division1",
"icon": "dashboard",
"order": 3,
"disabled": false,
"hidden": false
},
{
"id": "158921ec.9b2516",
"type": "ui_tab",
"z": "",
"name": "Unit1",
"icon": "dashboard",
"order": 5,
"disabled": false,
"hidden": false
},
{
"id": "525d08fb.b9a4e8",
"type": "mqtt in",
"z": "5fd3c98.111bc38",
"name": "../RGDEVICES/#",
"topic": "RGDEVICES/#",
"qos": "0",
"datatype": "auto",
"broker": "b049654d.9a52e8",
"x": 280,
"y": 180,
"wires": [
[
"5b9c434e.4447fc"
]
]
},
{
"id": "35af7cb.83de084",
"type": "json",
"z": "5fd3c98.111bc38",
"name": "",
"pretty": false,
"x": 410,
"y": 280,
"wires": [
[
"3bf56a3f.6f726e"
]
]
},
{
"id": "3bf56a3f.6f726e",
"type": "function",
"z": "5fd3c98.111bc38",
"name": "Berechnungen",
"func": "// Timestamp\n\nmsg.values = [];\n\n// Teile pro Minute über Auftrag\nvar value = msg.payload.Stations[0].Teile_pro_Minute_in_Auftrag;\nvalue = value.replace(/,/,\".\" );\nmsg.values[0] = value; \n\n//Teile pro 60 Minuten über Auftrag\nvalue = parseFloat(value)*60;\nmsg.values[1] = value; \n\n//Menge letzte 15 Minuten\nvalue = msg.payload.Stations[0].Teile_pro_Minute_in_15Minuten;\nvalue = value.replace(/,/,\".\" );\nvalue = parseFloat(value)*60;\nmsg.values[2] = value; \n\n// Teile letzte 30 Minuten\nvalue = msg.payload.Stations[0].Teile_pro_Minute_in_30Minuten;\nvalue = value.replace(/,/,\".\" );\nvalue = parseFloat(value)*60;\nmsg.values[3] = value; \n\n// Zykluszeit_letzter\nmsg.values[4] = msg.payload.Zykluszeit_letzter; \n\n// ProduktionsLaufzeit\nmsg.values[5] = msg.payload.ProduktionsLaufzeit; \n\n// ProduktionsStatus\nmsg.values[6] = msg.payload.ProduktionsStatus; \n\n// Produkt\nmsg.values[7] = msg.payload.Produkt; \n\n// Maschinenzyklen\nmsg.values[8] = msg.payload.Maschinenzyklen; \n\n// ProduktionsBeginn\nmsg.values[9] = msg.payload.ProduktionsBeginn; \n\n// Arebistplat\nmsg.values[10] = msg.topics[1]; \n\n// Auftragsnummer\nmsg.values[11] = msg.payload.Auftragsnummer; \n\n// Timestamp\nmsg.values[12] = msg.timestamp; \n\n// Background Status\nvar color;\nswitch(msg.values[6])\n{\n case 'Produktion':\n color = \"green\";\n break;\n case 'Stop':\n color = \"yellow\";\n break;\n case 'Rüsten':\n color = \"orange\";\n break;\n case 'Pause':\n color = \"grey\";\n break;\n case 'Störung':\n color = \"red\";\n break;\n default:\n color = \"green\";\n} \nmsg.values[13] = color; \n\n//Stationsname?\nmsg.values[14] = msg.payload.Stations[0].Name;\n\n//Zykluszeit_aktuell\nmsg.values[15] = msg.payload.Zykluszeit_aktuell;\n\n//Tweaks\nif (msg.values[6] == \"Stop\"||msg.values[6] == \"Rüsten\")\n{\n msg.values[0] = 0;\n msg.values[1] = 0;\n msg.values[2] = 0;\n msg.values[3] = 0;\n}\n\n\nreturn msg;\n\n",
"outputs": 1,
"noerr": 0,
"x": 580,
"y": 280,
"wires": [
[
"bcf4ccc4.24975"
]
]
},
{
"id": "5b9c434e.4447fc",
"type": "string",
"z": "5fd3c98.111bc38",
"name": "parseTopic",
"methods": [
{
"name": "split",
"params": [
{
"type": "str",
"value": "/"
},
{
"type": "num",
"value": "99"
}
]
}
],
"prop": "topic",
"propout": "topics",
"object": "msg",
"objectout": "msg",
"x": 610,
"y": 180,
"wires": [
[
"22f927f5.6051a"
]
]
},
{
"id": "3e9918c7.71dda8",
"type": "switch",
"z": "5fd3c98.111bc38",
"name": "",
"property": "topics[2]",
"propertyType": "msg",
"rules": [
{
"t": "eq",
"v": "PRODSTATE",
"vt": "str"
}
],
"checkall": "true",
"repair": false,
"outputs": 1,
"x": 270,
"y": 280,
"wires": [
[
"35af7cb.83de084"
]
]
},
{
"id": "bcf4ccc4.24975",
"type": "switch",
"z": "5fd3c98.111bc38",
"name": "",
"property": "values[10]",
"propertyType": "msg",
"rules": [
{
"t": "eq",
"v": "GR2250",
"vt": "str"
},
{
"t": "eq",
"v": "GR2240",
"vt": "str"
},
{
"t": "eq",
"v": "GR3050",
"vt": "str"
},
{
"t": "eq",
"v": "GR3010",
"vt": "str"
}
],
"checkall": "true",
"repair": false,
"outputs": 4,
"x": 790,
"y": 280,
"wires": [
[
"a51863e5.1ae728"
],
[
"dfdb17cf.bdf068"
],
[
"1064b9fc.6fc85e"
],
[
"d6fd3454.509048"
]
]
},
{
"id": "22f927f5.6051a",
"type": "simpletime",
"z": "5fd3c98.111bc38",
"name": "",
"x": 830,
"y": 180,
"wires": [
[
"c734e17b.59e5c"
]
]
},
{
"id": "c734e17b.59e5c",
"type": "function",
"z": "5fd3c98.111bc38",
"name": "Timestamp",
"func": "msg.ts = msg.mydom + \".\" + msg.mymonthn + \".\" + msg.myyear + \" \" + msg.myhour + \":\" + msg.myminute + \":\" + msg.mysecond;\nreturn msg;",
"outputs": 1,
"noerr": 0,
"x": 1010,
"y": 180,
"wires": [
[
"3e9918c7.71dda8"
]
]
},
{
"id": "aec669b0.ad0438",
"type": "subflow:9a2ddab8.b4087",
"z": "5fd3c98.111bc38",
"name": "GR2250",
"env": [],
"x": 1180,
"y": 260,
"wires": []
},
{
"id": "a51863e5.1ae728",
"type": "change",
"z": "5fd3c98.111bc38",
"name": "GR2250",
"rules": [
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "values[1]",
"tot": "msg"
},
{
"t": "set",
"p": "background",
"pt": "msg",
"to": "values[13]",
"tot": "msg"
},
{
"t": "set",
"p": "units",
"pt": "msg",
"to": "Bogen/ h (Auftrag)",
"tot": "str"
},
{
"t": "set",
"p": "label",
"pt": "msg",
"to": "values[10]",
"tot": "msg"
},
{
"t": "set",
"p": "units15",
"pt": "msg",
"to": "Bogen/ h (Ø 15min)",
"tot": "str"
},
{
"t": "set",
"p": "units30",
"pt": "msg",
"to": "Bogen/ h (Ø 30min)",
"tot": "str"
},
{
"t": "set",
"p": "unitstag",
"pt": "msg",
"to": "Bogen/Tag",
"tot": "str"
},
{
"t": "set",
"p": "ui_control.min",
"pt": "msg",
"to": "0",
"tot": "num"
},
{
"t": "set",
"p": "ui_control.max",
"pt": "msg",
"to": "250",
"tot": "str"
},
{
"t": "set",
"p": "link",
"pt": "flow",
"to": "DEV GR2250",
"tot": "str"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 980,
"y": 260,
"wires": [
[
"aec669b0.ad0438"
]
]
},
{
"id": "dfdb17cf.bdf068",
"type": "change",
"z": "5fd3c98.111bc38",
"name": "GR2240",
"rules": [
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "values[1]",
"tot": "msg"
},
{
"t": "set",
"p": "background",
"pt": "msg",
"to": "values[13]",
"tot": "msg"
},
{
"t": "set",
"p": "units",
"pt": "msg",
"to": "Bogen/ h (Auftrag)",
"tot": "str"
},
{
"t": "set",
"p": "label",
"pt": "msg",
"to": "values[10]",
"tot": "msg"
},
{
"t": "set",
"p": "units15",
"pt": "msg",
"to": "Bogen/ h (Ø 15min)",
"tot": "str"
},
{
"t": "set",
"p": "units30",
"pt": "msg",
"to": "Bogen/ h (Ø 30min)",
"tot": "str"
},
{
"t": "set",
"p": "unitstag",
"pt": "msg",
"to": "Bogen/Tag",
"tot": "str"
},
{
"t": "set",
"p": "ui_control.min",
"pt": "msg",
"to": "0",
"tot": "num"
},
{
"t": "set",
"p": "ui_control.max",
"pt": "msg",
"to": "250",
"tot": "str"
},
{
"t": "set",
"p": "link",
"pt": "flow",
"to": "DEV GR2240",
"tot": "str"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 980,
"y": 300,
"wires": [
[
"487a8fdb.c1e6c8"
]
]
},
{
"id": "487a8fdb.c1e6c8",
"type": "subflow:9a2ddab8.b4087",
"z": "5fd3c98.111bc38",
"name": "GR2240",
"env": [],
"x": 1180,
"y": 300,
"wires": []
},
{
"id": "1064b9fc.6fc85e",
"type": "change",
"z": "5fd3c98.111bc38",
"name": "GR3050",
"rules": [
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "values[1]",
"tot": "msg"
},
{
"t": "set",
"p": "background",
"pt": "msg",
"to": "values[13]",
"tot": "msg"
},
{
"t": "set",
"p": "units",
"pt": "msg",
"to": "Bogen/ h (Auftrag)",
"tot": "str"
},
{
"t": "set",
"p": "label",
"pt": "msg",
"to": "values[10]",
"tot": "msg"
},
{
"t": "set",
"p": "units15",
"pt": "msg",
"to": "Bogen/ h (Ø 15min)",
"tot": "str"
},
{
"t": "set",
"p": "units30",
"pt": "msg",
"to": "Bogen/ h (Ø 30min)",
"tot": "str"
},
{
"t": "set",
"p": "unitstag",
"pt": "msg",
"to": "Bogen/Tag",
"tot": "str"
},
{
"t": "set",
"p": "ui_control.min",
"pt": "msg",
"to": "0",
"tot": "num"
},
{
"t": "set",
"p": "ui_control.max",
"pt": "msg",
"to": "250",
"tot": "str"
},
{
"t": "set",
"p": "link",
"pt": "flow",
"to": "DEV GR3050",
"tot": "str"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 980,
"y": 340,
"wires": [
[
"d9f7131f.91991"
]
]
},
{
"id": "d9f7131f.91991",
"type": "subflow:9a2ddab8.b4087",
"z": "5fd3c98.111bc38",
"name": "GR3050",
"env": [],
"x": 1180,
"y": 340,
"wires": []
},
{
"id": "d6fd3454.509048",
"type": "change",
"z": "5fd3c98.111bc38",
"name": "GR3010",
"rules": [
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "values[1]",
"tot": "msg"
},
{
"t": "set",
"p": "background",
"pt": "msg",
"to": "values[13]",
"tot": "msg"
},
{
"t": "set",
"p": "units",
"pt": "msg",
"to": "Bogen/ h (Auftrag)",
"tot": "str"
},
{
"t": "set",
"p": "label",
"pt": "msg",
"to": "values[10]",
"tot": "msg"
},
{
"t": "set",
"p": "units15",
"pt": "msg",
"to": "Bogen/ h (Ø 15min)",
"tot": "str"
},
{
"t": "set",
"p": "units30",
"pt": "msg",
"to": "Bogen/ h (Ø 30min)",
"tot": "str"
},
{
"t": "set",
"p": "unitstag",
"pt": "msg",
"to": "Bogen/Tag",
"tot": "str"
},
{
"t": "set",
"p": "ui_control.min",
"pt": "msg",
"to": "0",
"tot": "num"
},
{
"t": "set",
"p": "ui_control.max",
"pt": "msg",
"to": "3900",
"tot": "str"
},
{
"t": "set",
"p": "link",
"pt": "flow",
"to": "DEV GR3010",
"tot": "str"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 980,
"y": 380,
"wires": [
[
"2e4ce5e4.2626ba"
]
]
},
{
"id": "2e4ce5e4.2626ba",
"type": "subflow:9a2ddab8.b4087",
"z": "5fd3c98.111bc38",
"name": "GR3010",
"env": [],
"x": 1180,
"y": 380,
"wires": []
},
{
"id": "b049654d.9a52e8",
"type": "mqtt-broker",
"z": "",
"broker": "10.203.112.115",
"port": "1883",
"clientid": "",
"usetls": false,
"compatmode": true,
"keepalive": "60",
"cleansession": true,
"birthTopic": "",
"birthQos": "0",
"birthRetain": "false",
"birthPayload": "",
"willTopic": "",
"willQos": "0",
"willRetain": "false",
"willPayload": ""
}
]