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

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

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. Skripten / Logik
  4. Blockly
  5. vermutliche Variablen Probleme nach Update von Raspberry

NEWS

  • Neuer ioBroker-Blog online: Monatsrückblick März/April 2026
    BluefoxB
    Bluefox
    8
    1
    447

  • Verwendung von KI bitte immer deutlich kennzeichnen
    HomoranH
    Homoran
    10
    1
    370

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

vermutliche Variablen Probleme nach Update von Raspberry

Geplant Angeheftet Gesperrt Verschoben Blockly
9 Beiträge 3 Kommentatoren 641 Aufrufe 2 Beobachtet
  • Älteste zuerst
  • Neuste zuerst
  • Meiste Stimmen
Antworten
  • In einem neuen Thema antworten
Anmelden zum Antworten
Dieses Thema wurde gelöscht. Nur Nutzer mit entsprechenden Rechten können es sehen.
  • I Offline
    I Offline
    Idefix01
    schrieb am zuletzt editiert von
    #1

    Hallöchen,

    ich habe gestern ein Update meines Raspberry gemacht über folgende Befehle:

    sudo apt-get update
    sudo apt-get upgrade

    Nun habe ich ein Blocky Script wo ich in der Vis manuelle Zeiten zum schalten festlegen kann. Aber leider funktioniert das Blockly nicht mehr, sondern nur noch mein zweites Blockly mit festen Zeiten!

    Unten habe ich mal das Blockly eingefügt, das momentan aktive funktioniert und das deaktivierte leider nicht.
    Ich hoffe es hat jemand eine Lösung für mich

    <xml xmlns="https://developers.google.com/blockly/xml">
      <variables>
        <variable id="ugiv5B]TX3S,*x=0+.BQ">Start links</variable>
        <variable id="/4Emkj@D}3;l45R85kJ1">Ende links</variable>
        <variable id="xTh.k8VRchSh/H?kgT;[">Start rechts</variable>
        <variable id="gGnp]{djcPS7NyQ|v~J8">Ende rechts</variable>
      </variables>
      <block type="schedule" id="xt;|[Dt9O()}lK_0V$^j" x="-12" y="-87">
        <field name="SCHEDULE">{"time":{"exactTime":true,"start":"08:00"},"period":{"days":1}}</field>
        <statement name="STATEMENT">
          <block type="control" id="7Dp;9zp}.,yH~bYuRHg1">
            <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
            <field name="OID">hm-rpc.0.00089D89BA1849.2.STATE</field>
            <field name="WITH_DELAY">FALSE</field>
            <value name="VALUE">
              <block type="logic_boolean" id="A+PGO@|Op-hVcOOgmjeb">
                <field name="BOOL">TRUE</field>
              </block>
            </value>
            <next>
              <block type="control" id="wAh@!Ny?(^-yEPwSsE1u">
                <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                <field name="OID">hm-rpc.0.00089D89BA1550.2.STATE</field>
                <field name="WITH_DELAY">FALSE</field>
                <value name="VALUE">
                  <block type="logic_boolean" id="VIK$M%CZ[ur2)kxg|y~d">
                    <field name="BOOL">TRUE</field>
                  </block>
                </value>
              </block>
            </next>
          </block>
        </statement>
        <next>
          <block type="schedule" id="n8d%lA9_[kJ9Fq{GzA4Q">
            <field name="SCHEDULE">{"time":{"exactTime":true,"start":"20:00"},"period":{"days":1}}</field>
            <statement name="STATEMENT">
              <block type="control" id="WVs8RVC57g};Hw;WGkWh">
                <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                <field name="OID">hm-rpc.0.00089D89BA1849.2.STATE</field>
                <field name="WITH_DELAY">FALSE</field>
                <value name="VALUE">
                  <block type="logic_boolean" id="pqKwd+pJd)8Uy[FU_4$7">
                    <field name="BOOL">FALSE</field>
                  </block>
                </value>
                <next>
                  <block type="control" id="K*R5ItsH}vOgk^:orgEc">
                    <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                    <field name="OID">hm-rpc.0.00089D89BA1550.2.STATE</field>
                    <field name="WITH_DELAY">FALSE</field>
                    <value name="VALUE">
                      <block type="logic_boolean" id="4*L3n+Toh1ik{V|?![Pu">
                        <field name="BOOL">FALSE</field>
                      </block>
                    </value>
                  </block>
                </next>
              </block>
            </statement>
          </block>
        </next>
      </block>
      <block type="on_ext" id="?9/,w^`G~RV^S8B6XJi~" disabled="true" x="-737" y="38">
        <mutation xmlns="http://www.w3.org/1999/xhtml" items="2"></mutation>
        <field name="CONDITION">ne</field>
        <field name="ACK_CONDITION"></field>
        <value name="OID0">
          <shadow type="field_oid" id="s]`w,37WvHNI8@uWGLRG">
            <field name="oid">javascript.0.Anzucht.links.Ende</field>
          </shadow>
        </value>
        <value name="OID1">
          <shadow type="field_oid" id="]QZ#6_wHE2i,NdEdNrwn">
            <field name="oid">javascript.0.Anzucht.links.Start</field>
          </shadow>
        </value>
        <statement name="STATEMENT">
          <block type="controls_if" id=";W}i183BQ/mFLI(G%Lc)">
            <value name="IF0">
              <block type="logic_compare" id="ZLYfwDtT07m,UAs#IZ~~">
                <field name="OP">EQ</field>
                <value name="A">
                  <block type="get_value" id="z@^GK2DP%N,Soy:=2EvL">
                    <field name="ATTR">val</field>
                    <field name="OID">javascript.0.Anzucht.links.aktiv</field>
                  </block>
                </value>
                <value name="B">
                  <block type="logic_boolean" id="S`W9xW_5E$cdj|wbyHK:">
                    <field name="BOOL">TRUE</field>
                  </block>
                </value>
              </block>
            </value>
            <statement name="DO0">
              <block type="variables_set" id="fhOUfsR(y`!;UHu5!@7J">
                <field name="VAR" id="ugiv5B]TX3S,*x=0+.BQ">Start links</field>
                <value name="VALUE">
                  <block type="get_value" id="/%%me^!|ryJ=rq@/ah)c">
                    <field name="ATTR">val</field>
                    <field name="OID">javascript.0.Anzucht.links.Start</field>
                  </block>
                </value>
                <next>
                  <block type="variables_set" id="|2+oej2ygH81{Y(5Fs0?">
                    <field name="VAR" id="/4Emkj@D}3;l45R85kJ1">Ende links</field>
                    <value name="VALUE">
                      <block type="get_value" id="]bK3B:G||_#Fl?4Ro`ok">
                        <field name="ATTR">val</field>
                        <field name="OID">javascript.0.Anzucht.links.Ende</field>
                      </block>
                    </value>
                  </block>
                </next>
              </block>
            </statement>
          </block>
        </statement>
        <next>
          <block type="controls_if" id="^+MCu[2V8)D|.u~hffG4" disabled="true">
            <value name="IF0">
              <block type="variables_get" id="4rZn$U^v@kydh5K8^d$t">
                <field name="VAR" id="ugiv5B]TX3S,*x=0+.BQ">Start links</field>
              </block>
            </value>
            <statement name="DO0">
              <block type="control" id="zZ#w.#N=YGu7(gLB}A)3">
                <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                <field name="OID">hm-rpc.0.00089D89BA1849.2.STATE</field>
                <field name="WITH_DELAY">FALSE</field>
                <value name="VALUE">
                  <block type="logic_boolean" id="`JOL~4)Q4j~JHoOuS$y6">
                    <field name="BOOL">TRUE</field>
                  </block>
                </value>
              </block>
            </statement>
            <next>
              <block type="controls_if" id="59}:KNUBR82Jd@N1L)wW" disabled="true">
                <value name="IF0">
                  <block type="variables_get" id="[|tg@I@moC[;-AA$MM|6">
                    <field name="VAR" id="/4Emkj@D}3;l45R85kJ1">Ende links</field>
                  </block>
                </value>
                <statement name="DO0">
                  <block type="control" id="SK)2DxMNQNRSzh8z(^!]">
                    <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                    <field name="OID">hm-rpc.0.00089D89BA1849.2.STATE</field>
                    <field name="WITH_DELAY">FALSE</field>
                    <value name="VALUE">
                      <block type="logic_boolean" id="CW4b|/`x^uF#y*ra|^C`">
                        <field name="BOOL">FALSE</field>
                      </block>
                    </value>
                  </block>
                </statement>
                <next>
                  <block type="on_ext" id="@]+fT0WMAAD$+!Q~{vJg" disabled="true">
                    <mutation xmlns="http://www.w3.org/1999/xhtml" items="2"></mutation>
                    <field name="CONDITION">ne</field>
                    <field name="ACK_CONDITION"></field>
                    <value name="OID0">
                      <shadow type="field_oid" id="$6HZ1)msjJ#1p|+b~8-p">
                        <field name="oid">javascript.0.Anzucht.rechts.Ende</field>
                      </shadow>
                    </value>
                    <value name="OID1">
                      <shadow type="field_oid" id="UqR8hli}*W1=phhELGZg">
                        <field name="oid">javascript.0.Anzucht.rechts.Start</field>
                      </shadow>
                    </value>
                    <statement name="STATEMENT">
                      <block type="controls_if" id="?A?.5a{TGEsFKI![s.Bu">
                        <value name="IF0">
                          <block type="logic_compare" id="63{/9V;oKO$%fZaw/%=:">
                            <field name="OP">EQ</field>
                            <value name="A">
                              <block type="get_value" id="|,H[-;uLmD4Kuu2?tY5x">
                                <field name="ATTR">val</field>
                                <field name="OID">javascript.0.Anzucht.rechts.aktiv</field>
                              </block>
                            </value>
                            <value name="B">
                              <block type="logic_boolean" id="4x#wyjW=gj~47Rx[aw),">
                                <field name="BOOL">TRUE</field>
                              </block>
                            </value>
                          </block>
                        </value>
                        <statement name="DO0">
                          <block type="variables_set" id="A7Vk$:wZ[/R4!4L[aRI-">
                            <field name="VAR" id="xTh.k8VRchSh/H?kgT;[">Start rechts</field>
                            <value name="VALUE">
                              <block type="get_value" id="#b85)Z2Dh3D-*Pg){y*~">
                                <field name="ATTR">val</field>
                                <field name="OID">javascript.0.Anzucht.rechts.Start</field>
                              </block>
                            </value>
                            <next>
                              <block type="variables_set" id="e-^W|;d%Fa3/i3_4]Eo?">
                                <field name="VAR" id="gGnp]{djcPS7NyQ|v~J8">Ende rechts</field>
                                <value name="VALUE">
                                  <block type="get_value" id="OhnF2%daWyST`G4|RT2Q">
                                    <field name="ATTR">val</field>
                                    <field name="OID">javascript.0.Anzucht.rechts.Ende</field>
                                  </block>
                                </value>
                              </block>
                            </next>
                          </block>
                        </statement>
                      </block>
                    </statement>
                    <next>
                      <block type="controls_if" id="kW-v%FxOssZG.BNX`0G_" disabled="true">
                        <value name="IF0">
                          <block type="variables_get" id="{;r:?IMsA?Hb{eBHGX_%">
                            <field name="VAR" id="xTh.k8VRchSh/H?kgT;[">Start rechts</field>
                          </block>
                        </value>
                        <statement name="DO0">
                          <block type="control" id=".5eC4i6|cVOi@SA@RCT.">
                            <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                            <field name="OID">hm-rpc.0.00089D89BA1550.2.STATE</field>
                            <field name="WITH_DELAY">FALSE</field>
                            <value name="VALUE">
                              <block type="logic_boolean" id="`JIDDE`H5nX/_.Q_-pJB">
                                <field name="BOOL">TRUE</field>
                              </block>
                            </value>
                          </block>
                        </statement>
                        <next>
                          <block type="controls_if" id=",RJ}fx]gLGuZx2ux*vwo" disabled="true">
                            <value name="IF0">
                              <block type="variables_get" id="r!Jvd*7$Sen8Rl(J1*L6">
                                <field name="VAR" id="gGnp]{djcPS7NyQ|v~J8">Ende rechts</field>
                              </block>
                            </value>
                            <statement name="DO0">
                              <block type="control" id="fvKYjKZx%_n14~L9~N,s">
                                <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                <field name="OID">hm-rpc.0.00089D89BA1550.2.STATE</field>
                                <field name="WITH_DELAY">FALSE</field>
                                <value name="VALUE">
                                  <block type="logic_boolean" id="(G?ECvKzi^ZiNR~f,D64">
                                    <field name="BOOL">FALSE</field>
                                  </block>
                                </value>
                              </block>
                            </statement>
                          </block>
                        </next>
                      </block>
                    </next>
                  </block>
                </next>
              </block>
            </next>
          </block>
        </next>
      </block>
    </xml>
    
    DJMarc75D paul53P 2 Antworten Letzte Antwort
    0
    • I Idefix01

      Hallöchen,

      ich habe gestern ein Update meines Raspberry gemacht über folgende Befehle:

      sudo apt-get update
      sudo apt-get upgrade

      Nun habe ich ein Blocky Script wo ich in der Vis manuelle Zeiten zum schalten festlegen kann. Aber leider funktioniert das Blockly nicht mehr, sondern nur noch mein zweites Blockly mit festen Zeiten!

      Unten habe ich mal das Blockly eingefügt, das momentan aktive funktioniert und das deaktivierte leider nicht.
      Ich hoffe es hat jemand eine Lösung für mich

      <xml xmlns="https://developers.google.com/blockly/xml">
        <variables>
          <variable id="ugiv5B]TX3S,*x=0+.BQ">Start links</variable>
          <variable id="/4Emkj@D}3;l45R85kJ1">Ende links</variable>
          <variable id="xTh.k8VRchSh/H?kgT;[">Start rechts</variable>
          <variable id="gGnp]{djcPS7NyQ|v~J8">Ende rechts</variable>
        </variables>
        <block type="schedule" id="xt;|[Dt9O()}lK_0V$^j" x="-12" y="-87">
          <field name="SCHEDULE">{"time":{"exactTime":true,"start":"08:00"},"period":{"days":1}}</field>
          <statement name="STATEMENT">
            <block type="control" id="7Dp;9zp}.,yH~bYuRHg1">
              <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
              <field name="OID">hm-rpc.0.00089D89BA1849.2.STATE</field>
              <field name="WITH_DELAY">FALSE</field>
              <value name="VALUE">
                <block type="logic_boolean" id="A+PGO@|Op-hVcOOgmjeb">
                  <field name="BOOL">TRUE</field>
                </block>
              </value>
              <next>
                <block type="control" id="wAh@!Ny?(^-yEPwSsE1u">
                  <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                  <field name="OID">hm-rpc.0.00089D89BA1550.2.STATE</field>
                  <field name="WITH_DELAY">FALSE</field>
                  <value name="VALUE">
                    <block type="logic_boolean" id="VIK$M%CZ[ur2)kxg|y~d">
                      <field name="BOOL">TRUE</field>
                    </block>
                  </value>
                </block>
              </next>
            </block>
          </statement>
          <next>
            <block type="schedule" id="n8d%lA9_[kJ9Fq{GzA4Q">
              <field name="SCHEDULE">{"time":{"exactTime":true,"start":"20:00"},"period":{"days":1}}</field>
              <statement name="STATEMENT">
                <block type="control" id="WVs8RVC57g};Hw;WGkWh">
                  <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                  <field name="OID">hm-rpc.0.00089D89BA1849.2.STATE</field>
                  <field name="WITH_DELAY">FALSE</field>
                  <value name="VALUE">
                    <block type="logic_boolean" id="pqKwd+pJd)8Uy[FU_4$7">
                      <field name="BOOL">FALSE</field>
                    </block>
                  </value>
                  <next>
                    <block type="control" id="K*R5ItsH}vOgk^:orgEc">
                      <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                      <field name="OID">hm-rpc.0.00089D89BA1550.2.STATE</field>
                      <field name="WITH_DELAY">FALSE</field>
                      <value name="VALUE">
                        <block type="logic_boolean" id="4*L3n+Toh1ik{V|?![Pu">
                          <field name="BOOL">FALSE</field>
                        </block>
                      </value>
                    </block>
                  </next>
                </block>
              </statement>
            </block>
          </next>
        </block>
        <block type="on_ext" id="?9/,w^`G~RV^S8B6XJi~" disabled="true" x="-737" y="38">
          <mutation xmlns="http://www.w3.org/1999/xhtml" items="2"></mutation>
          <field name="CONDITION">ne</field>
          <field name="ACK_CONDITION"></field>
          <value name="OID0">
            <shadow type="field_oid" id="s]`w,37WvHNI8@uWGLRG">
              <field name="oid">javascript.0.Anzucht.links.Ende</field>
            </shadow>
          </value>
          <value name="OID1">
            <shadow type="field_oid" id="]QZ#6_wHE2i,NdEdNrwn">
              <field name="oid">javascript.0.Anzucht.links.Start</field>
            </shadow>
          </value>
          <statement name="STATEMENT">
            <block type="controls_if" id=";W}i183BQ/mFLI(G%Lc)">
              <value name="IF0">
                <block type="logic_compare" id="ZLYfwDtT07m,UAs#IZ~~">
                  <field name="OP">EQ</field>
                  <value name="A">
                    <block type="get_value" id="z@^GK2DP%N,Soy:=2EvL">
                      <field name="ATTR">val</field>
                      <field name="OID">javascript.0.Anzucht.links.aktiv</field>
                    </block>
                  </value>
                  <value name="B">
                    <block type="logic_boolean" id="S`W9xW_5E$cdj|wbyHK:">
                      <field name="BOOL">TRUE</field>
                    </block>
                  </value>
                </block>
              </value>
              <statement name="DO0">
                <block type="variables_set" id="fhOUfsR(y`!;UHu5!@7J">
                  <field name="VAR" id="ugiv5B]TX3S,*x=0+.BQ">Start links</field>
                  <value name="VALUE">
                    <block type="get_value" id="/%%me^!|ryJ=rq@/ah)c">
                      <field name="ATTR">val</field>
                      <field name="OID">javascript.0.Anzucht.links.Start</field>
                    </block>
                  </value>
                  <next>
                    <block type="variables_set" id="|2+oej2ygH81{Y(5Fs0?">
                      <field name="VAR" id="/4Emkj@D}3;l45R85kJ1">Ende links</field>
                      <value name="VALUE">
                        <block type="get_value" id="]bK3B:G||_#Fl?4Ro`ok">
                          <field name="ATTR">val</field>
                          <field name="OID">javascript.0.Anzucht.links.Ende</field>
                        </block>
                      </value>
                    </block>
                  </next>
                </block>
              </statement>
            </block>
          </statement>
          <next>
            <block type="controls_if" id="^+MCu[2V8)D|.u~hffG4" disabled="true">
              <value name="IF0">
                <block type="variables_get" id="4rZn$U^v@kydh5K8^d$t">
                  <field name="VAR" id="ugiv5B]TX3S,*x=0+.BQ">Start links</field>
                </block>
              </value>
              <statement name="DO0">
                <block type="control" id="zZ#w.#N=YGu7(gLB}A)3">
                  <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                  <field name="OID">hm-rpc.0.00089D89BA1849.2.STATE</field>
                  <field name="WITH_DELAY">FALSE</field>
                  <value name="VALUE">
                    <block type="logic_boolean" id="`JOL~4)Q4j~JHoOuS$y6">
                      <field name="BOOL">TRUE</field>
                    </block>
                  </value>
                </block>
              </statement>
              <next>
                <block type="controls_if" id="59}:KNUBR82Jd@N1L)wW" disabled="true">
                  <value name="IF0">
                    <block type="variables_get" id="[|tg@I@moC[;-AA$MM|6">
                      <field name="VAR" id="/4Emkj@D}3;l45R85kJ1">Ende links</field>
                    </block>
                  </value>
                  <statement name="DO0">
                    <block type="control" id="SK)2DxMNQNRSzh8z(^!]">
                      <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                      <field name="OID">hm-rpc.0.00089D89BA1849.2.STATE</field>
                      <field name="WITH_DELAY">FALSE</field>
                      <value name="VALUE">
                        <block type="logic_boolean" id="CW4b|/`x^uF#y*ra|^C`">
                          <field name="BOOL">FALSE</field>
                        </block>
                      </value>
                    </block>
                  </statement>
                  <next>
                    <block type="on_ext" id="@]+fT0WMAAD$+!Q~{vJg" disabled="true">
                      <mutation xmlns="http://www.w3.org/1999/xhtml" items="2"></mutation>
                      <field name="CONDITION">ne</field>
                      <field name="ACK_CONDITION"></field>
                      <value name="OID0">
                        <shadow type="field_oid" id="$6HZ1)msjJ#1p|+b~8-p">
                          <field name="oid">javascript.0.Anzucht.rechts.Ende</field>
                        </shadow>
                      </value>
                      <value name="OID1">
                        <shadow type="field_oid" id="UqR8hli}*W1=phhELGZg">
                          <field name="oid">javascript.0.Anzucht.rechts.Start</field>
                        </shadow>
                      </value>
                      <statement name="STATEMENT">
                        <block type="controls_if" id="?A?.5a{TGEsFKI![s.Bu">
                          <value name="IF0">
                            <block type="logic_compare" id="63{/9V;oKO$%fZaw/%=:">
                              <field name="OP">EQ</field>
                              <value name="A">
                                <block type="get_value" id="|,H[-;uLmD4Kuu2?tY5x">
                                  <field name="ATTR">val</field>
                                  <field name="OID">javascript.0.Anzucht.rechts.aktiv</field>
                                </block>
                              </value>
                              <value name="B">
                                <block type="logic_boolean" id="4x#wyjW=gj~47Rx[aw),">
                                  <field name="BOOL">TRUE</field>
                                </block>
                              </value>
                            </block>
                          </value>
                          <statement name="DO0">
                            <block type="variables_set" id="A7Vk$:wZ[/R4!4L[aRI-">
                              <field name="VAR" id="xTh.k8VRchSh/H?kgT;[">Start rechts</field>
                              <value name="VALUE">
                                <block type="get_value" id="#b85)Z2Dh3D-*Pg){y*~">
                                  <field name="ATTR">val</field>
                                  <field name="OID">javascript.0.Anzucht.rechts.Start</field>
                                </block>
                              </value>
                              <next>
                                <block type="variables_set" id="e-^W|;d%Fa3/i3_4]Eo?">
                                  <field name="VAR" id="gGnp]{djcPS7NyQ|v~J8">Ende rechts</field>
                                  <value name="VALUE">
                                    <block type="get_value" id="OhnF2%daWyST`G4|RT2Q">
                                      <field name="ATTR">val</field>
                                      <field name="OID">javascript.0.Anzucht.rechts.Ende</field>
                                    </block>
                                  </value>
                                </block>
                              </next>
                            </block>
                          </statement>
                        </block>
                      </statement>
                      <next>
                        <block type="controls_if" id="kW-v%FxOssZG.BNX`0G_" disabled="true">
                          <value name="IF0">
                            <block type="variables_get" id="{;r:?IMsA?Hb{eBHGX_%">
                              <field name="VAR" id="xTh.k8VRchSh/H?kgT;[">Start rechts</field>
                            </block>
                          </value>
                          <statement name="DO0">
                            <block type="control" id=".5eC4i6|cVOi@SA@RCT.">
                              <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                              <field name="OID">hm-rpc.0.00089D89BA1550.2.STATE</field>
                              <field name="WITH_DELAY">FALSE</field>
                              <value name="VALUE">
                                <block type="logic_boolean" id="`JIDDE`H5nX/_.Q_-pJB">
                                  <field name="BOOL">TRUE</field>
                                </block>
                              </value>
                            </block>
                          </statement>
                          <next>
                            <block type="controls_if" id=",RJ}fx]gLGuZx2ux*vwo" disabled="true">
                              <value name="IF0">
                                <block type="variables_get" id="r!Jvd*7$Sen8Rl(J1*L6">
                                  <field name="VAR" id="gGnp]{djcPS7NyQ|v~J8">Ende rechts</field>
                                </block>
                              </value>
                              <statement name="DO0">
                                <block type="control" id="fvKYjKZx%_n14~L9~N,s">
                                  <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                  <field name="OID">hm-rpc.0.00089D89BA1550.2.STATE</field>
                                  <field name="WITH_DELAY">FALSE</field>
                                  <value name="VALUE">
                                    <block type="logic_boolean" id="(G?ECvKzi^ZiNR~f,D64">
                                      <field name="BOOL">FALSE</field>
                                    </block>
                                  </value>
                                </block>
                              </statement>
                            </block>
                          </next>
                        </block>
                      </next>
                    </block>
                  </next>
                </block>
              </next>
            </block>
          </next>
        </block>
      </xml>
      
      DJMarc75D Offline
      DJMarc75D Offline
      DJMarc75
      schrieb am zuletzt editiert von
      #2

      @idefix01 zusätzlich Bild davon bitte zeigen damit man auch am Smartphone helfen kann ;)

      Lehrling seit 1975 !!!
      Beitrag geholfen ? dann gerne ein upvote rechts unten im Beitrag klicken ;)
      https://forum.iobroker.net/topic/51555/hinweise-f%C3%BCr-gute-forenbeitr%C3%A4ge

      I 1 Antwort Letzte Antwort
      0
      • I Idefix01

        Hallöchen,

        ich habe gestern ein Update meines Raspberry gemacht über folgende Befehle:

        sudo apt-get update
        sudo apt-get upgrade

        Nun habe ich ein Blocky Script wo ich in der Vis manuelle Zeiten zum schalten festlegen kann. Aber leider funktioniert das Blockly nicht mehr, sondern nur noch mein zweites Blockly mit festen Zeiten!

        Unten habe ich mal das Blockly eingefügt, das momentan aktive funktioniert und das deaktivierte leider nicht.
        Ich hoffe es hat jemand eine Lösung für mich

        <xml xmlns="https://developers.google.com/blockly/xml">
          <variables>
            <variable id="ugiv5B]TX3S,*x=0+.BQ">Start links</variable>
            <variable id="/4Emkj@D}3;l45R85kJ1">Ende links</variable>
            <variable id="xTh.k8VRchSh/H?kgT;[">Start rechts</variable>
            <variable id="gGnp]{djcPS7NyQ|v~J8">Ende rechts</variable>
          </variables>
          <block type="schedule" id="xt;|[Dt9O()}lK_0V$^j" x="-12" y="-87">
            <field name="SCHEDULE">{"time":{"exactTime":true,"start":"08:00"},"period":{"days":1}}</field>
            <statement name="STATEMENT">
              <block type="control" id="7Dp;9zp}.,yH~bYuRHg1">
                <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                <field name="OID">hm-rpc.0.00089D89BA1849.2.STATE</field>
                <field name="WITH_DELAY">FALSE</field>
                <value name="VALUE">
                  <block type="logic_boolean" id="A+PGO@|Op-hVcOOgmjeb">
                    <field name="BOOL">TRUE</field>
                  </block>
                </value>
                <next>
                  <block type="control" id="wAh@!Ny?(^-yEPwSsE1u">
                    <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                    <field name="OID">hm-rpc.0.00089D89BA1550.2.STATE</field>
                    <field name="WITH_DELAY">FALSE</field>
                    <value name="VALUE">
                      <block type="logic_boolean" id="VIK$M%CZ[ur2)kxg|y~d">
                        <field name="BOOL">TRUE</field>
                      </block>
                    </value>
                  </block>
                </next>
              </block>
            </statement>
            <next>
              <block type="schedule" id="n8d%lA9_[kJ9Fq{GzA4Q">
                <field name="SCHEDULE">{"time":{"exactTime":true,"start":"20:00"},"period":{"days":1}}</field>
                <statement name="STATEMENT">
                  <block type="control" id="WVs8RVC57g};Hw;WGkWh">
                    <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                    <field name="OID">hm-rpc.0.00089D89BA1849.2.STATE</field>
                    <field name="WITH_DELAY">FALSE</field>
                    <value name="VALUE">
                      <block type="logic_boolean" id="pqKwd+pJd)8Uy[FU_4$7">
                        <field name="BOOL">FALSE</field>
                      </block>
                    </value>
                    <next>
                      <block type="control" id="K*R5ItsH}vOgk^:orgEc">
                        <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                        <field name="OID">hm-rpc.0.00089D89BA1550.2.STATE</field>
                        <field name="WITH_DELAY">FALSE</field>
                        <value name="VALUE">
                          <block type="logic_boolean" id="4*L3n+Toh1ik{V|?![Pu">
                            <field name="BOOL">FALSE</field>
                          </block>
                        </value>
                      </block>
                    </next>
                  </block>
                </statement>
              </block>
            </next>
          </block>
          <block type="on_ext" id="?9/,w^`G~RV^S8B6XJi~" disabled="true" x="-737" y="38">
            <mutation xmlns="http://www.w3.org/1999/xhtml" items="2"></mutation>
            <field name="CONDITION">ne</field>
            <field name="ACK_CONDITION"></field>
            <value name="OID0">
              <shadow type="field_oid" id="s]`w,37WvHNI8@uWGLRG">
                <field name="oid">javascript.0.Anzucht.links.Ende</field>
              </shadow>
            </value>
            <value name="OID1">
              <shadow type="field_oid" id="]QZ#6_wHE2i,NdEdNrwn">
                <field name="oid">javascript.0.Anzucht.links.Start</field>
              </shadow>
            </value>
            <statement name="STATEMENT">
              <block type="controls_if" id=";W}i183BQ/mFLI(G%Lc)">
                <value name="IF0">
                  <block type="logic_compare" id="ZLYfwDtT07m,UAs#IZ~~">
                    <field name="OP">EQ</field>
                    <value name="A">
                      <block type="get_value" id="z@^GK2DP%N,Soy:=2EvL">
                        <field name="ATTR">val</field>
                        <field name="OID">javascript.0.Anzucht.links.aktiv</field>
                      </block>
                    </value>
                    <value name="B">
                      <block type="logic_boolean" id="S`W9xW_5E$cdj|wbyHK:">
                        <field name="BOOL">TRUE</field>
                      </block>
                    </value>
                  </block>
                </value>
                <statement name="DO0">
                  <block type="variables_set" id="fhOUfsR(y`!;UHu5!@7J">
                    <field name="VAR" id="ugiv5B]TX3S,*x=0+.BQ">Start links</field>
                    <value name="VALUE">
                      <block type="get_value" id="/%%me^!|ryJ=rq@/ah)c">
                        <field name="ATTR">val</field>
                        <field name="OID">javascript.0.Anzucht.links.Start</field>
                      </block>
                    </value>
                    <next>
                      <block type="variables_set" id="|2+oej2ygH81{Y(5Fs0?">
                        <field name="VAR" id="/4Emkj@D}3;l45R85kJ1">Ende links</field>
                        <value name="VALUE">
                          <block type="get_value" id="]bK3B:G||_#Fl?4Ro`ok">
                            <field name="ATTR">val</field>
                            <field name="OID">javascript.0.Anzucht.links.Ende</field>
                          </block>
                        </value>
                      </block>
                    </next>
                  </block>
                </statement>
              </block>
            </statement>
            <next>
              <block type="controls_if" id="^+MCu[2V8)D|.u~hffG4" disabled="true">
                <value name="IF0">
                  <block type="variables_get" id="4rZn$U^v@kydh5K8^d$t">
                    <field name="VAR" id="ugiv5B]TX3S,*x=0+.BQ">Start links</field>
                  </block>
                </value>
                <statement name="DO0">
                  <block type="control" id="zZ#w.#N=YGu7(gLB}A)3">
                    <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                    <field name="OID">hm-rpc.0.00089D89BA1849.2.STATE</field>
                    <field name="WITH_DELAY">FALSE</field>
                    <value name="VALUE">
                      <block type="logic_boolean" id="`JOL~4)Q4j~JHoOuS$y6">
                        <field name="BOOL">TRUE</field>
                      </block>
                    </value>
                  </block>
                </statement>
                <next>
                  <block type="controls_if" id="59}:KNUBR82Jd@N1L)wW" disabled="true">
                    <value name="IF0">
                      <block type="variables_get" id="[|tg@I@moC[;-AA$MM|6">
                        <field name="VAR" id="/4Emkj@D}3;l45R85kJ1">Ende links</field>
                      </block>
                    </value>
                    <statement name="DO0">
                      <block type="control" id="SK)2DxMNQNRSzh8z(^!]">
                        <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                        <field name="OID">hm-rpc.0.00089D89BA1849.2.STATE</field>
                        <field name="WITH_DELAY">FALSE</field>
                        <value name="VALUE">
                          <block type="logic_boolean" id="CW4b|/`x^uF#y*ra|^C`">
                            <field name="BOOL">FALSE</field>
                          </block>
                        </value>
                      </block>
                    </statement>
                    <next>
                      <block type="on_ext" id="@]+fT0WMAAD$+!Q~{vJg" disabled="true">
                        <mutation xmlns="http://www.w3.org/1999/xhtml" items="2"></mutation>
                        <field name="CONDITION">ne</field>
                        <field name="ACK_CONDITION"></field>
                        <value name="OID0">
                          <shadow type="field_oid" id="$6HZ1)msjJ#1p|+b~8-p">
                            <field name="oid">javascript.0.Anzucht.rechts.Ende</field>
                          </shadow>
                        </value>
                        <value name="OID1">
                          <shadow type="field_oid" id="UqR8hli}*W1=phhELGZg">
                            <field name="oid">javascript.0.Anzucht.rechts.Start</field>
                          </shadow>
                        </value>
                        <statement name="STATEMENT">
                          <block type="controls_if" id="?A?.5a{TGEsFKI![s.Bu">
                            <value name="IF0">
                              <block type="logic_compare" id="63{/9V;oKO$%fZaw/%=:">
                                <field name="OP">EQ</field>
                                <value name="A">
                                  <block type="get_value" id="|,H[-;uLmD4Kuu2?tY5x">
                                    <field name="ATTR">val</field>
                                    <field name="OID">javascript.0.Anzucht.rechts.aktiv</field>
                                  </block>
                                </value>
                                <value name="B">
                                  <block type="logic_boolean" id="4x#wyjW=gj~47Rx[aw),">
                                    <field name="BOOL">TRUE</field>
                                  </block>
                                </value>
                              </block>
                            </value>
                            <statement name="DO0">
                              <block type="variables_set" id="A7Vk$:wZ[/R4!4L[aRI-">
                                <field name="VAR" id="xTh.k8VRchSh/H?kgT;[">Start rechts</field>
                                <value name="VALUE">
                                  <block type="get_value" id="#b85)Z2Dh3D-*Pg){y*~">
                                    <field name="ATTR">val</field>
                                    <field name="OID">javascript.0.Anzucht.rechts.Start</field>
                                  </block>
                                </value>
                                <next>
                                  <block type="variables_set" id="e-^W|;d%Fa3/i3_4]Eo?">
                                    <field name="VAR" id="gGnp]{djcPS7NyQ|v~J8">Ende rechts</field>
                                    <value name="VALUE">
                                      <block type="get_value" id="OhnF2%daWyST`G4|RT2Q">
                                        <field name="ATTR">val</field>
                                        <field name="OID">javascript.0.Anzucht.rechts.Ende</field>
                                      </block>
                                    </value>
                                  </block>
                                </next>
                              </block>
                            </statement>
                          </block>
                        </statement>
                        <next>
                          <block type="controls_if" id="kW-v%FxOssZG.BNX`0G_" disabled="true">
                            <value name="IF0">
                              <block type="variables_get" id="{;r:?IMsA?Hb{eBHGX_%">
                                <field name="VAR" id="xTh.k8VRchSh/H?kgT;[">Start rechts</field>
                              </block>
                            </value>
                            <statement name="DO0">
                              <block type="control" id=".5eC4i6|cVOi@SA@RCT.">
                                <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                <field name="OID">hm-rpc.0.00089D89BA1550.2.STATE</field>
                                <field name="WITH_DELAY">FALSE</field>
                                <value name="VALUE">
                                  <block type="logic_boolean" id="`JIDDE`H5nX/_.Q_-pJB">
                                    <field name="BOOL">TRUE</field>
                                  </block>
                                </value>
                              </block>
                            </statement>
                            <next>
                              <block type="controls_if" id=",RJ}fx]gLGuZx2ux*vwo" disabled="true">
                                <value name="IF0">
                                  <block type="variables_get" id="r!Jvd*7$Sen8Rl(J1*L6">
                                    <field name="VAR" id="gGnp]{djcPS7NyQ|v~J8">Ende rechts</field>
                                  </block>
                                </value>
                                <statement name="DO0">
                                  <block type="control" id="fvKYjKZx%_n14~L9~N,s">
                                    <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                    <field name="OID">hm-rpc.0.00089D89BA1550.2.STATE</field>
                                    <field name="WITH_DELAY">FALSE</field>
                                    <value name="VALUE">
                                      <block type="logic_boolean" id="(G?ECvKzi^ZiNR~f,D64">
                                        <field name="BOOL">FALSE</field>
                                      </block>
                                    </value>
                                  </block>
                                </statement>
                              </block>
                            </next>
                          </block>
                        </next>
                      </block>
                    </next>
                  </block>
                </next>
              </block>
            </next>
          </block>
        </xml>
        
        paul53P Offline
        paul53P Offline
        paul53
        schrieb am zuletzt editiert von
        #3

        @idefix01 sagte: leider funktioniert das Blockly nicht mehr,

        Das kann noch nie funktioniert haben, denn die HM-Datenpunkte werden nur bei Skriptstart geschrieben.
        Was soll das Skrip machen?

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

        1 Antwort Letzte Antwort
        0
        • DJMarc75D DJMarc75

          @idefix01 zusätzlich Bild davon bitte zeigen damit man auch am Smartphone helfen kann ;)

          I Offline
          I Offline
          Idefix01
          schrieb am zuletzt editiert von
          #4

          @djmarc75

          aber gern doch - hier das Bild

          anzucht.jpg

          I 1 Antwort Letzte Antwort
          0
          • I Idefix01

            @djmarc75

            aber gern doch - hier das Bild

            anzucht.jpg

            I Offline
            I Offline
            Idefix01
            schrieb am zuletzt editiert von
            #5

            @paul53

            Das Script macht folgendes:

            Wenn der Datenpunkt "Anzucht links aktiv" bzw. "Anzucht rechts aktiv" auf true steht, lassen sich in der Vis Zeiten für den Start und das Ende einer Anzuchtlampe für Pflanzen einstellen.
            Sobald ein Wert verändert wird werden die Variablen aktualisiert und eigentlich soll dann je nachdem welche Zeit eingestellt ist die Anzuchtlampe W oder S entsprechend an bzw. aus gehen

            paul53P 1 Antwort Letzte Antwort
            0
            • I Idefix01

              @paul53

              Das Script macht folgendes:

              Wenn der Datenpunkt "Anzucht links aktiv" bzw. "Anzucht rechts aktiv" auf true steht, lassen sich in der Vis Zeiten für den Start und das Ende einer Anzuchtlampe für Pflanzen einstellen.
              Sobald ein Wert verändert wird werden die Variablen aktualisiert und eigentlich soll dann je nachdem welche Zeit eingestellt ist die Anzuchtlampe W oder S entsprechend an bzw. aus gehen

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

              @idefix01 sagt: in der Vis Zeiten für den Start und das Ende einer Anzuchtlampe für Pflanzen einstellen.

              Ich nehme an in den DP "javascript.0.Anzucht.links.Ende", "javascript.0.Anzucht.links.Start", "javascript.0.Anzucht.rechts.Ende" und "javascript.0.Anzucht.rechts.Start"?
              In welchem Format? CRON oder "hh:mm"?

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

              I 1 Antwort Letzte Antwort
              0
              • paul53P paul53

                @idefix01 sagt: in der Vis Zeiten für den Start und das Ende einer Anzuchtlampe für Pflanzen einstellen.

                Ich nehme an in den DP "javascript.0.Anzucht.links.Ende", "javascript.0.Anzucht.links.Start", "javascript.0.Anzucht.rechts.Ende" und "javascript.0.Anzucht.rechts.Start"?
                In welchem Format? CRON oder "hh:mm"?

                I Offline
                I Offline
                Idefix01
                schrieb am zuletzt editiert von
                #7

                @paul53

                Zeitangabe erfolgt in hh:mm in allen vier Punkten

                paul53P 1 Antwort Letzte Antwort
                0
                • I Idefix01

                  @paul53

                  Zeitangabe erfolgt in hh:mm in allen vier Punkten

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

                  @idefix01 sagte: Zeitangabe erfolgt in hh:mm

                  Dann kann man einen Minuten-Trigger verwenden:

                  Blockly_temp.JPG

                  EDIT: Bessere Version mit Minuten-Trigger:

                  Blockly_temp.JPG

                  Version, wenn bei "aktiv" = false ausgeschaltet werden soll:

                  Blockly_temp.JPG

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

                  I 1 Antwort Letzte Antwort
                  0
                  • paul53P paul53

                    @idefix01 sagte: Zeitangabe erfolgt in hh:mm

                    Dann kann man einen Minuten-Trigger verwenden:

                    Blockly_temp.JPG

                    EDIT: Bessere Version mit Minuten-Trigger:

                    Blockly_temp.JPG

                    Version, wenn bei "aktiv" = false ausgeschaltet werden soll:

                    Blockly_temp.JPG

                    I Offline
                    I Offline
                    Idefix01
                    schrieb am zuletzt editiert von
                    #9

                    @paul53

                    sorry das ich erst jetzt antworte, aber habe erst heute Zeit gefunden wieder rein zu schauen. Nun werde ich mal die bessere Version gleich mal austesten

                    1 Antwort Letzte Antwort
                    0

                    Hey! Du scheinst an dieser Unterhaltung interessiert zu sein, hast aber noch kein Konto.

                    Hast du es satt, bei jedem Besuch durch die gleichen Beiträge zu scrollen? Wenn du dich für ein Konto anmeldest, kommst du immer genau dorthin zurück, wo du zuvor warst, und kannst dich über neue Antworten benachrichtigen lassen (entweder per E-Mail oder Push-Benachrichtigung). Du kannst auch Lesezeichen speichern und Beiträge positiv bewerten, um anderen Community-Mitgliedern deine Wertschätzung zu zeigen.

                    Mit deinem Input könnte dieser Beitrag noch besser werden 💗

                    Registrieren Anmelden
                    Antworten
                    • In einem neuen Thema antworten
                    Anmelden zum Antworten
                    • Älteste zuerst
                    • Neuste zuerst
                    • Meiste Stimmen


                    Support us

                    ioBroker
                    Community Adapters
                    Donate

                    580

                    Online

                    32.8k

                    Benutzer

                    82.8k

                    Themen

                    1.3m

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

                    • Du hast noch kein Konto? Registrieren

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