NEWS
Heizungssteuerung simples UND/ODER script läuft nicht
-
Wenn man die Logik (falls…sonst...) etwas verschachtelt, benötigt man weniger Abfragen und kommt ohne UND aus.
Außerdem sollten die Sollwerte an MANU_MODE und nicht an SET_TEMPERATURE gesendet werden, damit nicht das Zeitprogramm übersteuert. Wenn jede Minute gesendet wird - wie mit diesem Skript - kann der Duty cycle schnell überschritten werden. -
Hy, vielen Dank für eure schnelle Hilfe.
Ich habe mein Script jetzt mal abgeändert und werde es nun testen.
Das mit dem Manu_Mode wusste ich vorher auch noch nicht, habe auch in FHEM immer mit Set_Temp übertragen…aber wie gesagt, bin noch neu bei IObroker.
ps: Den UND-Baustein kann man mit der Rechten Maustaste umschalten, und auf Externe Eingänge umschalten. (Sieht für mich übersichtlicher aus...-ich komme aus der S7-Welt
-
Ok, hab gerade bemerkt, dass nun der Wert für Manu_Mode auf die entsprechende Temperatur gesetzt wird, das Thermostat aber weiterhin den alten Wert aus "Set_Temp" anstehen hat. Mein Thermostat steht auf Manual….Oder muss ich noch irgendwo anstoßen, dass der Wert vom Thermostat verarbeitet wird?
-
dass nun der Wert für Manu_Mode auf die entsprechende Temperatur gesetzt wird, das Thermostat aber weiterhin den alten Wert aus "Set_Temp" anstehen hat. `
Es kann bis zu 3 Minuten dauern, bis der Wert im Thermostaten ankommt, denn der Wert wird von der CCU erst gesendet, wenn sich der Thermostat meldet (aus Schlaf aufwacht). -
negativ, der Wert steht seit 15 min unverändert. (leuchtet auch rot als nicht bestätigt)
Die Variable hat lese und Schreibzugriff…hmmm komisch
-
-
Die CCU hat keinen Fehler angezeigt.
Habe gerade nochmal den Status vom Fenstersensor geändert, und nun funktioniert es.
Das bedeutet ja, dass jede min der Wert von meinem Script übertragen wird, und ca. alle drei min das Thermostat aufwacht und den Wert verarbeitet.
Kann man das so machen? -Wegen Batterielebensdauer etc…
Würde es einen Unterschied machen, wenn ich das script mit triggern ausführen würde, also die Variable nur alle ca. 3 Stunden sende?
oder wacht das Thermostat ohnehin alle drei min einmal auf um den Status zu senden ?
-
Würde es einen Unterschied machen, wenn ich das script mit triggern ausführen würde, `
Man sollte nur senden, wenn das Telegramm auch eine neue Information enthält, also bei Fensterbetätigung, Änderung von Abwesend, morgens und abends. Dazu packt man den Block in eine Funktion und ruft sie an 4 Stellen auf.
-
Vielen Dank,
das vereinfacht natürlich alles. Sieht auch gleich viel aufgeräumter aus.
Leider bekomme ich eine Fehlermeldung wenn ich die beiden CRON untereinander setze, wie in deinem Bild.
Ich habe jetzt anstelle der CRON normale "Zeitplan" (auch unter Trigger zu finden) verbaut.
Damit bekomme ich keine Fehlermeldung mehr. Oder worin liegt der Untershied zum CRON?
-
Ich hänge mich hier mal dran:
Ich möchte gern für die Heizungssteuerung ein Script nach der folgenden Logik umsetzen:
wenn [(fenster auf) oder (Urlaub abwesend)}-> immer Abwesenheitstemperatur
sonst wenn (fenster zu)
wenn [(mo-do von 7-9 und 15-22) oder (fr-so von 5-22) oder (feiertag 5-22) oder (urlaub zu hause = wahr und 7-22) -> Temp.
Anwesenheit
sonst temp. abwesenheit
Hintergrund
anwesend -> Fr-So oder Feiertags oder Urlaub zu Haus wahr -> jeweils 5-22 Uhr, sonst abwesend/EcoModus
Werktag anwesend -> Mo-Do 7-9 und 15-22 Uhr und kein Feiertag, sonst abwesend
Urlaub (abwesend) -> so lange Datenpunkt wahr abwesend
Urlaub zu Hause (anwesend) -> so lange Datenpunkt wahr anwesend
Fenster auf -> immer temp. abwesenheit
Das Script füge ich an - leider klappt die mehrfache oder / und Prüfung nicht.
![](</s><ATTACHMENT )[attachment=0]~~Blockly.JPG[/attachment]" />Ich denke, die Ursache liegt in der mehrfachen oder/und Prüfung?
<xml xmlns="http://www.w3.org/1999/xhtml"><block type="comment" id="cX1G!J0hDG6ToD)LW?kF" x="-2187" y="-1212"><field name="COMMENT">Wohnzimmer</field> <next><block type="schedule" id="pM:9uP,lwl/THrOleIE%"><field name="SCHEDULE">30 * * * * *</field> <statement name="STATEMENT"><block type="variables_set" id="V[Vx:S|r}dx8hz;Sa?FM"><field name="VAR">Temperatur Anwesenheit</field> <value name="VALUE"><block type="convert_tonumber" id="]?[um.RGQ5z6rTERh-2U"><value name="VALUE"><block type="get_value" id="jMwIn4).G!Xx})P|0!GM"><field name="ATTR">val</field> <field name="OID">maxcube.0.devices.thermostat_17af81.Temperatur_Anwesenheit</field></block></value></block></value> <next><block type="variables_set" id="BHj^nA|6OvdWwQPz]J24"><field name="VAR">Temperatur Abwesenheit</field> <value name="VALUE"><block type="convert_tonumber" id="{5Q6,Ynr3IJdE?C,/Rh9"><value name="VALUE"><block type="get_value" id="|+ufD*N88su@lho}~;s/"><field name="ATTR">val</field> <field name="OID">maxcube.0.devices.thermostat_17af81.Temperatur_Abwesenheit</field></block></value></block></value> <next><block type="variables_set" id="%q+mWA{Gg:AP%[Yk,6Gc"><field name="VAR">Urlaub (abwesend)</field> <value name="VALUE"><block type="get_value" id="!d1r08_z5.|D;UZrB!Oe"><field name="ATTR">val</field> <field name="OID">maxcube.0.Urlaubsmodus_Heizung</field></block></value> <next><block type="variables_set" id="dhW3d5AudoFe(sr.[+LG"><field name="VAR">Urlaub zu Hause</field> <value name="VALUE"><block type="get_value" id="#K`vV@^j3L|E`nTe(2s:"><field name="ATTR">val</field> <field name="OID">maxcube.0.Urlaubsmodus_Heizung_zu_Hause</field></block></value> <next><block type="comment" id="#LH9Doi^a(;vLoU~#.]V"><field name="COMMENT">Prüfung welche Zeit</field> <next><block type="controls_if" id="r/%GZrD/]|aoM(IW7ZyY"><mutation elseif="1" else="1"></mutation> <value name="IF0"><block type="logic_operation" id="U/:l8Gzjr?-rPU?^k9xm"><field name="OP">OR</field> <value name="A"><block type="logic_compare" id=")TN4xNL(NW#5UVYY1#Gy"><field name="OP">EQ</field> <value name="A"><block type="get_value" id="C2k~/d3k9:2uqjO#-9_D"><field name="ATTR">val</field> <field name="OID">mihome.0.devices.magnet_158d0001c224b5.state</field></block></value> <value name="B"><block type="logic_boolean" id="cC,-grC|j@2wTQNp=^b1"><field name="BOOL">TRUE</field></block></value></block></value> <value name="B"><block type="logic_compare" id="4w:E:?Zwi%!rtm,g1U38"><field name="OP">EQ</field> <value name="A"><block type="variables_get" id="8Y.5vkEo~qm~GJ^shB64"><field name="VAR">Urlaub (abwesend)</field></block></value> <value name="B"><block type="logic_boolean" id="(`W0DmFJM#m{z`8tVZ*b"><field name="BOOL">TRUE</field></block></value></block></value></block></value> <statement name="DO0"><block type="comment" id="3vw5KY~eY^*{3c(anDv6"><field name="COMMENT">Fenster auf oder Urlaub (abwesend), dann immer 16 °C</field> <next><block type="controls_if" id="wFP57d`AO)x7=AXu-PS)"><value name="IF0"><block type="logic_compare" id=";kHU0VlqIkIvcml.X4cg"><field name="OP">NEQ</field> <value name="A"><block type="convert_tonumber" id="Mh_m,%8ZSTH:AP#djd%%"><value name="VALUE"><block type="get_value" id="p}#{6xeaKz+nCk9s?wgo"><field name="ATTR">val</field> <field name="OID">maxcube.0.devices.thermostat_17af81.setpoint</field></block></value></block></value> <value name="B"><block type="convert_tonumber" id="P.+[O5s!mTq`9CA@]?ff"><value name="VALUE"><block type="variables_get" id="`1U7E4X]+-OJ4udR/3M4"><field name="VAR">Temperatur Abwesenheit</field></block></value></block></value></block></value> <statement name="DO0"><block type="control" id="P7Z/QtYv7a%se6H;_yd["><mutation delay_input="false"></mutation> <field name="OID">maxcube.0.devices.thermostat_17af81.setpoint</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"><block type="convert_tonumber" id="@k;#@DFo8J+ei:Uio|OM"><value name="VALUE"><block type="variables_get" id="y#/|C,)rEehh%?.gl|rC"><field name="VAR">Temperatur Abwesenheit</field></block></value></block></value> <next><block type="control" id="dg802sa2EL8AiFuoRj3M"><mutation delay_input="false"></mutation> <field name="OID">maxcube.0.devices.thermostat_17b741.setpoint</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"><block type="convert_tonumber" id="?Y6(@pTJ?Q5Y(x(rzc3["><value name="VALUE"><block type="variables_get" id="gU(xj~a(9/@]5j~^En5*"><field name="VAR">Temperatur Abwesenheit</field></block></value></block></value></block></next></block></statement></block></next></block></statement> <value name="IF1"><block type="logic_compare" id="^%t~Sal|pi4dZbD{hSqP"><field name="OP">EQ</field> <value name="A"><block type="get_value" id="G)^#_DXXJ#63x-.X]_{O"><field name="ATTR">val</field> <field name="OID">mihome.0.devices.magnet_158d0001c224b5.state</field></block></value> <value name="B"><block type="logic_boolean" id="CU08AD*wA7}p;tF|@(=i"><field name="BOOL">FALSE</field></block></value></block></value> <statement name="DO1"><block type="comment" id="%UrT+5BQ0{A)Wt9/uTAk"><field name="COMMENT">Fenster zu - Anwesenheitszeiten</field> <next><block type="controls_if" id="RQJI^F6;ww*MYpn^IG)V"><value name="IF0"><block type="logic_operation" id="j:9j~s|uromg?JZP|F3k" inline="false"><field name="OP">OR</field> <value name="A"><block type="logic_operation" id="hX.y:X:l{o;HGUkkO%@C"><field name="OP">AND</field> <value name="A"><block type="logic_operation" id="-y/T4aGN0T2~S!wN82Q_"><field name="OP">AND</field> <value name="A"><block type="logic_compare" id="x1-c]xizbp]yy3@N5[?6"><field name="OP">NEQ</field> <value name="A"><block type="time_get" id="z`_8aeZxM.hoZCP(^g;L"><mutation format="false" language="true"></mutation> <field name="OPTION">wdt</field> <field name="LANGUAGE">de</field></block></value> <value name="B"><block type="text" id="+3tR?;]rVqcs!;;FUZ/C"><field name="TEXT">Freitag</field></block></value></block></value> <value name="B"><block type="logic_operation" id="c]YY2wlm6hEOdPo?1u-z"><field name="OP">AND</field> <value name="A"><block type="logic_compare" id="ukI~X#CYn|kk?fZHCgqs"><field name="OP">NEQ</field> <value name="A"><block type="time_get" id="`l-P(TF02Tgh*d,kPZvB"><mutation format="false" language="true"></mutation> <field name="OPTION">wdt</field> <field name="LANGUAGE">de</field></block></value> <value name="B"><block type="text" id="EWQ]0=MLLovp%Pp}#=D~"><field name="TEXT">Samstag</field></block></value></block></value> <value name="B"><block type="logic_compare" id="K;b]5}En559O4:tITB9x"><field name="OP">NEQ</field> <value name="A"><block type="time_get" id="fA=4/uJfa}o0u/gJ7u=="><mutation format="false" language="true"></mutation> <field name="OPTION">wdt</field> <field name="LANGUAGE">de</field></block></value> <value name="B"><block type="text" id="W8+nU;F(]Xfa[F6(}[OC"><field name="TEXT">Sonntag</field></block></value></block></value></block></value></block></value> <value name="B"><block type="logic_operation" id="=5fDtfy|p2Tx(foe_CRd"><field name="OP">AND</field> <value name="A"><block type="logic_compare" id=":=n(ETM[N!8](^lU47*y"><field name="OP">GTE</field> <value name="A"><block type="time_get" id="KE|lS0@+Avh)UkAsisSz"><mutation format="false" language="false"></mutation> <field name="OPTION">h</field></block></value> <value name="B"><block type="text" id=",{`o{cYv%L?i?z9M8_Nu"><field name="TEXT">5</field></block></value></block></value> <value name="B"><block type="logic_compare" id="QBU4G*(l[Y*/c1-J7g8V"><field name="OP">LTE</field> <value name="A"><block type="time_get" id="2X9H~KSFrf96HB`@We/j"><mutation format="false" language="false"></mutation> <field name="OPTION">h</field></block></value> <value name="B"><block type="text" id="g-n1cp+=E4~{!|`=JnIC"><field name="TEXT">8</field></block></value></block></value></block></value></block></value> <value name="B"><block type="logic_operation" id="^xT5*!U7OsAPgSg;qBu9" inline="false"><field name="OP">OR</field> <value name="A"><block type="logic_operation" id="OV2i?h6^?z|;Ubt*wr,p"><field name="OP">AND</field> <value name="A"><block type="logic_operation" id="9@]HYW3aiV1b5_#~o/0_"><field name="OP">AND</field> <value name="A"><block type="logic_compare" id=".3Bc~z}}ud)u_2bO}BKd"><field name="OP">NEQ</field> <value name="A"><block type="time_get" id="dRp`)T9c39WpJv1YBCe#"><mutation format="false" language="true"></mutation> <field name="OPTION">wdt</field> <field name="LANGUAGE">de</field></block></value> <value name="B"><block type="text" id=";n4ao~Lry1Px,)6t90-Y"><field name="TEXT">Freitag</field></block></value></block></value> <value name="B"><block type="logic_operation" id="/1Sk8P3_,hI!xW.@}/?m"><field name="OP">AND</field> <value name="A"><block type="logic_compare" id="=WEKotlX*zqV_5h%!NgQ"><field name="OP">NEQ</field> <value name="A"><block type="time_get" id="7@[r*RK;%41oOo#SmEtm"><mutation format="false" language="true"></mutation> <field name="OPTION">wdt</field> <field name="LANGUAGE">de</field></block></value> <value name="B"><block type="text" id="2XMxcPIs1JVFy~NLe=18"><field name="TEXT">Samstag</field></block></value></block></value> <value name="B"><block type="logic_compare" id="#Yp_ujoFbyZ}[0WoR,]S"><field name="OP">NEQ</field> <value name="A"><block type="time_get" id="9?tK/@u}X:qnnI-v5!Ly"><mutation format="false" language="true"></mutation> <field name="OPTION">wdt</field> <field name="LANGUAGE">de</field></block></value> <value name="B"><block type="text" id="0mvN4v]3(z!(|a=r%WY`"><field name="TEXT">Sonntag</field></block></value></block></value></block></value></block></value> <value name="B"><block type="logic_operation" id="oB3AQX%=MG{lSE4i7CZN"><field name="OP">AND</field> <value name="A"><block type="logic_compare" id="u`XdA#1;|MfsmO!IFNZ)"><field name="OP">GTE</field> <value name="A"><block type="time_get" id="8v0(WmajjPyH+F3u1IIf"><mutation format="false" language="false"></mutation> <field name="OPTION">h</field></block></value> <value name="B"><block type="text" id="o[?Jp)T+,;]CPC5|~|Y^"><field name="TEXT">15</field></block></value></block></value> <value name="B"><block type="logic_compare" id="dMMy:mV11Xdf%!qe8spP"><field name="OP">LTE</field> <value name="A"><block type="time_get" id="9lu?x%{ctBh(1jX@Ec[6"><mutation format="false" language="false"></mutation> <field name="OPTION">h</field></block></value> <value name="B"><block type="text" id="RWZL2b=BT(}c+uh@2,FM"><field name="TEXT">22</field></block></value></block></value></block></value></block></value> <value name="B"><block type="logic_operation" id="G?DMb`sq+TWj,CtKR5%x" inline="false"><field name="OP">OR</field> <value name="A"><block type="logic_operation" id="It(Tmozi}9+z[X{7UvqC"><field name="OP">AND</field> <value name="A"><block type="logic_operation" id="@vcT.Wk-O{T]qs1g,CTZ"><field name="OP">AND</field> <value name="A"><block type="logic_operation" id="2i#.yK-N+_zXieLy`x)d"><field name="OP">AND</field> <value name="A"><block type="logic_compare" id="0gfR`9Tlff9BUj/a+ori"><field name="OP">NEQ</field> <value name="A"><block type="time_get" id="+.7ovpNp|MUhS:Fq05:l"><mutation format="false" language="true"></mutation> <field name="OPTION">wdt</field> <field name="LANGUAGE">de</field></block></value> <value name="B"><block type="text" id="2DE~pSXiQs*)]v|oSZIj"><field name="TEXT">Montag</field></block></value></block></value> <value name="B"><block type="logic_operation" id="RMQjpKtLt9*Kyt:T`B4w"><field name="OP">AND</field> <value name="A"><block type="logic_compare" id="~]~_j9,x~MSlP%Ald]Us"><field name="OP">NEQ</field> <value name="A"><block type="time_get" id="8ApC@lH9]4:1V2*pf9cM"><mutation format="false" language="true"></mutation> <field name="OPTION">wdt</field> <field name="LANGUAGE">de</field></block></value> <value name="B"><block type="text" id="n|XMnZWg!hEdQxu/]d-D"><field name="TEXT">Dienstag</field></block></value></block></value> <value name="B"><block type="logic_compare" id="xrqm|1BXZ`X3^HF{zbfi"><field name="OP">NEQ</field> <value name="A"><block type="time_get" id="yQS-^_B.=^}f1-+bRPrF"><mutation format="false" language="true"></mutation> <field name="OPTION">wdt</field> <field name="LANGUAGE">de</field></block></value> <value name="B"><block type="text" id="{yMVoIk}x3=rv3YfCt;s"><field name="TEXT">Mittwoch</field></block></value></block></value></block></value></block></value> <value name="B"><block type="logic_compare" id="irPOC%,:NQ=wR]I#G;qT"><field name="OP">NEQ</field> <value name="A"><block type="time_get" id="(jrPobu6!YVm3YaO?35t"><mutation format="false" language="true"></mutation> <field name="OPTION">wdt</field> <field name="LANGUAGE">de</field></block></value> <value name="B"><block type="text" id="r14N-91iAFM5)TqsYPlR"><field name="TEXT">Donnerstag</field></block></value></block></value></block></value> <value name="B"><block type="logic_operation" id="13;z{WLxJ?3Pv|~aSre2"><field name="OP">AND</field> <value name="A"><block type="logic_compare" id="=C6s26m;__}qyt5l^R|v"><field name="OP">GTE</field> <value name="A"><block type="time_get" id="A!]9[s6KSIwP78trSR}Q"><mutation format="false" language="false"></mutation> <field name="OPTION">h</field></block></value> <value name="B"><block type="text" id="fhf1m10xX?Y[+~(:TFf?"><field name="TEXT">5</field></block></value></block></value> <value name="B"><block type="logic_compare" id="DT4)G4%uWXHEh/IA!jAa"><field name="OP">LTE</field> <value name="A"><block type="time_get" id="HvNp[=vbs%)W=vSL]PKg"><mutation format="false" language="false"></mutation> <field name="OPTION">h</field></block></value> <value name="B"><block type="text" id="kvqGaAXOKi8^IE]`1db:"><field name="TEXT">22</field></block></value></block></value></block></value></block></value> <value name="B"><block type="logic_operation" id="o2GaJ+MNp78mladF%(H*" inline="false"><field name="OP">OR</field> <value name="A"><block type="logic_operation" id="f5l/I6N5DraNSZ]PIJZ)"><field name="OP">AND</field> <value name="A"><block type="logic_compare" id="h?v~#{(mi6y-J=^s).(2"><field name="OP">EQ</field> <value name="A"><block type="get_value" id="8tYE}RaPG,CCaKd#9CUH"><field name="ATTR">val</field> <field name="OID">feiertage.0.heute.boolean</field></block></value> <value name="B"><block type="logic_boolean" id="J[S1K#,-N~yastpkrIbY"><field name="BOOL">TRUE</field></block></value></block></value> <value name="B"><block type="logic_operation" id="nihZM*_:a=p_%Av*=D3Q"><field name="OP">AND</field> <value name="A"><block type="logic_compare" id="=e}/cc.Dzu?fdqAZae!0"><field name="OP">GTE</field> <value name="A"><block type="time_get" id="76Hjfl!j![Kr.g6Y_p9A"><mutation format="false" language="false"></mutation> <field name="OPTION">h</field></block></value> <value name="B"><block type="text" id="L-`^MBil@9RW7CfLD9]i"><field name="TEXT">5</field></block></value></block></value> <value name="B"><block type="logic_compare" id="r-?w+VsTai-T7a(6{-B}"><field name="OP">LTE</field> <value name="A"><block type="time_get" id=":4chG#S2EtiX`|b0go;L"><mutation format="false" language="false"></mutation> <field name="OPTION">h</field></block></value> <value name="B"><block type="text" id="EzZV/6fU?|*|9bNj_5DJ"><field name="TEXT">22</field></block></value></block></value></block></value></block></value> <value name="B"><block type="logic_operation" id="jx!ecj1k)ON/95Cy(w;V"><field name="OP">AND</field> <value name="A"><block type="logic_compare" id="bZe_I472}r^ZSaHG3J^@"><field name="OP">EQ</field> <value name="A"><block type="get_value" id=":nS3U/WV`{,e^Y=.=MI8"><field name="ATTR">val</field> <field name="OID">maxcube.0.Urlaubsmodus_Heizung_zu_Hause</field></block></value> <value name="B"><block type="logic_boolean" id="K3e%R!2E~taXCBb*SsU~"><field name="BOOL">TRUE</field></block></value></block></value> <value name="B"><block type="logic_operation" id="EYa]dfsa?HwyfDmM|{j["><field name="OP">AND</field> <value name="A"><block type="logic_compare" id="j7Lv@TvM57cJUE~-D^F^"><field name="OP">GTE</field> <value name="A"><block type="time_get" id="l8iP]=UQJKpf`m%?l7)N"><mutation format="false" language="false"></mutation> <field name="OPTION">h</field></block></value> <value name="B"><block type="text" id="nI[tn{c3x`X%8Mv*`*#M"><field name="TEXT">5</field></block></value></block></value> <value name="B"><block type="logic_compare" id="Zo2-QHH)NLtO-KMgUyBi"><field name="OP">LTE</field> <value name="A"><block type="time_get" id="!(U2Hl`(YX7o39Ys[Gtt"><mutation format="false" language="false"></mutation> <field name="OPTION">h</field></block></value> <value name="B"><block type="text" id="}FNlRr3)0}iM]TJItA+#"><field name="TEXT">22</field></block></value></block></value></block></value></block></value></block></value></block></value></block></value></block></value> <statement name="DO0"><block type="controls_if" id="sHz`QBr#uOo2W#P]gNt%"><value name="IF0"><block type="logic_compare" id="*~(0eSBkcD}cLDdO6(;A"><field name="OP">NEQ</field> <value name="A"><block type="convert_tonumber" id=".q3E.X_#Mxed{*LfDJU,"><value name="VALUE"><block type="get_value" id="XhO?E(~dxAr*P^oDSw_h"><field name="ATTR">val</field> <field name="OID">maxcube.0.devices.thermostat_17af81.setpoint</field></block></value></block></value> <value name="B"><block type="convert_tonumber" id="GZ/G*%fKykbl{4@WqshZ"><value name="VALUE"><block type="variables_get" id="7T-vF7zf!Nhp;lU0w(pI"><field name="VAR">Temperatur Anwesenheit</field></block></value></block></value></block></value> <statement name="DO0"><block type="control" id="?UH*LK#P8@`qeQwX#zs_"><mutation delay_input="false"></mutation> <field name="OID">maxcube.0.devices.thermostat_17af81.setpoint</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"><block type="convert_tonumber" id="okH3M(a}t%nI_9;u!x]M"><value name="VALUE"><block type="variables_get" id=",O*:W-48BM@`{k*0PM0D"><field name="VAR">Temperatur Anwesenheit</field></block></value></block></value> <next><block type="control" id="[vO@_4,89T5DupY_w+q!"><mutation delay_input="false"></mutation> <field name="OID">maxcube.0.devices.thermostat_17b741.setpoint</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"><block type="convert_tonumber" id="^;hVNQ:cJ(+uk#w7suY("><value name="VALUE"><block type="variables_get" id="/HM4J^E@:+QRFItD`hHy"><field name="VAR">Temperatur Anwesenheit</field></block></value></block></value></block></next></block></statement></block></statement></block></next></block></statement> <statement name="ELSE"><block type="comment" id="uwg:/4q9:n:Ll;dS-)P#"><field name="COMMENT">sonst - Abwesenheitszeiten</field> <next><block type="controls_if" id="YV5L~;rU^{@Zws)5TsC4"><value name="IF0"><block type="logic_compare" id="@J]Hch[%rzTnp99AT}24"><field name="OP">NEQ</field> <value name="A"><block type="convert_tonumber" id="s9,06s]R}8qT/,kwMh4d"><value name="VALUE"><block type="get_value" id="8Yh)kK`RO21kR]M[xaa;"><field name="ATTR">val</field> <field name="OID">maxcube.0.devices.thermostat_17af81.setpoint</field></block></value></block></value> <value name="B"><block type="convert_tonumber" id="*quGbP#nTOU:iEcY@g-d"><value name="VALUE"><block type="variables_get" id="/j#.u``BTm/T+xpLvv?3"><field name="VAR">Temperatur Abwesenheit</field></block></value></block></value></block></value> <statement name="DO0"><block type="control" id="~x{xSfS%_l.R]=;8B2IC"><mutation delay_input="false"></mutation> <field name="OID">maxcube.0.devices.thermostat_17af81.setpoint</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"><block type="convert_tonumber" id="_!Hrce1UWn{JG94N+]A{"><value name="VALUE"><block type="variables_get" id="BuF9Tz/MwxgCD-F9yt]/"><field name="VAR">Temperatur Abwesenheit</field></block></value></block></value> <next><block type="control" id="}sh1A8Rl)W*ROaXX8Eei"><mutation delay_input="false"></mutation> <field name="OID">maxcube.0.devices.thermostat_17b741.setpoint</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"><block type="convert_tonumber" id="ttgdhK9KG`XCM23^*;zS"><value name="VALUE"><block type="variables_get" id="wiy%Qha9)}R@@{ICMV_a"><field name="VAR">Temperatur Abwesenheit</field></block></value></block></value></block></next></block></statement></block></next></block></statement></block></next></block></next></block></next></block></next></block></next></block></statement> <next><block type="comment" id="|ejuyTgxWQ9+lJX^D8;j"><field name="COMMENT">Temperatur Anwesenheit geändert</field> <next><block type="on_ext" id="L!LpTo+O+nOjbQiiALj7"><mutation items="1"></mutation> <field name="CONDITION">ne</field> <value name="OID0"><shadow type="field_oid" id="plcS(!qOo3L2pWRzvW.*"><field name="oid">maxcube.0.devices.thermostat_1a3adf.Wunschtemperatur_Anwesenheit</field></shadow></value> <statement name="STATEMENT"><block type="timeouts_settimeout" id="PW*-U+^J/D8|b!P@KmPT"><field name="NAME">timeout8</field> <field name="DELAY">7</field> <field name="UNIT">sec</field> <statement name="STATEMENT"><block type="telegram" id="b7yQJjNhZ7;G|uBRhw[}"><field name="INSTANCE">.0</field> <value name="MESSAGE"><shadow type="text" id="T6BNcC0Kf_+{phIQ9w;,"><field name="TEXT">text</field></shadow> <block type="text_join" id="B`j,O8-]seSn{N}@7-[:"><mutation items="5"></mutation> <value name="ADD0"><block type="text" id="U3fm,4z2|}s/9QKzMo7t"><field name="TEXT">Temperatur Anwesenheit für das Wohnzimmer wurde aktualisiert. Die neue Temperaturvorgabe lautet:</field></block></value> <value name="ADD1"><block type="convert_tostring" id=")^`B-kn(k4t8Na|RJX8O"><value name="VALUE"><block type="variables_get" id="or9oi)nlVV{Oi#,]`E-J"><field name="VAR">Temperatur Anwesenheit</field></block></value></block></value> <value name="ADD2"><block type="text" id=".Xf*h(LOYS#2fSIaGsTv"><field name="TEXT">°C. Die Temperatur Abwesenheit für das Wohnzimmer ist auf</field></block></value> <value name="ADD3"><block type="convert_tostring" id="kbiT`@uiRWI5+^Ya~m^O"><value name="VALUE"><block type="variables_get" id="#N6{WQpeuoz*e.a:`s-A"><field name="VAR">Temperatur Abwesenheit</field></block></value></block></value> <value name="ADD4"><block type="text" id="gxACS_V8]%2eXK9ar_M;"><field name="TEXT"> °C eingestellt.</field></block></value></block></value></block></statement></block></statement> <next><block type="comment" id="5Rco^rhfd5haJ!5}:f--"><field name="COMMENT">Urlaubsmodus zu Hause aktiviert</field> <next><block type="on_ext" id="k7w=Hvf7LvF`RQOlzKn4"><mutation items="1"></mutation> <field name="CONDITION">true</field> <value name="OID0"><shadow type="field_oid" id="eH^+.raa^UjWjwj0f+}6"><field name="oid">maxcube.0.Urlaubsmodus_Heizung_zu_Hause</field></shadow></value> <statement name="STATEMENT"><block type="timeouts_settimeout" id=")wc9IFz,~2]^Y?U6FB*K"><field name="NAME">timeout14</field> <field name="DELAY">5</field> <field name="UNIT">sec</field> <statement name="STATEMENT"><block type="telegram" id="N_mpRs0NH:BQbeMv[ChI"><field name="INSTANCE">.0</field> <value name="MESSAGE"><shadow type="text" id="T6BNcC0Kf_+{phIQ9w;,"><field name="TEXT">text</field></shadow> <block type="text_join" id="q54Z@9DpFY4GwRA|NTX3"><mutation items="5"></mutation> <value name="ADD0"><block type="text" id="~bw6V@,:`-n#mtF}A4:~"><field name="TEXT">Modus Urlaub zu Hause wurde aktiviert. Die Temperatur Anwesenheit für das Wohnzimmer wurde auf:</field></block></value> <value name="ADD1"><block type="convert_tostring" id="G4EWS|b%%F#W:8ot)`O*"><value name="VALUE"><block type="variables_get" id="{3:typbeP*4p#.T.O;y?"><field name="VAR">Temperatur Anwesenheit</field></block></value></block></value> <value name="ADD2"><block type="text" id="N;%_)I-w)Y7]*v/%GGG-"><field name="TEXT">°C eingestellt. Die Temperatur Abwesenheit für das Wohnzimmer ist auf</field></block></value> <value name="ADD3"><block type="convert_tostring" id="ahs[ursv-HK?dmW6FPB3"><value name="VALUE"><block type="variables_get" id="0mS@FqbNhH/L1YWEv=P9"><field name="VAR">Temperatur Abwesenheit</field></block></value></block></value> <value name="ADD4"><block type="text" id="dChKVQ]!vKH*zVn}#j@*"><field name="TEXT"> °C eingestellt.</field></block></value></block></value></block></statement></block></statement></block></next></block></next></block></next></block></next></block></next></block></xml> ````~~