try to fix timer system trigger

This commit is contained in:
JcDenis 2024-05-01 12:09:39 +02:00
parent 79ab30404d
commit 6d202b4b4c
2 changed files with 80 additions and 48 deletions

File diff suppressed because one or more lines are too long

View file

@ -115,7 +115,7 @@
"x": 68, "x": 68,
"y": 3353, "y": 3353,
"w": 2604, "w": 2604,
"h": 2654 "h": 2714
}, },
{ {
"id": "29b883f9654391c8", "id": "29b883f9654391c8",
@ -691,12 +691,13 @@
"f0d22091d2275f34", "f0d22091d2275f34",
"87a3f60a0c03a21b", "87a3f60a0c03a21b",
"5fbf2cbdb32f0e97", "5fbf2cbdb32f0e97",
"68ca4fce9324436b" "68ca4fce9324436b",
"ec1f489e4f505a2f"
], ],
"x": 94, "x": 94,
"y": 5359, "y": 5359,
"w": 1812, "w": 1972,
"h": 262 "h": 322
}, },
{ {
"id": "307791bd329226f2", "id": "307791bd329226f2",
@ -719,7 +720,7 @@
"e09b198994376110" "e09b198994376110"
], ],
"x": 94, "x": 94,
"y": 5659, "y": 5719,
"w": 652, "w": 652,
"h": 142 "h": 142
}, },
@ -745,7 +746,7 @@
"e19c1916670880d7" "e19c1916670880d7"
], ],
"x": 94, "x": 94,
"y": 5839, "y": 5899,
"w": 952, "w": 952,
"h": 142 "h": 142
}, },
@ -6103,7 +6104,7 @@
"to": "", "to": "",
"reg": false, "reg": false,
"x": 430, "x": 430,
"y": 5460, "y": 5520,
"wires": [ "wires": [
[ [
"7bfba4bb76a09e45" "7bfba4bb76a09e45"
@ -6130,7 +6131,7 @@
"topic": "timer", "topic": "timer",
"outputs": 1, "outputs": 1,
"x": 630, "x": 630,
"y": 5460, "y": 5520,
"wires": [ "wires": [
[ [
"364bfd0f8218efb1" "364bfd0f8218efb1"
@ -6145,8 +6146,8 @@
"name": "routine timer", "name": "routine timer",
"mode": "return", "mode": "return",
"links": [], "links": [],
"x": 1735, "x": 1895,
"y": 5580, "y": 5640,
"wires": [] "wires": []
}, },
{ {
@ -6168,7 +6169,7 @@
"allowrate": false, "allowrate": false,
"outputs": 1, "outputs": 1,
"x": 450, "x": 450,
"y": 5520, "y": 5580,
"wires": [ "wires": [
[ [
"bfe242eadca39791" "bfe242eadca39791"
@ -6194,7 +6195,7 @@
"repair": false, "repair": false,
"outputs": 1, "outputs": 1,
"x": 280, "x": 280,
"y": 5520, "y": 5580,
"wires": [ "wires": [
[ [
"04fda8ed412120ca" "04fda8ed412120ca"
@ -6223,7 +6224,7 @@
"repair": false, "repair": false,
"outputs": 2, "outputs": 2,
"x": 700, "x": 700,
"y": 5520, "y": 5580,
"wires": [ "wires": [
[ [
"fe78724dc1f72f65" "fe78724dc1f72f65"
@ -6247,8 +6248,8 @@
"targetType": "full", "targetType": "full",
"statusVal": "", "statusVal": "",
"statusType": "auto", "statusType": "auto",
"x": 1790, "x": 1950,
"y": 5520, "y": 5580,
"wires": [] "wires": []
}, },
{ {
@ -6271,8 +6272,8 @@
"from": "", "from": "",
"to": "", "to": "",
"reg": false, "reg": false,
"x": 1610, "x": 1770,
"y": 5520, "y": 5580,
"wires": [ "wires": [
[ [
"9dd47ae7d0e90c33", "9dd47ae7d0e90c33",
@ -6308,7 +6309,7 @@
"to": "", "to": "",
"reg": false, "reg": false,
"x": 790, "x": 790,
"y": 5460, "y": 5520,
"wires": [ "wires": [
[] []
] ]
@ -6321,7 +6322,7 @@
"name": "routine timer", "name": "routine timer",
"links": [], "links": [],
"x": 135, "x": 135,
"y": 5580, "y": 5640,
"wires": [ "wires": [
[ [
"cbe63d29435cb7ce", "cbe63d29435cb7ce",
@ -6349,12 +6350,11 @@
"from": "", "from": "",
"to": "", "to": "",
"reg": false, "reg": false,
"x": 1610, "x": 1770,
"y": 5580, "y": 5640,
"wires": [ "wires": [
[ [
"37f065b203f116d2", "37f065b203f116d2",
"9dd47ae7d0e90c33",
"23ef9aaffb31c21d" "23ef9aaffb31c21d"
] ]
] ]
@ -6370,7 +6370,7 @@
"96f83c7e2e8a15cc", "96f83c7e2e8a15cc",
"3cc31621bae4b8f4" "3cc31621bae4b8f4"
], ],
"x": 1735, "x": 1895,
"y": 5460, "y": 5460,
"wires": [] "wires": []
}, },
@ -6394,7 +6394,7 @@
"repair": false, "repair": false,
"outputs": 2, "outputs": 2,
"x": 280, "x": 280,
"y": 5760, "y": 5820,
"wires": [ "wires": [
[ [
"ce2126235b863201" "ce2126235b863201"
@ -6413,7 +6413,7 @@
"mode": "return", "mode": "return",
"links": [], "links": [],
"x": 575, "x": 575,
"y": 5760, "y": 5820,
"wires": [] "wires": []
}, },
{ {
@ -6431,7 +6431,7 @@
"statusVal": "", "statusVal": "",
"statusType": "auto", "statusType": "auto",
"x": 630, "x": 630,
"y": 5700, "y": 5760,
"wires": [] "wires": []
}, },
{ {
@ -6442,7 +6442,7 @@
"name": "routine night", "name": "routine night",
"links": [], "links": [],
"x": 135, "x": 135,
"y": 5760, "y": 5820,
"wires": [ "wires": [
[ [
"7017965f91bd177c" "7017965f91bd177c"
@ -6477,7 +6477,7 @@
"to": "", "to": "",
"reg": false, "reg": false,
"x": 450, "x": 450,
"y": 5700, "y": 5760,
"wires": [ "wires": [
[ [
"eadfca81c8de4eb0", "eadfca81c8de4eb0",
@ -6506,7 +6506,7 @@
"to": "", "to": "",
"reg": false, "reg": false,
"x": 450, "x": 450,
"y": 5760, "y": 5820,
"wires": [ "wires": [
[ [
"56d6ee950d3d34c2", "56d6ee950d3d34c2",
@ -6536,7 +6536,7 @@
"repair": false, "repair": false,
"outputs": 2, "outputs": 2,
"x": 290, "x": 290,
"y": 5940, "y": 6000,
"wires": [ "wires": [
[ [
"b51db40b65f89f75" "b51db40b65f89f75"
@ -6555,7 +6555,7 @@
"mode": "return", "mode": "return",
"links": [], "links": [],
"x": 595, "x": 595,
"y": 5940, "y": 6000,
"wires": [] "wires": []
}, },
{ {
@ -6579,7 +6579,7 @@
"to": "", "to": "",
"reg": false, "reg": false,
"x": 470, "x": 470,
"y": 5940, "y": 6000,
"wires": [ "wires": [
[ [
"096892189e1be538", "096892189e1be538",
@ -6615,7 +6615,7 @@
"to": "", "to": "",
"reg": false, "reg": false,
"x": 470, "x": 470,
"y": 5880, "y": 5940,
"wires": [ "wires": [
[ [
"096892189e1be538", "096892189e1be538",
@ -6638,7 +6638,7 @@
"statusVal": "", "statusVal": "",
"statusType": "auto", "statusType": "auto",
"x": 650, "x": 650,
"y": 5880, "y": 5940,
"wires": [] "wires": []
}, },
{ {
@ -6649,7 +6649,7 @@
"name": "routine daily", "name": "routine daily",
"links": [], "links": [],
"x": 135, "x": 135,
"y": 5940, "y": 6000,
"wires": [ "wires": [
[ [
"5cf04b3c11f23176" "5cf04b3c11f23176"
@ -6664,7 +6664,7 @@
"name": "rsp : 1 if done, -1 if not done, 0 if not present", "name": "rsp : 1 if done, -1 if not done, 0 if not present",
"info": "", "info": "",
"x": 850, "x": 850,
"y": 5940, "y": 6000,
"wires": [] "wires": []
}, },
{ {
@ -6758,7 +6758,7 @@
"from": "", "from": "",
"to": "", "to": "",
"reg": false, "reg": false,
"x": 1210, "x": 1370,
"y": 5460, "y": 5460,
"wires": [ "wires": [
[ [
@ -6785,10 +6785,10 @@
"allowrate": false, "allowrate": false,
"outputs": 1, "outputs": 1,
"x": 980, "x": 980,
"y": 5460, "y": 5520,
"wires": [ "wires": [
[ [
"dfea66c91b07899f" "ec1f489e4f505a2f"
] ]
] ]
}, },
@ -6805,7 +6805,7 @@
"initialize": "\n", "initialize": "\n",
"finalize": "\n", "finalize": "\n",
"libs": [], "libs": [],
"x": 1420, "x": 1580,
"y": 5460, "y": 5460,
"wires": [ "wires": [
[ [
@ -6833,7 +6833,7 @@
"from": "", "from": "",
"to": "", "to": "",
"reg": false, "reg": false,
"x": 1600, "x": 1760,
"y": 5460, "y": 5460,
"wires": [ "wires": [
[ [
@ -6850,7 +6850,7 @@
"links": [ "links": [
"004bb30c27c94fb4" "004bb30c27c94fb4"
], ],
"x": 695, "x": 855,
"y": 5400, "y": 5400,
"wires": [ "wires": [
[ [
@ -6878,7 +6878,7 @@
"from": "", "from": "",
"to": "", "to": "",
"reg": false, "reg": false,
"x": 850, "x": 1010,
"y": 5400, "y": 5400,
"wires": [ "wires": [
[ [
@ -6898,7 +6898,7 @@
"arraySpltType": "len", "arraySpltType": "len",
"stream": false, "stream": false,
"addname": "", "addname": "",
"x": 1030, "x": 1190,
"y": 5400, "y": 5400,
"wires": [ "wires": [
[ [
@ -6924,7 +6924,7 @@
"checkall": "false", "checkall": "false",
"repair": false, "repair": false,
"outputs": 1, "outputs": 1,
"x": 1230, "x": 1390,
"y": 5400, "y": 5400,
"wires": [ "wires": [
[ [
@ -6945,7 +6945,7 @@
"initialize": "\n", "initialize": "\n",
"finalize": "\n", "finalize": "\n",
"libs": [], "libs": [],
"x": 1440, "x": 1600,
"y": 5400, "y": 5400,
"wires": [ "wires": [
[ [
@ -6983,7 +6983,7 @@
"from": "", "from": "",
"to": "", "to": "",
"reg": false, "reg": false,
"x": 1610, "x": 1770,
"y": 5400, "y": 5400,
"wires": [ "wires": [
[ [
@ -6992,5 +6992,37 @@
"37f065b203f116d2" "37f065b203f116d2"
] ]
] ]
},
{
"id": "ec1f489e4f505a2f",
"type": "switch",
"z": "bcb4426f5301b9f2",
"g": "9f00d3d0bf810df6",
"name": "bucket",
"property": "bucket",
"propertyType": "msg",
"rules": [
{
"t": "neq",
"v": "system",
"vt": "str"
},
{
"t": "else"
}
],
"checkall": "false",
"repair": false,
"outputs": 2,
"x": 1170,
"y": 5520,
"wires": [
[
"dfea66c91b07899f"
],
[
"7953d461e902f8ac"
]
]
} }
] ]