flow: general node position cleanup

This commit is contained in:
Romain Bazile 2021-12-01 13:30:23 +01:00
parent 732089b66e
commit d4d39c861a

View file

@ -1603,7 +1603,7 @@
"max": "300", "max": "300",
"step": "10", "step": "10",
"x": 640, "x": 640,
"y": 120, "y": 160,
"wires": [ "wires": [
[ [
"fb887036.12429" "fb887036.12429"
@ -1629,7 +1629,7 @@
"max": "2000", "max": "2000",
"step": "100", "step": "100",
"x": 640, "x": 640,
"y": 160, "y": 200,
"wires": [ "wires": [
[ [
"fb887036.12429" "fb887036.12429"
@ -1652,7 +1652,7 @@
"delay": 300, "delay": 300,
"topic": "acq_id", "topic": "acq_id",
"x": 690, "x": 690,
"y": 200, "y": 240,
"wires": [ "wires": [
[ [
"fb887036.12429" "fb887036.12429"
@ -1938,7 +1938,7 @@
"payload": "", "payload": "",
"topic": "sample_sampling_gear", "topic": "sample_sampling_gear",
"topicType": "str", "topicType": "str",
"x": 630, "x": 640,
"y": 200, "y": 200,
"wires": [ "wires": [
[ [
@ -1962,7 +1962,7 @@
"mode": "text", "mode": "text",
"delay": "0", "delay": "0",
"topic": "sample_operator", "topic": "sample_operator",
"x": 650, "x": 660,
"y": 160, "y": 160,
"wires": [ "wires": [
[ [
@ -2009,7 +2009,7 @@
"mode": "text", "mode": "text",
"delay": "0", "delay": "0",
"topic": "sample_id", "topic": "sample_id",
"x": 670, "x": 680,
"y": 120, "y": 120,
"wires": [ "wires": [
[ [
@ -2078,7 +2078,7 @@
"topic": "acq_celltype", "topic": "acq_celltype",
"topicType": "str", "topicType": "str",
"x": 670, "x": 670,
"y": 40, "y": 80,
"wires": [ "wires": [
[ [
"fb887036.12429", "fb887036.12429",
@ -2098,7 +2098,7 @@
"finalize": "", "finalize": "",
"libs": [], "libs": [],
"x": 920, "x": 920,
"y": 180, "y": 220,
"wires": [ "wires": [
[] []
] ]
@ -2442,8 +2442,8 @@
"fwdInMessages": true, "fwdInMessages": true,
"resendOnRefresh": false, "resendOnRefresh": false,
"templateScope": "local", "templateScope": "local",
"x": 550, "x": 650,
"y": 40, "y": 20,
"wires": [ "wires": [
[] []
] ]
@ -2604,8 +2604,8 @@
"fwdInMessages": false, "fwdInMessages": false,
"resendOnRefresh": false, "resendOnRefresh": false,
"templateScope": "local", "templateScope": "local",
"x": 1160, "x": 1200,
"y": 360, "y": 400,
"wires": [ "wires": [
[] []
] ]
@ -3036,8 +3036,8 @@
"payload": "", "payload": "",
"payloadType": "str", "payloadType": "str",
"topic": "imager/image", "topic": "imager/image",
"x": 420, "x": 460,
"y": 440, "y": 480,
"wires": [ "wires": [
[ [
"c9f510c0.7d1328" "c9f510c0.7d1328"
@ -3055,8 +3055,8 @@
"initialize": "", "initialize": "",
"finalize": "", "finalize": "",
"libs": [], "libs": [],
"x": 640, "x": 670,
"y": 440, "y": 480,
"wires": [ "wires": [
[ [
"52ea7d01.711034", "52ea7d01.711034",
@ -3082,8 +3082,8 @@
"raw": false, "raw": false,
"topic": "", "topic": "",
"name": "", "name": "",
"x": 890, "x": 950,
"y": 520, "y": 560,
"wires": [ "wires": [
[] []
] ]
@ -3097,8 +3097,8 @@
"qos": "", "qos": "",
"retain": "", "retain": "",
"broker": "8dc3722c.06efa8", "broker": "8dc3722c.06efa8",
"x": 1130, "x": 1170,
"y": 400, "y": 440,
"wires": [] "wires": []
}, },
{ {
@ -3119,8 +3119,8 @@
"payload": "{\"action\":\"stop\"}", "payload": "{\"action\":\"stop\"}",
"payloadType": "json", "payloadType": "json",
"topic": "imager/image", "topic": "imager/image",
"x": 420, "x": 460,
"y": 480, "y": 520,
"wires": [ "wires": [
[ [
"d74210ef.edc15" "d74210ef.edc15"
@ -3136,8 +3136,8 @@
"qos": "", "qos": "",
"retain": "", "retain": "",
"broker": "8dc3722c.06efa8", "broker": "8dc3722c.06efa8",
"x": 610, "x": 650,
"y": 480, "y": 520,
"wires": [] "wires": []
}, },
{ {
@ -3163,8 +3163,8 @@
"offvalueType": "str", "offvalueType": "str",
"officon": "", "officon": "",
"offcolor": "", "offcolor": "",
"x": 420, "x": 460,
"y": 520, "y": 560,
"wires": [ "wires": [
[ [
"6b2239f3.41fa3" "6b2239f3.41fa3"
@ -3182,8 +3182,8 @@
"initialize": "", "initialize": "",
"finalize": "", "finalize": "",
"libs": [], "libs": [],
"x": 870, "x": 910,
"y": 400, "y": 440,
"wires": [ "wires": [
[ [
"c3e50240.82aa58", "c3e50240.82aa58",
@ -3206,8 +3206,8 @@
"randomLast": "5", "randomLast": "5",
"randomUnits": "seconds", "randomUnits": "seconds",
"drop": false, "drop": false,
"x": 900, "x": 940,
"y": 440, "y": 480,
"wires": [ "wires": [
[ [
"c3e50240.82aa58" "c3e50240.82aa58"
@ -3232,8 +3232,8 @@
"payload": "", "payload": "",
"payloadType": "str", "payloadType": "str",
"topic": "imager/image", "topic": "imager/image",
"x": 420, "x": 460,
"y": 400, "y": 440,
"wires": [ "wires": [
[ [
"52ea7d01.711034" "52ea7d01.711034"
@ -3549,7 +3549,7 @@
"name": "", "name": "",
"env": [], "env": [],
"x": 110, "x": 110,
"y": 180, "y": 220,
"wires": [ "wires": [
[ [
"f3658d30.b8448", "f3658d30.b8448",
@ -3572,8 +3572,8 @@
"noerr": 0, "noerr": 0,
"initialize": "", "initialize": "",
"finalize": "", "finalize": "",
"x": 330, "x": 320,
"y": 200, "y": 240,
"wires": [ "wires": [
[ [
"6b34c456.83178c" "6b34c456.83178c"
@ -3592,7 +3592,7 @@
"finalize": "", "finalize": "",
"libs": [], "libs": [],
"x": 340, "x": 340,
"y": 40, "y": 80,
"wires": [ "wires": [
[ [
"cc0ca68b.4263a8" "cc0ca68b.4263a8"
@ -3608,7 +3608,7 @@
"outputs": 1, "outputs": 1,
"noerr": 0, "noerr": 0,
"x": 370, "x": 370,
"y": 120, "y": 160,
"wires": [ "wires": [
[ [
"f59a2f0d.5e9af" "f59a2f0d.5e9af"
@ -3624,7 +3624,7 @@
"outputs": 1, "outputs": 1,
"noerr": 0, "noerr": 0,
"x": 370, "x": 370,
"y": 160, "y": 200,
"wires": [ "wires": [
[ [
"6008a8bb.259f08" "6008a8bb.259f08"
@ -3707,7 +3707,7 @@
"label": "GPS Status:", "label": "GPS Status:",
"format": "{{msg.payload}}", "format": "{{msg.payload}}",
"layout": "row-center", "layout": "row-center",
"x": 740, "x": 730,
"y": 1080, "y": 1080,
"wires": [] "wires": []
}, },
@ -3758,8 +3758,8 @@
"topic": "pump_direction", "topic": "pump_direction",
"payload": "FORWARD", "payload": "FORWARD",
"payloadType": "str", "payloadType": "str",
"x": 180, "x": 220,
"y": 520, "y": 560,
"wires": [ "wires": [
[ [
"bb62da8a.ebc328" "bb62da8a.ebc328"
@ -3776,8 +3776,8 @@
"noerr": 0, "noerr": 0,
"initialize": "", "initialize": "",
"finalize": "", "finalize": "",
"x": 620, "x": 660,
"y": 520, "y": 560,
"wires": [ "wires": [
[] []
] ]
@ -3798,7 +3798,7 @@
"delay": 300, "delay": 300,
"topic": "nb_frame", "topic": "nb_frame",
"x": 680, "x": 680,
"y": 240, "y": 280,
"wires": [ "wires": [
[ [
"fb887036.12429", "fb887036.12429",
@ -3998,7 +3998,7 @@
"checkall": "true", "checkall": "true",
"repair": false, "repair": false,
"outputs": 2, "outputs": 2,
"x": 620, "x": 610,
"y": 340, "y": 340,
"wires": [ "wires": [
[ [
@ -4101,7 +4101,7 @@
"raw": false, "raw": false,
"topic": "", "topic": "",
"name": "", "name": "",
"x": 1270, "x": 1260,
"y": 900, "y": 900,
"wires": [] "wires": []
}, },
@ -4322,7 +4322,7 @@
"raw": false, "raw": false,
"topic": "", "topic": "",
"name": "", "name": "",
"x": 1350, "x": 1340,
"y": 680, "y": 680,
"wires": [] "wires": []
}, },
@ -4362,7 +4362,7 @@
"#c5b0d5" "#c5b0d5"
], ],
"outputs": 1, "outputs": 1,
"x": 1330, "x": 1320,
"y": 920, "y": 920,
"wires": [ "wires": [
[] []
@ -4381,7 +4381,7 @@
"targetType": "full", "targetType": "full",
"statusVal": "", "statusVal": "",
"statusType": "auto", "statusType": "auto",
"x": 840, "x": 830,
"y": 760, "y": 760,
"wires": [] "wires": []
}, },
@ -4548,7 +4548,7 @@
"format": "{{msg.payload}}", "format": "{{msg.payload}}",
"layout": "col-center", "layout": "col-center",
"x": 1200, "x": 1200,
"y": 100, "y": 140,
"wires": [] "wires": []
}, },
{ {
@ -4562,8 +4562,8 @@
"initialize": "", "initialize": "",
"finalize": "", "finalize": "",
"libs": [], "libs": [],
"x": 960, "x": 950,
"y": 100, "y": 140,
"wires": [ "wires": [
[ [
"9bd72495.a8a098" "9bd72495.a8a098"
@ -4584,7 +4584,7 @@
"format": "{{msg.payload}} mL", "format": "{{msg.payload}} mL",
"layout": "col-center", "layout": "col-center",
"x": 1200, "x": 1200,
"y": 260, "y": 300,
"wires": [] "wires": []
}, },
{ {
@ -4597,8 +4597,8 @@
"noerr": 0, "noerr": 0,
"initialize": "", "initialize": "",
"finalize": "", "finalize": "",
"x": 950, "x": 940,
"y": 260, "y": 300,
"wires": [ "wires": [
[ [
"8e16aa2f.e40398" "8e16aa2f.e40398"
@ -4764,7 +4764,7 @@
"fwdInMessages": true, "fwdInMessages": true,
"resendOnRefresh": true, "resendOnRefresh": true,
"templateScope": "local", "templateScope": "local",
"x": 1330, "x": 1320,
"y": 880, "y": 880,
"wires": [ "wires": [
[] []
@ -4789,7 +4789,7 @@
"max": "5", "max": "5",
"step": "0.1", "step": "0.1",
"x": 670, "x": 670,
"y": 80, "y": 120,
"wires": [ "wires": [
[ [
"fb887036.12429" "fb887036.12429"
@ -4825,7 +4825,7 @@
"559a8085.1d6b9" "559a8085.1d6b9"
], ],
"x": 795, "x": 795,
"y": 100, "y": 140,
"wires": [ "wires": [
[ [
"99b11fe4.2795d" "99b11fe4.2795d"
@ -4871,7 +4871,7 @@
"mode": "number", "mode": "number",
"delay": "0", "delay": "0",
"topic": "sample_gear_net_opening", "topic": "sample_gear_net_opening",
"x": 620, "x": 630,
"y": 320, "y": 320,
"wires": [ "wires": [
[ [
@ -4893,7 +4893,7 @@
"fwdInMessages": false, "fwdInMessages": false,
"resendOnRefresh": false, "resendOnRefresh": false,
"templateScope": "local", "templateScope": "local",
"x": 1270, "x": 1260,
"y": 820, "y": 820,
"wires": [ "wires": [
[] []
@ -4988,8 +4988,8 @@
"min": "0.001", "min": "0.001",
"max": "0.5", "max": "0.5",
"step": "0.001", "step": "0.001",
"x": 630, "x": 640,
"y": 280, "y": 320,
"wires": [ "wires": [
[ [
"fb887036.12429", "fb887036.12429",
@ -5003,8 +5003,8 @@
"z": "baa1e3d9.cb29d", "z": "baa1e3d9.cb29d",
"name": "", "name": "",
"env": [], "env": [],
"x": 890, "x": 930,
"y": 480, "y": 520,
"wires": [ "wires": [
[] []
] ]
@ -5094,7 +5094,7 @@
"func": "var ssids = msg.payload.split('\\n').filter(s => !!s)\n\nssids = [...new Set(ssids)];\n\nmsg.options = ssids\nmsg.payload = null\n\nreturn msg;", "func": "var ssids = msg.payload.split('\\n').filter(s => !!s)\n\nssids = [...new Set(ssids)];\n\nmsg.options = ssids\nmsg.payload = null\n\nreturn msg;",
"outputs": 1, "outputs": 1,
"noerr": 0, "noerr": 0,
"x": 640, "x": 630,
"y": 80, "y": 80,
"wires": [ "wires": [
[ [
@ -5119,7 +5119,7 @@
"options": [], "options": [],
"payload": "", "payload": "",
"topic": "", "topic": "",
"x": 830, "x": 790,
"y": 80, "y": 80,
"wires": [ "wires": [
[ [
@ -5249,8 +5249,8 @@
"label": "Broadcast", "label": "Broadcast",
"format": "{{msg.payload || '---'}}", "format": "{{msg.payload || '---'}}",
"layout": "row-spread", "layout": "row-spread",
"x": 950, "x": 940,
"y": 219, "y": 220,
"wires": [] "wires": []
}, },
{ {
@ -5287,7 +5287,7 @@
"submit": "Add the network", "submit": "Add the network",
"cancel": "Reset fields", "cancel": "Reset fields",
"topic": "", "topic": "",
"x": 1160, "x": 1100,
"y": 80, "y": 80,
"wires": [ "wires": [
[ [
@ -5305,7 +5305,7 @@
"noerr": 0, "noerr": 0,
"initialize": "", "initialize": "",
"finalize": "", "finalize": "",
"x": 990, "x": 940,
"y": 80, "y": 80,
"wires": [ "wires": [
[ [
@ -5461,7 +5461,7 @@
"mode": "text", "mode": "text",
"delay": "500", "delay": "500",
"topic": "country_code", "topic": "country_code",
"x": 420, "x": 430,
"y": 360, "y": 360,
"wires": [ "wires": [
[ [
@ -5557,7 +5557,7 @@
"payload": "shutdown", "payload": "shutdown",
"payloadType": "str", "payloadType": "str",
"topic": "shutdown", "topic": "shutdown",
"x": 410, "x": 420,
"y": 760, "y": 760,
"wires": [ "wires": [
[ [
@ -5748,7 +5748,7 @@
"payloadType": "str", "payloadType": "str",
"topic": "", "topic": "",
"topicType": "str", "topicType": "str",
"x": 1240, "x": 1220,
"y": 720, "y": 720,
"wires": [ "wires": [
[ [
@ -5881,7 +5881,7 @@
"level": "1", "level": "1",
"freq": "", "freq": "",
"out": "out", "out": "out",
"x": 420, "x": 410,
"y": 80, "y": 80,
"wires": [] "wires": []
}, },
@ -6057,7 +6057,7 @@
"timer": "", "timer": "",
"oldrc": false, "oldrc": false,
"name": "Update", "name": "Update",
"x": 460, "x": 420,
"y": 460, "y": 460,
"wires": [ "wires": [
[ [
@ -6122,7 +6122,7 @@
"noerr": 0, "noerr": 0,
"initialize": "", "initialize": "",
"finalize": "", "finalize": "",
"x": 1330, "x": 1270,
"y": 80, "y": 80,
"wires": [ "wires": [
[ [
@ -6141,7 +6141,7 @@
"timer": "", "timer": "",
"oldrc": false, "oldrc": false,
"name": "Save Network", "name": "Save Network",
"x": 1520, "x": 1460,
"y": 80, "y": 80,
"wires": [ "wires": [
[ [
@ -6162,8 +6162,8 @@
"timer": "", "timer": "",
"oldrc": false, "oldrc": false,
"name": "reconfigure", "name": "reconfigure",
"x": 1710, "x": 1250,
"y": 80, "y": 180,
"wires": [ "wires": [
[ [
"59e24c40.e1a4dc" "59e24c40.e1a4dc"
@ -6182,7 +6182,7 @@
"noerr": 0, "noerr": 0,
"initialize": "", "initialize": "",
"finalize": "", "finalize": "",
"x": 1440, "x": 1420,
"y": 180, "y": 180,
"wires": [ "wires": [
[ [
@ -6204,7 +6204,7 @@
"raw": false, "raw": false,
"topic": "", "topic": "",
"name": "", "name": "",
"x": 1650, "x": 1590,
"y": 180, "y": 180,
"wires": [ "wires": [
[] []
@ -7494,7 +7494,7 @@
"topic": "", "topic": "",
"payload": "start", "payload": "start",
"payloadType": "str", "payloadType": "str",
"x": 1090, "x": 1070,
"y": 720, "y": 720,
"wires": [ "wires": [
[ [
@ -7512,7 +7512,7 @@
"noerr": 0, "noerr": 0,
"initialize": "", "initialize": "",
"finalize": "", "finalize": "",
"x": 660, "x": 650,
"y": 460, "y": 460,
"wires": [ "wires": [
[ [
@ -7694,7 +7694,7 @@
"noerr": 0, "noerr": 0,
"initialize": "", "initialize": "",
"finalize": "", "finalize": "",
"x": 500, "x": 490,
"y": 1140, "y": 1140,
"wires": [ "wires": [
[ [
@ -9009,7 +9009,7 @@
"fwdInMessages": true, "fwdInMessages": true,
"resendOnRefresh": false, "resendOnRefresh": false,
"templateScope": "local", "templateScope": "local",
"x": 1380, "x": 1370,
"y": 600, "y": 600,
"wires": [ "wires": [
[] []
@ -9078,7 +9078,7 @@
"from": "", "from": "",
"to": "", "to": "",
"reg": false, "reg": false,
"x": 1020, "x": 1010,
"y": 840, "y": 840,
"wires": [ "wires": [
[ [
@ -10349,8 +10349,8 @@
"initialize": "", "initialize": "",
"finalize": "", "finalize": "",
"libs": [], "libs": [],
"x": 340, "x": 330,
"y": 240, "y": 280,
"wires": [ "wires": [
[ [
"51b4d0df.d70a88" "51b4d0df.d70a88"
@ -10369,7 +10369,7 @@
"finalize": "", "finalize": "",
"libs": [], "libs": [],
"x": 380, "x": 380,
"y": 280, "y": 320,
"wires": [ "wires": [
[ [
"df1ea904.cd261" "df1ea904.cd261"
@ -10387,8 +10387,8 @@
"initialize": "", "initialize": "",
"finalize": "", "finalize": "",
"libs": [], "libs": [],
"x": 350, "x": 340,
"y": 80, "y": 120,
"wires": [ "wires": [
[ [
"49ea1123.ee1768" "49ea1123.ee1768"
@ -10462,7 +10462,7 @@
"delay": "1000", "delay": "1000",
"topic": "process_pixel_fixed", "topic": "process_pixel_fixed",
"topicType": "str", "topicType": "str",
"x": 640, "x": 650,
"y": 480, "y": 480,
"wires": [ "wires": [
[ [
@ -10482,7 +10482,7 @@
"initialize": "", "initialize": "",
"finalize": "", "finalize": "",
"libs": [], "libs": [],
"x": 920, "x": 910,
"y": 480, "y": 480,
"wires": [ "wires": [
[ [
@ -10546,7 +10546,7 @@
"payload": "", "payload": "",
"topic": "acq_fnumber_objective", "topic": "acq_fnumber_objective",
"topicType": "str", "topicType": "str",
"x": 630, "x": 640,
"y": 520, "y": 520,
"wires": [ "wires": [
[ [
@ -10695,8 +10695,8 @@
"links": [ "links": [
"49111a72f4e32740" "49111a72f4e32740"
], ],
"x": 195, "x": 275,
"y": 40, "y": 20,
"wires": [ "wires": [
[ [
"a77625dc21c8a3cc" "a77625dc21c8a3cc"
@ -10714,8 +10714,8 @@
"syntax": "mustache", "syntax": "mustache",
"template": "<center>\n <img src=\"http://{{payload}}:8000/stream.mjpg\"\n onerror=\"this.onerror=null; this.src='http://{{payload}}:80/error.svg'\"\n alt=\"If you see this, there probably is an error either with your camera or with the python service. Please restart your machine.\"\n width=\"100%\" height=\"100%\">\n</center>", "template": "<center>\n <img src=\"http://{{payload}}:8000/stream.mjpg\"\n onerror=\"this.onerror=null; this.src='http://{{payload}}:80/error.svg'\"\n alt=\"If you see this, there probably is an error either with your camera or with the python service. Please restart your machine.\"\n width=\"100%\" height=\"100%\">\n</center>",
"output": "str", "output": "str",
"x": 340, "x": 420,
"y": 40, "y": 20,
"wires": [ "wires": [
[ [
"bb2bb7ce.1d1458" "bb2bb7ce.1d1458"