NEWS
Zeitsteuerung Pumpe, Startzeit wird regeläßig ignoriert
-
Moin zusammen,
habe eine Zeitsteuerung mit Blockly für eine Pumpe.
Leider wird meist die Anfangszeit ignoriert.
Die Systemzeit scheint zu stimmen, im Admin Bereich des IO-Brokers wird die richtige Zeit angezeigt, und im VIS habe ich mir auch eine Uhr reingeschoben - ist auch korrekt.
Zudem kommt auch die Zeitsteuerung für die Endzeiten hin, aber eben nicht für die Startzeit.
Habe 3 verschiedene Blocklys, für die verschiedenen Wochentage (Wochentage/Sa,So), bei allen das selbe Problem.-> Zusätzliche Start/Endzeiten können vorkommen, da noch ein Handsender mit eingesetzt wird, welche die Pumpe für 10 min. einschaltet.
Leider kann ich selber den Fehler nicht finden, jemand eine Idee?
(Im rechten Blockly habe ich bereits mehrere Startzeiten, aber es ändert sich nichts im Ergebnis)Besten Dank!
<xml xmlns="https://developers.google.com/blockly/xml"> <block type="comment" id="[yu5RsHaL#A0f4L93vuo" x="-737" y="-1438"> <field name="COMMENT">Einschaltzeiten WW-ZP</field> <next> <block type="schedule" id="/J;|f~G}4ytCb|eL-f#v"> <field name="SCHEDULE">{"time":{"start":"03:55","end":"13:55","interval":1,"mode":"hours"},"period":{"days":1,"dows":"[1,2,3,4,5]"},"valid":{"from":"05.09.2023","to":""}}</field> <statement name="STATEMENT"> <block type="control" id="WKuoIaoQOmPbb`n4}^;K"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">shelly.0.SHSW-PM#E89F6D858E10#1.Relay0.Switch</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="logic_boolean" id=".I%10+]V#Xc[]Il1N#77"> <field name="BOOL">TRUE</field> </block> </value> <next> <block type="control" id="FM!i_[KOiE?Z^9me=u}v"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation> <field name="OID">shelly.0.SHSW-PM#E89F6D858E10#1.Relay0.Switch</field> <field name="WITH_DELAY">TRUE</field> <field name="DELAY_MS">30</field> <field name="UNIT">sec</field> <field name="CLEAR_RUNNING">FALSE</field> <value name="VALUE"> <block type="logic_boolean" id="E|J291HMM$UG?e;r/i[j"> <field name="BOOL">TRUE</field> </block> </value> <next> <block type="control" id="$1S=)-AXKfFd]{OLOda;"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation> <field name="OID">shelly.0.SHSW-PM#E89F6D858E10#1.Relay0.Switch</field> <field name="WITH_DELAY">TRUE</field> <field name="DELAY_MS">60</field> <field name="UNIT">sec</field> <field name="CLEAR_RUNNING">FALSE</field> <value name="VALUE"> <block type="logic_boolean" id="wz$RBRRv3q:M,JMrzec7"> <field name="BOOL">TRUE</field> </block> </value> </block> </next> </block> </next> </block> </statement> </block> </next> </block> <block type="comment" id=":{[db[?k5M8B95~%VeBo" x="-37" y="-1438"> <field name="COMMENT">Ausschaltzeiten WW-ZP</field> <next> <block type="schedule" id="y{NS-zRWjwVt}vS]bw?="> <field name="SCHEDULE">{"time":{"start":"04:05","end":"14:05","interval":1,"mode":"hours"},"period":{"days":1,"dows":"[1,2,3,4,5]"}}</field> <statement name="STATEMENT"> <block type="control" id="(i+V~,L;_B;6@ReIQ{=j"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">shelly.0.SHSW-PM#E89F6D858E10#1.Relay0.Switch</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="logic_boolean" id="h,l1E9lFAYbj`W;tEtP:"> <field name="BOOL">FALSE</field> </block> </value> <next> <block type="control" id="fpsf7L6M5($:ifXDoEDk"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation> <field name="OID">shelly.0.SHSW-PM#E89F6D858E10#1.Relay0.Switch</field> <field name="WITH_DELAY">TRUE</field> <field name="DELAY_MS">30</field> <field name="UNIT">sec</field> <field name="CLEAR_RUNNING">FALSE</field> <value name="VALUE"> <block type="logic_boolean" id="io5M6LaGsK_+.P0Sg7VY"> <field name="BOOL">FALSE</field> </block> </value> </block> </next> </block> </statement> </block> </next> </block> <block type="comment" id="VoR6wW[OSscL%qL@Q-II" x="-38" y="-1237"> <field name="COMMENT">Ausschaltzeiten WW-ZP</field> <next> <block type="schedule" id="Cat1+e]y!^.6P}zq?GMH"> <field name="SCHEDULE">{"time":{"start":"04:35","end":"13:35","interval":1,"mode":"hours"},"period":{"days":1,"dows":"[1,2,3,4,5]"}}</field> <statement name="STATEMENT"> <block type="control" id="6OA*FkNAwX}ziI/4qs{]"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">shelly.0.SHSW-PM#E89F6D858E10#1.Relay0.Switch</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="logic_boolean" id="`OB~./nnV;w3y9Cjt~su"> <field name="BOOL">FALSE</field> </block> </value> <next> <block type="control" id="9zCE#lUT#8tw7)U:M^Gr"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation> <field name="OID">shelly.0.SHSW-PM#E89F6D858E10#1.Relay0.Switch</field> <field name="WITH_DELAY">TRUE</field> <field name="DELAY_MS">30</field> <field name="UNIT">sec</field> <field name="CLEAR_RUNNING">FALSE</field> <value name="VALUE"> <block type="logic_boolean" id="H?}U!A^=r[3:+AYbc[Js"> <field name="BOOL">FALSE</field> </block> </value> </block> </next> </block> </statement> </block> </next> </block> <block type="comment" id="K2,+kJejt-^mZZu}sOK;" x="-763" y="-1187"> <field name="COMMENT">Einschaltzeiten WW-ZP</field> <next> <block type="schedule" id="byeqCd#w+kK^$q*PqY?i"> <field name="SCHEDULE">{"time":{"start":"04:25","end":"13:25","interval":1,"mode":"hours"},"period":{"days":1,"dows":"[1,2,3,4,5]"},"valid":{"from":"05.09.2023","to":""}}</field> <statement name="STATEMENT"> <block type="control" id="g+SbT7hES]9TmI$L]=pc"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">shelly.0.SHSW-PM#E89F6D858E10#1.Relay0.Switch</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="logic_boolean" id="9c?p2lL}V0YBVP5~Emx?"> <field name="BOOL">TRUE</field> </block> </value> <next> <block type="control" id="!YG,n`q;#OgXzhbD5V)g"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation> <field name="OID">shelly.0.SHSW-PM#E89F6D858E10#1.Relay0.Switch</field> <field name="WITH_DELAY">TRUE</field> <field name="DELAY_MS">30</field> <field name="UNIT">sec</field> <field name="CLEAR_RUNNING">FALSE</field> <value name="VALUE"> <block type="logic_boolean" id="esX4eaK,Xm?2`+Cw$:^V"> <field name="BOOL">TRUE</field> </block> </value> <next> <block type="control" id="VgpJ@wh*GKhMN^enQ*L^"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation> <field name="OID">shelly.0.SHSW-PM#E89F6D858E10#1.Relay0.Switch</field> <field name="WITH_DELAY">TRUE</field> <field name="DELAY_MS">60</field> <field name="UNIT">sec</field> <field name="CLEAR_RUNNING">FALSE</field> <value name="VALUE"> <block type="logic_boolean" id="SJ^h9;Ex2fvlmr|(_mw3"> <field name="BOOL">TRUE</field> </block> </value> </block> </next> </block> </next> </block> </statement> </block> </next> </block> <block type="comment" id="`7]}m7lcSw;WBzkaV7O[" x="-762" y="-893"> <field name="COMMENT">Einschaltzeiten WW-ZP</field> <next> <block type="schedule" id="rsuMoyKS[*99n2{DrI43"> <field name="SCHEDULE">{"time":{"start":"16:25","end":"19:25","interval":1,"mode":"hours"},"period":{"days":1,"dows":"[1,2,3,4,5]"}}</field> <statement name="STATEMENT"> <block type="control" id="2*}?|$?DLfYWD3{?yYFX"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">shelly.0.SHSW-PM#E89F6D858E10#1.Relay0.Switch</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="logic_boolean" id="Ojjx%RWCkJ8U}~PHGwy7"> <field name="BOOL">TRUE</field> </block> </value> <next> <block type="control" id="9(w5y)eZI-v;8J]6EZ.H"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation> <field name="OID">shelly.0.SHSW-PM#E89F6D858E10#1.Relay0.Switch</field> <field name="WITH_DELAY">TRUE</field> <field name="DELAY_MS">30</field> <field name="UNIT">sec</field> <field name="CLEAR_RUNNING">FALSE</field> <value name="VALUE"> <block type="logic_boolean" id="N-4-N!lOsG]YeGY{K3OD"> <field name="BOOL">TRUE</field> </block> </value> <next> <block type="control" id="%+$C$rao+{7l1/uuEw.b"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation> <field name="OID">shelly.0.SHSW-PM#E89F6D858E10#1.Relay0.Switch</field> <field name="WITH_DELAY">TRUE</field> <field name="DELAY_MS">60</field> <field name="UNIT">sec</field> <field name="CLEAR_RUNNING">FALSE</field> <value name="VALUE"> <block type="logic_boolean" id="a~l/|E]~Jfh4V:o%f``I"> <field name="BOOL">TRUE</field> </block> </value> </block> </next> </block> </next> </block> </statement> </block> </next> </block> <block type="comment" id="Qps,]D|NEdikIbCjHLdu" x="-38" y="-888"> <field name="COMMENT">Ausschaltzeiten WW-ZP</field> <next> <block type="schedule" id="7DJCWZ$n_K~9X[$NZ[:|"> <field name="SCHEDULE">{"time":{"start":"16:35","end":"19:35","interval":1,"mode":"hours"},"period":{"days":1,"dows":"[1,2,3,4,5]"}}</field> <statement name="STATEMENT"> <block type="control" id=";xFO$KX,joZv61m~oxCQ"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">shelly.0.SHSW-PM#E89F6D858E10#1.Relay0.Switch</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="logic_boolean" id="cT`klT5je(nslc|lSc/L"> <field name="BOOL">FALSE</field> </block> </value> <next> <block type="control" id="+1%RG-I_F1zlFnhUw)+("> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation> <field name="OID">shelly.0.SHSW-PM#E89F6D858E10#1.Relay0.Switch</field> <field name="WITH_DELAY">TRUE</field> <field name="DELAY_MS">30</field> <field name="UNIT">sec</field> <field name="CLEAR_RUNNING">FALSE</field> <value name="VALUE"> <block type="logic_boolean" id=")S96hepWCPF+*;$6nX8U"> <field name="BOOL">FALSE</field> </block> </value> </block> </next> </block> </statement> </block> </next> </block> </xml>
-
@gismoh mir kommt es komisch vor, dass da immer Ein und Auszeiten aufgeführt sind, aber immer nur eine Aktion.
Ich nutze hier in der Regel die Cron Syntax mit Definition EINES Zeitpunkts und einer Aktion. -
@gismoh hab keine ahnung von blockly, aber für die poolpumpensteuerung verwende ich einfach den smartcontrol adapter...
-
@gismoh sagte: Zeitsteuerung mit Blockly für eine Pumpe.
Wie ich sehe, soll die Pumpe jeweils 10 Minuten laufen. Ich würde es mit 2 CRON-Zeitplänen machen:
-
@paul53 , @da_Woody , @MartinP ,
besten Dank für eure Vorschläge
Ich versuche es nun erst mal nach dem Vorschlag mit den CRON-Zeitplänen,
sollte es noch zum selben Verhalten führen, wie aktuell werde ich mir mal den samrtcontrol adapter ansehen.Danke auch für das Blockly Beispiel für den Cron-Zeitplan,
anhand diesen weis ich nun auch wie man diesen erstellt -
@paul53
Wunderbar, sieht so auch viel übersichtlicher und effektiver aus - nun alle Wochenprogramme auf einem Blick
Hoffe ich habe es richtig gemacht, nun bin ich mal auf Morgen früh gespannt und hoffe das nicht wieder die ersten Schaltvorgänge ausgelassen werden.
<xml xmlns="https://developers.google.com/blockly/xml"> <block type="comment" id="eRp[/I];[6r|DuRoeIwE" x="-363" y="-1062"> <field name="COMMENT">Einschaltzeiten WW-ZP Sa</field> <next> <block type="schedule" id="{pu^@+$Fc^]u/@rXdi0l"> <field name="SCHEDULE">25 6-13 * * 6</field> <statement name="STATEMENT"> <block type="control" id="Gwe4=gfF5u:X%2j.|=.2"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">shelly.0.SHSW-PM#E89F6D858E10#1.Relay0.Switch</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="logic_boolean" id="9;M;8#+T#S7[zoWD%VJ8"> <field name="BOOL">TRUE</field> </block> </value> <next> <block type="control" id=",foyv9L:,-ejI_8e$=fP"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation> <field name="OID">shelly.0.SHSW-PM#E89F6D858E10#1.Relay0.Switch</field> <field name="WITH_DELAY">TRUE</field> <field name="DELAY_MS">10</field> <field name="UNIT">min</field> <field name="CLEAR_RUNNING">FALSE</field> <value name="VALUE"> <block type="logic_boolean" id="fu77LAz8v@s$(O+:jauB"> <field name="BOOL">FALSE</field> </block> </value> </block> </next> </block> </statement> <next> <block type="comment" id="G?Fz}!Ilhk/H:;adlGPC"> <field name="COMMENT">Einschaltzeiten WW-ZP Sa</field> <next> <block type="schedule" id="2-r:ozLO5`3EV;aZfMb6"> <field name="SCHEDULE">55 5-13,16-19 * * 6</field> <statement name="STATEMENT"> <block type="control" id="boYy9*,cX%Mq`2-b]pRK"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">shelly.0.SHSW-PM#E89F6D858E10#1.Relay0.Switch</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="logic_boolean" id="v;^(C2D009_%kMIbnXtA"> <field name="BOOL">TRUE</field> </block> </value> <next> <block type="control" id="W[J|]GMgYPq]v`W:]YB`"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation> <field name="OID">shelly.0.SHSW-PM#E89F6D858E10#1.Relay0.Switch</field> <field name="WITH_DELAY">TRUE</field> <field name="DELAY_MS">10</field> <field name="UNIT">min</field> <field name="CLEAR_RUNNING">FALSE</field> <value name="VALUE"> <block type="logic_boolean" id="crT:4VEc|o0fl8TDahs3"> <field name="BOOL">FALSE</field> </block> </value> </block> </next> </block> </statement> </block> </next> </block> </next> </block> </next> </block> <block type="comment" id="OEbPdOY3Xx:y:QkWp=WT" x="-1113" y="-863"> <field name="COMMENT">Einschaltzeiten WW-ZP Mo-Fr</field> <next> <block type="schedule" id="8zioH`a]rf,{8^G/.{1C"> <field name="SCHEDULE">55 3-13 * * 1-5</field> <statement name="STATEMENT"> <block type="control" id="[ojl5|Q0YU%}SZ~h`5C7"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">shelly.0.SHSW-PM#E89F6D858E10#1.Relay0.Switch</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="logic_boolean" id="qOC7XLmqr`TqV;Y-qS6}"> <field name="BOOL">TRUE</field> </block> </value> <next> <block type="control" id="eib?NBB2z~qMGJ2iBv8."> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation> <field name="OID">shelly.0.SHSW-PM#E89F6D858E10#1.Relay0.Switch</field> <field name="WITH_DELAY">TRUE</field> <field name="DELAY_MS">10</field> <field name="UNIT">min</field> <field name="CLEAR_RUNNING">FALSE</field> <value name="VALUE"> <block type="logic_boolean" id="*^iV0%6ym(wK:6i7Z`Nd"> <field name="BOOL">FALSE</field> </block> </value> </block> </next> </block> </statement> <next> <block type="comment" id="Pgs+qtNhX0#W/|A`/A}8"> <field name="COMMENT">Einschaltzeiten WW-ZP Mo-Fr</field> <next> <block type="schedule" id="?7$zlQRR]zu2];x15t;L"> <field name="SCHEDULE">25 4-13,16-19 * * 1-5</field> <statement name="STATEMENT"> <block type="control" id="+%a#kNE4zhad/S9NKi?/"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">shelly.0.SHSW-PM#E89F6D858E10#1.Relay0.Switch</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="logic_boolean" id="0@(%rWca1JzHPinw9]u^"> <field name="BOOL">TRUE</field> </block> </value> <next> <block type="control" id="^Q[*Ui*A^_HP..]zmV)D"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation> <field name="OID">shelly.0.SHSW-PM#E89F6D858E10#1.Relay0.Switch</field> <field name="WITH_DELAY">TRUE</field> <field name="DELAY_MS">10</field> <field name="UNIT">min</field> <field name="CLEAR_RUNNING">FALSE</field> <value name="VALUE"> <block type="logic_boolean" id="JX)FcFQl~OjxFwx11N$x"> <field name="BOOL">FALSE</field> </block> </value> </block> </next> </block> </statement> </block> </next> </block> </next> </block> </next> </block> <block type="comment" id="0t9~2c0Nf|IHJ*mL=f+a" x="-362" y="-687"> <field name="COMMENT">Einschaltzeiten WW-ZP So</field> <next> <block type="schedule" id="6QteD=6K9W0%Z3stFmNs"> <field name="SCHEDULE">25 6-13 * * 0</field> <statement name="STATEMENT"> <block type="control" id="$*iliF`+EO;NB]S5mFsx"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">shelly.0.SHSW-PM#E89F6D858E10#1.Relay0.Switch</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="logic_boolean" id="~Ma!lv.QWo{%B~ipS$84"> <field name="BOOL">TRUE</field> </block> </value> <next> <block type="control" id="Tdx]V5qGmNyEKM$aepQG"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation> <field name="OID">shelly.0.SHSW-PM#E89F6D858E10#1.Relay0.Switch</field> <field name="WITH_DELAY">TRUE</field> <field name="DELAY_MS">10</field> <field name="UNIT">min</field> <field name="CLEAR_RUNNING">FALSE</field> <value name="VALUE"> <block type="logic_boolean" id="iyw`i,n1*shdz_:{Wm)+"> <field name="BOOL">FALSE</field> </block> </value> </block> </next> </block> </statement> <next> <block type="comment" id="LTNX2hw#0nKM.=9epqP("> <field name="COMMENT">Einschaltzeiten WW-ZP So</field> <next> <block type="schedule" id="noVIY0F[*L^@qfl#=mW|"> <field name="SCHEDULE">55 6-13,17-19 * * 0</field> <statement name="STATEMENT"> <block type="control" id="=o-AFlo83chg6X%#Z(7u"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">shelly.0.SHSW-PM#E89F6D858E10#1.Relay0.Switch</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="logic_boolean" id="oHHv4wXew9RDVnV0L@wu"> <field name="BOOL">TRUE</field> </block> </value> <next> <block type="control" id="PQaEqt?k(U?CJMu)$lz="> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation> <field name="OID">shelly.0.SHSW-PM#E89F6D858E10#1.Relay0.Switch</field> <field name="WITH_DELAY">TRUE</field> <field name="DELAY_MS">10</field> <field name="UNIT">min</field> <field name="CLEAR_RUNNING">FALSE</field> <value name="VALUE"> <block type="logic_boolean" id="ai6-3kv0^-na9Tom.J]1"> <field name="BOOL">FALSE</field> </block> </value> </block> </next> </block> </statement> </block> </next> </block> </next> </block> </next> </block> </xml>
-
@gismoh sagte: alle Wochenprogramme auf einem Blick
Sa, So 6:25 Uhr bis 13:25 Uhr kann man in einem Zeitplan zusammen fassen.