From 368441d29b9eb95b0293ad7b0d149ff103afc08b Mon Sep 17 00:00:00 2001 From: JcDenis Date: Mon, 22 Jul 2024 20:37:25 +0200 Subject: [PATCH] fix shading daily routine --- flows/K.Scene.json | 69 +++++++++++++++++++++++++--------------------- 1 file changed, 38 insertions(+), 31 deletions(-) diff --git a/flows/K.Scene.json b/flows/K.Scene.json index 30aca75..3d7f6c9 100644 --- a/flows/K.Scene.json +++ b/flows/K.Scene.json @@ -250,9 +250,9 @@ "f1475eafde58ef48", "fe15947cd1dee943", "bebe5c9f233bc014", - "b72d94de9f872ddf", "decfc56647d266cf", - "36fedc6b0be804e7" + "36fedc6b0be804e7", + "4ba20a57285906e1" ], "x": 94, "y": 1039, @@ -2924,12 +2924,12 @@ "type": "trigger", "z": "68ee181e9defa139", "g": "152a1afefb8c6055", - "name": "wait 15 s", + "name": "wait 3 s", "op1": "", "op2": "", "op1type": "nul", "op2type": "payl", - "duration": "15", + "duration": "3", "extend": false, "overrideDelay": false, "units": "s", @@ -3003,32 +3003,6 @@ ] ] }, - { - "id": "b72d94de9f872ddf", - "type": "delay", - "z": "68ee181e9defa139", - "g": "152a1afefb8c6055", - "name": "delay", - "pauseType": "delayv", - "timeout": "5", - "timeoutUnits": "seconds", - "rate": "1", - "nbRateUnits": "1", - "rateUnits": "second", - "randomFirst": "1", - "randomLast": "5", - "randomUnits": "seconds", - "drop": false, - "allowrate": false, - "outputs": 1, - "x": 830, - "y": 1140, - "wires": [ - [ - "36fedc6b0be804e7" - ] - ] - }, { "id": "decfc56647d266cf", "type": "change", @@ -3053,7 +3027,7 @@ "y": 1140, "wires": [ [ - "b72d94de9f872ddf" + "4ba20a57285906e1" ] ] }, @@ -3828,6 +3802,13 @@ "pt": "global", "to": "false", "tot": "bool" + }, + { + "t": "set", + "p": "routine.daily", + "pt": "msg", + "to": "false", + "tot": "bool" } ], "action": "", @@ -5692,5 +5673,31 @@ "x": 310, "y": 3360, "wires": [] + }, + { + "id": "4ba20a57285906e1", + "type": "trigger", + "z": "68ee181e9defa139", + "g": "152a1afefb8c6055", + "name": "delay", + "op1": "", + "op2": "", + "op1type": "nul", + "op2type": "payl", + "duration": "250", + "extend": false, + "overrideDelay": true, + "units": "ms", + "reset": "", + "bytopic": "topic", + "topic": "scene.bucket", + "outputs": 1, + "x": 830, + "y": 1140, + "wires": [ + [ + "36fedc6b0be804e7" + ] + ] } ] \ No newline at end of file