Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Ole 0

    NEWS

    • Wir empfehlen: Node.js 22.x

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker goes Matter ... Matter Adapter in Stable

    O
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 8
    • Best 0
    • Groups 1

    Ole 0

    @Ole 0

    Starter

    0
    Reputation
    3
    Profile views
    8
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    Ole 0 Follow
    Starter

    Latest posts made by Ole 0

    • RE: Lichtsteuerung im Flur

      @paul53
      Guten Abend.

      Ich habe nun den Typ auf Array geändert. Fehlermeldung bleibt leider bestehen.

      16.8.2021, 21:20:31.820	[warn ]: javascript.0 (950)     at NormalesLicht (script.js.Flur.LichtSteuerung:28:3)
      16.8.2021, 21:20:31.821	[warn ]: javascript.0 (950)     at Object.<anonymous> (script.js.Flur.LichtSteuerung:79:11)
      
      

      Die Eigenschaften des Objektes.

      
      {
        "type": "state",
        "common": {
          "name": "Extended color light 2 xy",
          "type": "array",
          "role": "color.CIE",
          "read": true,
          "write": true,
          "def": [
            0.1,
            0.1
          ]
        },
        "native": {},
        "_id": "deconz.0.Lights.2.xy",
        "acl": {
          "object": 1636,
          "state": 1636,
          "owner": "system.user.admin",
          "ownerGroup": "system.group.administrator"
        },
        "from": "system.adapter.deconz.0",
        "user": "system.user.admin",
        "ts": 1629141634252
      }
      
      

      Ich habe noch nicht das Update von Github installiert, vielleicht liegt es daran. Manuell habe ich jedoch noch kein Update gemacht und habe davon entsprechend keine Ahnung. Der Deconz Adapter ist 1.3.19.

      posted in Blockly
      O
      Ole 0
    • RE: Lichtsteuerung im Flur

      @paul53

      Guten Abend,

      danke für die Verlinkungen des anderen Themas.

      Mit den erwarteten Werten verstehe ich nun. Leider bin ich noch viel zu frisch dabei und weiß weder wie ich manuell etwas von Github installiere, noch wie ich deinen oben erwähnten Code zum ändern des Typs verwende. Könntest du mir auch eventuell hierbei helfen?

      Meine JavaScript Adapter ist bereits auf 5.2.8.

      Vielen Dank!

      posted in Blockly
      O
      Ole 0
    • RE: Lichtsteuerung im Flur

      @paul53

      Also liegt der Fehler darin, dass ich eine String in ein Array Feld schreibe?

      posted in Blockly
      O
      Ole 0
    • RE: Lichtsteuerung im Flur

      @paul53
      Hi, in den Zeilen schreibe ich die Werte für die Farben.

      
        setState("deconz.0.Lights.2.xy"/*Extended color light 2 xy*/, '[0.4574,0.41]');
      
      

      Wenn ich mir den Datenpunkt allerdings ansehe schreibt er die Werte korrekt rein.

      Mit den booleschen Werten macht soweit Sinn, aber ich möchte ja nur entweder wahr oder falsch etwas machen. So würde die Falls Abfrage doch heißen, falls „wert“ wahr, oder falsch ist, mache etwas, oder hab ich einen Denkfehler drin?

      posted in Blockly
      O
      Ole 0
    • RE: Lichtsteuerung im Flur

      @paul53 So, meine Logik läuft nun, vielen Dank erstmal. 🙂

      Ich habe noch eine Frage zu deinem Skript. Fehlen im ersten Block bei Wert und Nachtlicht nicht Vergleiche wie = wahr, oder auf was prüft das System?

      Außerdem bekomme ich folgende Fehlermeldungen. Wie lassen die sich lesen?

      4.8.2021, 21:20:45.675	[warn ]: javascript.0 (1164)     at GedimmtesLicht (script.js.Flur.LichtSteuerung:43:3)
      4.8.2021, 21:20:45.675	[warn ]: javascript.0 (1164)     at Object.<anonymous> (script.js.Flur.LichtSteuerung:68:11)
      
      posted in Blockly
      O
      Ole 0
    • RE: Lichtsteuerung im Flur

      @paul53
      Guten Morgen. Ah, ich musste den Aqara einmal paar mal rausschmeißen und wieder neu einfügen, dadurch haben sich die Namen geändert und deshalb der Fehler im trigger. Der 11er ist der richtige.

      posted in Blockly
      O
      Ole 0
    • Lichtsteuerung im Flur

      Hallo zusammen,

      Ich habe am Wochenende mein erstes Blockly Skript gebaut und es hat natürlich nicht so geklappt, wie ich es mir vorgestellt habe. Ich vermute einen Fehler in der Logik, kann aber bei bestem Willen keinen finden. Vielleicht könnt ihr mir ja helfen.

      Kurz zum Hintergrund. Ich habe einen Ikea Bewegungsmelder im Schlafzimmer und einen Aqara Bewegungsmelder im Flur. Wenn der Bewegungsmelder im Schlafzimmer auslöst und es nach 23:00 Uhr ist, soll die Hue Lampe im Flur ein gedimmtes rot schalten, damit man nachts auf dem Weg zum Bad nicht so geblendet wird. Hat der Schlafzimmer Sensor ausgelöst, soll der im Flur für drei Minuten nicht mehr auslösen, damit man auf dem Rückweg nicht mit 100% Helligkeit geblendet wird.

      Der Bewegungsmelder im Flur soll beide Lampen im Flur zu 100% schalten (normal weißes Licht) wenn:

      1. Der Bewegungsmelder im Schlafzimmer nicht ausgelöst hat (habe ich mit einer Zeit gesteuerten Variable „gelöst“.)
      2. Lux kleiner 30 ist
      3. Es vor 20:00 Uhr ist

      Der Bewegungsmelder im Flur soll beide Lampen im Flur zu 50% schalten (normal weißes Licht) wenn:

      1. Der Bewegungsmelder im Schlafzimmer nicht ausgelöst hat (habe ich mit einer Zeit gesteuerten Variable „gelöst“.)
      2. Lux kleiner 30 ist
      3. Es nach 20:00 Uhr ist

      Die drei „Lichtmodi“ habe ich über Funktionen definiert.

      Ich hoffe meine Beschreibung macht den Sinn deutlich. Das Skript habe ich natürlich auch angehangen.

      Ich freu mich auf euren Input, damit ich wieder etwas mehr verstehe 🙂

      
      <xml xmlns="https://developers.google.com/blockly/xml">
        <variables>
          <variable id="h1_4=,A0g9,Q55TWH9J{">Nachtlicht</variable>
          <variable type="timeout" id="FlurlichtPausieren">FlurlichtPausieren</variable>
        </variables>
        <block type="variables_set" id="WHDo.0Db}2Wm(x{Gl5J1" x="-3012" y="-787">
          <field name="VAR" id="h1_4=,A0g9,Q55TWH9J{">Nachtlicht</field>
          <value name="VALUE">
            <block type="logic_boolean" id=":I+OI%]E.xLB]4^f5y9+">
              <field name="BOOL">FALSE</field>
            </block>
          </value>
          <next>
            <block type="on_ext" id="3IEU1Bt75E7Y_m:#J*N.">
              <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="Vl.0ry#8a^v[L:cCDZ1N">
                  <field name="oid">deconz.0.Sensors.4.presence</field>
                </shadow>
              </value>
              <statement name="STATEMENT">
                <block type="controls_if" id="qK*w6/!cT9!|fmz^goxd">
                  <mutation else="1"></mutation>
                  <value name="IF0">
                    <block type="logic_operation" id="Eg@.q?r_)rwnozi=bitQ" inline="false">
                      <field name="OP">AND</field>
                      <value name="A">
                        <block type="logic_compare" id="{jtk5lAJpi@n9ieJ_s6+">
                          <field name="OP">EQ</field>
                          <value name="A">
                            <block type="get_value" id="NLOS/mdR_dL8K];K(BQk">
                              <field name="ATTR">val</field>
                              <field name="OID">deconz.0.Sensors.4.presence</field>
                            </block>
                          </value>
                          <value name="B">
                            <block type="logic_boolean" id="ar-HP9E]657ptj*^Pkaf">
                              <field name="BOOL">TRUE</field>
                            </block>
                          </value>
                        </block>
                      </value>
                      <value name="B">
                        <block type="time_compare_ex" id="]P1JQJqW{Q5yK5Y#B]p6">
                          <mutation xmlns="http://www.w3.org/1999/xhtml" end_time="false" actual_time="true"></mutation>
                          <field name="USE_ACTUAL_TIME">TRUE</field>
                          <field name="OPTION">&gt;=</field>
                          <value name="START_TIME">
                            <shadow type="text" id="FVd8;9@=;kfA4rzZ$3t/">
                              <field name="TEXT">23:00</field>
                            </shadow>
                          </value>
                        </block>
                      </value>
                    </block>
                  </value>
                  <statement name="DO0">
                    <block type="procedures_callnoreturn" id=",$$HP3Gpt(Q!{D^.;[($">
                      <mutation name="RotesLicht"></mutation>
                      <next>
                        <block type="variables_set" id=",ajmVGg}xdASup)mv}Wb">
                          <field name="VAR" id="h1_4=,A0g9,Q55TWH9J{">Nachtlicht</field>
                          <value name="VALUE">
                            <block type="logic_boolean" id="b]=~5kjsKpxTV76N,N%e">
                              <field name="BOOL">TRUE</field>
                            </block>
                          </value>
                          <next>
                            <block type="timeouts_settimeout" id="lH?Gwt!tTJzd7qod$H,@">
                              <field name="NAME">FlurlichtPausieren</field>
                              <field name="DELAY">3</field>
                              <field name="UNIT">min</field>
                              <statement name="STATEMENT">
                                <block type="variables_set" id="V*.^T~10/PWYCC[MP_uR">
                                  <field name="VAR" id="h1_4=,A0g9,Q55TWH9J{">Nachtlicht</field>
                                  <value name="VALUE">
                                    <block type="logic_boolean" id="a^BnTTv$gu[.@QmLZ9AU">
                                      <field name="BOOL">FALSE</field>
                                    </block>
                                  </value>
                                </block>
                              </statement>
                            </block>
                          </next>
                        </block>
                      </next>
                    </block>
                  </statement>
                  <statement name="ELSE">
                    <block type="control" id="Zu]Pk[j)op|4+|,0N*C?">
                      <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                      <field name="OID">deconz.0.Lights.2.on</field>
                      <field name="WITH_DELAY">FALSE</field>
                      <value name="VALUE">
                        <block type="logic_boolean" id="s8*e2{q4C*dnM05X]hp2">
                          <field name="BOOL">FALSE</field>
                        </block>
                      </value>
                    </block>
                  </statement>
                </block>
              </statement>
            </block>
          </next>
        </block>
        <block type="procedures_defnoreturn" id="ZgxzG*uk1aRy[?1*X8+4" x="-2162" y="-713">
          <field name="NAME">RotesLicht</field>
          <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
          <statement name="STACK">
            <block type="comment" id="8S!|kgONO})nn#0OXvkR">
              <field name="COMMENT">Rotes Nachtlicht</field>
              <next>
                <block type="control" id="5[O=cr$sHR}+AP62.U.N">
                  <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                  <field name="OID">deconz.0.Lights.2.on</field>
                  <field name="WITH_DELAY">FALSE</field>
                  <value name="VALUE">
                    <block type="logic_boolean" id="]l{ap*6(k|(%rk:6=i*1">
                      <field name="BOOL">TRUE</field>
                    </block>
                  </value>
                  <next>
                    <block type="control" id="H?SP5?]F2ZR+L7V]oGfd">
                      <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                      <field name="OID">deconz.0.Lights.2.bri</field>
                      <field name="WITH_DELAY">FALSE</field>
                      <value name="VALUE">
                        <block type="math_number" id="2Z+*Otge|:~b#:?m{~]8">
                          <field name="NUM">106</field>
                        </block>
                      </value>
                      <next>
                        <block type="control" id=";$[^4OLG=t~9q,(3q-aY">
                          <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                          <field name="OID">deconz.0.Lights.2.colorspeed</field>
                          <field name="WITH_DELAY">FALSE</field>
                          <value name="VALUE">
                            <block type="math_number" id="/^Ycr;y0Bk:CY~o4FrV|">
                              <field name="NUM">255</field>
                            </block>
                          </value>
                          <next>
                            <block type="control" id="-g;=w:2([HT0NJm[k5*4">
                              <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                              <field name="OID">deconz.0.Lights.2.ct</field>
                              <field name="WITH_DELAY">FALSE</field>
                              <value name="VALUE">
                                <block type="math_number" id="p7Ud{Oy*~=rfXz`7hP1W">
                                  <field name="NUM">153</field>
                                </block>
                              </value>
                              <next>
                                <block type="control" id="x!.x8X4i9u(y`]vVEe5_">
                                  <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                  <field name="OID">deconz.0.Lights.2.hue</field>
                                  <field name="WITH_DELAY">FALSE</field>
                                  <value name="VALUE">
                                    <block type="math_number" id="|iW#:8kCKc$US-ooImMT">
                                      <field name="NUM">0</field>
                                    </block>
                                  </value>
                                  <next>
                                    <block type="control" id="0sb=qc{CTuM!c4BjJku~">
                                      <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                      <field name="OID">deconz.0.Lights.2.level</field>
                                      <field name="WITH_DELAY">FALSE</field>
                                      <value name="VALUE">
                                        <block type="math_number" id="2^bad)jmtYUmGEFC3X:g">
                                          <field name="NUM">40</field>
                                        </block>
                                      </value>
                                      <next>
                                        <block type="control" id="J?%;tf5/2y0W]FZhpejb">
                                          <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                          <field name="OID">deconz.0.Lights.2.sat</field>
                                          <field name="WITH_DELAY">FALSE</field>
                                          <value name="VALUE">
                                            <block type="math_number" id=";)#]Oyg`d]4pnO60?B.Y">
                                              <field name="NUM">254</field>
                                            </block>
                                          </value>
                                          <next>
                                            <block type="control" id="%_a]AGZl1)nqj{KOgS7E">
                                              <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                              <field name="OID">deconz.0.Lights.2.xy</field>
                                              <field name="WITH_DELAY">FALSE</field>
                                              <value name="VALUE">
                                                <block type="text" id="Q?gT[vR8RnWl)1!,IVr#">
                                                  <field name="TEXT">[0.6915,0.3083]</field>
                                                </block>
                                              </value>
                                            </block>
                                          </next>
                                        </block>
                                      </next>
                                    </block>
                                  </next>
                                </block>
                              </next>
                            </block>
                          </next>
                        </block>
                      </next>
                    </block>
                  </next>
                </block>
              </next>
            </block>
          </statement>
        </block>
        <block type="procedures_defnoreturn" id="dAiXa}YS~j2Nx?Bgq6c5" x="-1512" y="-713">
          <field name="NAME">NormalesLicht</field>
          <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
          <statement name="STACK">
            <block type="comment" id="2*ck2*xfu3l!L7Bp.=4t">
              <field name="COMMENT">Normales Licht</field>
              <next>
                <block type="control" id="o@Z13aH(QL@(I:N#q?jV">
                  <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                  <field name="OID">deconz.0.Lights.2.on</field>
                  <field name="WITH_DELAY">FALSE</field>
                  <value name="VALUE">
                    <block type="logic_boolean" id=")SEzb7wsW%*L1j{r5~Wk">
                      <field name="BOOL">TRUE</field>
                    </block>
                  </value>
                  <next>
                    <block type="control" id="qLJY;M#BQ;@XH[LH9EYM">
                      <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                      <field name="OID">deconz.0.Lights.3.on</field>
                      <field name="WITH_DELAY">FALSE</field>
                      <value name="VALUE">
                        <block type="logic_boolean" id="C55k5`@Qr.Qh7IAVODO%">
                          <field name="BOOL">TRUE</field>
                        </block>
                      </value>
                      <next>
                        <block type="control" id="U9b8}17RMCcX)(_%K!l/">
                          <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                          <field name="OID">deconz.0.Lights.2.bri</field>
                          <field name="WITH_DELAY">FALSE</field>
                          <value name="VALUE">
                            <block type="math_number" id="Dv~u%231;0i,@q6IfqxK">
                              <field name="NUM">254</field>
                            </block>
                          </value>
                          <next>
                            <block type="control" id="AYgPuX_t4%Fq-P})z2nE">
                              <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                              <field name="OID">deconz.0.Lights.2.colorspeed</field>
                              <field name="WITH_DELAY">FALSE</field>
                              <value name="VALUE">
                                <block type="math_number" id="6u~^Sx(_T#8A0WG[|%@5">
                                  <field name="NUM">255</field>
                                </block>
                              </value>
                              <next>
                                <block type="control" id="Rb0[#lHZ)BhGRu]45O+:">
                                  <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                  <field name="OID">deconz.0.Lights.2.ct</field>
                                  <field name="WITH_DELAY">FALSE</field>
                                  <value name="VALUE">
                                    <block type="math_number" id="Sdi}ODVL$,z+Lu_2E#p6">
                                      <field name="NUM">366</field>
                                    </block>
                                  </value>
                                  <next>
                                    <block type="control" id="_f]w#tw{5SV/jvRY(5#L">
                                      <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                      <field name="OID">deconz.0.Lights.2.hue</field>
                                      <field name="WITH_DELAY">FALSE</field>
                                      <value name="VALUE">
                                        <block type="math_number" id="o.1/(GyPyl}/QPbDR41S">
                                          <field name="NUM">45.35</field>
                                        </block>
                                      </value>
                                      <next>
                                        <block type="control" id="#~g(|V%kK!~jT0FKYLYK">
                                          <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                          <field name="OID">deconz.0.Lights.2.level</field>
                                          <field name="WITH_DELAY">FALSE</field>
                                          <value name="VALUE">
                                            <block type="math_number" id="9K(d}zO[lm8fAH*r8SRc">
                                              <field name="NUM">100</field>
                                            </block>
                                          </value>
                                          <next>
                                            <block type="control" id="nC[0!@-7]JrdxVQ6@YS@">
                                              <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                              <field name="OID">deconz.0.Lights.2.sat</field>
                                              <field name="WITH_DELAY">FALSE</field>
                                              <value name="VALUE">
                                                <block type="math_number" id="j_eU{d0l_Gs[|`Fl20ZF">
                                                  <field name="NUM">140</field>
                                                </block>
                                              </value>
                                              <next>
                                                <block type="control" id="@8;?GjwpA7,tWTli4~#3">
                                                  <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                  <field name="OID">deconz.0.Lights.2.xy</field>
                                                  <field name="WITH_DELAY">FALSE</field>
                                                  <value name="VALUE">
                                                    <block type="text" id="ituY8i+kO7|?(vTe}ar{">
                                                      <field name="TEXT">[0.4574,0.41]</field>
                                                    </block>
                                                  </value>
                                                </block>
                                              </next>
                                            </block>
                                          </next>
                                        </block>
                                      </next>
                                    </block>
                                  </next>
                                </block>
                              </next>
                            </block>
                          </next>
                        </block>
                      </next>
                    </block>
                  </next>
                </block>
              </next>
            </block>
          </statement>
        </block>
        <block type="on_ext" id="`Y%JF,{cg%1Bj-`.;TMl" x="-3012" y="-237">
          <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="iQ49fRi#kD{7igRZqELd">
              <field name="oid">deconz.0.Sensors.7.presence</field>
            </shadow>
          </value>
          <statement name="STATEMENT">
            <block type="controls_if" id="///VE*By=FfDo#b9^IPW">
              <mutation elseif="2"></mutation>
              <value name="IF0">
                <block type="logic_operation" id="LUw~/3Bj3k8+t_,vW(]S" inline="false">
                  <field name="OP">AND</field>
                  <value name="A">
                    <block type="logic_compare" id="ycT^3WFnx?Pf#0V}d80j">
                      <field name="OP">EQ</field>
                      <value name="A">
                        <block type="get_value" id="^0c?0L6fTXH.kM8Mr!]a">
                          <field name="ATTR">val</field>
                          <field name="OID">deconz.0.Sensors.11.presence</field>
                        </block>
                      </value>
                      <value name="B">
                        <block type="logic_boolean" id="}f+kxsnVBrahD]7@y+[w">
                          <field name="BOOL">TRUE</field>
                        </block>
                      </value>
                    </block>
                  </value>
                  <value name="B">
                    <block type="logic_operation" id="2;0rlaoCi:A5G)b@M:XC" inline="false">
                      <field name="OP">AND</field>
                      <value name="A">
                        <block type="logic_compare" id="s8mMwope=b;g@9-y~e0L">
                          <field name="OP">EQ</field>
                          <value name="A">
                            <block type="variables_get" id="YM~W!AD9]^U$90d;-$:[">
                              <field name="VAR" id="h1_4=,A0g9,Q55TWH9J{">Nachtlicht</field>
                            </block>
                          </value>
                          <value name="B">
                            <block type="logic_boolean" id="5,~]EA=4B98Sjr^xMx^A">
                              <field name="BOOL">FALSE</field>
                            </block>
                          </value>
                        </block>
                      </value>
                      <value name="B">
                        <block type="logic_operation" id=":M8%O6DbfPdshD%9uAH+" inline="false">
                          <field name="OP">AND</field>
                          <value name="A">
                            <block type="logic_compare" id="6$#@==./4{z)[ojn3Q0`">
                              <field name="OP">LT</field>
                              <value name="A">
                                <block type="get_value" id="@Wi^N[V_UfByVm:_jO([">
                                  <field name="ATTR">val</field>
                                  <field name="OID">deconz.0.Sensors.12.lux</field>
                                </block>
                              </value>
                              <value name="B">
                                <block type="math_number" id="MFEM;m1T+J#i#=4NX9Oz">
                                  <field name="NUM">30</field>
                                </block>
                              </value>
                            </block>
                          </value>
                          <value name="B">
                            <block type="time_compare_ex" id="t(/)yVw6#gRqKX]qc#[6">
                              <mutation xmlns="http://www.w3.org/1999/xhtml" end_time="false" actual_time="true"></mutation>
                              <field name="USE_ACTUAL_TIME">TRUE</field>
                              <field name="OPTION">&lt;=</field>
                              <value name="START_TIME">
                                <shadow type="text" id="*8@TSu=8:VLUp:Zz#TbM">
                                  <field name="TEXT">20:00</field>
                                </shadow>
                              </value>
                            </block>
                          </value>
                        </block>
                      </value>
                    </block>
                  </value>
                </block>
              </value>
              <statement name="DO0">
                <block type="procedures_callnoreturn" id="Tiniq0taU,MSv_L:G1pH">
                  <mutation name="NormalesLicht"></mutation>
                </block>
              </statement>
              <value name="IF1">
                <block type="logic_operation" id="0rc5q^=vV7vaet,TBR~F" inline="false">
                  <field name="OP">AND</field>
                  <value name="A">
                    <block type="logic_compare" id="zi`^4,L|R-`+~ULM-Dv1">
                      <field name="OP">EQ</field>
                      <value name="A">
                        <block type="get_value" id="x-`~(MbyzpX()j;rKS^P">
                          <field name="ATTR">val</field>
                          <field name="OID">deconz.0.Sensors.11.presence</field>
                        </block>
                      </value>
                      <value name="B">
                        <block type="logic_boolean" id="bHx=70`=XUwRJK9^+~jg">
                          <field name="BOOL">TRUE</field>
                        </block>
                      </value>
                    </block>
                  </value>
                  <value name="B">
                    <block type="logic_operation" id="3}sBSfaH@;/Lvj^3$#t4" inline="false">
                      <field name="OP">AND</field>
                      <value name="A">
                        <block type="logic_compare" id="SPd5b$u5kNykL,|Yuc^S">
                          <field name="OP">EQ</field>
                          <value name="A">
                            <block type="variables_get" id="-4qk@+Ra5p_FG[`rdLvg">
                              <field name="VAR" id="h1_4=,A0g9,Q55TWH9J{">Nachtlicht</field>
                            </block>
                          </value>
                          <value name="B">
                            <block type="logic_boolean" id="yTb`Saa*0HB5S4}K+A~l">
                              <field name="BOOL">FALSE</field>
                            </block>
                          </value>
                        </block>
                      </value>
                      <value name="B">
                        <block type="logic_operation" id=":5,-5{^E~p(rJgUmOBd^" inline="false">
                          <field name="OP">AND</field>
                          <value name="A">
                            <block type="logic_compare" id="#rc5Q/F)o1i*2D3$Vjt4">
                              <field name="OP">LT</field>
                              <value name="A">
                                <block type="get_value" id="56katDRdTWfh?#cbto:O">
                                  <field name="ATTR">val</field>
                                  <field name="OID">deconz.0.Sensors.12.lux</field>
                                </block>
                              </value>
                              <value name="B">
                                <block type="math_number" id="aJ$V[7g.YU=Acul~47/g">
                                  <field name="NUM">30</field>
                                </block>
                              </value>
                            </block>
                          </value>
                          <value name="B">
                            <block type="time_compare_ex" id="R_0b+YE3gtc2EwBlyjpf">
                              <mutation xmlns="http://www.w3.org/1999/xhtml" end_time="false" actual_time="true"></mutation>
                              <field name="USE_ACTUAL_TIME">TRUE</field>
                              <field name="OPTION">&gt;</field>
                              <value name="START_TIME">
                                <shadow type="text" id="xUv@W_|x09PcMXu-_C5L">
                                  <field name="TEXT">20:00</field>
                                </shadow>
                              </value>
                            </block>
                          </value>
                        </block>
                      </value>
                    </block>
                  </value>
                </block>
              </value>
              <statement name="DO1">
                <block type="procedures_callnoreturn" id="OaiDH1kC;GPBBF=(!y18">
                  <mutation name="GedimmtesLicht"></mutation>
                </block>
              </statement>
              <value name="IF2">
                <block type="logic_compare" id="qPlPZ?s]G#uycm2U8@XR">
                  <field name="OP">EQ</field>
                  <value name="A">
                    <block type="get_value" id="gbO`B:Tk[nqJh/FgI0Tq">
                      <field name="ATTR">val</field>
                      <field name="OID">deconz.0.Sensors.11.presence</field>
                    </block>
                  </value>
                  <value name="B">
                    <block type="logic_boolean" id="$wu-XA#l5oYq`SHM)zsh">
                      <field name="BOOL">FALSE</field>
                    </block>
                  </value>
                </block>
              </value>
              <statement name="DO2">
                <block type="control" id="$0?L%e87=FZZ`=/!LZLu">
                  <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                  <field name="OID">deconz.0.Lights.2.on</field>
                  <field name="WITH_DELAY">FALSE</field>
                  <value name="VALUE">
                    <block type="logic_boolean" id="TFlblxWQ=U:X/#7(~zR%">
                      <field name="BOOL">FALSE</field>
                    </block>
                  </value>
                  <next>
                    <block type="control" id="DNf}Q(i/K/fj_6ce?`$q">
                      <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                      <field name="OID">deconz.0.Lights.3.on</field>
                      <field name="WITH_DELAY">FALSE</field>
                      <value name="VALUE">
                        <block type="logic_boolean" id="?[-KcXb^70u[Al{et8}Z">
                          <field name="BOOL">FALSE</field>
                        </block>
                      </value>
                    </block>
                  </next>
                </block>
              </statement>
            </block>
          </statement>
        </block>
        <block type="procedures_defnoreturn" id="ISGw^:.$+F5c`n0x60l{" x="-1538" y="-237">
          <field name="NAME">GedimmtesLicht</field>
          <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
          <statement name="STACK">
            <block type="comment" id="J6?fE9+eCD{LFmhku8E$">
              <field name="COMMENT">Gedimmtes Licht</field>
              <next>
                <block type="control" id="v:t2!~dO$1P]7p[5oh.f">
                  <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                  <field name="OID">deconz.0.Lights.2.on</field>
                  <field name="WITH_DELAY">FALSE</field>
                  <value name="VALUE">
                    <block type="logic_boolean" id=";Cre$u?dD+vN63nuv;;c">
                      <field name="BOOL">TRUE</field>
                    </block>
                  </value>
                  <next>
                    <block type="control" id="?O6O%4,h|3SY+HO|j]=z">
                      <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                      <field name="OID">deconz.0.Lights.3.on</field>
                      <field name="WITH_DELAY">FALSE</field>
                      <value name="VALUE">
                        <block type="logic_boolean" id="!o~@Aiv.f24N1-tRh=f+">
                          <field name="BOOL">TRUE</field>
                        </block>
                      </value>
                      <next>
                        <block type="control" id="}372/}iy46r)xYK5jO!L">
                          <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                          <field name="OID">deconz.0.Lights.2.bri</field>
                          <field name="WITH_DELAY">FALSE</field>
                          <value name="VALUE">
                            <block type="math_number" id="/1:eV1DXiyf!_Ez?VY}#">
                              <field name="NUM">254</field>
                            </block>
                          </value>
                          <next>
                            <block type="control" id="s_~40tfvwA~.KvOw~:[I">
                              <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                              <field name="OID">deconz.0.Lights.2.colorspeed</field>
                              <field name="WITH_DELAY">FALSE</field>
                              <value name="VALUE">
                                <block type="math_number" id="GjVwTCWPa{.]B:m#YJ44">
                                  <field name="NUM">255</field>
                                </block>
                              </value>
                              <next>
                                <block type="control" id="}nn036u[M{1#0p9F1gXk">
                                  <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                  <field name="OID">deconz.0.Lights.2.ct</field>
                                  <field name="WITH_DELAY">FALSE</field>
                                  <value name="VALUE">
                                    <block type="math_number" id="[C)S!nO1}6w?1.0UG,Vm">
                                      <field name="NUM">366</field>
                                    </block>
                                  </value>
                                  <next>
                                    <block type="control" id="xR?/5|l9r_$:9O;br[Jq">
                                      <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                      <field name="OID">deconz.0.Lights.2.hue</field>
                                      <field name="WITH_DELAY">FALSE</field>
                                      <value name="VALUE">
                                        <block type="math_number" id="weV1m+[26Wy^HGft9Myo">
                                          <field name="NUM">45.35</field>
                                        </block>
                                      </value>
                                      <next>
                                        <block type="control" id="AKrl5aC=^tJ]Og}!fmJu">
                                          <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                          <field name="OID">deconz.0.Lights.2.level</field>
                                          <field name="WITH_DELAY">FALSE</field>
                                          <value name="VALUE">
                                            <block type="math_number" id="^n?HZB/N%0uc[q37~OE1">
                                              <field name="NUM">50</field>
                                            </block>
                                          </value>
                                          <next>
                                            <block type="control" id="BhF-kCmq,tg{4(XLSs?-">
                                              <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                              <field name="OID">deconz.0.Lights.3.level</field>
                                              <field name="WITH_DELAY">FALSE</field>
                                              <value name="VALUE">
                                                <block type="math_number" id="RBlgvjOEb+f*5LT?^XOB">
                                                  <field name="NUM">50</field>
                                                </block>
                                              </value>
                                              <next>
                                                <block type="control" id="b9X{R02:]{,9JOFy#gD`">
                                                  <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                  <field name="OID">deconz.0.Lights.2.sat</field>
                                                  <field name="WITH_DELAY">FALSE</field>
                                                  <value name="VALUE">
                                                    <block type="math_number" id="YVZi3#pjM5wHdB:Z(.kk">
                                                      <field name="NUM">140</field>
                                                    </block>
                                                  </value>
                                                  <next>
                                                    <block type="control" id="nOTdKL0Wbi*,U-)6m/@b">
                                                      <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                      <field name="OID">deconz.0.Lights.2.xy</field>
                                                      <field name="WITH_DELAY">FALSE</field>
                                                      <value name="VALUE">
                                                        <block type="text" id="MmdFhS]Hu?lBHK@1=(eW">
                                                          <field name="TEXT">[0.4574,0.41]</field>
                                                        </block>
                                                      </value>
                                                    </block>
                                                  </next>
                                                </block>
                                              </next>
                                            </block>
                                          </next>
                                        </block>
                                      </next>
                                    </block>
                                  </next>
                                </block>
                              </next>
                            </block>
                          </next>
                        </block>
                      </next>
                    </block>
                  </next>
                </block>
              </next>
            </block>
          </statement>
        </block>
      </xml>
      
      
      posted in Blockly
      O
      Ole 0
    • RE: IRobot Roomba Adapter

      @manu4771

      Moin,

      ich habe am Wochenende ebenfalls meinen e5 in den ioBroker eingebunden und das selbe Problem wie @SaimenSays und @manu4771. Der Roboter geht nicht mehr in den Standby Modus. Die aktuelle Software ist 3.4.62-95.

      Das Intervall für die Aktualisierung habe ich unter den Adapter Einstellungen bereit auf 0 Sekunden gesetzt, leider ohne Erfolg.

      Vielen Dank schonmal!

      posted in ioBroker Allgemein
      O
      Ole 0
    Community
    Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
    The ioBroker Community 2014-2023
    logo