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 zeigt Warn Meldungen.

    NEWS

    • Wir empfehlen: Node.js 22.x

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker goes Matter ... Matter Adapter in Stable

    Blockly zeigt Warn Meldungen.

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

      @paul53 sagte in Blockly zeigt Warn Meldungen.:

      @homoran sagte: da sind switch1 und switch2 vertauscht

      Genau deshalb würde es passen: "POWER2" sind negiert, alle anderen nicht.

      aber doch unterschiedlich

      im oberen Teil ist der dritte negiert, im unteren Teil der zweite

      Screenshot_20240527-223042_Firefox.jpg

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

        @homoran
        Das liegt aber an der Reihenfolge, die habe ich nicht eingehalten. Da habe ich Power 1 und Power2 vertauscht

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

          @einstein2002 das ist da leider icht zu sehen.
          Aber dann hat @paul53 natürlich recht.

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

            @homoran

            So da habe ich mal fertig:

            <xml xmlns="https://developers.google.com/blockly/xml">
              <block type="on_ext" id="cWj)M#2q10ApriJ}z/J." x="-87" y="112">
                <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation>
                <field name="CONDITION">true</field>
                <field name="ACK_CONDITION"></field>
                <value name="OID0">
                  <shadow type="field_oid" id="#7nxk7{L]5dos]}o*Ulq">
                    <field name="oid">0_userdata.0.Terrasse_mit_TV</field>
                  </shadow>
                </value>
                <statement name="STATEMENT">
                  <block type="control" id=",`L(EWw`b}Z~:?]0Oi|u">
                    <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                    <field name="OID">alias.0.Haus.Terrasse.Unterstand.LED_Terrasse_Boden_und_Sonos_Amp.LED_Terrasse_Boden_und_Sonos_AMP</field>
                    <field name="WITH_DELAY">FALSE</field>
                    <value name="VALUE">
                      <block type="on_source" id="~_]2dNN779yd/4NrnTm@">
                        <field name="ATTR">state.val</field>
                      </block>
                    </value>
                    <next>
                      <block type="control" id="C++/OsdWV8_*Q3SnO1[@">
                        <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                        <field name="OID">alias.0.Haus.Terrasse.Terrasse_TV_Steckdose_im_DG.Terrasse_TV_Steckdose_DG</field>
                        <field name="WITH_DELAY">FALSE</field>
                        <value name="VALUE">
                          <block type="on_source" id="BxMF$`~}@j+71AGAP=mV">
                            <field name="ATTR">state.val</field>
                          </block>
                        </value>
                        <next>
                          <block type="control" id="v_OmfSc.ziVQoLYX#hBj">
                            <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                            <field name="OID">alias.0.Haus.Terrasse.Rollo_Unterstand.Rollo_Hoch_Power1</field>
                            <field name="WITH_DELAY">FALSE</field>
                            <value name="VALUE">
                              <block type="on_source" id="*Z}%_.YM}FDa.o}r][7g">
                                <field name="ATTR">state.val</field>
                              </block>
                            </value>
                            <next>
                              <block type="control" id="=*R1a_=NxrAhs-#wwstI">
                                <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                <field name="OID">alias.0.Haus.Terrasse.Rollo_TV.Rollo_Hoch_Power1</field>
                                <field name="WITH_DELAY">FALSE</field>
                                <value name="VALUE">
                                  <block type="on_source" id="I9r14*9?lH3rC#s]Pbj-">
                                    <field name="ATTR">state.val</field>
                                  </block>
                                </value>
                              </block>
                            </next>
                          </block>
                        </next>
                      </block>
                    </next>
                  </block>
                </statement>
                <next>
                  <block type="on_ext" id="F94}@P{!jE6@T-{iCB{5">
                    <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation>
                    <field name="CONDITION">false</field>
                    <field name="ACK_CONDITION"></field>
                    <value name="OID0">
                      <shadow type="field_oid" id="$qu1SRidmJz{9+c|tjI7">
                        <field name="oid">0_userdata.0.Terrasse_mit_TV</field>
                      </shadow>
                    </value>
                    <statement name="STATEMENT">
                      <block type="control" id="cV.Iz~{@^y@jj+@/klAC">
                        <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                        <field name="OID">alias.0.Haus.Terrasse.Unterstand.LED_Terrasse_Boden_und_Sonos_Amp.LED_Terrasse_Boden_und_Sonos_AMP</field>
                        <field name="WITH_DELAY">FALSE</field>
                        <value name="VALUE">
                          <block type="on_source" id="l]D]Z8E~6Lt^z44#R78k">
                            <field name="ATTR">state.val</field>
                          </block>
                        </value>
                        <next>
                          <block type="control" id="E7,r/yW{WUBbTvj?G07W">
                            <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                            <field name="OID">alias.0.Haus.Terrasse.Terrasse_TV_Steckdose_im_DG.Terrasse_TV_Steckdose_DG</field>
                            <field name="WITH_DELAY">FALSE</field>
                            <value name="VALUE">
                              <block type="on_source" id="6Qp{]7J7V~[Eo62Dd3sO">
                                <field name="ATTR">state.val</field>
                              </block>
                            </value>
                            <next>
                              <block type="control" id="xbP1k-}1n1?W7GFXNo^8">
                                <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                <field name="OID">alias.0.Haus.Terrasse.Rollo_Unterstand.Rollo_Runter_Power2</field>
                                <field name="WITH_DELAY">FALSE</field>
                                <value name="VALUE">
                                  <block type="logic_negate" id="x0U:1pZV|Qg9t5[SraN]">
                                    <value name="BOOL">
                                      <block type="on_source" id="%)G^7cA1G8Nq;5m0xezI">
                                        <field name="ATTR">state.val</field>
                                      </block>
                                    </value>
                                  </block>
                                </value>
                                <next>
                                  <block type="control" id="DKD21eq}u~y8d*=lk%UY">
                                    <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                    <field name="OID">alias.0.Haus.Terrasse.Rollo_TV.Rollo_Runter_Power2</field>
                                    <field name="WITH_DELAY">FALSE</field>
                                    <value name="VALUE">
                                      <block type="logic_negate" id="Zve0$RJ?xcYzxn_0Go2:">
                                        <value name="BOOL">
                                          <block type="on_source" id=")+|zwlUrATu3B}29e2{]">
                                            <field name="ATTR">state.val</field>
                                          </block>
                                        </value>
                                      </block>
                                    </value>
                                  </block>
                                </next>
                              </block>
                            </next>
                          </block>
                        </next>
                      </block>
                    </statement>
                  </block>
                </next>
              </block>
            </xml>
            

            Damit läuft es super. 1000 Dank an Euch

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

              @einstein2002 sagte in Blockly zeigt Warn Meldungen.:

              @homoran
              So da habe ich mal fertig:

              ein schönes xml 😁

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

                @homoran
                ja, Fotos soll ich ja nicht machen wegen der Auflösung..

                Das ist der Export von einem Blockly.

                58573d1b-9f21-477d-bf47-17d0d6a09eeb-image.png

                Homoran paul53 2 Replies Last reply Reply Quote 0
                • Homoran
                  Homoran Global Moderator Administrators @Einstein2002 last edited by

                  @einstein2002 sagte in Blockly zeigt Warn Meldungen.:

                  Fotos soll ich ja nicht machen wegen der Auflösung..

                  nee, eine geeignete Auflösung wählen.

                  So wie jetzt
                  Screenshot_20240527-230622_Firefox.jpg
                  geht es gerade

                  https://forum.iobroker.net/topic/51555/hinweise-für-gute-forenbeiträge/1

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

                    @einstein2002 sagte: Blockly.

                    Besser so (nur ein Trigger):

                    Blockly_temp.JPG

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

                      @paul53 Dann kommen die Negativen Werte unter "mache sonst" Power2??

                      Ich baue das mal..... Moment

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

                        @paul53
                        So das ist es, eigentlich Logisch wenn man es im Nachhinein sieht.

                        Danke für den Wink mit dem Zaunpfahl...

                        <xml xmlns="https://developers.google.com/blockly/xml">
                          <block type="on_ext" id="cWj)M#2q10ApriJ}z/J." x="-87" y="112">
                            <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation>
                            <field name="CONDITION">ne</field>
                            <field name="ACK_CONDITION"></field>
                            <value name="OID0">
                              <shadow type="field_oid" id="#7nxk7{L]5dos]}o*Ulq">
                                <field name="oid">0_userdata.0.Terrasse_mit_TV</field>
                              </shadow>
                            </value>
                            <statement name="STATEMENT">
                              <block type="control" id=",`L(EWw`b}Z~:?]0Oi|u">
                                <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                <field name="OID">alias.0.Haus.Terrasse.Unterstand.LED_Terrasse_Boden_und_Sonos_Amp.LED_Terrasse_Boden_und_Sonos_AMP</field>
                                <field name="WITH_DELAY">FALSE</field>
                                <value name="VALUE">
                                  <block type="on_source" id="~_]2dNN779yd/4NrnTm@">
                                    <field name="ATTR">state.val</field>
                                  </block>
                                </value>
                                <next>
                                  <block type="control" id="C++/OsdWV8_*Q3SnO1[@">
                                    <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                    <field name="OID">alias.0.Haus.Terrasse.Terrasse_TV_Steckdose_im_DG.Terrasse_TV_Steckdose_DG</field>
                                    <field name="WITH_DELAY">FALSE</field>
                                    <value name="VALUE">
                                      <block type="on_source" id="BxMF$`~}@j+71AGAP=mV">
                                        <field name="ATTR">state.val</field>
                                      </block>
                                    </value>
                                    <next>
                                      <block type="controls_if" id="8IJ|zUT{`~J}ui(W~}SV">
                                        <mutation else="1"></mutation>
                                        <value name="IF0">
                                          <block type="on_source" id="@Z/M}]3z9L6iJ2V^ne^K">
                                            <field name="ATTR">state.val</field>
                                          </block>
                                        </value>
                                        <statement name="DO0">
                                          <block type="comment" id="+Z/g=.36Z3)amg8:vhJu">
                                            <field name="COMMENT">Rollo Hoch</field>
                                            <next>
                                              <block type="control" id="v_OmfSc.ziVQoLYX#hBj">
                                                <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                <field name="OID">alias.0.Haus.Terrasse.Rollo_Unterstand.Rollo_Hoch_Power1</field>
                                                <field name="WITH_DELAY">FALSE</field>
                                                <value name="VALUE">
                                                  <block type="logic_boolean" id="]W6nLNN{TC0boiC4)YFx">
                                                    <field name="BOOL">TRUE</field>
                                                  </block>
                                                </value>
                                                <next>
                                                  <block type="control" id="=*R1a_=NxrAhs-#wwstI">
                                                    <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                    <field name="OID">alias.0.Haus.Terrasse.Rollo_TV.Rollo_Hoch_Power1</field>
                                                    <field name="WITH_DELAY">FALSE</field>
                                                    <value name="VALUE">
                                                      <block type="logic_boolean" id="+^Vh:7;R`OHtw@i]E;L#">
                                                        <field name="BOOL">TRUE</field>
                                                      </block>
                                                    </value>
                                                  </block>
                                                </next>
                                              </block>
                                            </next>
                                          </block>
                                        </statement>
                                        <statement name="ELSE">
                                          <block type="comment" id="ey]cRfF*cb={G4|P%]3k">
                                            <field name="COMMENT">Rollo Runter</field>
                                            <next>
                                              <block type="control" id="43^7o)dK?,{4x3i{qttZ">
                                                <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                <field name="OID">alias.0.Haus.Terrasse.Rollo_Unterstand.Rollo_Runter_Power2</field>
                                                <field name="WITH_DELAY">FALSE</field>
                                                <value name="VALUE">
                                                  <block type="logic_boolean" id="=/30@P5PVmb`o^3Zz5tG">
                                                    <field name="BOOL">TRUE</field>
                                                  </block>
                                                </value>
                                                <next>
                                                  <block type="control" id="BAND$7+JPDKYe0d3`Jm2">
                                                    <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                    <field name="OID">alias.0.Haus.Terrasse.Rollo_TV.Rollo_Runter_Power2</field>
                                                    <field name="WITH_DELAY">FALSE</field>
                                                    <value name="VALUE">
                                                      <block type="logic_boolean" id="Q!2`J0~g:@IV6TSvX?PB">
                                                        <field name="BOOL">TRUE</field>
                                                      </block>
                                                    </value>
                                                  </block>
                                                </next>
                                              </block>
                                            </next>
                                          </block>
                                        </statement>
                                      </block>
                                    </next>
                                  </block>
                                </next>
                              </block>
                            </statement>
                          </block>
                        </xml>
                        

                        315e0b58-2044-4793-9008-9c11c5139074-image.png

                        Das mit der Auflösung muss ich mal üben, dazu muss ich aber erst einmal lesen. Also ihr lieben, ganz lieben Dank an Euch alle.

                        Echt klasse hier!!

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

                        Support us

                        ioBroker
                        Community Adapters
                        Donate

                        378
                        Online

                        32.0k
                        Users

                        80.4k
                        Topics

                        1.3m
                        Posts

                        5
                        43
                        1398
                        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