flow: fix integration and regressions bugs

This commit is contained in:
Romain Bazile 2021-10-19 22:42:21 +02:00
parent 351f4f3d95
commit f0e0396c97

View file

@ -59,7 +59,7 @@
"id": "f21ba04.c26266", "id": "f21ba04.c26266",
"type": "tab", "type": "tab",
"label": "WIFI Management", "label": "WIFI Management",
"disabled": false, "disabled": true,
"info": "" "info": ""
}, },
{ {
@ -699,6 +699,7 @@
{ {
"id": "1b49ae0f.602d6a", "id": "1b49ae0f.602d6a",
"type": "ui_tab", "type": "ui_tab",
"d": true,
"name": "Wifi", "name": "Wifi",
"icon": "wifi", "icon": "wifi",
"order": 8, "order": 8,
@ -1002,6 +1003,15 @@
"width": 3, "width": 3,
"height": 1 "height": 1
}, },
{
"id": "fd209ebb.7e2dd8",
"type": "ui_spacer",
"name": "spacer",
"group": "4248342d.e55fac",
"order": 2,
"width": 1,
"height": 1
},
{ {
"id": "4e78af2d.90be7", "id": "4e78af2d.90be7",
"type": "ui_ui_control", "type": "ui_ui_control",
@ -1650,7 +1660,7 @@
"min": 0, "min": 0,
"max": "300", "max": "300",
"step": "10", "step": "10",
"x": 600, "x": 640,
"y": 120, "y": 120,
"wires": [ "wires": [
[ [
@ -1676,7 +1686,7 @@
"min": "200", "min": "200",
"max": "2000", "max": "2000",
"step": "100", "step": "100",
"x": 600, "x": 640,
"y": 160, "y": 160,
"wires": [ "wires": [
[ [
@ -1700,7 +1710,7 @@
"delay": 300, "delay": 300,
"topic": "acq_id", "topic": "acq_id",
"x": 690, "x": 690,
"y": 180, "y": 200,
"wires": [ "wires": [
[ [
"fb887036.12429" "fb887036.12429"
@ -1801,7 +1811,7 @@
"z": "bccd1f23.87219", "z": "bccd1f23.87219",
"name": "down", "name": "down",
"group": "fbd92986.1028c8", "group": "fbd92986.1028c8",
"order": 5, "order": 6,
"width": 4, "width": 4,
"height": 1, "height": 1,
"passthru": true, "passthru": true,
@ -1827,7 +1837,7 @@
"z": "bccd1f23.87219", "z": "bccd1f23.87219",
"name": "up", "name": "up",
"group": "fbd92986.1028c8", "group": "fbd92986.1028c8",
"order": 1, "order": 3,
"width": 4, "width": 4,
"height": 1, "height": 1,
"passthru": false, "passthru": false,
@ -1862,7 +1872,7 @@
"mode": "text", "mode": "text",
"delay": "0", "delay": "0",
"topic": "pump_manual_volume", "topic": "pump_manual_volume",
"x": 600, "x": 610,
"y": 420, "y": 420,
"wires": [ "wires": [
[ [
@ -2126,7 +2136,7 @@
"topic": "acq_celltype", "topic": "acq_celltype",
"topicType": "str", "topicType": "str",
"x": 670, "x": 670,
"y": 100, "y": 40,
"wires": [ "wires": [
[ [
"fb887036.12429", "fb887036.12429",
@ -2371,7 +2381,7 @@
"fwdInMessages": true, "fwdInMessages": true,
"resendOnRefresh": false, "resendOnRefresh": false,
"templateScope": "local", "templateScope": "local",
"x": 1330, "x": 1340,
"y": 80, "y": 80,
"wires": [ "wires": [
[] []
@ -2826,7 +2836,7 @@
"z": "bccd1f23.87219", "z": "bccd1f23.87219",
"name": "", "name": "",
"group": "fbd92986.1028c8", "group": "fbd92986.1028c8",
"order": 2, "order": 1,
"width": 4, "width": 4,
"height": 1, "height": 1,
"passthru": false, "passthru": false,
@ -2853,7 +2863,7 @@
"z": "bccd1f23.87219", "z": "bccd1f23.87219",
"name": "", "name": "",
"group": "fbd92986.1028c8", "group": "fbd92986.1028c8",
"order": 7, "order": 8,
"width": 4, "width": 4,
"height": 1, "height": 1,
"passthru": false, "passthru": false,
@ -3604,7 +3614,9 @@
"de2c90cf.b73b08", "de2c90cf.b73b08",
"4be09c97f86897d9", "4be09c97f86897d9",
"f573206abefa9518", "f573206abefa9518",
"f948151ab4031df4" "f948151ab4031df4",
"5e3dec55.881074",
"d3ca8847.4d1ae"
] ]
] ]
}, },
@ -3619,7 +3631,7 @@
"initialize": "", "initialize": "",
"finalize": "", "finalize": "",
"x": 330, "x": 330,
"y": 180, "y": 200,
"wires": [ "wires": [
[ [
"6b34c456.83178c" "6b34c456.83178c"
@ -3638,7 +3650,7 @@
"finalize": "", "finalize": "",
"libs": [], "libs": [],
"x": 340, "x": 340,
"y": 100, "y": 40,
"wires": [ "wires": [
[ [
"cc0ca68b.4263a8" "cc0ca68b.4263a8"
@ -3653,7 +3665,7 @@
"func": "msg.payload = msg.payload.acq_minimum_mesh;\nreturn msg;", "func": "msg.payload = msg.payload.acq_minimum_mesh;\nreturn msg;",
"outputs": 1, "outputs": 1,
"noerr": 0, "noerr": 0,
"x": 350, "x": 370,
"y": 120, "y": 120,
"wires": [ "wires": [
[ [
@ -3669,7 +3681,7 @@
"func": "msg.payload = msg.payload.acq_maximum_mesh;\nreturn msg;", "func": "msg.payload = msg.payload.acq_maximum_mesh;\nreturn msg;",
"outputs": 1, "outputs": 1,
"noerr": 0, "noerr": 0,
"x": 350, "x": 370,
"y": 160, "y": 160,
"wires": [ "wires": [
[ [
@ -3844,7 +3856,7 @@
"delay": 300, "delay": 300,
"topic": "nb_frame", "topic": "nb_frame",
"x": 680, "x": 680,
"y": 220, "y": 240,
"wires": [ "wires": [
[ [
"fb887036.12429", "fb887036.12429",
@ -4835,7 +4847,7 @@
"max": "5", "max": "5",
"step": "0.1", "step": "0.1",
"x": 670, "x": 670,
"y": 140, "y": 80,
"wires": [ "wires": [
[ [
"fb887036.12429" "fb887036.12429"
@ -4870,8 +4882,8 @@
"links": [ "links": [
"559a8085.1d6b9" "559a8085.1d6b9"
], ],
"x": 735, "x": 795,
"y": 60, "y": 100,
"wires": [ "wires": [
[ [
"99b11fe4.2795d" "99b11fe4.2795d"
@ -4895,7 +4907,7 @@
"topic": "sample_concentrated_sample_volume", "topic": "sample_concentrated_sample_volume",
"topicType": "str", "topicType": "str",
"x": 590, "x": 590,
"y": 360, "y": 440,
"wires": [ "wires": [
[ [
"9f501f49.45645" "9f501f49.45645"
@ -5035,7 +5047,7 @@
"max": "0.5", "max": "0.5",
"step": "0.001", "step": "0.001",
"x": 630, "x": 630,
"y": 260, "y": 280,
"wires": [ "wires": [
[ [
"fb887036.12429", "fb887036.12429",
@ -5630,7 +5642,6 @@
"append": "now", "append": "now",
"useSpawn": "false", "useSpawn": "false",
"timer": "2", "timer": "2",
"winHide": false,
"oldrc": false, "oldrc": false,
"name": "sudo cmd now", "name": "sudo cmd now",
"x": 740, "x": 740,
@ -6126,6 +6137,7 @@
"id": "e564e9ad.7c312", "id": "e564e9ad.7c312",
"type": "ui_button", "type": "ui_button",
"z": "9daf9e2b.019fc", "z": "9daf9e2b.019fc",
"d": true,
"name": "Update", "name": "Update",
"group": "1be83144.4fe4bf", "group": "1be83144.4fe4bf",
"order": 7, "order": 7,
@ -7145,7 +7157,7 @@
"name": "", "name": "",
"env": [], "env": [],
"x": 120, "x": 120,
"y": 420, "y": 440,
"wires": [ "wires": [
[ [
"e10f5e55.00b828", "e10f5e55.00b828",
@ -7699,7 +7711,6 @@
"randomLast": "5", "randomLast": "5",
"randomUnits": "seconds", "randomUnits": "seconds",
"drop": true, "drop": true,
"allowrate": false,
"x": 760, "x": 760,
"y": 420, "y": 420,
"wires": [ "wires": [
@ -7796,7 +7807,7 @@
"noerr": 0, "noerr": 0,
"initialize": "", "initialize": "",
"finalize": "", "finalize": "",
"x": 490, "x": 500,
"y": 1140, "y": 1140,
"wires": [ "wires": [
[ [
@ -8225,7 +8236,7 @@
"z": "bccd1f23.87219", "z": "bccd1f23.87219",
"name": "", "name": "",
"group": "fbd92986.1028c8", "group": "fbd92986.1028c8",
"order": 3, "order": 2,
"width": 4, "width": 4,
"height": 1, "height": 1,
"passthru": false, "passthru": false,
@ -8252,7 +8263,7 @@
"z": "bccd1f23.87219", "z": "bccd1f23.87219",
"name": "", "name": "",
"group": "fbd92986.1028c8", "group": "fbd92986.1028c8",
"order": 6, "order": 7,
"width": 4, "width": 4,
"height": 1, "height": 1,
"passthru": false, "passthru": false,
@ -9657,7 +9668,7 @@
"initialize": "", "initialize": "",
"finalize": "", "finalize": "",
"libs": [], "libs": [],
"x": 920, "x": 910,
"y": 1060, "y": 1060,
"wires": [ "wires": [
[ [
@ -9891,7 +9902,7 @@
"delay": 300, "delay": 300,
"topic": "analog", "topic": "analog",
"topicType": "str", "topicType": "str",
"x": 580, "x": 590,
"y": 960, "y": 960,
"wires": [ "wires": [
[ [
@ -9936,7 +9947,7 @@
"noerr": 0, "noerr": 0,
"initialize": "", "initialize": "",
"finalize": "", "finalize": "",
"x": 910, "x": 900,
"y": 980, "y": 980,
"wires": [ "wires": [
[ [
@ -10217,11 +10228,12 @@
"type": "function", "type": "function",
"z": "b771c342.49603", "z": "b771c342.49603",
"name": "Convert time", "name": "Convert time",
"func": "msg.payload.time = msg.payload.time.replace('T', ' ')\nreturn msg;", "func": "if (msg.payload.time){\n msg.payload.time = msg.payload.time.replace('T', ' ');\n return msg;\n}",
"outputs": 1, "outputs": 1,
"noerr": 0, "noerr": 0,
"initialize": "", "initialize": "",
"finalize": "", "finalize": "",
"libs": [],
"x": 470, "x": 470,
"y": 1280, "y": 1280,
"wires": [ "wires": [
@ -10505,7 +10517,7 @@
"finalize": "", "finalize": "",
"libs": [], "libs": [],
"x": 340, "x": 340,
"y": 220, "y": 240,
"wires": [ "wires": [
[ [
"51b4d0df.d70a88" "51b4d0df.d70a88"
@ -10524,7 +10536,7 @@
"finalize": "", "finalize": "",
"libs": [], "libs": [],
"x": 380, "x": 380,
"y": 260, "y": 280,
"wires": [ "wires": [
[ [
"df1ea904.cd261" "df1ea904.cd261"
@ -10543,7 +10555,7 @@
"finalize": "", "finalize": "",
"libs": [], "libs": [],
"x": 350, "x": 350,
"y": 140, "y": 80,
"wires": [ "wires": [
[ [
"49ea1123.ee1768" "49ea1123.ee1768"