Skip to content
  • Home
  • Aktuell
  • Tags
  • 0 Ungelesen 0
  • Kategorien
  • Unreplied
  • Beliebt
  • GitHub
  • Docu
  • Hilfe
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • 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. Blockly für komplizierte Bedingung (Anfänger) (gelöst)

NEWS

  • Monatsrückblick Januar/Februar 2026 ist online!
    BluefoxB
    Bluefox
    17
    1
    632

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

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

Blockly für komplizierte Bedingung (Anfänger) (gelöst)

Geplant Angeheftet Gesperrt Verschoben Blockly
36 Beiträge 5 Kommentatoren 2.7k Aufrufe 2 Watching
  • Ä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.
  • ChrisNettC ChrisNett

    @homoran

    also den lieber nicht ?

    60ba482b-89df-46b2-aa91-b1fe9a225d50-image.png

    HomoranH Nicht stören
    HomoranH Nicht stören
    Homoran
    Global Moderator Administrators
    schrieb am zuletzt editiert von
    #17

    @christian-sandkaulen ja und ja

    kein Support per PN! - Fragen im Forum stellen -
    Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.
    Das Forum freut sich über eine Spende. Benutzt dazu den Spendenbutton im Header. Danke!
    der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

    1 Antwort Letzte Antwort
    0
    • ChrisNettC ChrisNett

      lieber den ja ?

      0a598d3e-334a-495e-a81f-43112d9ad373-image.png

      MaHott1980M Offline
      MaHott1980M Offline
      MaHott1980
      schrieb am zuletzt editiert von
      #18

      @christian-sandkaulen
      So sieht es aus und es funzt auch nicht.

      Blockly3.png

      HomoranH 1 Antwort Letzte Antwort
      0
      • MaHott1980M MaHott1980

        @christian-sandkaulen
        So sieht es aus und es funzt auch nicht.

        Blockly3.png

        HomoranH Nicht stören
        HomoranH Nicht stören
        Homoran
        Global Moderator Administrators
        schrieb am zuletzt editiert von
        #19

        @mahott1980 sagte in Blockly für komplizierte Bedingung (Anfänger):

        So sieht es aus und es funzt auch nicht.

        was und warum?

        hast du debug Bausteine zur Eingrenzung der Ursache verwendet?

        was passiert denn?

        kein Support per PN! - Fragen im Forum stellen -
        Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.
        Das Forum freut sich über eine Spende. Benutzt dazu den Spendenbutton im Header. Danke!
        der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

        MaHott1980M 1 Antwort Letzte Antwort
        0
        • HomoranH Homoran

          @mahott1980 sagte in Blockly für komplizierte Bedingung (Anfänger):

          So sieht es aus und es funzt auch nicht.

          was und warum?

          hast du debug Bausteine zur Eingrenzung der Ursache verwendet?

          was passiert denn?

          MaHott1980M Offline
          MaHott1980M Offline
          MaHott1980
          schrieb am zuletzt editiert von
          #20

          @homoran Hallo Homoran,

          Ich habe gerade oben rechts den Debug beim Schraubenschlüssel aktiviert. (ist das gemeint??)
          Es funktioniert das Umschalten aber nicht das Nächtliche (mittlerweile damit es gleich aus sieht wie in den Empfehlungen 4:00Uhr) zurückschalten.

          Muss dieser Zeit Blockly im selben oder besser anderem Script sein??

          LG Matthias

          MaHott1980M HomoranH 2 Antworten Letzte Antwort
          0
          • MaHott1980M MaHott1980

            @homoran Hallo Homoran,

            Ich habe gerade oben rechts den Debug beim Schraubenschlüssel aktiviert. (ist das gemeint??)
            Es funktioniert das Umschalten aber nicht das Nächtliche (mittlerweile damit es gleich aus sieht wie in den Empfehlungen 4:00Uhr) zurückschalten.

            Muss dieser Zeit Blockly im selben oder besser anderem Script sein??

            LG Matthias

            MaHott1980M Offline
            MaHott1980M Offline
            MaHott1980
            schrieb am zuletzt editiert von
            #21

            @mahott1980

            <block xmlns="https://developers.google.com/blockly/xml" type="on_ext" id="eEyVHWnQ}Z}cpRx-0.Y^" x="138" y="-288">
            <mutation xmlns="http://www.w3.org/1999/xhtml" items="4"></mutation>
            <field name="CONDITION">any</field>
            <field name="ACK_CONDITION"></field>
            <value name="OID0">
            <shadow type="field_oid" id=",Y,{Q|B}e?PxnX?ecNqI">
            <field name="oid">hm-rpc.0.IEQ0090247.1.STATE</field>
            </shadow>
            </value>
            <value name="OID1">
            <shadow type="field_oid" id="9zybvEs@h6CKG6|8yg3d">
            <field name="oid">hm-rpc.0.IEQ0523289.1.STATE</field>
            </shadow>
            </value>
            <value name="OID2">
            <shadow type="field_oid" id="~_,CkTU6ia5aB}bYI4co">
            <field name="oid">hm-rpc.0.IEQ0523298.1.STATE</field>
            </shadow>
            </value>
            <value name="OID3">
            <shadow type="field_oid" id="Wc;!]SW2ejzJ|Z+Dpc@"> <field name="oid">hm-rpc.0.IEQ0523303.1.STATE</field> </shadow> </value> <statement name="STATEMENT"> <block type="controls_if" id="yZos~Z3L=*$dz0t.rZHo"> <mutation else="1"></mutation> <value name="IF0"> <block type="logic_operation" id="w-whnICxoOKR2%vrKoB~" inline="false"> <field name="OP">AND</field> <value name="A"> <block type="logic_operation" id="[0:ogLWg/pN!d9Azq~{" inline="false">
            <field name="OP">AND</field>
            <value name="A">
            <block type="logic_operation" id="[}WJD[__J+^].|ElF(r5" inline="false">
            <field name="OP">AND</field>
            <value name="A">
            <block type="get_value" id="M%SQIZzKZIn{!Yqc.Sm"> <field name="ATTR">val</field> <field name="OID">hm-rpc.0.IEQ0090247.1.STATE</field> </block> </value> <value name="B"> <block type="get_value" id="pRY*In!5D^gsg!jl{6k7"> <field name="ATTR">val</field> <field name="OID">hm-rpc.0.IEQ0523289.1.STATE</field> </block> </value> </block> </value> <value name="B"> <block type="logic_operation" id="7ImAaTbV=MjXrSvPbpXH" inline="false"> <field name="OP">AND</field> <value name="A"> <block type="get_value" id="(N%F^c#QO5Au6i[c1NzV"> <field name="ATTR">val</field> <field name="OID">hm-rpc.0.IEQ0523298.1.STATE</field> </block> </value> <value name="B"> <block type="get_value" id="XwbC]DB*T0G#[-ln+7H">
            <field name="ATTR">val</field>
            <field name="OID">hm-rpc.0.IEQ0523303.1.STATE</field>
            </block>
            </value>
            </block>
            </value>
            </block>
            </value>
            <value name="B">
            <block type="logic_negate" id="9R$ITMunsx8R;2~*c~zw">
            <value name="BOOL">
            <block type="variables_get" id="Fz`cMWR,JmYeVI%G@SsA">
            <field name="VAR" id="Zw%u#sW?jv8%CiGB~ej3">Aktiviert</field>
            </block>
            </value>
            </block>
            </value>
            </block>
            </value>
            <statement name="DO0">
            <block type="timeouts_settimeout" id="~oqtL(;ne1#.6yP1wjWA">
            <field name="NAME">timeout</field>
            <field name="DELAY">10</field>
            <field name="UNIT">min</field>
            <statement name="STATEMENT">
            <block type="control" id="]MkGYm#]Q5%HhTp04d?4">
            <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
            <field name="OID">sonoff.0.Steckdose3.POWER</field>
            <field name="WITH_DELAY">FALSE</field>
            <value name="VALUE">
            <block type="logic_boolean" id="YSHyA:rGWzEz=0?1~w0+">
            <field name="BOOL">TRUE</field>
            </block>
            </value>
            <next>
            <block type="variables_set" id="|9G;KFzvZ[cW,jKx1wQJ">
            <field name="VAR" id="Zw%u#sW?jv8%CiGB~ej3">Aktiviert</field>
            <value name="VALUE">
            <block type="logic_boolean" id="^?k43,OFse)2m:Au(B(^">
            <field name="BOOL">TRUE</field>
            </block>
            </value>
            </block>
            </next>
            </block>
            </statement>
            </block>
            </statement>
            <statement name="ELSE">
            <block type="timeouts_cleartimeout" id="Y%WMPojL:5W%)Tyv(mp:">
            <field name="NAME">timeout</field>
            </block>
            </statement>
            </block>
            </statement>
            </block>

            MaHott1980M 1 Antwort Letzte Antwort
            0
            • MaHott1980M MaHott1980

              @mahott1980

              <block xmlns="https://developers.google.com/blockly/xml" type="on_ext" id="eEyVHWnQ}Z}cpRx-0.Y^" x="138" y="-288">
              <mutation xmlns="http://www.w3.org/1999/xhtml" items="4"></mutation>
              <field name="CONDITION">any</field>
              <field name="ACK_CONDITION"></field>
              <value name="OID0">
              <shadow type="field_oid" id=",Y,{Q|B}e?PxnX?ecNqI">
              <field name="oid">hm-rpc.0.IEQ0090247.1.STATE</field>
              </shadow>
              </value>
              <value name="OID1">
              <shadow type="field_oid" id="9zybvEs@h6CKG6|8yg3d">
              <field name="oid">hm-rpc.0.IEQ0523289.1.STATE</field>
              </shadow>
              </value>
              <value name="OID2">
              <shadow type="field_oid" id="~_,CkTU6ia5aB}bYI4co">
              <field name="oid">hm-rpc.0.IEQ0523298.1.STATE</field>
              </shadow>
              </value>
              <value name="OID3">
              <shadow type="field_oid" id="Wc;!]SW2ejzJ|Z+Dpc@"> <field name="oid">hm-rpc.0.IEQ0523303.1.STATE</field> </shadow> </value> <statement name="STATEMENT"> <block type="controls_if" id="yZos~Z3L=*$dz0t.rZHo"> <mutation else="1"></mutation> <value name="IF0"> <block type="logic_operation" id="w-whnICxoOKR2%vrKoB~" inline="false"> <field name="OP">AND</field> <value name="A"> <block type="logic_operation" id="[0:ogLWg/pN!d9Azq~{" inline="false">
              <field name="OP">AND</field>
              <value name="A">
              <block type="logic_operation" id="[}WJD[__J+^].|ElF(r5" inline="false">
              <field name="OP">AND</field>
              <value name="A">
              <block type="get_value" id="M%SQIZzKZIn{!Yqc.Sm"> <field name="ATTR">val</field> <field name="OID">hm-rpc.0.IEQ0090247.1.STATE</field> </block> </value> <value name="B"> <block type="get_value" id="pRY*In!5D^gsg!jl{6k7"> <field name="ATTR">val</field> <field name="OID">hm-rpc.0.IEQ0523289.1.STATE</field> </block> </value> </block> </value> <value name="B"> <block type="logic_operation" id="7ImAaTbV=MjXrSvPbpXH" inline="false"> <field name="OP">AND</field> <value name="A"> <block type="get_value" id="(N%F^c#QO5Au6i[c1NzV"> <field name="ATTR">val</field> <field name="OID">hm-rpc.0.IEQ0523298.1.STATE</field> </block> </value> <value name="B"> <block type="get_value" id="XwbC]DB*T0G#[-ln+7H">
              <field name="ATTR">val</field>
              <field name="OID">hm-rpc.0.IEQ0523303.1.STATE</field>
              </block>
              </value>
              </block>
              </value>
              </block>
              </value>
              <value name="B">
              <block type="logic_negate" id="9R$ITMunsx8R;2~*c~zw">
              <value name="BOOL">
              <block type="variables_get" id="Fz`cMWR,JmYeVI%G@SsA">
              <field name="VAR" id="Zw%u#sW?jv8%CiGB~ej3">Aktiviert</field>
              </block>
              </value>
              </block>
              </value>
              </block>
              </value>
              <statement name="DO0">
              <block type="timeouts_settimeout" id="~oqtL(;ne1#.6yP1wjWA">
              <field name="NAME">timeout</field>
              <field name="DELAY">10</field>
              <field name="UNIT">min</field>
              <statement name="STATEMENT">
              <block type="control" id="]MkGYm#]Q5%HhTp04d?4">
              <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
              <field name="OID">sonoff.0.Steckdose3.POWER</field>
              <field name="WITH_DELAY">FALSE</field>
              <value name="VALUE">
              <block type="logic_boolean" id="YSHyA:rGWzEz=0?1~w0+">
              <field name="BOOL">TRUE</field>
              </block>
              </value>
              <next>
              <block type="variables_set" id="|9G;KFzvZ[cW,jKx1wQJ">
              <field name="VAR" id="Zw%u#sW?jv8%CiGB~ej3">Aktiviert</field>
              <value name="VALUE">
              <block type="logic_boolean" id="^?k43,OFse)2m:Au(B(^">
              <field name="BOOL">TRUE</field>
              </block>
              </value>
              </block>
              </next>
              </block>
              </statement>
              </block>
              </statement>
              <statement name="ELSE">
              <block type="timeouts_cleartimeout" id="Y%WMPojL:5W%)Tyv(mp:">
              <field name="NAME">timeout</field>
              </block>
              </statement>
              </block>
              </statement>
              </block>

              MaHott1980M Offline
              MaHott1980M Offline
              MaHott1980
              schrieb am zuletzt editiert von
              #22

              @mahott1980
              <block xmlns="https://developers.google.com/blockly/xml" type="schedule" id="qc%grAk|^t[Uqj-9C3?d" x="512" y="138">
              <field name="SCHEDULE">0 4 * * *</field>
              <statement name="STATEMENT">
              <block type="variables_set" id="/WF-8D#Q$EgUSjCH-],2">
              <field name="VAR" id="Zw%u#sW?jv8%CiGB~ej3">Aktiviert</field>
              <value name="VALUE">
              <block type="logic_boolean" id="cfWO4h,I%D%ma2S~u8mp">
              <field name="BOOL">FALSE</field>
              </block>
              </value>
              </block>
              </statement>
              </block>

              1 Antwort Letzte Antwort
              0
              • MaHott1980M MaHott1980

                @homoran Hallo Homoran,

                Ich habe gerade oben rechts den Debug beim Schraubenschlüssel aktiviert. (ist das gemeint??)
                Es funktioniert das Umschalten aber nicht das Nächtliche (mittlerweile damit es gleich aus sieht wie in den Empfehlungen 4:00Uhr) zurückschalten.

                Muss dieser Zeit Blockly im selben oder besser anderem Script sein??

                LG Matthias

                HomoranH Nicht stören
                HomoranH Nicht stören
                Homoran
                Global Moderator Administrators
                schrieb am zuletzt editiert von
                #23

                @mahott1980 sagte in Blockly für komplizierte Bedingung (Anfänger):

                Ich habe gerade oben rechts den Debug beim Schraubenschlüssel aktiviert. (ist das gemeint??)

                nein!

                unter System gibt es einen debug Baustein.
                mit sinnvollem Text und an den richtigen Stellen hilft er zu zeigen wo und warum es klemmt.


                Code bitte in code-tags und das Blockly zusätzlich als Screenshot.
                Am Handy nutzt das xml nichts.

                kein Support per PN! - Fragen im Forum stellen -
                Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.
                Das Forum freut sich über eine Spende. Benutzt dazu den Spendenbutton im Header. Danke!
                der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

                MaHott1980M 1 Antwort Letzte Antwort
                0
                • HomoranH Homoran

                  @mahott1980 sagte in Blockly für komplizierte Bedingung (Anfänger):

                  Ich habe gerade oben rechts den Debug beim Schraubenschlüssel aktiviert. (ist das gemeint??)

                  nein!

                  unter System gibt es einen debug Baustein.
                  mit sinnvollem Text und an den richtigen Stellen hilft er zu zeigen wo und warum es klemmt.


                  Code bitte in code-tags und das Blockly zusätzlich als Screenshot.
                  Am Handy nutzt das xml nichts.

                  MaHott1980M Offline
                  MaHott1980M Offline
                  MaHott1980
                  schrieb am zuletzt editiert von
                  #24

                  @homoran ```
                  <block xmlns="https://developers.google.com/blockly/xml" type="schedule" id="qc%grAk|^t[Uqj-9C3?d" x="512" y="138">
                  <field name="SCHEDULE">0 4 * * *</field>
                  <statement name="STATEMENT">
                  <block type="debug" id=".wliB=0HU7pT0!1xnE-_">
                  <field name="Severity">log</field>
                  <value name="TEXT">
                  <shadow type="text" id="S9Vz_O$)?}cHu[WRoM)}">
                  <field name="TEXT">test2</field>
                  </shadow>
                  </value>
                  <next>
                  <block type="variables_set" id="/WF-8D#Q$EgUSjCH-],2">
                  <field name="VAR" id="Zw%u#sW?jv8%CiGB~ej3">Aktiviert</field>
                  <value name="VALUE">
                  <block type="logic_boolean" id="cfWO4h,I%D%ma2S~u8mp">
                  <field name="BOOL">FALSE</field>
                  </block>
                  </value>
                  </block>
                  </next>
                  </block>
                  </statement>
                  </block>

                  MaHott1980M 1 Antwort Letzte Antwort
                  0
                  • MaHott1980M MaHott1980

                    @homoran ```
                    <block xmlns="https://developers.google.com/blockly/xml" type="schedule" id="qc%grAk|^t[Uqj-9C3?d" x="512" y="138">
                    <field name="SCHEDULE">0 4 * * *</field>
                    <statement name="STATEMENT">
                    <block type="debug" id=".wliB=0HU7pT0!1xnE-_">
                    <field name="Severity">log</field>
                    <value name="TEXT">
                    <shadow type="text" id="S9Vz_O$)?}cHu[WRoM)}">
                    <field name="TEXT">test2</field>
                    </shadow>
                    </value>
                    <next>
                    <block type="variables_set" id="/WF-8D#Q$EgUSjCH-],2">
                    <field name="VAR" id="Zw%u#sW?jv8%CiGB~ej3">Aktiviert</field>
                    <value name="VALUE">
                    <block type="logic_boolean" id="cfWO4h,I%D%ma2S~u8mp">
                    <field name="BOOL">FALSE</field>
                    </block>
                    </value>
                    </block>
                    </next>
                    </block>
                    </statement>
                    </block>

                    MaHott1980M Offline
                    MaHott1980M Offline
                    MaHott1980
                    schrieb am zuletzt editiert von
                    #25

                    @mahott1980 ```
                    <block xmlns="https://developers.google.com/blockly/xml" type="on_ext" id="eEyVHWnQ}Z}cpRx-0.Y^" x="138" y="-288">
                    <mutation xmlns="http://www.w3.org/1999/xhtml" items="4"></mutation>
                    <field name="CONDITION">any</field>
                    <field name="ACK_CONDITION"></field>
                    <value name="OID0">
                    <shadow type="field_oid" id=",Y,{Q|B}e?PxnX?ecNqI">
                    <field name="oid">hm-rpc.0.IEQ0090247.1.STATE</field>
                    </shadow>
                    </value>
                    <value name="OID1">
                    <shadow type="field_oid" id="9zybvEs@h6CKG6|8yg3d">
                    <field name="oid">hm-rpc.0.IEQ0523289.1.STATE</field>
                    </shadow>
                    </value>
                    <value name="OID2">
                    <shadow type="field_oid" id="~_,CkTU6ia5aB}bYI4co">
                    <field name="oid">hm-rpc.0.IEQ0523298.1.STATE</field>
                    </shadow>
                    </value>
                    <value name="OID3">
                    <shadow type="field_oid" id="Wc;!]SW2ejzJ|Z+Dpc@"> <field name="oid">hm-rpc.0.IEQ0523303.1.STATE</field> </shadow> </value> <statement name="STATEMENT"> <block type="controls_if" id="yZos~Z3L=*$dz0t.rZHo"> <mutation else="1"></mutation> <value name="IF0"> <block type="logic_operation" id="w-whnICxoOKR2%vrKoB~" inline="false"> <field name="OP">AND</field> <value name="A"> <block type="logic_operation" id="[0:ogLWg/pN!d9Azq~{" inline="false">
                    <field name="OP">AND</field>
                    <value name="A">
                    <block type="logic_operation" id="[}WJD[__J+^].|ElF(r5" inline="false">
                    <field name="OP">AND</field>
                    <value name="A">
                    <block type="get_value" id="M%SQIZzKZIn{!Yqc.Sm"> <field name="ATTR">val</field> <field name="OID">hm-rpc.0.IEQ0090247.1.STATE</field> </block> </value> <value name="B"> <block type="get_value" id="pRY*In!5D^gsg!jl{6k7"> <field name="ATTR">val</field> <field name="OID">hm-rpc.0.IEQ0523289.1.STATE</field> </block> </value> </block> </value> <value name="B"> <block type="logic_operation" id="7ImAaTbV=MjXrSvPbpXH" inline="false"> <field name="OP">AND</field> <value name="A"> <block type="get_value" id="(N%F^c#QO5Au6i[c1NzV"> <field name="ATTR">val</field> <field name="OID">hm-rpc.0.IEQ0523298.1.STATE</field> </block> </value> <value name="B"> <block type="get_value" id="XwbC]DB*T0G#[-ln+7H">
                    <field name="ATTR">val</field>
                    <field name="OID">hm-rpc.0.IEQ0523303.1.STATE</field>
                    </block>
                    </value>
                    </block>
                    </value>
                    </block>
                    </value>
                    <value name="B">
                    <block type="logic_negate" id="9R$ITMunsx8R;2~*c~zw">
                    <value name="BOOL">
                    <block type="variables_get" id="Fz`cMWR,JmYeVI%G@SsA">
                    <field name="VAR" id="Zw%u#sW?jv8%CiGB~ej3">Aktiviert</field>
                    </block>
                    </value>
                    </block>
                    </value>
                    </block>
                    </value>
                    <statement name="DO0">
                    <block type="timeouts_settimeout" id="~oqtL(;ne1#.6yP1wjWA">
                    <field name="NAME">timeout</field>
                    <field name="DELAY">10</field>
                    <field name="UNIT">min</field>
                    <statement name="STATEMENT">
                    <block type="control" id="]MkGYm#]Q5%HhTp04d?4">
                    <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                    <field name="OID">sonoff.0.Steckdose3.POWER</field>
                    <field name="WITH_DELAY">FALSE</field>
                    <value name="VALUE">
                    <block type="logic_boolean" id="YSHyA:rGWzEz=0?1~w0+">
                    <field name="BOOL">TRUE</field>
                    </block>
                    </value>
                    <next>
                    <block type="variables_set" id="|9G;KFzvZ[cW,jKx1wQJ">
                    <field name="VAR" id="Zw%u#sW?jv8%CiGB~ej3">Aktiviert</field>
                    <value name="VALUE">
                    <block type="logic_boolean" id="^?k43,OFse)2m:Au(B(^">
                    <field name="BOOL">TRUE</field>
                    </block>
                    </value>
                    </block>
                    </next>
                    </block>
                    </statement>
                    </block>
                    </statement>
                    <statement name="ELSE">
                    <block type="debug" id="WQ#phFmV9?C38Qa[!FF$">
                    <field name="Severity">log</field>
                    <value name="TEXT">
                    <shadow type="text" id="QcpPlY9|I1_B$j8W:]$Z">
                    <field name="TEXT">test1</field>
                    </shadow>
                    </value>
                    <next>
                    <block type="timeouts_cleartimeout" id="Y%WMPojL:5W%)Tyv(mp:">
                    <field name="NAME">timeout</field>
                    </block>
                    </next>
                    </block>
                    </statement>
                    </block>
                    </statement>
                    </block>

                    MaHott1980M 1 Antwort Letzte Antwort
                    0
                    • MaHott1980M MaHott1980

                      @mahott1980 ```
                      <block xmlns="https://developers.google.com/blockly/xml" type="on_ext" id="eEyVHWnQ}Z}cpRx-0.Y^" x="138" y="-288">
                      <mutation xmlns="http://www.w3.org/1999/xhtml" items="4"></mutation>
                      <field name="CONDITION">any</field>
                      <field name="ACK_CONDITION"></field>
                      <value name="OID0">
                      <shadow type="field_oid" id=",Y,{Q|B}e?PxnX?ecNqI">
                      <field name="oid">hm-rpc.0.IEQ0090247.1.STATE</field>
                      </shadow>
                      </value>
                      <value name="OID1">
                      <shadow type="field_oid" id="9zybvEs@h6CKG6|8yg3d">
                      <field name="oid">hm-rpc.0.IEQ0523289.1.STATE</field>
                      </shadow>
                      </value>
                      <value name="OID2">
                      <shadow type="field_oid" id="~_,CkTU6ia5aB}bYI4co">
                      <field name="oid">hm-rpc.0.IEQ0523298.1.STATE</field>
                      </shadow>
                      </value>
                      <value name="OID3">
                      <shadow type="field_oid" id="Wc;!]SW2ejzJ|Z+Dpc@"> <field name="oid">hm-rpc.0.IEQ0523303.1.STATE</field> </shadow> </value> <statement name="STATEMENT"> <block type="controls_if" id="yZos~Z3L=*$dz0t.rZHo"> <mutation else="1"></mutation> <value name="IF0"> <block type="logic_operation" id="w-whnICxoOKR2%vrKoB~" inline="false"> <field name="OP">AND</field> <value name="A"> <block type="logic_operation" id="[0:ogLWg/pN!d9Azq~{" inline="false">
                      <field name="OP">AND</field>
                      <value name="A">
                      <block type="logic_operation" id="[}WJD[__J+^].|ElF(r5" inline="false">
                      <field name="OP">AND</field>
                      <value name="A">
                      <block type="get_value" id="M%SQIZzKZIn{!Yqc.Sm"> <field name="ATTR">val</field> <field name="OID">hm-rpc.0.IEQ0090247.1.STATE</field> </block> </value> <value name="B"> <block type="get_value" id="pRY*In!5D^gsg!jl{6k7"> <field name="ATTR">val</field> <field name="OID">hm-rpc.0.IEQ0523289.1.STATE</field> </block> </value> </block> </value> <value name="B"> <block type="logic_operation" id="7ImAaTbV=MjXrSvPbpXH" inline="false"> <field name="OP">AND</field> <value name="A"> <block type="get_value" id="(N%F^c#QO5Au6i[c1NzV"> <field name="ATTR">val</field> <field name="OID">hm-rpc.0.IEQ0523298.1.STATE</field> </block> </value> <value name="B"> <block type="get_value" id="XwbC]DB*T0G#[-ln+7H">
                      <field name="ATTR">val</field>
                      <field name="OID">hm-rpc.0.IEQ0523303.1.STATE</field>
                      </block>
                      </value>
                      </block>
                      </value>
                      </block>
                      </value>
                      <value name="B">
                      <block type="logic_negate" id="9R$ITMunsx8R;2~*c~zw">
                      <value name="BOOL">
                      <block type="variables_get" id="Fz`cMWR,JmYeVI%G@SsA">
                      <field name="VAR" id="Zw%u#sW?jv8%CiGB~ej3">Aktiviert</field>
                      </block>
                      </value>
                      </block>
                      </value>
                      </block>
                      </value>
                      <statement name="DO0">
                      <block type="timeouts_settimeout" id="~oqtL(;ne1#.6yP1wjWA">
                      <field name="NAME">timeout</field>
                      <field name="DELAY">10</field>
                      <field name="UNIT">min</field>
                      <statement name="STATEMENT">
                      <block type="control" id="]MkGYm#]Q5%HhTp04d?4">
                      <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                      <field name="OID">sonoff.0.Steckdose3.POWER</field>
                      <field name="WITH_DELAY">FALSE</field>
                      <value name="VALUE">
                      <block type="logic_boolean" id="YSHyA:rGWzEz=0?1~w0+">
                      <field name="BOOL">TRUE</field>
                      </block>
                      </value>
                      <next>
                      <block type="variables_set" id="|9G;KFzvZ[cW,jKx1wQJ">
                      <field name="VAR" id="Zw%u#sW?jv8%CiGB~ej3">Aktiviert</field>
                      <value name="VALUE">
                      <block type="logic_boolean" id="^?k43,OFse)2m:Au(B(^">
                      <field name="BOOL">TRUE</field>
                      </block>
                      </value>
                      </block>
                      </next>
                      </block>
                      </statement>
                      </block>
                      </statement>
                      <statement name="ELSE">
                      <block type="debug" id="WQ#phFmV9?C38Qa[!FF$">
                      <field name="Severity">log</field>
                      <value name="TEXT">
                      <shadow type="text" id="QcpPlY9|I1_B$j8W:]$Z">
                      <field name="TEXT">test1</field>
                      </shadow>
                      </value>
                      <next>
                      <block type="timeouts_cleartimeout" id="Y%WMPojL:5W%)Tyv(mp:">
                      <field name="NAME">timeout</field>
                      </block>
                      </next>
                      </block>
                      </statement>
                      </block>
                      </statement>
                      </block>

                      MaHott1980M Offline
                      MaHott1980M Offline
                      MaHott1980
                      schrieb am zuletzt editiert von MaHott1980
                      #26
                      code_text
                      
                      <block xmlns="https://developers.google.com/blockly/xml" type="schedule" id="qc%grAk|^t[Uqj-9C3?d" x="512" y="138">
                        <field name="SCHEDULE">0 4 * * *</field>
                        <statement name="STATEMENT">
                          <block type="debug" id="=L-BX{3r.[VEQDc[wH:a">
                            <field name="Severity">log</field>
                            <value name="TEXT">
                              <shadow type="text" id="2-HNJmbNYiXS#CE_wD!5">
                                <field name="TEXT">test2</field>
                              </shadow>
                            </value>
                            <next>
                              <block type="variables_set" id="/WF-8D#Q$EgUSjCH-],2">
                                <field name="VAR" id="Zw%u#sW?jv8%CiGB~ej3">Aktiviert</field>
                                <value name="VALUE">
                                  <block type="logic_boolean" id="cfWO4h,I%D%ma2S~u8mp">
                                    <field name="BOOL">FALSE</field>
                                  </block>
                                </value>
                              </block>
                            </next>
                          </block>
                        </statement>
                      </block>
                      
                      MaHott1980M paul53P 2 Antworten Letzte Antwort
                      0
                      • MaHott1980M MaHott1980
                        code_text
                        
                        <block xmlns="https://developers.google.com/blockly/xml" type="schedule" id="qc%grAk|^t[Uqj-9C3?d" x="512" y="138">
                          <field name="SCHEDULE">0 4 * * *</field>
                          <statement name="STATEMENT">
                            <block type="debug" id="=L-BX{3r.[VEQDc[wH:a">
                              <field name="Severity">log</field>
                              <value name="TEXT">
                                <shadow type="text" id="2-HNJmbNYiXS#CE_wD!5">
                                  <field name="TEXT">test2</field>
                                </shadow>
                              </value>
                              <next>
                                <block type="variables_set" id="/WF-8D#Q$EgUSjCH-],2">
                                  <field name="VAR" id="Zw%u#sW?jv8%CiGB~ej3">Aktiviert</field>
                                  <value name="VALUE">
                                    <block type="logic_boolean" id="cfWO4h,I%D%ma2S~u8mp">
                                      <field name="BOOL">FALSE</field>
                                    </block>
                                  </value>
                                </block>
                              </next>
                            </block>
                          </statement>
                        </block>
                        
                        MaHott1980M Offline
                        MaHott1980M Offline
                        MaHott1980
                        schrieb am zuletzt editiert von MaHott1980
                        #27
                        code_text
                        <block xmlns="https://developers.google.com/blockly/xml" type="on_ext" id="eEyVHWnQ}Z}cpRx-0.Y^" x="138" y="-288">
                          <mutation xmlns="http://www.w3.org/1999/xhtml" items="4"></mutation>
                          <field name="CONDITION">ne</field>
                          <field name="ACK_CONDITION"></field>
                          <value name="OID0">
                            <shadow type="field_oid" id=",Y,{Q|B}e?PxnX?ecNqI">
                              <field name="oid">hm-rpc.0.IEQ0090247.1.STATE</field>
                            </shadow>
                          </value>
                          <value name="OID1">
                            <shadow type="field_oid" id="9zybvEs@h6CKG6|8yg3d">
                              <field name="oid">hm-rpc.0.IEQ0523289.1.STATE</field>
                            </shadow>
                          </value>
                          <value name="OID2">
                            <shadow type="field_oid" id="~_,CkTU6ia5aB}bYI4co">
                              <field name="oid">hm-rpc.0.IEQ0523298.1.STATE</field>
                            </shadow>
                          </value>
                          <value name="OID3">
                            <shadow type="field_oid" id="Wc;!`]SW2ejzJ|Z+Dpc@">
                              <field name="oid">hm-rpc.0.IEQ0523303.1.STATE</field>
                            </shadow>
                          </value>
                          <statement name="STATEMENT">
                            <block type="controls_if" id="yZos~Z3L=*$dz0t.rZHo">
                              <mutation else="1"></mutation>
                              <value name="IF0">
                                <block type="logic_operation" id="w-whnICxoOKR2%vrKoB~" inline="false">
                                  <field name="OP">AND</field>
                                  <value name="A">
                                    <block type="logic_operation" id="[0:ogLWg/pN!d9A`zq~{" inline="false">
                                      <field name="OP">AND</field>
                                      <value name="A">
                                        <block type="logic_operation" id="[}WJD[__J+^].|ElF(r5" inline="false">
                                          <field name="OP">AND</field>
                                          <value name="A">
                                            <block type="get_value" id="M%`SQIZzKZIn{!Yqc.Sm">
                                              <field name="ATTR">val</field>
                                              <field name="OID">hm-rpc.0.IEQ0090247.1.STATE</field>
                                            </block>
                                          </value>
                                          <value name="B">
                                            <block type="get_value" id="pRY*In!5D^gsg!jl{6k7">
                                              <field name="ATTR">val</field>
                                              <field name="OID">hm-rpc.0.IEQ0523289.1.STATE</field>
                                            </block>
                                          </value>
                                        </block>
                                      </value>
                                      <value name="B">
                                        <block type="logic_operation" id="7ImAaTbV=MjXrSvPbpXH" inline="false">
                                          <field name="OP">AND</field>
                                          <value name="A">
                                            <block type="get_value" id="(N%F^c#QO5Au6i[c1NzV">
                                              <field name="ATTR">val</field>
                                              <field name="OID">hm-rpc.0.IEQ0523298.1.STATE</field>
                                            </block>
                                          </value>
                                          <value name="B">
                                            <block type="get_value" id="XwbC`]DB*T0G#[-ln+7H">
                                              <field name="ATTR">val</field>
                                              <field name="OID">hm-rpc.0.IEQ0523303.1.STATE</field>
                                            </block>
                                          </value>
                                        </block>
                                      </value>
                                    </block>
                                  </value>
                                  <value name="B">
                                    <block type="logic_negate" id="9R$ITMunsx8R;2~*c~zw">
                                      <value name="BOOL">
                                        <block type="variables_get" id="Fz`cMWR,JmYeVI%G@SsA">
                                          <field name="VAR" id="Zw%u#sW?jv8%CiGB~ej3">Aktiviert</field>
                                        </block>
                                      </value>
                                    </block>
                                  </value>
                                </block>
                              </value>
                              <statement name="DO0">
                                <block type="timeouts_settimeout" id="~oqtL(;ne1#.6yP1wjWA">
                                  <field name="NAME">timeout</field>
                                  <field name="DELAY">10</field>
                                  <field name="UNIT">min</field>
                                  <statement name="STATEMENT">
                                    <block type="control" id="]MkGYm#]Q5%HhTp04d?4">
                                      <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                      <field name="OID">sonoff.0.Steckdose3.POWER</field>
                                      <field name="WITH_DELAY">FALSE</field>
                                      <value name="VALUE">
                                        <block type="logic_boolean" id="YSHyA:rGWzEz=0?1~w0+">
                                          <field name="BOOL">TRUE</field>
                                        </block>
                                      </value>
                                      <next>
                                        <block type="variables_set" id="|9G;KFzvZ[cW,jKx1wQJ">
                                          <field name="VAR" id="Zw%u#sW?jv8%CiGB~ej3">Aktiviert</field>
                                          <value name="VALUE">
                                            <block type="logic_boolean" id="^?k43,OFse)2m:Au(B(^">
                                              <field name="BOOL">TRUE</field>
                                            </block>
                                          </value>
                                        </block>
                                      </next>
                                    </block>
                                  </statement>
                                </block>
                              </statement>
                              <statement name="ELSE">
                                <block type="debug" id="Fiy:h@f,%|)40xF.C[Fg">
                                  <field name="Severity">log</field>
                                  <value name="TEXT">
                                    <shadow type="text" id="zNi4cgKQmW78fqmg?0J#">
                                      <field name="TEXT">test1</field>
                                    </shadow>
                                  </value>
                                  <next>
                                    <block type="timeouts_cleartimeout" id="Y%WMPojL:5W%)Tyv(mp:">
                                      <field name="NAME">timeout</field>
                                    </block>
                                  </next>
                                </block>
                              </statement>
                            </block>
                          </statement>
                        </block>
                        
                        1 Antwort Letzte Antwort
                        0
                        • MaHott1980M MaHott1980
                          code_text
                          
                          <block xmlns="https://developers.google.com/blockly/xml" type="schedule" id="qc%grAk|^t[Uqj-9C3?d" x="512" y="138">
                            <field name="SCHEDULE">0 4 * * *</field>
                            <statement name="STATEMENT">
                              <block type="debug" id="=L-BX{3r.[VEQDc[wH:a">
                                <field name="Severity">log</field>
                                <value name="TEXT">
                                  <shadow type="text" id="2-HNJmbNYiXS#CE_wD!5">
                                    <field name="TEXT">test2</field>
                                  </shadow>
                                </value>
                                <next>
                                  <block type="variables_set" id="/WF-8D#Q$EgUSjCH-],2">
                                    <field name="VAR" id="Zw%u#sW?jv8%CiGB~ej3">Aktiviert</field>
                                    <value name="VALUE">
                                      <block type="logic_boolean" id="cfWO4h,I%D%ma2S~u8mp">
                                        <field name="BOOL">FALSE</field>
                                      </block>
                                    </value>
                                  </block>
                                </next>
                              </block>
                            </statement>
                          </block>
                          
                          paul53P Offline
                          paul53P Offline
                          paul53
                          schrieb am zuletzt editiert von paul53
                          #28

                          @mahott1980
                          Sind das etwa zwei verschiedene Skripte?
                          Das Rücksetzen der Variablen Aktiviert muss im gleichen Skript erfolgen.

                          Bild_2022-03-31_174441.png

                          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

                          MaHott1980M 1 Antwort Letzte Antwort
                          0
                          • paul53P paul53

                            @mahott1980
                            Sind das etwa zwei verschiedene Skripte?
                            Das Rücksetzen der Variablen Aktiviert muss im gleichen Skript erfolgen.

                            Bild_2022-03-31_174441.png

                            MaHott1980M Offline
                            MaHott1980M Offline
                            MaHott1980
                            schrieb am zuletzt editiert von
                            #29

                            @paul53

                            So also ohne die debug output??
                            592fca77-f7aa-4c22-b456-abdfb6f6c33e-grafik.png

                            paul53P MaHott1980M 2 Antworten Letzte Antwort
                            0
                            • MaHott1980M MaHott1980

                              @paul53

                              So also ohne die debug output??
                              592fca77-f7aa-4c22-b456-abdfb6f6c33e-grafik.png

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

                              @mahott1980 sagte: So also ohne die debug output??

                              Nein, Zeitplan außerhalb des Trigger-Blocks - so wie in meinen Bildern.

                              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
                              • MaHott1980M MaHott1980

                                @paul53

                                So also ohne die debug output??
                                592fca77-f7aa-4c22-b456-abdfb6f6c33e-grafik.png

                                MaHott1980M Offline
                                MaHott1980M Offline
                                MaHott1980
                                schrieb am zuletzt editiert von
                                #31

                                @mahott1980

                                Ja aber so geht es nicht, und ich bekomme es nicht raus warum.:disappointed_relieved:

                                paul53P 1 Antwort Letzte Antwort
                                0
                                • MaHott1980M MaHott1980

                                  @mahott1980

                                  Ja aber so geht es nicht, und ich bekomme es nicht raus warum.:disappointed_relieved:

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

                                  @mahott1980 sagte: so geht es nicht, und ich bekomme es nicht raus warum

                                  Ändere die Uhrzeit zum Test auf 20:xx Uhr (kurz nach der aktuellen Zeit) und schau, ob die Logausgabe mit "test2" erfolgt.

                                  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

                                  MaHott1980M 1 Antwort Letzte Antwort
                                  0
                                  • paul53P paul53

                                    @mahott1980 sagte: so geht es nicht, und ich bekomme es nicht raus warum

                                    Ändere die Uhrzeit zum Test auf 20:xx Uhr (kurz nach der aktuellen Zeit) und schau, ob die Logausgabe mit "test2" erfolgt.

                                    MaHott1980M Offline
                                    MaHott1980M Offline
                                    MaHott1980
                                    schrieb am zuletzt editiert von MaHott1980
                                    #33

                                    @paul53

                                    20:16:53.567 info javascript.0 (1172) Start javascript script.js.Louis_Zimmer.Louis_PC
                                    20:16:53.570 info javascript.0 (1172) script.js.Louis_Zimmer.Louis_PC: registered 1 subscription and 1 schedule
                                    20:18:00.018 info javascript.0 (1172) script.js.Louis_Zimmer.Louis_PC: test2

                                    Würde sagen das es geht, nur das Steckdose auschalten nicht. Die Bleibt an.

                                    Es ist doch zum Testen egal ob ich die Steckdose von Hand wieder anschalte oder?? Den das Aktivieren geht ja.

                                    paul53P 1 Antwort Letzte Antwort
                                    0
                                    • MaHott1980M MaHott1980

                                      @paul53

                                      20:16:53.567 info javascript.0 (1172) Start javascript script.js.Louis_Zimmer.Louis_PC
                                      20:16:53.570 info javascript.0 (1172) script.js.Louis_Zimmer.Louis_PC: registered 1 subscription and 1 schedule
                                      20:18:00.018 info javascript.0 (1172) script.js.Louis_Zimmer.Louis_PC: test2

                                      Würde sagen das es geht, nur das Steckdose auschalten nicht. Die Bleibt an.

                                      Es ist doch zum Testen egal ob ich die Steckdose von Hand wieder anschalte oder?? Den das Aktivieren geht ja.

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

                                      @mahott1980 sagte: nur das Steckdose auschalten nicht. Die Bleibt an.

                                      Ich war nach Deinem ersten Beitrag der Meinung, dass die Steckdose manuell ausgeschaltet wird und nur einmal täglich automatisch einschalten soll.

                                      Soll sie um 4:00 Uhr automatisch ausgeschaltet werden? Dann

                                      Bild_2022-03-31_203406.png

                                      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

                                      MaHott1980M 2 Antworten Letzte Antwort
                                      0
                                      • paul53P paul53

                                        @mahott1980 sagte: nur das Steckdose auschalten nicht. Die Bleibt an.

                                        Ich war nach Deinem ersten Beitrag der Meinung, dass die Steckdose manuell ausgeschaltet wird und nur einmal täglich automatisch einschalten soll.

                                        Soll sie um 4:00 Uhr automatisch ausgeschaltet werden? Dann

                                        Bild_2022-03-31_203406.png

                                        MaHott1980M Offline
                                        MaHott1980M Offline
                                        MaHott1980
                                        schrieb am zuletzt editiert von
                                        #35

                                        @paul53

                                        Nein sie sollte immer wieder resettet werden sonst geht das bei Kindern in die Hose ; ))

                                        1 Antwort Letzte Antwort
                                        0
                                        • paul53P paul53

                                          @mahott1980 sagte: nur das Steckdose auschalten nicht. Die Bleibt an.

                                          Ich war nach Deinem ersten Beitrag der Meinung, dass die Steckdose manuell ausgeschaltet wird und nur einmal täglich automatisch einschalten soll.

                                          Soll sie um 4:00 Uhr automatisch ausgeschaltet werden? Dann

                                          Bild_2022-03-31_203406.png

                                          MaHott1980M Offline
                                          MaHott1980M Offline
                                          MaHott1980
                                          schrieb am zuletzt editiert von
                                          #36

                                          @paul53

                                          Super jetzt geht es. Beim 1 mal nicht aber da war der Debug Mode Schuld laut Log. Mega Dank an Dich/Euch.

                                          1 Antwort Letzte Antwort
                                          0
                                          Antworten
                                          • In einem neuen Thema antworten
                                          Anmelden zum Antworten
                                          • Älteste zuerst
                                          • Neuste zuerst
                                          • Meiste Stimmen


                                          Support us

                                          ioBroker
                                          Community Adapters
                                          Donate

                                          723

                                          Online

                                          32.7k

                                          Benutzer

                                          82.6k

                                          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