NEWS
Dynamische Astroschaltung
-
@mico sagte in Dynamische Astroschaltung:
Ich weiß eigendlich nicht wirklich was du da meinst ?!
Also ich hatte jetzt über BlocklyBlockly ist also gewünscht, ok.
Magst ein Screenshot von Deinem bisherigen Blockly zeigen?
Dann kann man dann sehen und besser helfen :)@djmarc75 said in Dynamische Astroschaltung:
@mico sagte in Dynamische Astroschaltung:
Magst ein Screenshot von Deinem bisherigen Blockly zeigen?
Dann kann man dann sehen und besser helfen :)Klar ! Ich hoffe das funktioniert habe den Script kopiert, da ich nicht weiß wie das mit den Bildern von Blockly funktioniert
// Zeitschaltung für Kuhstall schedule({astro: "solarNoon", shift: 180}, async function () { setState("0_userdata.0.Meine_eigenen_Variablen.Kuh-Stall_"/*Kuh-Stall */, true); sendTo("pushover", "send", { message: 'Jetzt würde Kuhstall1 geschaltet ', sound: "" }); }); schedule({astro: "sunset", shift: 30}, async function () { setState("0_userdata.0.Meine_eigenen_Variablen.Kuh-Stall_"/*Kuh-Stall */, false); sendTo("pushover", "send", { message: 'Jetzt würde Kuhstall 1 ausgeschaltet', sound: "" }); });MOD EDIT: SCRIPT IN CODE TAGS </> GESETZT
-
@djmarc75 said in Dynamische Astroschaltung:
@mico sagte in Dynamische Astroschaltung:
Magst ein Screenshot von Deinem bisherigen Blockly zeigen?
Dann kann man dann sehen und besser helfen :)Klar ! Ich hoffe das funktioniert habe den Script kopiert, da ich nicht weiß wie das mit den Bildern von Blockly funktioniert
// Zeitschaltung für Kuhstall schedule({astro: "solarNoon", shift: 180}, async function () { setState("0_userdata.0.Meine_eigenen_Variablen.Kuh-Stall_"/*Kuh-Stall */, true); sendTo("pushover", "send", { message: 'Jetzt würde Kuhstall1 geschaltet ', sound: "" }); }); schedule({astro: "sunset", shift: 30}, async function () { setState("0_userdata.0.Meine_eigenen_Variablen.Kuh-Stall_"/*Kuh-Stall */, false); sendTo("pushover", "send", { message: 'Jetzt würde Kuhstall 1 ausgeschaltet', sound: "" }); });MOD EDIT: SCRIPT IN CODE TAGS </> GESETZT
-
@mico bitte das skript in Codetags setzen (</>) und ein Screenshot vom Blockly wäre halt hilfreicher für alle da man dann das Skript nicht importieren muss.
@djmarc75 said in Dynamische Astroschaltung:
@mico bitte das skript in Codetags setzen (</>) und ein Screenshot vom Blockly wäre halt hilfreicher für alle da man dann das Skript nicht importieren muss.
Entschuldige die ständige Nachfrage
Du meinst sicher nicht die Drucktaste oder? Dann habe ich eine png datei
In Codetag setzten heißt dann ? Ich gehe zu diesem Code und füge dann am Anfang < und zum Schluss > ein? -
@djmarc75 said in Dynamische Astroschaltung:
@mico bitte das skript in Codetags setzen (</>) und ein Screenshot vom Blockly wäre halt hilfreicher für alle da man dann das Skript nicht importieren muss.
Entschuldige die ständige Nachfrage
Du meinst sicher nicht die Drucktaste oder? Dann habe ich eine png datei
In Codetag setzten heißt dann ? Ich gehe zu diesem Code und füge dann am Anfang < und zum Schluss > ein? -
@wendy2702 danke fürs in CT setzen :)
@Mico Das ist ja ein Javaskript, kein Blockly, da kann ich leider nicht helfen - aber bestimmt andere :) -
Hallo alle zusammen,
Ich möchte gerne eine dynamische Astroschaltung bei mir einsetzten.
Zur Zeit werden die Stallungen mit einer Zeitschaltung von Nov. bis Feb Nachmittags geschaltet so daß die Tiere im Nov. z.B. Licht zusätzlich ab 14:30 bis 17:30 , im Dez. Jan. dann 14:00 bis 18:00 und im Feb 15:00 bis 17:30 bekommen.Das müßte doch auch per dynamischer Astroschaltung möglich sein, ohne manueller Nachjustierung der Zeiten von mir.
Zur Zeit habe ich ein Probeastrolauf das Mittags mit einem Versatz von 180 Min das Licht einschalten würde und Nachmittags mit einem Versatz von 60 Min. das Licht abschalten würde.
Dann hatte ich mir mal den Astroverlauf der Sonne im Nov. und Dez 22 angesehen und stehlte fest das Mittags 12:02. bzw 12:20 der höchststand der Sonne war und der Untergang der Sonne um 16:50 bzw. 16:06 war.
Das würde dann ja mit meiner Probeschaltung nicht funktionieren da die Tiere ja nicht in ein dunklen Stall sollen.Hätte jemand eine Idee wie ich diese Schaltung so aufbauen kann das diese im Nov bis Feb. die Zeiten so zusagen selbst findet und schaltet, ohne ein separates Nachjustieren.
Gruß
Mico@mico
Grundsätzliche sehe ich zwei Möglichkeiten zur Verbesserung der Steuerung:
Zum einen kannst du den Sonnenstand als Variable einbeziehen. Dieser wird z.B. vom Adapter shuttercontrol zur Verfügung gestellt.
Zum zweiten könntest du einen Helligkeitssensor (zusätzlich?) einbeziehen. -
Hallo alle zusammen,
Ich möchte gerne eine dynamische Astroschaltung bei mir einsetzten.
Zur Zeit werden die Stallungen mit einer Zeitschaltung von Nov. bis Feb Nachmittags geschaltet so daß die Tiere im Nov. z.B. Licht zusätzlich ab 14:30 bis 17:30 , im Dez. Jan. dann 14:00 bis 18:00 und im Feb 15:00 bis 17:30 bekommen.Das müßte doch auch per dynamischer Astroschaltung möglich sein, ohne manueller Nachjustierung der Zeiten von mir.
Zur Zeit habe ich ein Probeastrolauf das Mittags mit einem Versatz von 180 Min das Licht einschalten würde und Nachmittags mit einem Versatz von 60 Min. das Licht abschalten würde.
Dann hatte ich mir mal den Astroverlauf der Sonne im Nov. und Dez 22 angesehen und stehlte fest das Mittags 12:02. bzw 12:20 der höchststand der Sonne war und der Untergang der Sonne um 16:50 bzw. 16:06 war.
Das würde dann ja mit meiner Probeschaltung nicht funktionieren da die Tiere ja nicht in ein dunklen Stall sollen.Hätte jemand eine Idee wie ich diese Schaltung so aufbauen kann das diese im Nov bis Feb. die Zeiten so zusagen selbst findet und schaltet, ohne ein separates Nachjustieren.
Gruß
Mico -
@djmarc75 said in Dynamische Astroschaltung:
@mico sagte in Dynamische Astroschaltung:
Magst ein Screenshot von Deinem bisherigen Blockly zeigen?
Dann kann man dann sehen und besser helfen :)Klar ! Ich hoffe das funktioniert habe den Script kopiert, da ich nicht weiß wie das mit den Bildern von Blockly funktioniert
// Zeitschaltung für Kuhstall schedule({astro: "solarNoon", shift: 180}, async function () { setState("0_userdata.0.Meine_eigenen_Variablen.Kuh-Stall_"/*Kuh-Stall */, true); sendTo("pushover", "send", { message: 'Jetzt würde Kuhstall1 geschaltet ', sound: "" }); }); schedule({astro: "sunset", shift: 30}, async function () { setState("0_userdata.0.Meine_eigenen_Variablen.Kuh-Stall_"/*Kuh-Stall */, false); sendTo("pushover", "send", { message: 'Jetzt würde Kuhstall 1 ausgeschaltet', sound: "" }); });MOD EDIT: SCRIPT IN CODE TAGS </> GESETZT
für javascript findest du die dokumentation für die astro funktion und ihren möglichkeiten hier
https://www.iobroker.net/docu/index-81.htm#user-content-astro--functionaus der Liste der möglichen Zeitpunkte suchst du dir einen heraus, der möglichst nah an deiner wunschzeit dran ist, mit shift (in minuten) kannst du dann entsprechenden versatz konfigurieren. bspw -60 bedeutet 60 minuten vor dieser Zeit.
-
So nun hoffe ich das ich das mit dem anzeigen von Blockly hinbekomme.
<xml xmlns="https://developers.google.com/blockly/xml"> <variables> <variable id="TrxsK-|;S{#l{^%dqW%q">Winter</variable> <variable id="s}Mh!=GM=.i[$Ga8W45l">Winter1</variable> <variable type="timeout" id="timeout2">timeout2</variable> <variable type="timeout" id="timeout">timeout</variable> </variables> <block type="comment" id="QHf/YPvO)Xli!{;Yhj8}" x="45" y="-656"> <field name="COMMENT">Zeitschaltung für Kuhstall</field> <next> <block type="astro" id="(bi8xS$(VO-*+6}j5UbW"> <field name="TYPE">solarNoon</field> <field name="OFFSET">-30</field> <statement name="STATEMENT"> <block type="variables_set" id="^-_QX8XB+bk74{qSc7kt"> <field name="VAR" id="TrxsK-|;S{#l{^%dqW%q">Winter</field> <value name="VALUE"> <block type="logic_operation" id="g%@,1nUZJ7zoy.n}Z6Kc" inline="false"> <field name="OP">OR</field> <value name="A"> <block type="logic_compare" id="uUqcHg:Xn(Iu+*_~*dKe"> <field name="OP">EQ</field> <value name="A"> <block type="time_get" id="{;aYjka@t.d7.(P5hv4+"> <mutation xmlns="http://www.w3.org/1999/xhtml" format="false" language="false"></mutation> <field name="OPTION">M</field> </block> </value> <value name="B"> <block type="math_number" id=",h{oK1]DQm([$PUeQ|}@"> <field name="NUM">1</field> </block> </value> </block> </value> <value name="B"> <block type="logic_compare" id="f~{.u2j/IXwf/{PXDcwg"> <field name="OP">EQ</field> <value name="A"> <block type="time_get" id=")_A6R})MHi#MC7p-p8~L"> <mutation xmlns="http://www.w3.org/1999/xhtml" format="false" language="false"></mutation> <field name="OPTION">M</field> </block> </value> <value name="B"> <block type="math_number" id="(8m(G6Uke^tNy)*lfum8"> <field name="NUM">12</field> </block> </value> </block> </value> </block> </value> <next> <block type="variables_set" id="2Nbv6!GgB@WN3t-uL}68"> <field name="VAR" id="s}Mh!=GM=.i[$Ga8W45l">Winter1</field> <value name="VALUE"> <block type="logic_operation" id="ZHSCnPL)R%amy#QaIlW!" inline="false"> <field name="OP">OR</field> <value name="A"> <block type="logic_compare" id=")=!*JTo4pJ+U)NuRzZ]q"> <field name="OP">EQ</field> <value name="A"> <block type="time_get" id="e3.4Eq#eEZ$Vud4)EjTq"> <mutation xmlns="http://www.w3.org/1999/xhtml" format="false" language="false"></mutation> <field name="OPTION">M</field> </block> </value> <value name="B"> <block type="math_number" id="=L3o[X}kdEs.A@QKFn[h"> <field name="NUM">11</field> </block> </value> </block> </value> <value name="B"> <block type="logic_compare" id="`++[ezd*MNh/r*Y|sq*u"> <field name="OP">EQ</field> <value name="A"> <block type="time_get" id="K[jP3|+s)/U~o|Kh%/;("> <mutation xmlns="http://www.w3.org/1999/xhtml" format="false" language="false"></mutation> <field name="OPTION">M</field> </block> </value> <value name="B"> <block type="math_number" id="lh7$!m*v.h{(!WOjAU4y"> <field name="NUM">2</field> </block> </value> </block> </value> </block> </value> <next> <block type="controls_if" id="K*y1K*U;Lxiy/30#wRLv"> <mutation elseif="1"></mutation> <value name="IF0"> <block type="variables_get" id="(rJe%7k_`t,z.|3JRX2?"> <field name="VAR" id="s}Mh!=GM=.i[$Ga8W45l">Winter1</field> </block> </value> <statement name="DO0"> <block type="control" id="sQ53I^3E3*[}eJ^6gh,="> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">0_userdata.0.Meine_eigenen_Variablen.Kuh-Stall_</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="logic_boolean" id="Gp(K#kOlcC)LKrNwv{5Z"> <field name="BOOL">TRUE</field> </block> </value> <next> <block type="pushover" id=".?Ba66FO.L)y7[Gdw`^k"> <field name="INSTANCE"></field> <field name="SOUND"></field> <field name="PRIORITY">0</field> <field name="LOG"></field> <value name="MESSAGE"> <shadow type="text" id="D*vkh}}(LW*VFZILwu%X"> <field name="TEXT">Jetzt würde Kuhstall2 ohne Verzögerung geschaltet </field> </shadow> </value> <value name="SOUND_CUSTOM"> <shadow type="text" id="DjOCSu(R$-H}7^s.nItR"> <field name="TEXT"></field> </shadow> </value> </block> </next> </block> </statement> <value name="IF1"> <block type="variables_get" id="=SH,{T!-,;D[BZ2Bo}CN"> <field name="VAR" id="TrxsK-|;S{#l{^%dqW%q">Winter</field> </block> </value> <statement name="DO1"> <block type="timeouts_settimeout" id=",Jln|qJ1tNcWiQ2A{1O7"> <field name="NAME">timeout</field> <field name="DELAY">70</field> <field name="UNIT">min</field> <statement name="STATEMENT"> <block type="control" id="y3WY0ArRr83*8-7zQyF]"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">0_userdata.0.Meine_eigenen_Variablen.Kuh-Stall_</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="logic_boolean" id="(c%2MB4s+sWwg03dz|)h"> <field name="BOOL">TRUE</field> </block> </value> <next> <block type="timeouts_cleartimeout" id="]xb:Ex{K|z`jL@$#XY)Y"> <field name="NAME">timeout</field> <next> <block type="pushover" id="q:pBuNK%Tt$4MA5`CM,B"> <field name="INSTANCE"></field> <field name="SOUND"></field> <field name="PRIORITY">0</field> <field name="LOG"></field> <value name="MESSAGE"> <shadow type="text" id="})3HfLcy-w(6s4|?Vn4]"> <field name="TEXT">Jetzt würde Kuhstall2 mit Verzögerung geschaltet </field> </shadow> </value> <value name="SOUND_CUSTOM"> <shadow type="text" id="-kwrD[L.Nz|g2VAD`Z6N"> <field name="TEXT"></field> </shadow> </value> </block> </next> </block> </next> </block> </statement> </block> </statement> </block> </next> </block> </next> </block> </statement> <next> <block type="astro" id="xTs[IJ3$0{r*4s,MguQl"> <field name="TYPE">sunset</field> <field name="OFFSET">30</field> <statement name="STATEMENT"> <block type="controls_if" id="ERsn(}zxRJ9rWQSNn?/M"> <mutation elseif="1"></mutation> <value name="IF0"> <block type="variables_get" id="(?;64F_)]Z|L@X1o]8A+"> <field name="VAR" id="TrxsK-|;S{#l{^%dqW%q">Winter</field> </block> </value> <statement name="DO0"> <block type="timeouts_settimeout" id="Ph$HE,;@z3rjfP)DdQB6"> <field name="NAME">timeout2</field> <field name="DELAY">20</field> <field name="UNIT">min</field> <statement name="STATEMENT"> <block type="control" id="G#p)yx-pH=Q;)#,cpK1#"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">0_userdata.0.Meine_eigenen_Variablen.Kuh-Stall_</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="logic_boolean" id="Xj2(*=TcymG;H3o1eNyR"> <field name="BOOL">FALSE</field> </block> </value> <next> <block type="timeouts_cleartimeout" id="q?kM)YNGyaW)!BwYh1U|"> <field name="NAME">timeout2</field> <next> <block type="pushover" id="/v_YRq#9u#G*XoBz@w0e"> <field name="INSTANCE"></field> <field name="SOUND"></field> <field name="PRIORITY">0</field> <field name="LOG"></field> <value name="MESSAGE"> <shadow type="text" id="Ft;PZx@t{@YXa:[d2o}-"> <field name="TEXT">Jetzt würde Kuhstall2 mit Verzögerung ausgeschaltet </field> </shadow> </value> <value name="SOUND_CUSTOM"> <shadow type="text" id="[M{Y!UotC[-hXL#JWGGQ"> <field name="TEXT"></field> </shadow> </value> </block> </next> </block> </next> </block> </statement> </block> </statement> <value name="IF1"> <block type="variables_get" id="tN`MSz6Eix+rF]vKf!h8"> <field name="VAR" id="s}Mh!=GM=.i[$Ga8W45l">Winter1</field> </block> </value> <statement name="DO1"> <block type="control" id="KKakYcrgX,m,cl=L^U^Q"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">0_userdata.0.Meine_eigenen_Variablen.Kuh-Stall_</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="logic_boolean" id="!Q_]J6Fcn{GJvZ@2Ns^j"> <field name="BOOL">FALSE</field> </block> </value> <next> <block type="pushover" id="GYl|TyBX:5^~t80xuUxg"> <field name="INSTANCE"></field> <field name="SOUND"></field> <field name="PRIORITY">0</field> <field name="LOG"></field> <value name="MESSAGE"> <shadow type="text" id="ZM`?19)fMrNlAj)qrqs|"> <field name="TEXT">Jetzt würde Kuhstall 2 ohne Verzögerung ausgeschaltet</field> </shadow> </value> <value name="SOUND_CUSTOM"> <shadow type="text" id="y~Z|^5UQmZ[~YV`Uy}6i"> <field name="TEXT"></field> </shadow> </value> </block> </next> </block> </statement> </block> </statement> </block> </next> </block> </next> </block> </xml>ich habe den Skript noch etwas erweitert um die Variable Winter1 und dann einem Timeout um die Sonne zu berücksichtigen.
Gruß
Mico
Herzlichen Dank euch allen -
So nun hoffe ich das ich das mit dem anzeigen von Blockly hinbekomme.
<xml xmlns="https://developers.google.com/blockly/xml"> <variables> <variable id="TrxsK-|;S{#l{^%dqW%q">Winter</variable> <variable id="s}Mh!=GM=.i[$Ga8W45l">Winter1</variable> <variable type="timeout" id="timeout2">timeout2</variable> <variable type="timeout" id="timeout">timeout</variable> </variables> <block type="comment" id="QHf/YPvO)Xli!{;Yhj8}" x="45" y="-656"> <field name="COMMENT">Zeitschaltung für Kuhstall</field> <next> <block type="astro" id="(bi8xS$(VO-*+6}j5UbW"> <field name="TYPE">solarNoon</field> <field name="OFFSET">-30</field> <statement name="STATEMENT"> <block type="variables_set" id="^-_QX8XB+bk74{qSc7kt"> <field name="VAR" id="TrxsK-|;S{#l{^%dqW%q">Winter</field> <value name="VALUE"> <block type="logic_operation" id="g%@,1nUZJ7zoy.n}Z6Kc" inline="false"> <field name="OP">OR</field> <value name="A"> <block type="logic_compare" id="uUqcHg:Xn(Iu+*_~*dKe"> <field name="OP">EQ</field> <value name="A"> <block type="time_get" id="{;aYjka@t.d7.(P5hv4+"> <mutation xmlns="http://www.w3.org/1999/xhtml" format="false" language="false"></mutation> <field name="OPTION">M</field> </block> </value> <value name="B"> <block type="math_number" id=",h{oK1]DQm([$PUeQ|}@"> <field name="NUM">1</field> </block> </value> </block> </value> <value name="B"> <block type="logic_compare" id="f~{.u2j/IXwf/{PXDcwg"> <field name="OP">EQ</field> <value name="A"> <block type="time_get" id=")_A6R})MHi#MC7p-p8~L"> <mutation xmlns="http://www.w3.org/1999/xhtml" format="false" language="false"></mutation> <field name="OPTION">M</field> </block> </value> <value name="B"> <block type="math_number" id="(8m(G6Uke^tNy)*lfum8"> <field name="NUM">12</field> </block> </value> </block> </value> </block> </value> <next> <block type="variables_set" id="2Nbv6!GgB@WN3t-uL}68"> <field name="VAR" id="s}Mh!=GM=.i[$Ga8W45l">Winter1</field> <value name="VALUE"> <block type="logic_operation" id="ZHSCnPL)R%amy#QaIlW!" inline="false"> <field name="OP">OR</field> <value name="A"> <block type="logic_compare" id=")=!*JTo4pJ+U)NuRzZ]q"> <field name="OP">EQ</field> <value name="A"> <block type="time_get" id="e3.4Eq#eEZ$Vud4)EjTq"> <mutation xmlns="http://www.w3.org/1999/xhtml" format="false" language="false"></mutation> <field name="OPTION">M</field> </block> </value> <value name="B"> <block type="math_number" id="=L3o[X}kdEs.A@QKFn[h"> <field name="NUM">11</field> </block> </value> </block> </value> <value name="B"> <block type="logic_compare" id="`++[ezd*MNh/r*Y|sq*u"> <field name="OP">EQ</field> <value name="A"> <block type="time_get" id="K[jP3|+s)/U~o|Kh%/;("> <mutation xmlns="http://www.w3.org/1999/xhtml" format="false" language="false"></mutation> <field name="OPTION">M</field> </block> </value> <value name="B"> <block type="math_number" id="lh7$!m*v.h{(!WOjAU4y"> <field name="NUM">2</field> </block> </value> </block> </value> </block> </value> <next> <block type="controls_if" id="K*y1K*U;Lxiy/30#wRLv"> <mutation elseif="1"></mutation> <value name="IF0"> <block type="variables_get" id="(rJe%7k_`t,z.|3JRX2?"> <field name="VAR" id="s}Mh!=GM=.i[$Ga8W45l">Winter1</field> </block> </value> <statement name="DO0"> <block type="control" id="sQ53I^3E3*[}eJ^6gh,="> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">0_userdata.0.Meine_eigenen_Variablen.Kuh-Stall_</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="logic_boolean" id="Gp(K#kOlcC)LKrNwv{5Z"> <field name="BOOL">TRUE</field> </block> </value> <next> <block type="pushover" id=".?Ba66FO.L)y7[Gdw`^k"> <field name="INSTANCE"></field> <field name="SOUND"></field> <field name="PRIORITY">0</field> <field name="LOG"></field> <value name="MESSAGE"> <shadow type="text" id="D*vkh}}(LW*VFZILwu%X"> <field name="TEXT">Jetzt würde Kuhstall2 ohne Verzögerung geschaltet </field> </shadow> </value> <value name="SOUND_CUSTOM"> <shadow type="text" id="DjOCSu(R$-H}7^s.nItR"> <field name="TEXT"></field> </shadow> </value> </block> </next> </block> </statement> <value name="IF1"> <block type="variables_get" id="=SH,{T!-,;D[BZ2Bo}CN"> <field name="VAR" id="TrxsK-|;S{#l{^%dqW%q">Winter</field> </block> </value> <statement name="DO1"> <block type="timeouts_settimeout" id=",Jln|qJ1tNcWiQ2A{1O7"> <field name="NAME">timeout</field> <field name="DELAY">70</field> <field name="UNIT">min</field> <statement name="STATEMENT"> <block type="control" id="y3WY0ArRr83*8-7zQyF]"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">0_userdata.0.Meine_eigenen_Variablen.Kuh-Stall_</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="logic_boolean" id="(c%2MB4s+sWwg03dz|)h"> <field name="BOOL">TRUE</field> </block> </value> <next> <block type="timeouts_cleartimeout" id="]xb:Ex{K|z`jL@$#XY)Y"> <field name="NAME">timeout</field> <next> <block type="pushover" id="q:pBuNK%Tt$4MA5`CM,B"> <field name="INSTANCE"></field> <field name="SOUND"></field> <field name="PRIORITY">0</field> <field name="LOG"></field> <value name="MESSAGE"> <shadow type="text" id="})3HfLcy-w(6s4|?Vn4]"> <field name="TEXT">Jetzt würde Kuhstall2 mit Verzögerung geschaltet </field> </shadow> </value> <value name="SOUND_CUSTOM"> <shadow type="text" id="-kwrD[L.Nz|g2VAD`Z6N"> <field name="TEXT"></field> </shadow> </value> </block> </next> </block> </next> </block> </statement> </block> </statement> </block> </next> </block> </next> </block> </statement> <next> <block type="astro" id="xTs[IJ3$0{r*4s,MguQl"> <field name="TYPE">sunset</field> <field name="OFFSET">30</field> <statement name="STATEMENT"> <block type="controls_if" id="ERsn(}zxRJ9rWQSNn?/M"> <mutation elseif="1"></mutation> <value name="IF0"> <block type="variables_get" id="(?;64F_)]Z|L@X1o]8A+"> <field name="VAR" id="TrxsK-|;S{#l{^%dqW%q">Winter</field> </block> </value> <statement name="DO0"> <block type="timeouts_settimeout" id="Ph$HE,;@z3rjfP)DdQB6"> <field name="NAME">timeout2</field> <field name="DELAY">20</field> <field name="UNIT">min</field> <statement name="STATEMENT"> <block type="control" id="G#p)yx-pH=Q;)#,cpK1#"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">0_userdata.0.Meine_eigenen_Variablen.Kuh-Stall_</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="logic_boolean" id="Xj2(*=TcymG;H3o1eNyR"> <field name="BOOL">FALSE</field> </block> </value> <next> <block type="timeouts_cleartimeout" id="q?kM)YNGyaW)!BwYh1U|"> <field name="NAME">timeout2</field> <next> <block type="pushover" id="/v_YRq#9u#G*XoBz@w0e"> <field name="INSTANCE"></field> <field name="SOUND"></field> <field name="PRIORITY">0</field> <field name="LOG"></field> <value name="MESSAGE"> <shadow type="text" id="Ft;PZx@t{@YXa:[d2o}-"> <field name="TEXT">Jetzt würde Kuhstall2 mit Verzögerung ausgeschaltet </field> </shadow> </value> <value name="SOUND_CUSTOM"> <shadow type="text" id="[M{Y!UotC[-hXL#JWGGQ"> <field name="TEXT"></field> </shadow> </value> </block> </next> </block> </next> </block> </statement> </block> </statement> <value name="IF1"> <block type="variables_get" id="tN`MSz6Eix+rF]vKf!h8"> <field name="VAR" id="s}Mh!=GM=.i[$Ga8W45l">Winter1</field> </block> </value> <statement name="DO1"> <block type="control" id="KKakYcrgX,m,cl=L^U^Q"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">0_userdata.0.Meine_eigenen_Variablen.Kuh-Stall_</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="logic_boolean" id="!Q_]J6Fcn{GJvZ@2Ns^j"> <field name="BOOL">FALSE</field> </block> </value> <next> <block type="pushover" id="GYl|TyBX:5^~t80xuUxg"> <field name="INSTANCE"></field> <field name="SOUND"></field> <field name="PRIORITY">0</field> <field name="LOG"></field> <value name="MESSAGE"> <shadow type="text" id="ZM`?19)fMrNlAj)qrqs|"> <field name="TEXT">Jetzt würde Kuhstall 2 ohne Verzögerung ausgeschaltet</field> </shadow> </value> <value name="SOUND_CUSTOM"> <shadow type="text" id="y~Z|^5UQmZ[~YV`Uy}6i"> <field name="TEXT"></field> </shadow> </value> </block> </next> </block> </statement> </block> </statement> </block> </next> </block> </next> </block> </xml>ich habe den Skript noch etwas erweitert um die Variable Winter1 und dann einem Timeout um die Sonne zu berücksichtigen.
Gruß
Mico
Herzlichen Dank euch allen
Hey! Du scheinst an dieser Unterhaltung interessiert zu sein, hast aber noch kein Konto.
Hast du es satt, bei jedem Besuch durch die gleichen Beiträge zu scrollen? Wenn du dich für ein Konto anmeldest, kommst du immer genau dorthin zurück, wo du zuvor warst, und kannst dich über neue Antworten benachrichtigen lassen (entweder per E-Mail oder Push-Benachrichtigung). Du kannst auch Lesezeichen speichern und Beiträge positiv bewerten, um anderen Community-Mitgliedern deine Wertschätzung zu zeigen.
Mit deinem Input könnte dieser Beitrag noch besser werden 💗
Registrieren Anmelden


