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 Licht erkennen am / aus erkennen * 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 Licht erkennen am / aus erkennen * Gelöst *

    This topic has been deleted. Only users with topic management privileges can see it.
    • Horst Böttcher
      Horst Böttcher last edited by Horst Böttcher

      Ich glaub ich benötiege mal wieder Hilfe

      Was habe ich vor ?
      Ich habe in der Wohnstube 3 Lampen diese sobald alle 3 aus sind soll der Datenpunkt False ausgeben sobald nur 1 davon an ist soll der datenpunkt auf True schalten

      <xml xmlns="https://developers.google.com/blockly/xml">
        <block type="on_ext" id="C:{N[q,N+zjD}@TbrsPp" x="38" y="138">
          <mutation xmlns="http://www.w3.org/1999/xhtml" items="3"></mutation>
          <field name="CONDITION">ne</field>
          <field name="ACK_CONDITION"></field>
          <value name="OID0">
            <shadow type="field_oid" id="bIz(F/lB`JM!^[JmiEt~">
              <field name="oid">alias.0.Wohnzimmer.TV_Schrank_Links.ON</field>
            </shadow>
          </value>
          <value name="OID1">
            <shadow type="field_oid" id="#aB(|Dl~*Fl$@69x.lJZ">
              <field name="oid">zigbee.0.001788010603c91d.state</field>
            </shadow>
          </value>
          <value name="OID2">
            <shadow type="field_oid" id=")r;)xM1o?a/vPaL~fd{A">
              <field name="oid">tuya.0.bf31354560b3f6bc77b56v.25</field>
            </shadow>
          </value>
          <statement name="STATEMENT">
            <block type="update" id="=CKx7KofPMz[ik%i/j8X">
              <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
              <field name="OID">0_userdata.0.Zimmer.licht_Staus.Wohnzimmer</field>
              <field name="WITH_DELAY">FALSE</field>
              <value name="VALUE">
                <block type="on_source" id="80PHou;67R+UDD;!jxU)">
                  <field name="ATTR">state.val</field>
                </block>
              </value>
            </block>
          </statement>
        </block>
      </xml>
      
      paul53 1 Reply Last reply Reply Quote 0
      • paul53
        paul53 @Horst Böttcher last edited by paul53

        @horst-böttcher sagte: sobald nur 1 davon an ist soll der datenpunkt auf True schalten

        Version mit Schleife:

        Blockly_temp.JPG

        Man kann auch die 3 Datenpunktwerte per Oder verknüpfen.

        Horst Böttcher 1 Reply Last reply Reply Quote 0
        • Horst Böttcher
          Horst Böttcher @paul53 last edited by

          @paul53 leider bleibt der datenpunkt auf false obwohl das licht an ist

          paul53 1 Reply Last reply Reply Quote 0
          • paul53
            paul53 @Horst Böttcher last edited by

            @horst-böttcher sagte: obwohl das licht an ist

            Wurde mal ein Licht ein- der ausgeschaltet? Der Trigger reagiert nur auf Wertänderung eines der Lichter.

            Horst Böttcher 1 Reply Last reply Reply Quote 0
            • Horst Böttcher
              Horst Böttcher @paul53 last edited by Horst Böttcher

              @paul53 Ja hab das licht geschalten

              debug sagt auch False
              d346b5bf-7686-45db-8eca-deb3a287585b-image.png

              paul53 1 Reply Last reply Reply Quote 0
              • paul53
                paul53 @Horst Böttcher last edited by paul53

                @horst-böttcher sagte: hab das lich geschalten

                Dann poste bitte das Blockly als Bild.

                Horst Böttcher 1 Reply Last reply Reply Quote 0
                • Horst Böttcher
                  Horst Böttcher @paul53 last edited by

                  @paul53 Danke geht doch hatte an einer stelle id mit ids vertraucht

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

                  Support us

                  ioBroker
                  Community Adapters
                  Donate

                  403
                  Online

                  32.0k
                  Users

                  80.4k
                  Topics

                  1.3m
                  Posts

                  2
                  7
                  234
                  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