Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Skripten / Logik
    4. Blockly
    5. Blockly für komplizierte Bedingung (Anfänger) (gelöst)

    NEWS

    • Wir empfehlen: Node.js 22.x

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker goes Matter ... Matter Adapter in Stable

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

    This topic has been deleted. Only users with topic management privileges can see it.
    • Homoran
      Homoran Global Moderator Administrators @MaHott1980 last edited by

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

      4 Fensterkontakte müssen für z.b. 10 Minuten ausgelöst sein um die Steckdose zu Schalten.

      müssen

      • immer alle 4 gleichzeitig ausgelöst sein?
      • alle 4 mindestens 10 Minuten?
        • also im schlimmsten Fall 9+9+9+10 =37 Minuten?

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

      Nach auslösung soll bis zum abschalten die Steckdose aktiv bleiben

      wer oder was schaltet ab?

      MaHott1980 1 Reply Last reply Reply Quote 0
      • MaHott1980
        MaHott1980 @Homoran last edited by

        @homoran Hi Homoran

        es soll alle 3 Fenster Fenster und die Tür für 10 Minuten offen sein um die Steckdose zu aktivieren.
        Nach abschalten des Gerätes soll diese wieder am nächsten Tag neu aktiviert werden müssen.

        Vielen Dank für dein intresse.

        LG Matthias

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

          @mahott1980 sagte: alle 3 Fenster Fenster und die Tür für 10 Minuten offen sein um die Steckdose zu aktivieren.

          Bild_2022-03-23_114657.png

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

            @paul53 Hi Paul53,

            ich habe es denke ich hinbekommen. Testen werde ich es jetzt. Es sieht so aus.
            Vielen Dank

            Blockly.png

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

              @mahott1980 sagte: Es sieht so aus.

              Die Variable muss nachts auf falsch gesetzt werden. Nimm besser die einfache Form des Zeitplans, denn die funktioniert zuverlässig.

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

                @paul53

                oh Danke das hatte ich übersehen

                1 Reply Last reply Reply Quote 0
                • MaHott1980
                  MaHott1980 @MaHott1980 last edited by

                  @mahott1980 Guten Morgen zusammen,

                  leider funktioniert die Rückschaltung nicht. Ich habe 2 Tage versucht aber es geht nicht.
                  Auslösung Funktioniert. Woran könnte es liegen?

                  Muss die Zeitsteuerung irgendwie noch anders angelegt werden?

                  LG Matthias

                  N 1 Reply Last reply Reply Quote 0
                  • N
                    Nordischerjung @MaHott1980 last edited by

                    @mahott1980 Hast du das von paul53 gemacht?

                    @paul53 23. März 2022, 14:19

                    @mahott1980 sagte: Es sieht so aus.

                    Die Variable muss nachts auf falsch gesetzt werden. Nimm besser die einfache Form des Zeitplans, denn die funktioniert zuverlässig.

                    MaHott1980 1 Reply Last reply Reply Quote 0
                    • MaHott1980
                      MaHott1980 @Nordischerjung last edited by

                      Hi Noordischerjung

                      Ich habe es so wie im Bild gelöst. Einfacher Zeitplan??

                      Gruß Matthias

                      Blockly2.png

                      N 1 Reply Last reply Reply Quote 0
                      • N
                        Nordischerjung @MaHott1980 last edited by

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

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

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

                        MaHott1980 ChrisNett 2 Replies Last reply Reply Quote 0
                        • MaHott1980
                          MaHott1980 @Nordischerjung last edited by

                          @nordischerjung ok jetzt habe ich es verstanden

                          1 Reply Last reply Reply Quote 0
                          • ChrisNett
                            ChrisNett @Nordischerjung last edited by

                            @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

                            Homoran 1 Reply Last reply Reply Quote 0
                            • Homoran
                              Homoran Global Moderator Administrators @ChrisNett last edited by

                              @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.

                              ChrisNett 1 Reply Last reply Reply Quote 0
                              • ChrisNett
                                ChrisNett @Homoran last edited by

                                @homoran

                                also den lieber nicht ?

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

                                ChrisNett Homoran 2 Replies Last reply Reply Quote 0
                                • ChrisNett
                                  ChrisNett @ChrisNett last edited by

                                  lieber den ja ?

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

                                  MaHott1980 1 Reply Last reply Reply Quote 0
                                  • Homoran
                                    Homoran Global Moderator Administrators @ChrisNett last edited by

                                    @christian-sandkaulen ja und ja

                                    1 Reply Last reply Reply Quote 0
                                    • MaHott1980
                                      MaHott1980 @ChrisNett last edited by

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

                                      Blockly3.png

                                      Homoran 1 Reply Last reply Reply Quote 0
                                      • Homoran
                                        Homoran Global Moderator Administrators @MaHott1980 last edited by

                                        @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?

                                        MaHott1980 1 Reply Last reply Reply Quote 0
                                        • MaHott1980
                                          MaHott1980 @Homoran last edited by

                                          @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

                                          MaHott1980 Homoran 2 Replies Last reply Reply Quote 0
                                          • MaHott1980
                                            MaHott1980 @MaHott1980 last edited by

                                            @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>

                                            MaHott1980 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            496
                                            Online

                                            32.0k
                                            Users

                                            80.4k
                                            Topics

                                            1.3m
                                            Posts

                                            5
                                            36
                                            1518
                                            Loading More Posts
                                            • Oldest to Newest
                                            • Newest to Oldest
                                            • Most Votes
                                            Reply
                                            • Reply as topic
                                            Log in to reply
                                            Community
                                            Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                                            The ioBroker Community 2014-2023
                                            logo