Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Skripten / Logik
    4. homematic heizungssteuerung via blockly

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    homematic heizungssteuerung via blockly

    This topic has been deleted. Only users with topic management privileges can see it.
    • R
      rebel85 last edited by

      hi, kann mir mal einer helfen und sage was ich in meinem skript falsch habe?
      vie rada2 und owntracks möchte ich meine heizung zusätzlich steuern und hab mir ein skript gebastelt aber irgendwie funktioniert das nicht. es kann wohl die werte nciht setzten und nach dem 4. mal um bauen bin ich grad ratlos.

      log meldung:
      javascript.0 2020-02-16 18:50:48.739 warn (2302) at Timer.processTimers (timers.js:223:10)
      javascript.0 2020-02-16 18:50:48.738 warn (2302) at listOnTimeout (timers.js:263:5)
      javascript.0 2020-02-16 18:50:48.717 warn (2302) at tryOnTimeout (timers.js:300:5)
      javascript.0 2020-02-16 18:50:48.716 warn (2302) at ontimeout (timers.js:438:13)
      javascript.0 2020-02-16 18:50:48.716 warn (2302) at Timeout._onTimeout (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1481:29)
      javascript.0 2020-02-16 18:50:48.715 warn (2302) at Object.setState (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1425:20)
      javascript.0 2020-02-16 18:50:48.713 warn (2302) You are assigning a string to the state "hm-rpc.0.PEQ1258290.2.MANU_MODE" which expects a number. Please fix your code to use a number or change the state type to string. This warning might bec

      selber kann ich werte eintragen aber durch das skript wiederrum nicht so ganz.... verstehe grad nicht das hinterniss

      skript:

      <xml xmlns="http://www.w3.org/1999/xhtml">
        <variables>
          <variable type="undefined" id="Intervall">Intervall</variable>
          <variable type="undefined" id="Intervall1">Intervall1</variable>
          <variable type="undefined" id="Intervall2">Intervall2</variable>
          <variable type="undefined" id="Intervall3">Intervall3</variable>
        </variables>
        <block type="on_ext" id="PdV-.deBb#=jULj8$bwI" x="-313" y="-313">
          <mutation items="7"></mutation>
          <field name="CONDITION">any</field>
          <field name="ACK_CONDITION"></field>
          <value name="OID0">
            <shadow type="field_oid" id="PHVqNw2e3okl69N.Cbo)">
              <field name="oid">radar2.0.Marco._here</field>
            </shadow>
          </value>
          <value name="OID1">
            <shadow type="field_oid" id="25B+|Z|41r%?pYr9y?]x">
              <field name="oid">owntracks.0.locations.home2.presence</field>
            </shadow>
          </value>
          <value name="OID2">
            <shadow type="field_oid" id="$c^zbs!;DlT`c71jFRZM">
              <field name="oid">owntracks.0.locations.home2.presence</field>
            </shadow>
          </value>
          <value name="OID3">
            <shadow type="field_oid" id="I-d}~sgQRwjjwYiSC4Hl">
              <field name="oid">owntracks.0.locations.eltern.presence</field>
            </shadow>
          </value>
          <value name="OID4">
            <shadow type="field_oid" id="~kWSQQubRm}pTFm8,98N">
              <field name="oid">tuya.0.05052560dc4f22d6b0af.1</field>
            </shadow>
          </value>
          <value name="OID5">
            <shadow type="field_oid" id="!r9e[q!3da2^%@6UaeiC">
              <field name="oid">tuya.0.05052560dc4f22d440aa.1</field>
            </shadow>
          </value>
          <value name="OID6">
            <shadow type="field_oid" id="fb[P%J]fs]3k(_s}[+)V">
              <field name="oid">radar2.0.Osiris._here</field>
            </shadow>
          </value>
          <statement name="STATEMENT">
            <block type="comment" id="Y=yF{2B%A4wm[P0vAoq0">
              <field name="COMMENT">Auto Modus, alle</field>
              <next>
                <block type="controls_if" id="g@x;`e57p3n0enic.U(p">
                  <mutation else="1"></mutation>
                  <value name="IF0">
                    <block type="logic_operation" id="3X)2jZjpKlNr%O~JYtz^" inline="false">
                      <field name="OP">AND</field>
                      <value name="A">
                        <block type="logic_operation" id="~RBFM[n=solk05/UJCmN" inline="false">
                          <field name="OP">AND</field>
                          <value name="A">
                            <block type="logic_compare" id="_1ls)%=[5I?HA,sm0C`@">
                              <field name="OP">EQ</field>
                              <value name="A">
                                <block type="get_value" id="wgSX+4#*|`t~?$?v,L|7">
                                  <field name="ATTR">val</field>
                                  <field name="OID">owntracks.0.locations.home.presence</field>
                                </block>
                              </value>
                              <value name="B">
                                <block type="logic_boolean" id="bi|hi(ag]E5n@pFMxd]B">
                                  <field name="BOOL">TRUE</field>
                                </block>
                              </value>
                            </block>
                          </value>
                          <value name="B">
                            <block type="logic_operation" id="5nvU0[VMB8N(6]~We_(X" inline="false">
                              <field name="OP">AND</field>
                              <value name="A">
                                <block type="logic_compare" id="}u%HTw[1i4zXg.+/pauP">
                                  <field name="OP">EQ</field>
                                  <value name="A">
                                    <block type="get_value" id="b0_O2Zx/C.rMhv8UbmS`">
                                      <field name="ATTR">val</field>
                                      <field name="OID">owntracks.0.locations.home2.presence</field>
                                    </block>
                                  </value>
                                  <value name="B">
                                    <block type="logic_boolean" id="VTXcKfvU87tCN8;9^rO1">
                                      <field name="BOOL">TRUE</field>
                                    </block>
                                  </value>
                                </block>
                              </value>
                              <value name="B">
                                <block type="logic_compare" id="c.HHD;QGK3K$E[cGo71@">
                                  <field name="OP">EQ</field>
                                  <value name="A">
                                    <block type="get_value" id=")sV1~4Bbuq}8psCeyo-.">
                                      <field name="ATTR">val</field>
                                      <field name="OID">owntracks.0.locations.heizung.presence</field>
                                    </block>
                                  </value>
                                  <value name="B">
                                    <block type="logic_boolean" id="!0:GIB^eN}I*hJCC_fkT">
                                      <field name="BOOL">TRUE</field>
                                    </block>
                                  </value>
                                </block>
                              </value>
                            </block>
                          </value>
                        </block>
                      </value>
                      <value name="B">
                        <block type="logic_operation" id="ukSiit5[nI;yjy!p[i@;" inline="false">
                          <field name="OP">AND</field>
                          <value name="A">
                            <block type="logic_compare" id="N/1g*b~n%M;%KSDK}^p8">
                              <field name="OP">EQ</field>
                              <value name="A">
                                <block type="get_value" id="*AhEP52%sNSTbS$Zz{x6">
                                  <field name="ATTR">val</field>
                                  <field name="OID">radar2.0.Marco._here</field>
                                </block>
                              </value>
                              <value name="B">
                                <block type="logic_boolean" id="H.+3)[DO:5e0Z^_o}XS@">
                                  <field name="BOOL">TRUE</field>
                                </block>
                              </value>
                            </block>
                          </value>
                          <value name="B">
                            <block type="logic_operation" id="eIXo4!Jm/205W%Ct5ecZ" inline="false">
                              <field name="OP">AND</field>
                              <value name="A">
                                <block type="logic_compare" id="p?zL0m?w.]A3_8cgHf#[">
                                  <field name="OP">NEQ</field>
                                  <value name="A">
                                    <block type="get_value" id="MrIVd:$N4+.@zln^Wu3k">
                                      <field name="ATTR">val</field>
                                      <field name="OID">radar2.0.Osiris._here</field>
                                    </block>
                                  </value>
                                  <value name="B">
                                    <block type="logic_boolean" id="7j)R[RV,$`P8jz}Fn~i*">
                                      <field name="BOOL">TRUE</field>
                                    </block>
                                  </value>
                                </block>
                              </value>
                              <value name="B">
                                <block type="logic_compare" id="[6{$bV_(tQyzoUSf0C#A">
                                  <field name="OP">NEQ</field>
                                  <value name="A">
                                    <block type="get_value" id="nuI2G0tN,TL8vjyIU:Q|">
                                      <field name="ATTR">val</field>
                                      <field name="OID">tuya.0.05052560dc4f22d440aa.1</field>
                                    </block>
                                  </value>
                                  <value name="B">
                                    <block type="logic_boolean" id="[q}A-t-G`|pfS_WVrZ+y">
                                      <field name="BOOL">TRUE</field>
                                    </block>
                                  </value>
                                </block>
                              </value>
                            </block>
                          </value>
                        </block>
                      </value>
                    </block>
                  </value>
                  <statement name="DO0">
                    <block type="toggle" id="7%5/nTmMss7?P!*LhDJr">
                      <mutation delay_input="true"></mutation>
                      <field name="OID">hm-rpc.0.LEQ0998295.2.CONTROL_MODE</field>
                      <field name="WITH_DELAY">TRUE</field>
                      <field name="DELAY_MS">10</field>
                      <field name="UNIT">sec</field>
                      <field name="CLEAR_RUNNING">FALSE</field>
                      <next>
                        <block type="toggle" id="3]HHh*_Rwg@X?MH^Dhs9">
                          <mutation delay_input="true"></mutation>
                          <field name="OID">hm-rpc.0.PEQ1258290.2.AUTO_MODE</field>
                          <field name="WITH_DELAY">TRUE</field>
                          <field name="DELAY_MS">20</field>
                          <field name="UNIT">sec</field>
                          <field name="CLEAR_RUNNING">FALSE</field>
                          <next>
                            <block type="toggle" id="`d3U!u-L$r7MZc#hDkl}">
                              <mutation delay_input="true"></mutation>
                              <field name="OID">hm-rpc.0.PEQ1258321.2.AUTO_MODE</field>
                              <field name="WITH_DELAY">TRUE</field>
                              <field name="DELAY_MS">30</field>
                              <field name="UNIT">sec</field>
                              <field name="CLEAR_RUNNING">FALSE</field>
                              <next>
                                <block type="toggle" id="Qu(`$0$,QA:wkL}.Hr88">
                                  <mutation delay_input="false"></mutation>
                                  <field name="OID">hm-rpc.0.PEQ1258323.2.AUTO_MODE</field>
                                  <field name="WITH_DELAY">FALSE</field>
                                </block>
                              </next>
                            </block>
                          </next>
                        </block>
                      </next>
                    </block>
                  </statement>
                  <statement name="ELSE">
                    <block type="comment" id="4MVRQu!rIQe9@ihYS/.8">
                      <field name="COMMENT">Umschalten auf Nacht modus</field>
                      <next>
                        <block type="timeouts_setinterval" id="Q[6G3ac%$L5U9HcNSBHc">
                          <field name="NAME">Intervall</field>
                          <field name="INTERVAL">30</field>
                          <field name="UNIT">min</field>
                          <statement name="STATEMENT">
                            <block type="control" id="QrvBI9.*BepZ|*mG0;HV">
                              <mutation delay_input="false"></mutation>
                              <field name="OID">hm-rpc.0.LEQ0998295.2.MANU_MODE</field>
                              <field name="WITH_DELAY">FALSE</field>
                              <value name="VALUE">
                                <block type="math_number" id="-[]|!0#3i%[wEC{{iDL_">
                                  <field name="NUM">17</field>
                                </block>
                              </value>
                              <next>
                                <block type="control" id="=9SAPL!o:eF~9d#*HB]t">
                                  <mutation delay_input="false"></mutation>
                                  <field name="OID">hm-rpc.0.PEQ1258290.2.MANU_MODE</field>
                                  <field name="WITH_DELAY">FALSE</field>
                                  <value name="VALUE">
                                    <block type="math_number" id="*V(a!Y:UvV-rNd;Jm#-h">
                                      <field name="NUM">17</field>
                                    </block>
                                  </value>
                                  <next>
                                    <block type="control" id="`wSfUj}%/?|+g?|6yb~M">
                                      <mutation delay_input="false"></mutation>
                                      <field name="OID">hm-rpc.0.PEQ1258321.2.MANU_MODE</field>
                                      <field name="WITH_DELAY">FALSE</field>
                                      <value name="VALUE">
                                        <block type="math_number" id="c]:|qlnIh-KN+K[.L4-5">
                                          <field name="NUM">18</field>
                                        </block>
                                      </value>
                                      <next>
                                        <block type="control" id="CT_aP7t?)jf]*AnL!HX4">
                                          <mutation delay_input="false"></mutation>
                                          <field name="OID">hm-rpc.0.PEQ1258323.2.MANU_MODE</field>
                                          <field name="WITH_DELAY">FALSE</field>
                                          <value name="VALUE">
                                            <block type="math_number" id="12M=2SulrE^eYbfYJ)8y">
                                              <field name="NUM">17</field>
                                            </block>
                                          </value>
                                        </block>
                                      </next>
                                    </block>
                                  </next>
                                </block>
                              </next>
                            </block>
                          </statement>
                        </block>
                      </next>
                    </block>
                  </statement>
                  <next>
                    <block type="comment" id="c_2/z-l:{{T!6Z@8aj~)">
                      <field name="COMMENT">Auto &amp; Nacht Modus wenn bei Eltern</field>
                      <next>
                        <block type="controls_if" id="+pxK.zqdsldXnG,%vz%0">
                          <value name="IF0">
                            <block type="logic_operation" id="+Xd~Rqn}(?^lCtVKLCb4" inline="false">
                              <field name="OP">AND</field>
                              <value name="A">
                                <block type="logic_operation" id="%TBZ1f*k.[]C^lN^:~HX" inline="false">
                                  <field name="OP">AND</field>
                                  <value name="A">
                                    <block type="logic_compare" id="hl?c[8i3-{gRnG7s]8XM">
                                      <field name="OP">NEQ</field>
                                      <value name="A">
                                        <block type="get_value" id=";6BG.2*q8,4R?^+V3qD:">
                                          <field name="ATTR">val</field>
                                          <field name="OID">radar2.0.Marco._here</field>
                                        </block>
                                      </value>
                                      <value name="B">
                                        <block type="logic_boolean" id="}1~Jd:llEUahP[BvM$k%">
                                          <field name="BOOL">TRUE</field>
                                        </block>
                                      </value>
                                    </block>
                                  </value>
                                  <value name="B">
                                    <block type="logic_compare" id="N,W*}YgxvJRF0s^lD7O0">
                                      <field name="OP">EQ</field>
                                      <value name="A">
                                        <block type="get_value" id="-q%wsB6lUyM:6}|,$v-%">
                                          <field name="ATTR">val</field>
                                          <field name="OID">owntracks.0.locations.eltern.presence</field>
                                        </block>
                                      </value>
                                      <value name="B">
                                        <block type="logic_boolean" id="EvKgqD3{3;un9xoTn4fI">
                                          <field name="BOOL">TRUE</field>
                                        </block>
                                      </value>
                                    </block>
                                  </value>
                                </block>
                              </value>
                              <value name="B">
                                <block type="logic_operation" id="tJ,,]D}()8o+jIf*H*XN" inline="false">
                                  <field name="OP">AND</field>
                                  <value name="A">
                                    <block type="logic_compare" id=",dwM{y8}S0k..#,hu3HI">
                                      <field name="OP">EQ</field>
                                      <value name="A">
                                        <block type="get_value" id="l%~OeT1JiE`fvS{F)f0d">
                                          <field name="ATTR">val</field>
                                          <field name="OID">owntracks.0.locations.heizung.presence</field>
                                        </block>
                                      </value>
                                      <value name="B">
                                        <block type="logic_boolean" id="4)X?z+J~GDmPQVjB5WVM">
                                          <field name="BOOL">TRUE</field>
                                        </block>
                                      </value>
                                    </block>
                                  </value>
                                  <value name="B">
                                    <block type="logic_compare" id="|q6+OT|#-vGnk3ui!gAH">
                                      <field name="OP">EQ</field>
                                      <value name="A">
                                        <block type="get_value" id=":C,GGCjYl:hN,:=!/0g(">
                                          <field name="ATTR">val</field>
                                          <field name="OID">owntracks.0.locations.home2.presence</field>
                                        </block>
                                      </value>
                                      <value name="B">
                                        <block type="logic_boolean" id="6DTuje661mUSgA%9ywY{">
                                          <field name="BOOL">TRUE</field>
                                        </block>
                                      </value>
                                    </block>
                                  </value>
                                </block>
                              </value>
                            </block>
                          </value>
                          <statement name="DO0">
                            <block type="timeouts_setinterval" id="Xue8=VnFFjZ+LI)t#P~8">
                              <field name="NAME">Intervall1</field>
                              <field name="INTERVAL">30</field>
                              <field name="UNIT">min</field>
                              <statement name="STATEMENT">
                                <block type="control" id="B)(Ps7(EdZJK+fUO#esO">
                                  <mutation delay_input="false"></mutation>
                                  <field name="OID">hm-rpc.0.LEQ0998295.2.MANU_MODE</field>
                                  <field name="WITH_DELAY">FALSE</field>
                                  <value name="VALUE">
                                    <block type="math_number" id="B]*77FSYWC@LxbT5)|Ck">
                                      <field name="NUM">18</field>
                                    </block>
                                  </value>
                                  <next>
                                    <block type="control" id="5m@+J*R-9!^_pGXt(ApG">
                                      <mutation delay_input="false"></mutation>
                                      <field name="OID">hm-rpc.0.PEQ1258290.2.MANU_MODE</field>
                                      <field name="WITH_DELAY">FALSE</field>
                                      <value name="VALUE">
                                        <block type="math_number" id="%tskFG3uFF2;(`yA^)5O">
                                          <field name="NUM">17</field>
                                        </block>
                                      </value>
                                    </block>
                                  </next>
                                </block>
                              </statement>
                              <next>
                                <block type="toggle" id="Yf/XSh`c6[?k=$tm|Ocz">
                                  <mutation delay_input="true"></mutation>
                                  <field name="OID">hm-rpc.0.PEQ1313594.4.AUTO_MODE</field>
                                  <field name="WITH_DELAY">TRUE</field>
                                  <field name="DELAY_MS">20</field>
                                  <field name="UNIT">sec</field>
                                  <field name="CLEAR_RUNNING">FALSE</field>
                                  <next>
                                    <block type="toggle" id="wd,v!4-eH{L(S7@Yk4UA">
                                      <mutation delay_input="true"></mutation>
                                      <field name="OID">hm-rpc.0.PEQ1311880.4.AUTO_MODE</field>
                                      <field name="WITH_DELAY">TRUE</field>
                                      <field name="DELAY_MS">30</field>
                                      <field name="UNIT">sec</field>
                                      <field name="CLEAR_RUNNING">FALSE</field>
                                    </block>
                                  </next>
                                </block>
                              </next>
                            </block>
                          </statement>
                          <next>
                            <block type="comment" id="@3yr@e#;7XQJZxW0;o|1">
                              <field name="COMMENT">Auto Modus und Büro</field>
                              <next>
                                <block type="controls_if" id="%Fx3o*m~k*O]JM-=C^wx">
                                  <value name="IF0">
                                    <block type="logic_operation" id="`6tO}-$j%=-^.6rLTk+G" inline="false">
                                      <field name="OP">AND</field>
                                      <value name="A">
                                        <block type="logic_operation" id="UCNpU62CwwbPFvYv}bp|" inline="false">
                                          <field name="OP">AND</field>
                                          <value name="A">
                                            <block type="logic_operation" id="L1EXT{}Z)77y=4p[lIEJ" inline="false">
                                              <field name="OP">AND</field>
                                              <value name="A">
                                                <block type="logic_compare" id="Z#U$mwXxH!VpX|0tzyEH">
                                                  <field name="OP">EQ</field>
                                                  <value name="A">
                                                    <block type="get_value" id="`-UFvEQ`pf=le#aUvo+[">
                                                      <field name="ATTR">val</field>
                                                      <field name="OID">radar2.0.Marco._here</field>
                                                    </block>
                                                  </value>
                                                  <value name="B">
                                                    <block type="logic_boolean" id="^]Ta%IR`C;X!8ofM==ek">
                                                      <field name="BOOL">TRUE</field>
                                                    </block>
                                                  </value>
                                                </block>
                                              </value>
                                              <value name="B">
                                                <block type="logic_compare" id="Po*[t0:+tXmAWmK@vMka">
                                                  <field name="OP">EQ</field>
                                                  <value name="A">
                                                    <block type="get_value" id="Y.xWZ)LOUafUJ,~DR7@R">
                                                      <field name="ATTR">val</field>
                                                      <field name="OID">radar2.0.Osiris._here</field>
                                                    </block>
                                                  </value>
                                                  <value name="B">
                                                    <block type="logic_boolean" id="$6SqNxImsE4|A!ag`.N_">
                                                      <field name="BOOL">TRUE</field>
                                                    </block>
                                                  </value>
                                                </block>
                                              </value>
                                            </block>
                                          </value>
                                          <value name="B">
                                            <block type="logic_compare" id="Vw)xSLHM5F]o7MiB$!iO">
                                              <field name="OP">NEQ</field>
                                              <value name="A">
                                                <block type="get_value" id="![-;j@PHVWY$iD]=`Q3*">
                                                  <field name="ATTR">val</field>
                                                  <field name="OID">tuya.0.05052560dc4f22d440aa.1</field>
                                                </block>
                                              </value>
                                              <value name="B">
                                                <block type="logic_boolean" id=")%7AH@nhU@CQMH7l.y#!">
                                                  <field name="BOOL">TRUE</field>
                                                </block>
                                              </value>
                                            </block>
                                          </value>
                                        </block>
                                      </value>
                                      <value name="B">
                                        <block type="logic_operation" id="JG#]]z6,Jno?3e)Q7Xmf" inline="false">
                                          <field name="OP">AND</field>
                                          <value name="A">
                                            <block type="logic_compare" id="Y$~?Ar){tuKZ!lQWHMWf">
                                              <field name="OP">EQ</field>
                                              <value name="A">
                                                <block type="get_value" id="M,/]v}lxK**K}+NQWrW?">
                                                  <field name="ATTR">val</field>
                                                  <field name="OID">owntracks.0.locations.home.presence</field>
                                                </block>
                                              </value>
                                              <value name="B">
                                                <block type="logic_boolean" id="XWc;2nsHL[2I,zCXhooi">
                                                  <field name="BOOL">TRUE</field>
                                                </block>
                                              </value>
                                            </block>
                                          </value>
                                          <value name="B">
                                            <block type="logic_operation" id=".e)!22dZWWO:vdnG:7*," inline="false">
                                              <field name="OP">AND</field>
                                              <value name="A">
                                                <block type="logic_compare" id="k$,{AnIKN?=^{F|?,O]b">
                                                  <field name="OP">EQ</field>
                                                  <value name="A">
                                                    <block type="get_value" id="%;Sf!6:#CeK~{?d^K|J@">
                                                      <field name="ATTR">val</field>
                                                      <field name="OID">owntracks.0.locations.home2.presence</field>
                                                    </block>
                                                  </value>
                                                  <value name="B">
                                                    <block type="logic_boolean" id="Bb{Xh[W5P#l2Mtz`)lq#">
                                                      <field name="BOOL">TRUE</field>
                                                    </block>
                                                  </value>
                                                </block>
                                              </value>
                                              <value name="B">
                                                <block type="logic_compare" id=")+}lC(/k4ly{:YDW.4]/">
                                                  <field name="OP">EQ</field>
                                                  <value name="A">
                                                    <block type="get_value" id="BEW(?%lU3?5X6ak[9saF">
                                                      <field name="ATTR">val</field>
                                                      <field name="OID">owntracks.0.locations.heizung.presence</field>
                                                    </block>
                                                  </value>
                                                  <value name="B">
                                                    <block type="logic_boolean" id="/N|:PA%H{gls/!b1FXO2">
                                                      <field name="BOOL">TRUE</field>
                                                    </block>
                                                  </value>
                                                </block>
                                              </value>
                                            </block>
                                          </value>
                                        </block>
                                      </value>
                                    </block>
                                  </value>
                                  <statement name="DO0">
                                    <block type="timeouts_setinterval" id="`.LU8v{kZ}QkX.4S.+W6">
                                      <field name="NAME">Intervall2</field>
                                      <field name="INTERVAL">30</field>
                                      <field name="UNIT">min</field>
                                      <statement name="STATEMENT">
                                        <block type="control" id="Dm!jc?.X`CgR#4SLaUG/">
                                          <mutation delay_input="false"></mutation>
                                          <field name="OID">hm-rpc.0.LEQ0998295.2.MANU_MODE</field>
                                          <field name="WITH_DELAY">FALSE</field>
                                          <value name="VALUE">
                                            <block type="math_number" id="IOx3*bO.l=3P?]MK0X^e">
                                              <field name="NUM">21</field>
                                            </block>
                                          </value>
                                          <next>
                                            <block type="control" id="}d]5orhNlJ(beCg8^rI,">
                                              <mutation delay_input="false"></mutation>
                                              <field name="OID">hm-rpc.0.PEQ1258323.2.MANU_MODE</field>
                                              <field name="WITH_DELAY">FALSE</field>
                                              <value name="VALUE">
                                                <block type="math_number" id="R8Q9R@|Qh*A~yV{-G(ym">
                                                  <field name="NUM">18</field>
                                                </block>
                                              </value>
                                            </block>
                                          </next>
                                        </block>
                                      </statement>
                                      <next>
                                        <block type="toggle" id="FlC,_xFwR6Wy!Ep-ohv(">
                                          <mutation delay_input="true"></mutation>
                                          <field name="OID">hm-rpc.0.PEQ1313530.4.AUTO_MODE</field>
                                          <field name="WITH_DELAY">TRUE</field>
                                          <field name="DELAY_MS">10</field>
                                          <field name="UNIT">sec</field>
                                          <field name="CLEAR_RUNNING">FALSE</field>
                                          <next>
                                            <block type="toggle" id="4d}r=k^*osIBfeE5,##I">
                                              <mutation delay_input="true"></mutation>
                                              <field name="OID">hm-rpc.0.PEQ1313594.4.AUTO_MODE</field>
                                              <field name="WITH_DELAY">TRUE</field>
                                              <field name="DELAY_MS">20</field>
                                              <field name="UNIT">sec</field>
                                              <field name="CLEAR_RUNNING">FALSE</field>
                                            </block>
                                          </next>
                                        </block>
                                      </next>
                                    </block>
                                  </statement>
                                  <next>
                                    <block type="comment" id="fRbuZl}!|`!.JHN3w`Ew">
                                      <field name="COMMENT">Auto Modus und Wohnzimmer</field>
                                      <next>
                                        <block type="controls_if" id="l`uO5~qLVG5SELbq)PxY">
                                          <value name="IF0">
                                            <block type="logic_operation" id="3;/eo4A[BB@K{u3I4uml" inline="false">
                                              <field name="OP">AND</field>
                                              <value name="A">
                                                <block type="logic_operation" id="TTO$@}#$w3G!A|XZrr8U" inline="false">
                                                  <field name="OP">AND</field>
                                                  <value name="A">
                                                    <block type="logic_compare" id="hK6bAX.dd+?2#*V7!25m">
                                                      <field name="OP">EQ</field>
                                                      <value name="A">
                                                        <block type="get_value" id="uq7|^P84TfO#ov%g-}Hh">
                                                          <field name="ATTR">val</field>
                                                          <field name="OID">owntracks.0.locations.home.presence</field>
                                                        </block>
                                                      </value>
                                                      <value name="B">
                                                        <block type="logic_boolean" id="Ey7R6(-r,9j_Kz,0Zdi8">
                                                          <field name="BOOL">TRUE</field>
                                                        </block>
                                                      </value>
                                                    </block>
                                                  </value>
                                                  <value name="B">
                                                    <block type="logic_compare" id="L,T{!{pe#Eb,06U_Vksj">
                                                      <field name="OP">EQ</field>
                                                      <value name="A">
                                                        <block type="get_value" id="zt6X5EP9XOm|VlF5xsU@">
                                                          <field name="ATTR">val</field>
                                                          <field name="OID">radar2.0.Marco._here</field>
                                                        </block>
                                                      </value>
                                                      <value name="B">
                                                        <block type="logic_boolean" id="Wf_v}p0z%}`c$*5ic.R1">
                                                          <field name="BOOL">TRUE</field>
                                                        </block>
                                                      </value>
                                                    </block>
                                                  </value>
                                                </block>
                                              </value>
                                              <value name="B">
                                                <block type="logic_operation" id="lr9!LhU=uo-6BV{ssRG=" inline="false">
                                                  <field name="OP">AND</field>
                                                  <value name="A">
                                                    <block type="logic_operation" id=",mUIVHO;aFl?pk|kp!S~" inline="false">
                                                      <field name="OP">AND</field>
                                                      <value name="A">
                                                        <block type="logic_compare" id="p^eLCLEhO3qWSJS`.lf@">
                                                          <field name="OP">EQ</field>
                                                          <value name="A">
                                                            <block type="get_value" id="IZyEt(T:aQ[HcykFeGo*">
                                                              <field name="ATTR">val</field>
                                                              <field name="OID">tuya.0.05052560dc4f22d440aa.1</field>
                                                            </block>
                                                          </value>
                                                          <value name="B">
                                                            <block type="logic_boolean" id="B.[AXCPgC!({4lx~uF.b">
                                                              <field name="BOOL">TRUE</field>
                                                            </block>
                                                          </value>
                                                        </block>
                                                      </value>
                                                      <value name="B">
                                                        <block type="logic_compare" id="=hoY{[iSNCa$zqkqsNN?">
                                                          <field name="OP">NEQ</field>
                                                          <value name="A">
                                                            <block type="get_value" id="%d(vL8ko!`:rm{dQ9b,$">
                                                              <field name="ATTR">val</field>
                                                              <field name="OID">radar2.0.Osiris._here</field>
                                                            </block>
                                                          </value>
                                                          <value name="B">
                                                            <block type="logic_boolean" id="JL:t%q^x3)_tk3XfV(zF">
                                                              <field name="BOOL">TRUE</field>
                                                            </block>
                                                          </value>
                                                        </block>
                                                      </value>
                                                    </block>
                                                  </value>
                                                  <value name="B">
                                                    <block type="logic_operation" id="G8vomn^@CiEaBPs=+,sH" inline="false">
                                                      <field name="OP">AND</field>
                                                      <value name="A">
                                                        <block type="logic_compare" id="Fdm{Nx~R0a]0e_js6wHX">
                                                          <field name="OP">EQ</field>
                                                          <value name="A">
                                                            <block type="get_value" id="Ay}qaeV_*a.S.jB,qr`]">
                                                              <field name="ATTR">val</field>
                                                              <field name="OID">owntracks.0.locations.home2.presence</field>
                                                            </block>
                                                          </value>
                                                          <value name="B">
                                                            <block type="logic_boolean" id="KpCtT808J)B5VP1]s0Ar">
                                                              <field name="BOOL">TRUE</field>
                                                            </block>
                                                          </value>
                                                        </block>
                                                      </value>
                                                      <value name="B">
                                                        <block type="logic_compare" id="=.TG}amp3Q|7NxzOgsxN">
                                                          <field name="OP">EQ</field>
                                                          <value name="A">
                                                            <block type="get_value" id="S9pRJC~bCJLPjQISz-12">
                                                              <field name="ATTR">val</field>
                                                              <field name="OID">owntracks.0.locations.heizung.presence</field>
                                                            </block>
                                                          </value>
                                                          <value name="B">
                                                            <block type="logic_boolean" id="J;9l*{IS2#;Aj(?}r]AF">
                                                              <field name="BOOL">TRUE</field>
                                                            </block>
                                                          </value>
                                                        </block>
                                                      </value>
                                                    </block>
                                                  </value>
                                                </block>
                                              </value>
                                            </block>
                                          </value>
                                          <statement name="DO0">
                                            <block type="timeouts_setinterval" id="a)*H#pVqz|NoZ.WE2qz.">
                                              <field name="NAME">Intervall3</field>
                                              <field name="INTERVAL">30</field>
                                              <field name="UNIT">min</field>
                                              <statement name="STATEMENT">
                                                <block type="control" id="K8ty;(^8IYrW+G!,watO">
                                                  <mutation delay_input="false"></mutation>
                                                  <field name="OID">hm-rpc.0.LEQ0998295.2.MANU_MODE</field>
                                                  <field name="WITH_DELAY">FALSE</field>
                                                  <value name="VALUE">
                                                    <block type="math_number" id="B$}[yC9pVh2`}n]3]2ag">
                                                      <field name="NUM">18</field>
                                                    </block>
                                                  </value>
                                                  <next>
                                                    <block type="control" id="Gnp24:YnL@-xBaR{Ip}.">
                                                      <mutation delay_input="false"></mutation>
                                                      <field name="OID">hm-rpc.0.PEQ1258323.2.MANU_MODE</field>
                                                      <field name="WITH_DELAY">FALSE</field>
                                                      <value name="VALUE">
                                                        <block type="math_number" id="zC5}yForh79+5!7(f:9u">
                                                          <field name="NUM">21</field>
                                                        </block>
                                                      </value>
                                                    </block>
                                                  </next>
                                                </block>
                                              </statement>
                                              <next>
                                                <block type="toggle" id=":!BPW{$3(%+%Dx-Y;^@f">
                                                  <mutation delay_input="true"></mutation>
                                                  <field name="OID">hm-rpc.0.PEQ1313530.4.AUTO_MODE</field>
                                                  <field name="WITH_DELAY">TRUE</field>
                                                  <field name="DELAY_MS">10</field>
                                                  <field name="UNIT">sec</field>
                                                  <field name="CLEAR_RUNNING">FALSE</field>
                                                  <next>
                                                    <block type="toggle" id="VWb2W]Z54r8A^_0)RfE_">
                                                      <mutation delay_input="true"></mutation>
                                                      <field name="OID">hm-rpc.0.PEQ1313594.4.AUTO_MODE</field>
                                                      <field name="WITH_DELAY">TRUE</field>
                                                      <field name="DELAY_MS">20</field>
                                                      <field name="UNIT">sec</field>
                                                      <field name="CLEAR_RUNNING">FALSE</field>
                                                    </block>
                                                  </next>
                                                </block>
                                              </next>
                                            </block>
                                          </statement>
                                        </block>
                                      </next>
                                    </block>
                                  </next>
                                </block>
                              </next>
                            </block>
                          </next>
                        </block>
                      </next>
                    </block>
                  </next>
                </block>
              </next>
            </block>
          </statement>
        </block>
      </xml>
      
      dslraser paul53 htrecksler UweRLP 4 Replies Last reply Reply Quote 0
      • dslraser
        dslraser Forum Testing Most Active @rebel85 last edited by

        @rebel85 sagte in homematic heizungssteuerung via blockly:

        You are assigning a string to the state "hm-rpc.0.PEQ1258290.2.MANU_MODE" which expects a number. Please fix your code to use a number or change the state type to string.

        Was sagt Dir das ?

        1 Reply Last reply Reply Quote 0
        • paul53
          paul53 @rebel85 last edited by

          @rebel85 sagte:

          You are assigning a string to the state "hm-rpc.0.PEQ1258290.2.MANU_MODE" which expects a number. Please fix your code to use a number

          Da steht alles.

          1 Reply Last reply Reply Quote 0
          • htrecksler
            htrecksler Forum Testing @rebel85 last edited by

            @rebel85 du (oder dein Code im Script) schreibst einen "Text" in einen State welcher aber ein "Number" erwartet. Zumindest sagt das das log

            R 1 Reply Last reply Reply Quote 1
            • R
              rebel85 @htrecksler last edited by

              @htrecksler
              und wie schreib ich im blockly nun dann die nummer? habe schon den wert als mathematik geändert....

              htrecksler dslraser 2 Replies Last reply Reply Quote 0
              • htrecksler
                htrecksler Forum Testing @rebel85 last edited by htrecksler

                @rebel85 das kann ich dir leider nicht sagen, von blockly habe ich keinen Plan.
                im Javascrit geht das mit "parseInt"

                R 1 Reply Last reply Reply Quote 0
                • R
                  rebel85 @htrecksler last edited by

                  @htrecksler
                  ok, ja weis nicht, habe stern, aktualisieren. umschalten schon versucht, dann vom text feld auf mathematik geschaltet.... bin da noch mit grundkenntnissen unterwegs um mir was selber zu basteln, was logisch ist von der funktion her...

                  paul53 1 Reply Last reply Reply Quote 0
                  • dslraser
                    dslraser Forum Testing Most Active @rebel85 last edited by

                    @rebel85
                    ich habe HMIP Geräte, da habe ich keinen Datenpunkt MANU_MODE. Ich kann den Modus auch nicht mit der Grad Zahl beschreiben. Das kann ich nur in SET_POINT_TEMPERATURE
                    Die Umschaltung von MANU_MODE und AUTO_MODE erfolgt bei mir über 0/1 an SET_POINT_MODE

                    Ich nehme an, das sind "normale" HM Geräte ?

                    R 1 Reply Last reply Reply Quote 0
                    • R
                      rebel85 @dslraser last edited by

                      @dslraser ja normale, nicht die ip

                      dslraser 1 Reply Last reply Reply Quote 0
                      • dslraser
                        dslraser Forum Testing Most Active @rebel85 last edited by

                        @rebel85
                        Zeige mal das hier

                        Bildschirmfoto 2020-02-16 um 19.13.39.png

                        R 1 Reply Last reply Reply Quote 0
                        • R
                          rebel85 @dslraser last edited by rebel85

                          @dslraser Unbenannt.JPG

                          klima und heizung sind fast gleich von den punkten her, steuern tuhe ich das klima gerät

                          1 Reply Last reply Reply Quote 0
                          • paul53
                            paul53 @rebel85 last edited by

                            @rebel85 sagte:

                            vom text feld auf mathematik geschaltet...

                            Ja, Blöcke Mathematik ist richtig.

                            Blockly_temp.JPG

                            dslraser 1 Reply Last reply Reply Quote 0
                            • dslraser
                              dslraser Forum Testing Most Active @paul53 last edited by

                              @paul53

                              Muß man erst über CONTOL_MODE umschalten auf MANU_MODE ?

                              das ist sein Blockly

                              Bildschirmfoto 2020-02-16 um 19.18.08.png

                              paul53 R 2 Replies Last reply Reply Quote 0
                              • paul53
                                paul53 @dslraser last edited by

                                @dslraser sagte:

                                Muß man erst über CONTOL_MODE umschalten auf MANU_MODE ?

                                Nein, CONTROL_MODE ist "read only" und zeigt den aktuellen Modus an.

                                1 Reply Last reply Reply Quote 0
                                • R
                                  rebel85 @dslraser last edited by

                                  @dslraser
                                  eig. nicht sobal ich einen wert bei manu_mode / level_temp. eingabe
                                  wechsel der modus von auto auf manuel und der wert wird dann auch nach set_temp. übertragen.
                                  so ist das verhalten wenn ich das selber eintrage.
                                  hab auch gesehen das ich beim stift den "wert" Typ der zelle anpassen kann, hab ich von nummer auf mixed geschaltet.

                                  paul53 1 Reply Last reply Reply Quote 0
                                  • paul53
                                    paul53 @rebel85 last edited by

                                    @rebel85 sagte:

                                    Typ der zelle anpassen kann, hab ich von nummer auf mixed geschaltet.

                                    Das mache wieder rückgängig und verwende in Blockly Zahlen (wie oben gezeigt).

                                    R 1 Reply Last reply Reply Quote 0
                                    • R
                                      rebel85 @paul53 last edited by

                                      @paul53
                                      hab ich doch schon wie oben aber läuft ja trotzdem nicht...

                                      dslraser 1 Reply Last reply Reply Quote 0
                                      • dslraser
                                        dslraser Forum Testing Most Active @rebel85 last edited by

                                        @rebel85
                                        hast Du mal Dein Blockly gestoppt und jetzt mit Zahlen neu gestartet. In Deinem Blockly laufen 4 Intervalle die aber nie irgendwo gestoppt werden ?

                                        R 1 Reply Last reply Reply Quote 0
                                        • R
                                          rebel85 @dslraser last edited by

                                          @dslraser
                                          aber die intervalle laufen doch nur wenn die bedingen oben erfüllt sind, so ist mein verstehen der funktionen.
                                          ja schon mehrfach gestoppt und gestartet.
                                          der code oben ist ja schon mit dem mathematik feld (lila)

                                          Unbenannt.JPG

                                          dslraser F 2 Replies Last reply Reply Quote 0
                                          • dslraser
                                            dslraser Forum Testing Most Active @rebel85 last edited by

                                            @rebel85
                                            da ich die Geräte nicht habe kann ich es nicht nachstellen. Ich kann also nicht wirklich helfen. Dein Blockly ist auch sehr komplex um sich das rein zu denken.
                                            Du kannst Bein Blockly ja mal stoppen und ein neues leeres Blockly ohne Trigger, einfach nur mit dem Baustein wie von @paul53 in diesem Post hier vorgeschlagen testen und das Blockly starten. Dann kannst Du schauen ob auch wieder eine Fehlermeldung kommt, oder ob es ohne Fehler ausgeführt wird.

                                            R 2 Replies Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            448
                                            Online

                                            31.7k
                                            Users

                                            79.9k
                                            Topics

                                            1.3m
                                            Posts

                                            blockly communication heating
                                            8
                                            41
                                            3522
                                            Loading More Posts
                                            • Oldest to Newest
                                            • Newest to Oldest
                                            • Most Votes
                                            Reply
                                            • Reply as topic
                                            Log in to reply
                                            Community
                                            Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                                            The ioBroker Community 2014-2023
                                            logo