Skip to content
  • Home
  • Recent
  • Tags
  • 0 Unread 0
  • Categories
  • Unreplied
  • Popular
  • 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

  • Default (No Skin)
  • No Skin
Collapse
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

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

  • Verwendung von KI bitte immer deutlich kennzeichnen
    HomoranH
    Homoran
    8
    1
    163

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

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

Scheduled Pinned Locked Moved Blockly
36 Posts 5 Posters 2.7k Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • ChrisNettC ChrisNett

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

    @mahott1980 Ne du hast den Wizard, nimm Einfach oder Cron

    bc6c5053-f607-49f3-8cbc-5e2325a883a5-grafik.png

    97568185-a641-41f7-8f6f-508f3c056231-grafik.png

    hi,

    was ist an dem Zeitplan so schlecht ? bzw unzuverlässig?

    Christian

    HomoranH Do not disturb
    HomoranH Do not disturb
    Homoran
    Global Moderator Administrators
    wrote on last edited by
    #14

    @christian-sandkaulen sagte in Blockly für komplizierte Bedingung (Anfänger):

    was ist an dem Zeitplan so schlecht ?

    an dem jetzt gezeigten (cron) ist alles gut.

    dein vorher verwendeter komplex aufgebauter funktioniert nicht immer. Niemand weiß warum.

    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 oben rechts. Danke!
    der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

    ChrisNettC 1 Reply Last reply
    0
    • HomoranH Homoran

      @christian-sandkaulen sagte in Blockly für komplizierte Bedingung (Anfänger):

      was ist an dem Zeitplan so schlecht ?

      an dem jetzt gezeigten (cron) ist alles gut.

      dein vorher verwendeter komplex aufgebauter funktioniert nicht immer. Niemand weiß warum.

      ChrisNettC Offline
      ChrisNettC Offline
      ChrisNett
      wrote on last edited by
      #15

      @homoran

      also den lieber nicht ?

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

      ChrisNettC HomoranH 2 Replies Last reply
      0
      • ChrisNettC ChrisNett

        @homoran

        also den lieber nicht ?

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

        ChrisNettC Offline
        ChrisNettC Offline
        ChrisNett
        wrote on last edited by
        #16

        lieber den ja ?

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

        MaHott1980M 1 Reply Last reply
        0
        • ChrisNettC ChrisNett

          @homoran

          also den lieber nicht ?

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

          HomoranH Do not disturb
          HomoranH Do not disturb
          Homoran
          Global Moderator Administrators
          wrote on last edited by
          #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 oben rechts. Danke!
          der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

          1 Reply Last reply
          0
          • ChrisNettC ChrisNett

            lieber den ja ?

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

            MaHott1980M Offline
            MaHott1980M Offline
            MaHott1980
            wrote on last edited by
            #18

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

            Blockly3.png

            HomoranH 1 Reply Last reply
            0
            • MaHott1980M MaHott1980

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

              Blockly3.png

              HomoranH Do not disturb
              HomoranH Do not disturb
              Homoran
              Global Moderator Administrators
              wrote on last edited by
              #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 oben rechts. Danke!
              der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

              MaHott1980M 1 Reply Last reply
              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
                wrote on last edited by
                #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 Replies Last reply
                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
                  wrote on last edited by
                  #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 Reply Last reply
                  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
                    wrote on last edited by
                    #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 Reply Last reply
                    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 Do not disturb
                      HomoranH Do not disturb
                      Homoran
                      Global Moderator Administrators
                      wrote on last edited by
                      #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 oben rechts. Danke!
                      der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

                      MaHott1980M 1 Reply Last reply
                      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
                        wrote on last edited by
                        #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 Reply Last reply
                        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
                          wrote on last edited by
                          #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 Reply Last reply
                          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
                            wrote on last edited by 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 Replies Last reply
                            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
                              wrote on last edited by 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 Reply Last reply
                              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
                                wrote on last edited by 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 Reply Last reply
                                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
                                  wrote on last edited by
                                  #29

                                  @paul53

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

                                  paul53P MaHott1980M 2 Replies Last reply
                                  0
                                  • MaHott1980M MaHott1980

                                    @paul53

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

                                    paul53P Offline
                                    paul53P Offline
                                    paul53
                                    wrote on last edited by
                                    #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 Reply Last reply
                                    0
                                    • MaHott1980M MaHott1980

                                      @paul53

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

                                      MaHott1980M Offline
                                      MaHott1980M Offline
                                      MaHott1980
                                      wrote on last edited by
                                      #31

                                      @mahott1980

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

                                      paul53P 1 Reply Last reply
                                      0
                                      • MaHott1980M MaHott1980

                                        @mahott1980

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

                                        paul53P Offline
                                        paul53P Offline
                                        paul53
                                        wrote on last edited by
                                        #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 Reply Last reply
                                        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
                                          wrote on last edited by 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 Reply Last reply
                                          0

                                          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                          With your input, this post could be even better 💗

                                          Register Login
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          Support us

                                          ioBroker
                                          Community Adapters
                                          Donate

                                          442

                                          Online

                                          32.8k

                                          Users

                                          82.7k

                                          Topics

                                          1.3m

                                          Posts
                                          Community
                                          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                                          ioBroker Community 2014-2025
                                          logo
                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Home
                                          • Recent
                                          • Tags
                                          • Unread 0
                                          • Categories
                                          • Unreplied
                                          • Popular
                                          • GitHub
                                          • Docu
                                          • Hilfe