Weiter zum Inhalt
  • Home
  • Aktuell
  • Tags
  • 0 Ungelesen 0
  • Kategorien
  • Unreplied
  • Beliebt
  • GitHub
  • Docu
  • Hilfe
Skins
  • Hell
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dunkel
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Standard: (Kein Skin)
  • Kein Skin
Einklappen
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. Skripten / Logik
  4. Blockly
  5. Regelung Klimaanlage, Zeitblöcke, Lüften, Anwesenheit

NEWS

  • Monatsrückblick Januar/Februar 2026 ist online!
    BluefoxB
    Bluefox
    18
    1
    823

  • Jahresrückblick 2025 – unser neuer Blogbeitrag ist online! ✨
    BluefoxB
    Bluefox
    18
    1
    6.3k

  • Neuer Blogbeitrag: Monatsrückblick - Dezember 2025 🎄
    BluefoxB
    Bluefox
    13
    1
    1.6k

Regelung Klimaanlage, Zeitblöcke, Lüften, Anwesenheit

Geplant Angeheftet Gesperrt Verschoben Blockly
20 Beiträge 3 Kommentatoren 1.3k Aufrufe 3 Beobachtet
  • Älteste zuerst
  • Neuste zuerst
  • Meiste Stimmen
Antworten
  • In einem neuen Thema antworten
Anmelden zum Antworten
Dieses Thema wurde gelöscht. Nur Nutzer mit entsprechenden Rechten können es sehen.
  • G Gismoh

    Hallo,
    ich habe die Regelung einer Klimaanlage mit Blockly gemacht.
    Vermutlich viel zu groß/umständlich - oder in Ordnung?

    Was möchte ich damit machen?

    • verschiedene Zeitblöcke steuern, hier Tags und Nachts, wo die Klima bei bestimmten Temperaturbereichen auch ausgeschaltet werden soll.
    • zwischen den Zeitblöcken (Tag/Nacht) soll die Klima aus sein
    • beim Lüften Klimazieltemperatur absenken ,so das diese nicht ausgeht (wegen Kompressor, aber herunterregelt)
    • manuell an der Klima (Fernbedienung oder App) sollte die Temperatur noch veränderbar sein, ohne das dies direkt vom Blockly überschrieben wird - z.B. bis zum nächsten Zeitblock oder "Aus-Steuerung".

    Nun habe ich aktuell zwei Trigger verschachtelt, hatte allerdings mal gelesen das man dies nicht machen sollte?
    Aktuell habe ich den Trigger "Zeitplan" mit dem Trigger "falls Objekt" verschachtelt.
    Hatte vorher die Zeitpläne im "Falls-Block"(mit Datum und Zeit) mit drin, diese haben allerdings miteinander "Ping-Pong" gespielt. ;(

    • Noch dazu kommen soll eine Anwesenheitsabfrage, also z.B.:
      Jemand tagsüber anwesend = Programm "Klimatemp. Tagsüber(Anwesend)",
      Niemand tagsüber anwesend = Programm "Klimatemp. Tagsüber-Abwesend".

    Vielleicht könnte man mir hier noch Hilfestellung geben, bevor ich dies auch für die anderen Klimaanlagen im Haus umsetze.
    Besten Dank!

    Screenshot 2023-12-27 190108.png

    v7.1.6
    BlocklyJavascriptTypeScriptRules
    19:00:52.707	info	javascript.0 (58173) Stop script script.js.Klimaanlagen.Klima_WZ_Heizen
    19:00:52.796	info	javascript.0 (58173) Start javascript script.js.Klimaanlagen.Klima_WZ_Heizen
    19:00:52.798	info	javascript.0 (58173) script.js.Klimaanlagen.Klima_WZ_Heizen: registered 2 subscriptions, 4 schedules, 0 messages, 0 logs and 0 file subscriptions
    Ausgewählte Blöcke exportieren
    <xml xmlns="https://developers.google.com/blockly/xml">
      <variables>
        <variable id="lYV9]:fX{GhyAy}RO`}d">EingestellteTemeraturWZ</variable>
      </variables>
      <block type="comment" id="SOlCQ`EmyE+H[JV)A:n3" x="-162" y="-487">
        <field name="COMMENT">Klimatemp. Tagsüber</field>
        <next>
          <block type="schedule" id="kth]$gA~{WmSxwE8gg1d">
            <field name="SCHEDULE">{"time":{"start":"08:00","end":"22:00","mode":"minutes","interval":1},"period":{"days":1}}</field>
            <statement name="STATEMENT">
              <block type="on" id="X}1-yRbqU795F47q,aE5">
                <field name="OID">ble.0.58:2d:34:38:75:22.temperature</field>
                <field name="CONDITION">any</field>
                <field name="ACK_CONDITION"></field>
                <statement name="STATEMENT">
                  <block type="controls_if" id="j0E~Kt.UtWV(dVF5B;Nv">
                    <mutation elseif="2"></mutation>
                    <value name="IF0">
                      <block type="logic_operation" id="C;xN#u)b,[Rmv-PpD*kZ" inline="false">
                        <field name="OP">AND</field>
                        <value name="A">
                          <block type="logic_compare" id="956kSFAiS9i@U~MIsxVZ">
                            <field name="OP">LTE</field>
                            <value name="A">
                              <block type="on_source" id="D10h!FAlfxphmxxXBMwl">
                                <field name="ATTR">state.val</field>
                              </block>
                            </value>
                            <value name="B">
                              <block type="math_number" id="m5U?JoJUvggLSks#sZ:~">
                                <field name="NUM">19</field>
                              </block>
                            </value>
                          </block>
                        </value>
                        <value name="B">
                          <block type="logic_compare" id="O)Q$rUdb@^6$Bj6L0LSR">
                            <field name="OP">EQ</field>
                            <value name="A">
                              <block type="get_value" id="nM;GP|sZC#S(Luuep{Ok">
                                <field name="ATTR">val</field>
                                <field name="OID">deconz.0.Sensors.14.open</field>
                              </block>
                            </value>
                            <value name="B">
                              <block type="logic_boolean" id=":FJ]i[?T.]F*UDn+Va8w">
                                <field name="BOOL">FALSE</field>
                              </block>
                            </value>
                          </block>
                        </value>
                      </block>
                    </value>
                    <statement name="DO0">
                      <block type="control" id="z=SHAD_,Us$,VE6k?Gi$">
                        <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                        <field name="OID">daikin-cloud.0.XXXXXXXX--.climateControl.onOffMode</field>
                        <field name="WITH_DELAY">FALSE</field>
                        <value name="VALUE">
                          <block type="logic_boolean" id="q*;OmD,R@Yq!:{ip:}|^">
                            <field name="BOOL">TRUE</field>
                          </block>
                        </value>
                        <next>
                          <block type="control" id="^H(gcvccs^1%y0~X`9g$">
                            <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation>
                            <field name="OID">daikin-cloud.0.XXXXXXXX--.climateControl.operationMode</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="math_number" id="?Yeb!_2l9{p7FGPDLe7E">
                                <field name="NUM">1</field>
                              </block>
                            </value>
                            <next>
                              <block type="control" id="K.$IZflDJ+CIBud=@C9L">
                                <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation>
                                <field name="OID">daikin-cloud.0.XXXXXXXX--.climateControl.temperatureControl.operationModes.heating.setpoints.roomTemperature</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="math_number" id="w:wM(OwSTC[;E*gkB+^P">
                                    <field name="NUM">19</field>
                                  </block>
                                </value>
                              </block>
                            </next>
                          </block>
                        </next>
                      </block>
                    </statement>
                    <value name="IF1">
                      <block type="logic_compare" id="@sFUcAKIc6dz/s^%@2F.">
                        <field name="OP">GTE</field>
                        <value name="A">
                          <block type="on_source" id="{R{[q!kRFYhuTw(WG}~?">
                            <field name="ATTR">state.val</field>
                          </block>
                        </value>
                        <value name="B">
                          <block type="math_number" id="%Sy~+A1nE%WJoaQVc^2Z">
                            <field name="NUM">19.5</field>
                          </block>
                        </value>
                      </block>
                    </value>
                    <statement name="DO1">
                      <block type="control" id="bK5qvl6ZhmE+oHW[N*;1">
                        <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                        <field name="OID">daikin-cloud.0.XXXXXXXX--.climateControl.econoMode</field>
                        <field name="WITH_DELAY">FALSE</field>
                        <value name="VALUE">
                          <block type="logic_boolean" id="xUW-uE0Ggyr5!.z{p=^6">
                            <field name="BOOL">TRUE</field>
                          </block>
                        </value>
                      </block>
                    </statement>
                    <value name="IF2">
                      <block type="logic_compare" id="a$6qnh@{z;Q8yY$kYser">
                        <field name="OP">GTE</field>
                        <value name="A">
                          <block type="on_source" id="wC#FXMSKT/=vrIwOZa9t">
                            <field name="ATTR">state.val</field>
                          </block>
                        </value>
                        <value name="B">
                          <block type="math_number" id="YF;9oV$P%N|dFhv%#g!9">
                            <field name="NUM">20.5</field>
                          </block>
                        </value>
                      </block>
                    </value>
                    <statement name="DO2">
                      <block type="control" id="(~E4m3AIvz$68uEBM_jv">
                        <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                        <field name="OID">daikin-cloud.0.XXXXXXXX--.climateControl.onOffMode</field>
                        <field name="WITH_DELAY">FALSE</field>
                        <value name="VALUE">
                          <block type="logic_boolean" id="NL7t5*a}ylxxns*,eY3k">
                            <field name="BOOL">FALSE</field>
                          </block>
                        </value>
                      </block>
                    </statement>
                  </block>
                </statement>
              </block>
            </statement>
          </block>
        </next>
      </block>
      <block type="comment" id="u.61^47,ark^_R-/,H:+" x="813" y="-488">
        <field name="COMMENT">Klimatemp. vs Auskühlen</field>
        <next>
          <block type="schedule" id="qio`RDQZCBU)P-xC3jPB">
            <field name="SCHEDULE">{"time":{"start":"02:00","end":"06:00","mode":"minutes","interval":1},"period":{"days":1},"valid":{"from":"27.12.2023","to":""}}</field>
            <statement name="STATEMENT">
              <block type="on" id="AYA9$4~F5Hm4$E,@@9?G">
                <field name="OID">ble.0.58:2d:34:38:75:22.temperature</field>
                <field name="CONDITION">any</field>
                <field name="ACK_CONDITION"></field>
                <statement name="STATEMENT">
                  <block type="controls_if" id="PmOWv4LCfX)x!^Ul2v)1">
                    <mutation elseif="1"></mutation>
                    <value name="IF0">
                      <block type="logic_operation" id="y-[{SRD}e|K6[6HJSgwN" inline="false">
                        <field name="OP">AND</field>
                        <value name="A">
                          <block type="logic_compare" id="q+7dkaYy|[!#D`RMG|~.">
                            <field name="OP">LTE</field>
                            <value name="A">
                              <block type="on_source" id="rKF#(6JWUpN@%3cnDFZ9">
                                <field name="ATTR">state.val</field>
                              </block>
                            </value>
                            <value name="B">
                              <block type="math_number" id="hWS-c;R40J)i:AP1W?8L">
                                <field name="NUM">16.3</field>
                              </block>
                            </value>
                          </block>
                        </value>
                        <value name="B">
                          <block type="logic_compare" id="5qz1gzj6FM(n||;@9_}T">
                            <field name="OP">EQ</field>
                            <value name="A">
                              <block type="get_value" id="mh6:o+~Dld*gv=`q])iF">
                                <field name="ATTR">val</field>
                                <field name="OID">deconz.0.Sensors.14.open</field>
                              </block>
                            </value>
                            <value name="B">
                              <block type="logic_boolean" id="c/n*VUPAXN0*bQ[~hM.S">
                                <field name="BOOL">FALSE</field>
                              </block>
                            </value>
                          </block>
                        </value>
                      </block>
                    </value>
                    <statement name="DO0">
                      <block type="control" id="t56~yvri.DV4c+^E-Sga">
                        <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                        <field name="OID">daikin-cloud.0.XXXXXXXX--.climateControl.onOffMode</field>
                        <field name="WITH_DELAY">FALSE</field>
                        <value name="VALUE">
                          <block type="logic_boolean" id="/M%TjF{cg8r6)^m{w-*|">
                            <field name="BOOL">TRUE</field>
                          </block>
                        </value>
                        <next>
                          <block type="control" id="a|E)qWh#6RS}10;wg8M(">
                            <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation>
                            <field name="OID">daikin-cloud.0.XXXXXXXX--.climateControl.operationMode</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="math_number" id="t!HDeL./R$Xga1NhDl30">
                                <field name="NUM">1</field>
                              </block>
                            </value>
                            <next>
                              <block type="control" id="7joa631GwCQXxz[Z$8H?">
                                <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation>
                                <field name="OID">daikin-cloud.0.XXXXXXXX--.climateControl.econoMode</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="8DeIPKyv.Ok4ix$J):Sc">
                                    <field name="BOOL">TRUE</field>
                                  </block>
                                </value>
                              </block>
                            </next>
                          </block>
                        </next>
                      </block>
                    </statement>
                    <value name="IF1">
                      <block type="logic_compare" id="m_sczLepClEpLU@4pVP-">
                        <field name="OP">GTE</field>
                        <value name="A">
                          <block type="on_source" id="M:NV#.VJa;{Dl(uUab$*">
                            <field name="ATTR">state.val</field>
                          </block>
                        </value>
                        <value name="B">
                          <block type="math_number" id="W`)qckR:;%iE`N4RU*@V">
                            <field name="NUM">17.5</field>
                          </block>
                        </value>
                      </block>
                    </value>
                    <statement name="DO1">
                      <block type="control" id="#M[~sFd6I.[SdhCnPq}_">
                        <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                        <field name="OID">daikin-cloud.0.XXXXXXXX--.climateControl.onOffMode</field>
                        <field name="WITH_DELAY">FALSE</field>
                        <value name="VALUE">
                          <block type="logic_boolean" id="/ynv)_m7Yqzp:HlC8Rzp">
                            <field name="BOOL">FALSE</field>
                          </block>
                        </value>
                      </block>
                    </statement>
                  </block>
                </statement>
              </block>
            </statement>
          </block>
        </next>
      </block>
      <block type="comment" id="rsrP;2gLUKg@Iy1N+NCJ" x="-133" y="122">
        <field name="COMMENT">Klima aus nach Tagschicht</field>
        <next>
          <block type="schedule" id="$f5`xDib8j8F_A1)dM@5">
            <field name="SCHEDULE">{"time":{"start":"22:05","exactTime":true},"period":{"days":1},"valid":{"from":"27.12.2023","to":""}}</field>
            <statement name="STATEMENT">
              <block type="control" id="h^I)#C`N`C1TQWOUH/02">
                <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                <field name="OID">daikin-cloud.0.XXXXXXXX--.climateControl.onOffMode</field>
                <field name="WITH_DELAY">FALSE</field>
                <value name="VALUE">
                  <block type="logic_boolean" id="k}|]d8ckV?fTbor^XFwL">
                    <field name="BOOL">FALSE</field>
                  </block>
                </value>
              </block>
            </statement>
          </block>
        </next>
      </block>
      <block type="comment" id="2.v!MgRmRldUFRnVjGs@" x="838" y="113">
        <field name="COMMENT">Klima aus nach Nachtschicht</field>
        <next>
          <block type="schedule" id="f6j#Kuxu+.v@JDJv+z;?">
            <field name="SCHEDULE">{"time":{"start":"06:05","exactTime":true},"period":{"days":1}}</field>
            <statement name="STATEMENT">
              <block type="control" id="PK{C?k#FUC/$PU2cjVA9">
                <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                <field name="OID">daikin-cloud.0.XXXXXXXX--.climateControl.onOffMode</field>
                <field name="WITH_DELAY">FALSE</field>
                <value name="VALUE">
                  <block type="logic_boolean" id="D0!R=QpzCb80qs80333z">
                    <field name="BOOL">FALSE</field>
                  </block>
                </value>
              </block>
            </statement>
          </block>
        </next>
      </block>
      <block type="comment" id="L`4iqKC%OvrD1i{dQ5|#" x="-162" y="312">
        <field name="COMMENT">Temperaturabsenkung beim Lüften</field>
        <next>
          <block type="on_ext" id="VM]_r0ef5,ydpGQwlkoT">
            <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation>
            <field name="CONDITION">ne</field>
            <field name="ACK_CONDITION"></field>
            <value name="OID0">
              <shadow type="field_oid" id=":L*3]%4|/wjM*$gZ;z^.">
                <field name="oid">deconz.0.Sensors.14.open</field>
              </shadow>
            </value>
            <statement name="STATEMENT">
              <block type="controls_if" id="es,KM^zGCPk4|ft{%]WW">
                <mutation else="1"></mutation>
                <value name="IF0">
                  <block type="logic_operation" id="01hZ(HU:I):gp#OmU.jz">
                    <field name="OP">AND</field>
                    <value name="A">
                      <block type="logic_compare" id="h*Z4a/SvYKfbVty0@]:.">
                        <field name="OP">EQ</field>
                        <value name="A">
                          <block type="on_source" id=")h0ki/!J5GH$:y+hpFAW">
                            <field name="ATTR">state.val</field>
                          </block>
                        </value>
                        <value name="B">
                          <block type="logic_boolean" id="?d/TUCaL_*mOFxZg%DpD">
                            <field name="BOOL">TRUE</field>
                          </block>
                        </value>
                      </block>
                    </value>
                    <value name="B">
                      <block type="logic_compare" id="y`+0gL;-^/tGTe+tJV~7">
                        <field name="OP">EQ</field>
                        <value name="A">
                          <block type="get_value" id="f^k+YL{c|cX88Er`Ua=m">
                            <field name="ATTR">val</field>
                            <field name="OID">daikin-cloud.0.XXXXXXXX--.climateControl.onOffMode</field>
                          </block>
                        </value>
                        <value name="B">
                          <block type="logic_boolean" id="tlO97A)PiR@WBcG+?%kq">
                            <field name="BOOL">TRUE</field>
                          </block>
                        </value>
                      </block>
                    </value>
                  </block>
                </value>
                <statement name="DO0">
                  <block type="variables_set" id="PUT0|IWe2mg|M61/{p7e">
                    <field name="VAR" id="lYV9]:fX{GhyAy}RO`}d">EingestellteTemeraturWZ</field>
                    <value name="VALUE">
                      <block type="get_value" id="d0+^5`}PVB#`%@.j!|:(">
                        <field name="ATTR">val</field>
                        <field name="OID">daikin-cloud.0.XXXXXXXX--.climateControl.temperatureControl.operationModes.heating.setpoints.roomTemperature</field>
                      </block>
                    </value>
                    <next>
                      <block type="control" id="BEKLE%;JP7=2@J%h4=N(">
                        <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                        <field name="OID">daikin-cloud.0.XXXXXXXX--.climateControl.temperatureControl.operationModes.heating.setpoints.roomTemperature</field>
                        <field name="WITH_DELAY">FALSE</field>
                        <value name="VALUE">
                          <block type="math_number" id="3V=BnC@V.a}[lJz#IvUj">
                            <field name="NUM">12</field>
                          </block>
                        </value>
                      </block>
                    </next>
                  </block>
                </statement>
              </block>
            </statement>
          </block>
        </next>
      </block>
      <block type="comment" id="yeNJEk7L`j`8S376@J2x" x="812" y="313">
        <field name="COMMENT">Wiederherstellung Solltemperatur nach Lüften</field>
        <next>
          <block type="on_ext" id="_|5{4AEHysftVafeW~ol">
            <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation>
            <field name="CONDITION">ne</field>
            <field name="ACK_CONDITION"></field>
            <value name="OID0">
              <shadow type="field_oid" id="hYI,BpxN,~A019[:cO;T">
                <field name="oid">deconz.0.Sensors.14.open</field>
              </shadow>
            </value>
            <statement name="STATEMENT">
              <block type="controls_if" id="P9]U*,pX[SeAMt}c3)Z%">
                <mutation else="1"></mutation>
                <value name="IF0">
                  <block type="logic_operation" id="6hKn6Aew:@:}w?9s_4$k">
                    <field name="OP">AND</field>
                    <value name="A">
                      <block type="logic_compare" id="1iw6=1J;JWa`aMsTh_Rw">
                        <field name="OP">EQ</field>
                        <value name="A">
                          <block type="on_source" id="!Drex,38rlA+q*1H,KCB">
                            <field name="ATTR">state.val</field>
                          </block>
                        </value>
                        <value name="B">
                          <block type="logic_boolean" id="fi)Zi$H.?lY9HCa95ur,">
                            <field name="BOOL">FALSE</field>
                          </block>
                        </value>
                      </block>
                    </value>
                    <value name="B">
                      <block type="logic_compare" id="}9n^n/[d1(-+;kln-+s0">
                        <field name="OP">EQ</field>
                        <value name="A">
                          <block type="get_value" id="W[53H)INl!Lu06VB@DNC">
                            <field name="ATTR">val</field>
                            <field name="OID">daikin-cloud.0.XXXXXXXX--.climateControl.onOffMode</field>
                          </block>
                        </value>
                        <value name="B">
                          <block type="logic_boolean" id="ocNphQkJk7c-9;MnB]o6">
                            <field name="BOOL">TRUE</field>
                          </block>
                        </value>
                      </block>
                    </value>
                  </block>
                </value>
                <statement name="DO0">
                  <block type="control" id="58-:(Fr-+hwF8G@G1^dR">
                    <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                    <field name="OID">daikin-cloud.0.XXXXXXXX--.climateControl.temperatureControl.operationModes.heating.setpoints.roomTemperature</field>
                    <field name="WITH_DELAY">FALSE</field>
                    <value name="VALUE">
                      <block type="variables_get" id="fY4wSB5LEH*|7,d-`r!2">
                        <field name="VAR" id="lYV9]:fX{GhyAy}RO`}d">EingestellteTemeraturWZ</field>
                      </block>
                    </value>
                  </block>
                </statement>
              </block>
            </statement>
          </block>
        </next>
      </block>
    </xml>
    <xml xmlns="https://developers.google.com/blockly/xml">
      <variables>
        <variable id="lYV9]:fX{GhyAy}RO`}d">EingestellteTemeraturWZ</variable>
      </variables>
      <block type="comment" id="SOlCQ`EmyE+H[JV)A:n3" x="-162" y="-487">
        <field name="COMMENT">Klimatemp. Tagsüber</field>
        <next>
          <block type="schedule" id="kth]$gA~{WmSxwE8gg1d">
            <field name="SCHEDULE">{"time":{"start":"08:00","end":"22:00","mode":"minutes","interval":1},"period":{"days":1}}</field>
            <statement name="STATEMENT">
              <block type="on" id="X}1-yRbqU795F47q,aE5">
                <field name="OID">ble.0.58:2d:34:38:75:22.temperature</field>
                <field name="CONDITION">any</field>
                <field name="ACK_CONDITION"></field>
                <statement name="STATEMENT">
                  <block type="controls_if" id="j0E~Kt.UtWV(dVF5B;Nv">
                    <mutation elseif="2"></mutation>
                    <value name="IF0">
                      <block type="logic_operation" id="C;xN#u)b,[Rmv-PpD*kZ" inline="false">
                        <field name="OP">AND</field>
                        <value name="A">
                          <block type="logic_compare" id="956kSFAiS9i@U~MIsxVZ">
                            <field name="OP">LTE</field>
                            <value name="A">
                              <block type="on_source" id="D10h!FAlfxphmxxXBMwl">
                                <field name="ATTR">state.val</field>
                              </block>
                            </value>
                            <value name="B">
                              <block type="math_number" id="m5U?JoJUvggLSks#sZ:~">
                                <field name="NUM">19</field>
                              </block>
                            </value>
                          </block>
                        </value>
                        <value name="B">
                          <block type="logic_compare" id="O)Q$rUdb@^6$Bj6L0LSR">
                            <field name="OP">EQ</field>
                            <value name="A">
                              <block type="get_value" id="nM;GP|sZC#S(Luuep{Ok">
                                <field name="ATTR">val</field>
                                <field name="OID">deconz.0.Sensors.14.open</field>
                              </block>
                            </value>
                            <value name="B">
                              <block type="logic_boolean" id=":FJ]i[?T.]F*UDn+Va8w">
                                <field name="BOOL">FALSE</field>
                              </block>
                            </value>
                          </block>
                        </value>
                      </block>
                    </value>
                    <statement name="DO0">
                      <block type="control" id="z=SHAD_,Us$,VE6k?Gi$">
                        <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                        <field name="OID">daikin-cloud.0.XXXXXXXX--.climateControl.onOffMode</field>
                        <field name="WITH_DELAY">FALSE</field>
                        <value name="VALUE">
                          <block type="logic_boolean" id="q*;OmD,R@Yq!:{ip:}|^">
                            <field name="BOOL">TRUE</field>
                          </block>
                        </value>
                        <next>
                          <block type="control" id="^H(gcvccs^1%y0~X`9g$">
                            <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation>
                            <field name="OID">daikin-cloud.0.XXXXXXXX--.climateControl.operationMode</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="math_number" id="?Yeb!_2l9{p7FGPDLe7E">
                                <field name="NUM">1</field>
                              </block>
                            </value>
                            <next>
                              <block type="control" id="K.$IZflDJ+CIBud=@C9L">
                                <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation>
                                <field name="OID">daikin-cloud.0.XXXXXXXX--.climateControl.temperatureControl.operationModes.heating.setpoints.roomTemperature</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="math_number" id="w:wM(OwSTC[;E*gkB+^P">
                                    <field name="NUM">19</field>
                                  </block>
                                </value>
                              </block>
                            </next>
                          </block>
                        </next>
                      </block>
                    </statement>
                    <value name="IF1">
                      <block type="logic_compare" id="@sFUcAKIc6dz/s^%@2F.">
                        <field name="OP">GTE</field>
                        <value name="A">
                          <block type="on_source" id="{R{[q!kRFYhuTw(WG}~?">
                            <field name="ATTR">state.val</field>
                          </block>
                        </value>
                        <value name="B">
                          <block type="math_number" id="%Sy~+A1nE%WJoaQVc^2Z">
                            <field name="NUM">19.5</field>
                          </block>
                        </value>
                      </block>
                    </value>
                    <statement name="DO1">
                      <block type="control" id="bK5qvl6ZhmE+oHW[N*;1">
                        <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                        <field name="OID">daikin-cloud.0.XXXXXXXX--.climateControl.econoMode</field>
                        <field name="WITH_DELAY">FALSE</field>
                        <value name="VALUE">
                          <block type="logic_boolean" id="xUW-uE0Ggyr5!.z{p=^6">
                            <field name="BOOL">TRUE</field>
                          </block>
                        </value>
                      </block>
                    </statement>
                    <value name="IF2">
                      <block type="logic_compare" id="a$6qnh@{z;Q8yY$kYser">
                        <field name="OP">GTE</field>
                        <value name="A">
                          <block type="on_source" id="wC#FXMSKT/=vrIwOZa9t">
                            <field name="ATTR">state.val</field>
                          </block>
                        </value>
                        <value name="B">
                          <block type="math_number" id="YF;9oV$P%N|dFhv%#g!9">
                            <field name="NUM">20.5</field>
                          </block>
                        </value>
                      </block>
                    </value>
                    <statement name="DO2">
                      <block type="control" id="(~E4m3AIvz$68uEBM_jv">
                        <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                        <field name="OID">daikin-cloud.0.XXXXXXXX--.climateControl.onOffMode</field>
                        <field name="WITH_DELAY">FALSE</field>
                        <value name="VALUE">
                          <block type="logic_boolean" id="NL7t5*a}ylxxns*,eY3k">
                            <field name="BOOL">FALSE</field>
                          </block>
                        </value>
                      </block>
                    </statement>
                  </block>
                </statement>
              </block>
            </statement>
          </block>
        </next>
      </block>
      <block type="comment" id="u.61^47,ark^_R-/,H:+" x="813" y="-488">
        <field name="COMMENT">Klimatemp. vs Auskühlen</field>
        <next>
          <block type="schedule" id="qio`RDQZCBU)P-xC3jPB">
            <field name="SCHEDULE">{"time":{"start":"02:00","end":"06:00","mode":"minutes","interval":1},"period":{"days":1},"valid":{"from":"27.12.2023","to":""}}</field>
            <statement name="STATEMENT">
              <block type="on" id="AYA9$4~F5Hm4$E,@@9?G">
                <field name="OID">ble.0.58:2d:34:38:75:22.temperature</field>
                <field name="CONDITION">any</field>
                <field name="ACK_CONDITION"></field>
                <statement name="STATEMENT">
                  <block type="controls_if" id="PmOWv4LCfX)x!^Ul2v)1">
                    <mutation elseif="1"></mutation>
                    <value name="IF0">
                      <block type="logic_operation" id="y-[{SRD}e|K6[6HJSgwN" inline="false">
                        <field name="OP">AND</field>
                        <value name="A">
                          <block type="logic_compare" id="q+7dkaYy|[!#D`RMG|~.">
                            <field name="OP">LTE</field>
                            <value name="A">
                              <block type="on_source" id="rKF#(6JWUpN@%3cnDFZ9">
                                <field name="ATTR">state.val</field>
                              </block>
                            </value>
                            <value name="B">
                              <block type="math_number" id="hWS-c;R40J)i:AP1W?8L">
                                <field name="NUM">16.3</field>
                              </block>
                            </value>
                          </block>
                        </value>
                        <value name="B">
                          <block type="logic_compare" id="5qz1gzj6FM(n||;@9_}T">
                            <field name="OP">EQ</field>
                            <value name="A">
                              <block type="get_value" id="mh6:o+~Dld*gv=`q])iF">
                                <field name="ATTR">val</field>
                                <field name="OID">deconz.0.Sensors.14.open</field>
                              </block>
                            </value>
                            <value name="B">
                              <block type="logic_boolean" id="c/n*VUPAXN0*bQ[~hM.S">
                                <field name="BOOL">FALSE</field>
                              </block>
                            </value>
                          </block>
                        </value>
                      </block>
                    </value>
                    <statement name="DO0">
                      <block type="control" id="t56~yvri.DV4c+^E-Sga">
                        <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                        <field name="OID">daikin-cloud.0.XXXXXXXX--.climateControl.onOffMode</field>
                        <field name="WITH_DELAY">FALSE</field>
                        <value name="VALUE">
                          <block type="logic_boolean" id="/M%TjF{cg8r6)^m{w-*|">
                            <field name="BOOL">TRUE</field>
                          </block>
                        </value>
                        <next>
                          <block type="control" id="a|E)qWh#6RS}10;wg8M(">
                            <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation>
                            <field name="OID">daikin-cloud.0.XXXXXXXX--.climateControl.operationMode</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="math_number" id="t!HDeL./R$Xga1NhDl30">
                                <field name="NUM">1</field>
                              </block>
                            </value>
                            <next>
                              <block type="control" id="7joa631GwCQXxz[Z$8H?">
                                <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation>
                                <field name="OID">daikin-cloud.0.XXXXXXXX--.climateControl.econoMode</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="8DeIPKyv.Ok4ix$J):Sc">
                                    <field name="BOOL">TRUE</field>
                                  </block>
                                </value>
                              </block>
                            </next>
                          </block>
                        </next>
                      </block>
                    </statement>
                    <value name="IF1">
                      <block type="logic_compare" id="m_sczLepClEpLU@4pVP-">
                        <field name="OP">GTE</field>
                        <value name="A">
                          <block type="on_source" id="M:NV#.VJa;{Dl(uUab$*">
                            <field name="ATTR">state.val</field>
                          </block>
                        </value>
                        <value name="B">
                          <block type="math_number" id="W`)qckR:;%iE`N4RU*@V">
                            <field name="NUM">17.5</field>
                          </block>
                        </value>
                      </block>
                    </value>
                    <statement name="DO1">
                      <block type="control" id="#M[~sFd6I.[SdhCnPq}_">
                        <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                        <field name="OID">daikin-cloud.0.XXXXXXXX--.climateControl.onOffMode</field>
                        <field name="WITH_DELAY">FALSE</field>
                        <value name="VALUE">
                          <block type="logic_boolean" id="/ynv)_m7Yqzp:HlC8Rzp">
                            <field name="BOOL">FALSE</field>
                          </block>
                        </value>
                      </block>
                    </statement>
                  </block>
                </statement>
              </block>
            </statement>
          </block>
        </next>
      </block>
      <block type="comment" id="rsrP;2gLUKg@Iy1N+NCJ" x="-133" y="122">
        <field name="COMMENT">Klima aus nach Tagschicht</field>
        <next>
          <block type="schedule" id="$f5`xDib8j8F_A1)dM@5">
            <field name="SCHEDULE">{"time":{"start":"22:05","exactTime":true},"period":{"days":1},"valid":{"from":"27.12.2023","to":""}}</field>
            <statement name="STATEMENT">
              <block type="control" id="h^I)#C`N`C1TQWOUH/02">
                <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                <field name="OID">daikin-cloud.0.XXXXXXXX--.climateControl.onOffMode</field>
                <field name="WITH_DELAY">FALSE</field>
                <value name="VALUE">
                  <block type="logic_boolean" id="k}|]d8ckV?fTbor^XFwL">
                    <field name="BOOL">FALSE</field>
                  </block>
                </value>
              </block>
            </statement>
          </block>
        </next>
      </block>
      <block type="comment" id="2.v!MgRmRldUFRnVjGs@" x="838" y="113">
        <field name="COMMENT">Klima aus nach Nachtschicht</field>
        <next>
          <block type="schedule" id="f6j#Kuxu+.v@JDJv+z;?">
            <field name="SCHEDULE">{"time":{"start":"06:05","exactTime":true},"period":{"days":1}}</field>
            <statement name="STATEMENT">
              <block type="control" id="PK{C?k#FUC/$PU2cjVA9">
                <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                <field name="OID">daikin-cloud.0.XXXXXXXX--.climateControl.onOffMode</field>
                <field name="WITH_DELAY">FALSE</field>
                <value name="VALUE">
                  <block type="logic_boolean" id="D0!R=QpzCb80qs80333z">
                    <field name="BOOL">FALSE</field>
                  </block>
                </value>
              </block>
            </statement>
          </block>
        </next>
      </block>
      <block type="comment" id="L`4iqKC%OvrD1i{dQ5|#" x="-162" y="312">
        <field name="COMMENT">Temperaturabsenkung beim Lüften</field>
        <next>
          <block type="on_ext" id="VM]_r0ef5,ydpGQwlkoT">
            <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation>
            <field name="CONDITION">ne</field>
            <field name="ACK_CONDITION"></field>
            <value name="OID0">
              <shadow type="field_oid" id=":L*3]%4|/wjM*$gZ;z^.">
                <field name="oid">deconz.0.Sensors.14.open</field>
              </shadow>
            </value>
            <statement name="STATEMENT">
              <block type="controls_if" id="es,KM^zGCPk4|ft{%]WW">
                <mutation else="1"></mutation>
                <value name="IF0">
                  <block type="logic_operation" id="01hZ(HU:I):gp#OmU.jz">
                    <field name="OP">AND</field>
                    <value name="A">
                      <block type="logic_compare" id="h*Z4a/SvYKfbVty0@]:.">
                        <field name="OP">EQ</field>
                        <value name="A">
                          <block type="on_source" id=")h0ki/!J5GH$:y+hpFAW">
                            <field name="ATTR">state.val</field>
                          </block>
                        </value>
                        <value name="B">
                          <block type="logic_boolean" id="?d/TUCaL_*mOFxZg%DpD">
                            <field name="BOOL">TRUE</field>
                          </block>
                        </value>
                      </block>
                    </value>
                    <value name="B">
                      <block type="logic_compare" id="y`+0gL;-^/tGTe+tJV~7">
                        <field name="OP">EQ</field>
                        <value name="A">
                          <block type="get_value" id="f^k+YL{c|cX88Er`Ua=m">
                            <field name="ATTR">val</field>
                            <field name="OID">daikin-cloud.0.XXXXXXXX--.climateControl.onOffMode</field>
                          </block>
                        </value>
                        <value name="B">
                          <block type="logic_boolean" id="tlO97A)PiR@WBcG+?%kq">
                            <field name="BOOL">TRUE</field>
                          </block>
                        </value>
                      </block>
                    </value>
                  </block>
                </value>
                <statement name="DO0">
                  <block type="variables_set" id="PUT0|IWe2mg|M61/{p7e">
                    <field name="VAR" id="lYV9]:fX{GhyAy}RO`}d">EingestellteTemeraturWZ</field>
                    <value name="VALUE">
                      <block type="get_value" id="d0+^5`}PVB#`%@.j!|:(">
                        <field name="ATTR">val</field>
                        <field name="OID">daikin-cloud.0.XXXXXXXX--.climateControl.temperatureControl.operationModes.heating.setpoints.roomTemperature</field>
                      </block>
                    </value>
                    <next>
                      <block type="control" id="BEKLE%;JP7=2@J%h4=N(">
                        <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                        <field name="OID">daikin-cloud.0.XXXXXXXX--.climateControl.temperatureControl.operationModes.heating.setpoints.roomTemperature</field>
                        <field name="WITH_DELAY">FALSE</field>
                        <value name="VALUE">
                          <block type="math_number" id="3V=BnC@V.a}[lJz#IvUj">
                            <field name="NUM">12</field>
                          </block>
                        </value>
                      </block>
                    </next>
                  </block>
                </statement>
              </block>
            </statement>
          </block>
        </next>
      </block>
      <block type="comment" id="yeNJEk7L`j`8S376@J2x" x="812" y="313">
        <field name="COMMENT">Wiederherstellung Solltemperatur nach Lüften</field>
        <next>
          <block type="on_ext" id="_|5{4AEHysftVafeW~ol">
            <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation>
            <field name="CONDITION">ne</field>
            <field name="ACK_CONDITION"></field>
            <value name="OID0">
              <shadow type="field_oid" id="hYI,BpxN,~A019[:cO;T">
                <field name="oid">deconz.0.Sensors.14.open</field>
              </shadow>
            </value>
            <statement name="STATEMENT">
              <block type="controls_if" id="P9]U*,pX[SeAMt}c3)Z%">
                <mutation else="1"></mutation>
                <value name="IF0">
                  <block type="logic_operation" id="6hKn6Aew:@:}w?9s_4$k">
                    <field name="OP">AND</field>
                    <value name="A">
                      <block type="logic_compare" id="1iw6=1J;JWa`aMsTh_Rw">
                        <field name="OP">EQ</field>
                        <value name="A">
                          <block type="on_source" id="!Drex,38rlA+q*1H,KCB">
                            <field name="ATTR">state.val</field>
                          </block>
                        </value>
                        <value name="B">
                          <block type="logic_boolean" id="fi)Zi$H.?lY9HCa95ur,">
                            <field name="BOOL">FALSE</field>
                          </block>
                        </value>
                      </block>
                    </value>
                    <value name="B">
                      <block type="logic_compare" id="}9n^n/[d1(-+;kln-+s0">
                        <field name="OP">EQ</field>
                        <value name="A">
                          <block type="get_value" id="W[53H)INl!Lu06VB@DNC">
                            <field name="ATTR">val</field>
                            <field name="OID">daikin-cloud.0.XXXXXXXX--.climateControl.onOffMode</field>
                          </block>
                        </value>
                        <value name="B">
                          <block type="logic_boolean" id="ocNphQkJk7c-9;MnB]o6">
                            <field name="BOOL">TRUE</field>
                          </block>
                        </value>
                      </block>
                    </value>
                  </block>
                </value>
                <statement name="DO0">
                  <block type="control" id="58-:(Fr-+hwF8G@G1^dR">
                    <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                    <field name="OID">daikin-cloud.0.XXXXXXXX--.climateControl.temperatureControl.operationModes.heating.setpoints.roomTemperature</field>
                    <field name="WITH_DELAY">FALSE</field>
                    <value name="VALUE">
                      <block type="variables_get" id="fY4wSB5LEH*|7,d-`r!2">
                        <field name="VAR" id="lYV9]:fX{GhyAy}RO`}d">EingestellteTemeraturWZ</field>
                      </block>
                    </value>
                  </block>
                </statement>
              </block>
            </statement>
          </block>
        </next>
      </block>
    </xml>
     
    
    
    paul53P Offline
    paul53P Offline
    paul53
    schrieb am zuletzt editiert von
    #6

    @gismoh
    Pro Datenpunkt nur einen Trigger verwenden und innerhalb des Triggers verzweigen!
    Für die Zeitpläne verwende besser CRON.
    Woher erfährt das Programm, ob Tagschicht oder Nachtschicht war?

    Bitte verzichtet auf Chat-Nachrichten, denn die Handhabung ist grauenhaft !
    Produktiv: RPi 2 mit S.USV, HM-MOD-RPI und SLC-USB-Stick mit root fs

    G 1 Antwort Letzte Antwort
    1
    • paul53P paul53

      @gismoh
      Pro Datenpunkt nur einen Trigger verwenden und innerhalb des Triggers verzweigen!
      Für die Zeitpläne verwende besser CRON.
      Woher erfährt das Programm, ob Tagschicht oder Nachtschicht war?

      G Offline
      G Offline
      Gismoh
      schrieb am zuletzt editiert von Gismoh
      #7

      @paul53
      Nicht MEINE Tag/Nachtschicht, sondern die der Klimaanlage 😊
      Damit meine ich ich, eben das diese nach den jeweiligen Zeitblöcken ausschalten soll,
      hatte mich etwas unverständlich ausgedrückt.
      Nachtrag:
      CRON ist aber auch ein Trigger, also kann ich diesen dann auch nicht im "Falls-Block" mit unterbringen, da dann ein zweiter Trigger?

      ioBroker auf: Lenovo ThinkCentre M910Q Tiny i5-7500T 16 GB mit proxmox in VM (Bookworm)

      paul53P 2 Antworten Letzte Antwort
      0
      • G Gismoh

        @paul53
        Nicht MEINE Tag/Nachtschicht, sondern die der Klimaanlage 😊
        Damit meine ich ich, eben das diese nach den jeweiligen Zeitblöcken ausschalten soll,
        hatte mich etwas unverständlich ausgedrückt.
        Nachtrag:
        CRON ist aber auch ein Trigger, also kann ich diesen dann auch nicht im "Falls-Block" mit unterbringen, da dann ein zweiter Trigger?

        paul53P Offline
        paul53P Offline
        paul53
        schrieb am zuletzt editiert von
        #8

        @gismoh sagte: CRON ist aber auch ein Trigger, also kann ich diesen dann auch nicht im "Falls-Block" mit unterbringen, da dann ein zweiter Trigger?

        Trigger immer nur im Hauptprogramm verwenden.

        Bitte verzichtet auf Chat-Nachrichten, denn die Handhabung ist grauenhaft !
        Produktiv: RPi 2 mit S.USV, HM-MOD-RPI und SLC-USB-Stick mit root fs

        1 Antwort Letzte Antwort
        1
        • G Gismoh

          @paul53
          Nicht MEINE Tag/Nachtschicht, sondern die der Klimaanlage 😊
          Damit meine ich ich, eben das diese nach den jeweiligen Zeitblöcken ausschalten soll,
          hatte mich etwas unverständlich ausgedrückt.
          Nachtrag:
          CRON ist aber auch ein Trigger, also kann ich diesen dann auch nicht im "Falls-Block" mit unterbringen, da dann ein zweiter Trigger?

          paul53P Offline
          paul53P Offline
          paul53
          schrieb am zuletzt editiert von paul53
          #9

          @gismoh
          Ich habe mal auf CRON umgestellt und Trigger im Trigger entfernt.

          Hier war ein Blockly-Bild.

          Die restliche Logik habe ich nicht verändert. Da lässt sich noch einiges durch Verwendung von Variablen optimieren.

          Bitte verzichtet auf Chat-Nachrichten, denn die Handhabung ist grauenhaft !
          Produktiv: RPi 2 mit S.USV, HM-MOD-RPI und SLC-USB-Stick mit root fs

          G 2 Antworten Letzte Antwort
          2
          • paul53P paul53

            @gismoh
            Ich habe mal auf CRON umgestellt und Trigger im Trigger entfernt.

            Hier war ein Blockly-Bild.

            Die restliche Logik habe ich nicht verändert. Da lässt sich noch einiges durch Verwendung von Variablen optimieren.

            G Offline
            G Offline
            Gismoh
            schrieb am zuletzt editiert von Gismoh
            #10

            @paul53
            Besten Dank! 👏
            habe ich eben umgesetzt, und der erste Kurztest sieht schon mal vielversprechend aus.

            Denke, wenn ich noch die Anwesenheit mit anderen Temperaturwerten einbaue, erweitere ich das mit bei
            "sonst falls" z.B. "aktuelle Zeit ist XXX" mit "und" "Nicht-/ oder Anwesend".

            Kann man für den Fall, das mal etwas "schiefläuft" auch z.B. das Ein und Ausschalten begrenzen?
            War vorhin zum Glück vor Ort, wo ich das"Ping-pong" vom Ein- und Ausschaltbefehl bemerkt hatte. Wäre nur nicht gut, wenn ich es nicht mitbekomme und die Klima würde sich alle paar Sekunden ein und wieder ausschalten.
            Also irgendwie "übergeordnet" so etwas wie: Maximal X Ein-oder Ausschaltbefehle in X Minuten,
            alle weitern Befehle würden geblockt werden?

            ioBroker auf: Lenovo ThinkCentre M910Q Tiny i5-7500T 16 GB mit proxmox in VM (Bookworm)

            1 Antwort Letzte Antwort
            0
            • paul53P paul53

              @gismoh
              Ich habe mal auf CRON umgestellt und Trigger im Trigger entfernt.

              Hier war ein Blockly-Bild.

              Die restliche Logik habe ich nicht verändert. Da lässt sich noch einiges durch Verwendung von Variablen optimieren.

              G Offline
              G Offline
              Gismoh
              schrieb am zuletzt editiert von Gismoh
              #11

              @paul53 & @all
              Habe gerade bei der oben geposteten Klimaanlage ein Problem,
              der Eco-Modus wird andauern eingeschaltet.
              Erhalte alle zwei Milllisekunden diese Meldung:

              daikin-cloud.0
              2023-12-28 18:26:56.636	info	Send state change for XXXXXXXXXXXXXX.climateControl.econoMode with value=on to climateControl : econoMode : undefined
              

              Mein Protokoll wird damit geflutet, sobald ich den Adapter aktiviere.
              Habe auch mal die ganzen Skripte deaktiviert, aber es ändert sich nichts.

              Leider weis ich nicht wo dies herkommt, habe aber ein "Dummes Gefühl" in der Magengegend, da ich gestern den Ziffernreihenfolge im Code nicht mit "X"en unkenntlich gemacht habe.
              Könnte es sein, das sich damit schon jemand Zugriff zur Steuerung holen kann?

              Den Modus Eco, steuer ich in meinen Skripten auch mit "true", und nicht mit "on" (?).

              ioBroker auf: Lenovo ThinkCentre M910Q Tiny i5-7500T 16 GB mit proxmox in VM (Bookworm)

              paul53P 1 Antwort Letzte Antwort
              0
              • G Gismoh

                @paul53 & @all
                Habe gerade bei der oben geposteten Klimaanlage ein Problem,
                der Eco-Modus wird andauern eingeschaltet.
                Erhalte alle zwei Milllisekunden diese Meldung:

                daikin-cloud.0
                2023-12-28 18:26:56.636	info	Send state change for XXXXXXXXXXXXXX.climateControl.econoMode with value=on to climateControl : econoMode : undefined
                

                Mein Protokoll wird damit geflutet, sobald ich den Adapter aktiviere.
                Habe auch mal die ganzen Skripte deaktiviert, aber es ändert sich nichts.

                Leider weis ich nicht wo dies herkommt, habe aber ein "Dummes Gefühl" in der Magengegend, da ich gestern den Ziffernreihenfolge im Code nicht mit "X"en unkenntlich gemacht habe.
                Könnte es sein, das sich damit schon jemand Zugriff zur Steuerung holen kann?

                Den Modus Eco, steuer ich in meinen Skripten auch mit "true", und nicht mit "on" (?).

                paul53P Offline
                paul53P Offline
                paul53
                schrieb am zuletzt editiert von
                #12

                @gismoh sagte: Den Modus Eco, steuer ich in meinen Skripten auch mit "true"

                Mir ist aufgefallen, dass der Modus Eco nur eingeschaltet aber nirgends ausgeschaltet wird.

                @gismoh sagte in Regelung Klimaanlage, Zeitblöcke, Lüften, Anwesenheit:

                Erhalte alle zwei Milllisekunden diese Meldung:

                Dann logge mal den Datenpunkt und lasse Wert und Ursprung anzeigen.

                Blockly_temp.JPG

                Bitte verzichtet auf Chat-Nachrichten, denn die Handhabung ist grauenhaft !
                Produktiv: RPi 2 mit S.USV, HM-MOD-RPI und SLC-USB-Stick mit root fs

                G 2 Antworten Letzte Antwort
                1
                • paul53P paul53

                  @gismoh sagte: Den Modus Eco, steuer ich in meinen Skripten auch mit "true"

                  Mir ist aufgefallen, dass der Modus Eco nur eingeschaltet aber nirgends ausgeschaltet wird.

                  @gismoh sagte in Regelung Klimaanlage, Zeitblöcke, Lüften, Anwesenheit:

                  Erhalte alle zwei Milllisekunden diese Meldung:

                  Dann logge mal den Datenpunkt und lasse Wert und Ursprung anzeigen.

                  Blockly_temp.JPG

                  G Offline
                  G Offline
                  Gismoh
                  schrieb am zuletzt editiert von
                  #13

                  @paul53
                  Danke, mache ich gleich, starte gerade mal den IOBroker neu.

                  ioBroker auf: Lenovo ThinkCentre M910Q Tiny i5-7500T 16 GB mit proxmox in VM (Bookworm)

                  1 Antwort Letzte Antwort
                  0
                  • paul53P paul53

                    @gismoh sagte: Den Modus Eco, steuer ich in meinen Skripten auch mit "true"

                    Mir ist aufgefallen, dass der Modus Eco nur eingeschaltet aber nirgends ausgeschaltet wird.

                    @gismoh sagte in Regelung Klimaanlage, Zeitblöcke, Lüften, Anwesenheit:

                    Erhalte alle zwei Milllisekunden diese Meldung:

                    Dann logge mal den Datenpunkt und lasse Wert und Ursprung anzeigen.

                    Blockly_temp.JPG

                    G Offline
                    G Offline
                    Gismoh
                    schrieb am zuletzt editiert von
                    #14

                    @paul53 said in Regelung Klimaanlage, Zeitblöcke, Lüften, Anwesenheit:

                    Mir ist aufgefallen, dass der Modus Eco nur eingeschaltet aber nirgends ausgeschaltet wird.

                    Liegt daran, da ich aktuell noch Teste, ob der Eco Modus überhaupt was bringt, da muss ich noch testen mit den Modi´s ;)

                    Könntest du bitte das Bild vom Skript noch rausnehmen, denn dort ist ja auch der Code von dem Klimagerät enthalten.

                    Gerne lade ich dann ein Bild von meinem Skript hoch, welches ich ja nach deinem Vorbild nachgebaut habe. Merci ;)

                    So, Skript ist angelegt - aber merkwürdiger weise bleibt gerade das "Eco" ausgeschaltet, und bekomme gerade nun keine Meldungen vom Adapter.
                    War bis eben wirklich fortlaufend.

                    ioBroker auf: Lenovo ThinkCentre M910Q Tiny i5-7500T 16 GB mit proxmox in VM (Bookworm)

                    paul53P 1 Antwort Letzte Antwort
                    0
                    • G Gismoh

                      @paul53 said in Regelung Klimaanlage, Zeitblöcke, Lüften, Anwesenheit:

                      Mir ist aufgefallen, dass der Modus Eco nur eingeschaltet aber nirgends ausgeschaltet wird.

                      Liegt daran, da ich aktuell noch Teste, ob der Eco Modus überhaupt was bringt, da muss ich noch testen mit den Modi´s ;)

                      Könntest du bitte das Bild vom Skript noch rausnehmen, denn dort ist ja auch der Code von dem Klimagerät enthalten.

                      Gerne lade ich dann ein Bild von meinem Skript hoch, welches ich ja nach deinem Vorbild nachgebaut habe. Merci ;)

                      So, Skript ist angelegt - aber merkwürdiger weise bleibt gerade das "Eco" ausgeschaltet, und bekomme gerade nun keine Meldungen vom Adapter.
                      War bis eben wirklich fortlaufend.

                      paul53P Offline
                      paul53P Offline
                      paul53
                      schrieb am zuletzt editiert von paul53
                      #15

                      @gismoh sagte : Könntest du bitte das Bild vom Skript noch rausnehmen, denn dort ist ja auch der Code von dem Klimagerät enthalten.

                      Erledigt. Ich glaube aber nicht, dass die Kenntnis der Geräte-ID ausgenutzt wurde, zumal sie nicht vollständig zu sehen ist.

                      Bitte verzichtet auf Chat-Nachrichten, denn die Handhabung ist grauenhaft !
                      Produktiv: RPi 2 mit S.USV, HM-MOD-RPI und SLC-USB-Stick mit root fs

                      G 1 Antwort Letzte Antwort
                      2
                      • paul53P paul53

                        @gismoh sagte : Könntest du bitte das Bild vom Skript noch rausnehmen, denn dort ist ja auch der Code von dem Klimagerät enthalten.

                        Erledigt. Ich glaube aber nicht, dass die Kenntnis der Geräte-ID ausgenutzt wurde, zumal sie nicht vollständig zu sehen ist.

                        G Offline
                        G Offline
                        Gismoh
                        schrieb am zuletzt editiert von
                        #16

                        @paul53
                        Glaube, oder hoffe ich auch nicht, aber das komische Gefühl ist erst einmal da .
                        Merci.

                        Anbei das Bild, vom Skript, welches mir @paul53 als Lösung gebastelt hat - noch mal ein super dickes Dankeschön von mir !
                        Screenshot 2023-12-28 191805.png

                        ioBroker auf: Lenovo ThinkCentre M910Q Tiny i5-7500T 16 GB mit proxmox in VM (Bookworm)

                        paul53P 1 Antwort Letzte Antwort
                        0
                        • G Gismoh

                          @paul53
                          Glaube, oder hoffe ich auch nicht, aber das komische Gefühl ist erst einmal da .
                          Merci.

                          Anbei das Bild, vom Skript, welches mir @paul53 als Lösung gebastelt hat - noch mal ein super dickes Dankeschön von mir !
                          Screenshot 2023-12-28 191805.png

                          paul53P Offline
                          paul53P Offline
                          paul53
                          schrieb am zuletzt editiert von paul53
                          #17

                          @gismoh sagte: Anbei das Bild

                          Als erstes setze die Fenster-Prüfung als Klammer um alles und entferne die Einzelprüfungen (und).

                          Blockly_temp.JPG

                          Im Fenster-Trigger fehlt die Prüfung, ob eingeschaltet.

                          Blockly_temp.JPG

                          Bitte verzichtet auf Chat-Nachrichten, denn die Handhabung ist grauenhaft !
                          Produktiv: RPi 2 mit S.USV, HM-MOD-RPI und SLC-USB-Stick mit root fs

                          G 3 Antworten Letzte Antwort
                          0
                          • paul53P paul53

                            @gismoh sagte: Anbei das Bild

                            Als erstes setze die Fenster-Prüfung als Klammer um alles und entferne die Einzelprüfungen (und).

                            Blockly_temp.JPG

                            Im Fenster-Trigger fehlt die Prüfung, ob eingeschaltet.

                            Blockly_temp.JPG

                            G Offline
                            G Offline
                            Gismoh
                            schrieb am zuletzt editiert von
                            #18

                            @paul53
                            Danke, sehe ich mir sehr gerne später heute an - muss erst mal "off", meine Familie meckert schon ;)

                            Die Meldungen wegen Eco sind im Log erst einmal verschwunden, aber das Skript mit der "Überwachung" lasse ich mal laufen.
                            Besten Dank!

                            ioBroker auf: Lenovo ThinkCentre M910Q Tiny i5-7500T 16 GB mit proxmox in VM (Bookworm)

                            1 Antwort Letzte Antwort
                            0
                            • paul53P paul53

                              @gismoh sagte: Anbei das Bild

                              Als erstes setze die Fenster-Prüfung als Klammer um alles und entferne die Einzelprüfungen (und).

                              Blockly_temp.JPG

                              Im Fenster-Trigger fehlt die Prüfung, ob eingeschaltet.

                              Blockly_temp.JPG

                              G Offline
                              G Offline
                              Gismoh
                              schrieb am zuletzt editiert von
                              #19

                              @paul53
                              Merci, sieht nun so aus:
                              Screenshot 2023-12-28 212829.png

                              ioBroker auf: Lenovo ThinkCentre M910Q Tiny i5-7500T 16 GB mit proxmox in VM (Bookworm)

                              1 Antwort Letzte Antwort
                              0
                              • paul53P paul53

                                @gismoh sagte: Anbei das Bild

                                Als erstes setze die Fenster-Prüfung als Klammer um alles und entferne die Einzelprüfungen (und).

                                Blockly_temp.JPG

                                Im Fenster-Trigger fehlt die Prüfung, ob eingeschaltet.

                                Blockly_temp.JPG

                                G Offline
                                G Offline
                                Gismoh
                                schrieb am zuletzt editiert von
                                #20

                                @paul53
                                Hmm, irgendwo muss ich noch nen "Wurm" drin haben, obwohl die Temperaturen heute nach 08:00 Uhr unterschritten waren, waren alle Klimaanlagen ausgeschaltet.

                                ioBroker auf: Lenovo ThinkCentre M910Q Tiny i5-7500T 16 GB mit proxmox in VM (Bookworm)

                                1 Antwort Letzte Antwort
                                0

                                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
                                Antworten
                                • In einem neuen Thema antworten
                                Anmelden zum Antworten
                                • Älteste zuerst
                                • Neuste zuerst
                                • Meiste Stimmen


                                Support us

                                ioBroker
                                Community Adapters
                                Donate

                                458

                                Online

                                32.8k

                                Benutzer

                                82.7k

                                Themen

                                1.3m

                                Beiträge
                                Community
                                Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                                ioBroker Community 2014-2025
                                logo
                                • Anmelden

                                • Du hast noch kein Konto? Registrieren

                                • Anmelden oder registrieren, um zu suchen
                                • Erster Beitrag
                                  Letzter Beitrag
                                0
                                • Home
                                • Aktuell
                                • Tags
                                • Ungelesen 0
                                • Kategorien
                                • Unreplied
                                • Beliebt
                                • GitHub
                                • Docu
                                • Hilfe