Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Eigenerstellter Datenpunkt schaltet nicht

    NEWS

    • Neues Video "KI im Smart Home" - ioBroker plus n8n

    • Neues Video über Aliase, virtuelle Geräte und Kategorien

    • Wir empfehlen: Node.js 22.x

    Eigenerstellter Datenpunkt schaltet nicht

    This topic has been deleted. Only users with topic management privileges can see it.
    • paul53
      paul53 @bob der 1. last edited by

      @bob-der-1
      Also lässt sich der Wert verändern, auch wenn "True" (groß geschrieben) nicht hinein gehört.

      B 1 Reply Last reply Reply Quote 0
      • B
        bob der 1. @paul53 last edited by

        @paul53

        sorry habs gesehen....

        kann aber nicht mehr auf false wechseln!

        Homoran 1 Reply Last reply Reply Quote 0
        • Homoran
          Homoran Global Moderator Administrators @bob der 1. last edited by Homoran

          @bob-der-1 sagte in Eigenerstellter Datenpunkt schaltet nicht:

          @paul53

          sorry habs gesehen....

          kann aber nicht mehr auf false wechseln!

          WAS???

          sag bloß "False" würde gehen

          B 1 Reply Last reply Reply Quote 0
          • B
            bob der 1. @Homoran last edited by Homoran

            @Homoran

            ja dauerte 1 min etwa...das große T verursachte wohl das True violett wurde und dann dauert bis false erschien.

            <xml xmlns="http://www.w3.org/1999/xhtml">
              <block type="on" id="2!zYjyPA:t{L(I*~@t*%" x="-1112" y="-512">
                <field name="OID">tr-064.0.devices.HUAWEI-Markus.active</field>
                <field name="CONDITION">ne</field>
                <field name="ACK_CONDITION"></field>
                <statement name="STATEMENT">
                  <block type="controls_if" id="`V!w54-/p^sK7|iGidsC">
                    <value name="IF0">
                      <block type="logic_compare" id="uPgozqUkaRvffzZ6-GMC">
                        <field name="OP">EQ</field>
                        <value name="A">
                          <block type="get_value" id="MVS}dxuy5,3IF:kz^QLz">
                            <field name="ATTR">val</field>
                            <field name="OID">tr-064.0.devices.HUAWEI-Markus.active</field>
                          </block>
                        </value>
                        <value name="B">
                          <block type="logic_boolean" id=".eh=1}ymb9.lj.Pa|lF)">
                            <field name="BOOL">TRUE</field>
                          </block>
                        </value>
                      </block>
                    </value>
                    <statement name="DO0">
                      <block type="control" id="AKBv)w]6vh^]|E@0|z5)">
                        <mutation delay_input="false"></mutation>
                        <field name="OID">Eigene_Datenpunkte.0.Anwesend</field>
                        <field name="WITH_DELAY">FALSE</field>
                        <value name="VALUE">
                          <block type="logic_boolean" id="Xk^?NB*NW/NuJrZjksQu">
                            <field name="BOOL">TRUE</field>
                          </block>
                        </value>
                      </block>
                    </statement>
                  </block>
                </statement>
              </block>
            </xml>
            

            MOD-Edit: Code in code-tags gesetzt!

            Homoran paul53 2 Replies Last reply Reply Quote 0
            • Homoran
              Homoran Global Moderator Administrators @bob der 1. last edited by

              @bob-der-1 bitte als Bild - kann das am Handy nicht importieren 😉

              B 1 Reply Last reply Reply Quote 0
              • paul53
                paul53 @bob der 1. last edited by

                @bob-der-1
                Das Script setzt den eigenen Datenpunkt nur dann auf true, wenn sich der Wert des Datenpunktes "tr-064.0.devices.HUAWEI-Markus.active" von false auf true ändert.

                B 1 Reply Last reply Reply Quote 0
                • B
                  bob der 1. @Homoran last edited by

                  @Homoran State true.jpg

                  1 Reply Last reply Reply Quote 0
                  • B
                    bob der 1. @paul53 last edited by

                    @paul53 sagte in Eigenerstellter Datenpunkt schaltet nicht:

                    @bob-der-1
                    Das Script setzt den eigenen Datenpunkt nur dann auf true, wenn sich der Wert des Datenpunktes "tr-064.0.devices.HUAWEI-Markus.active" von false auf true ändert.

                    Der Datenpunkt " Handy" ist true da es mit der Fritte verbunden ist!
                    oder heisst das nur wenn false ausgegeben wurde und dann true wurde schaltet es????

                    Homoran 1 Reply Last reply Reply Quote 0
                    • Homoran
                      Homoran Global Moderator Administrators @bob der 1. last edited by

                      @bob-der-1 sagte in Eigenerstellter Datenpunkt schaltet nicht:

                      nur wenn false ausgegeben wurde und dann true wurde schaltet es????

                      jepp

                      B 1 Reply Last reply Reply Quote 0
                      • B
                        bob der 1. @Homoran last edited by

                        @Homoran

                        Grrr......
                        wenn ich Offline geh dann wieder Onlline müsste aber dann dauerhaft true stehen....oder ist das wie aus/an/aus...ein Beuchteil einer sek.

                        Homoran 1 Reply Last reply Reply Quote 0
                        • Homoran
                          Homoran Global Moderator Administrators @bob der 1. last edited by

                          @bob-der-1 Die Fritte muss auch den status bemerken - was leider einige Minuten dauert

                          B 1 Reply Last reply Reply Quote 0
                          • B
                            bob der 1. @Homoran last edited by

                            @Homoran

                            Habs eben mal händisch im Tr-064 geändert....sollte ja gehen,nichts im Datenpunkt tut sich

                            Homoran 1 Reply Last reply Reply Quote 0
                            • Homoran
                              Homoran Global Moderator Administrators @bob der 1. last edited by

                              @bob-der-1 Ergänze erst mal das skript mit sonst schalte auf true

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

                                @Homoran sagte:

                                Ergänze erst mal das skript mit sonst schalte auf true

                                Oder ändere es so:

                                Blockly_temp.JPG

                                Wert findet man unter "Trigger".

                                B 2 Replies Last reply Reply Quote 0
                                • B
                                  bob der 1. @paul53 last edited by

                                  @paul53

                                  Moment probiere es sofort

                                  1 Reply Last reply Reply Quote 0
                                  • B
                                    bob der 1. @paul53 last edited by

                                    @paul53
                                    @Homoran

                                    Nun schaltet er sauber von beiden Seiten aus.
                                    Also war der Datenpunkt ok nur bin ich nicht weit genug in den Skripten....kann man das so sagen

                                    Homoran 1 Reply Last reply Reply Quote 0
                                    • Homoran
                                      Homoran Global Moderator Administrators @bob der 1. last edited by

                                      @bob-der-1 wird schon

                                      B 1 Reply Last reply Reply Quote 0
                                      • B
                                        bob der 1. @Homoran last edited by

                                        @Homoran

                                        Bin ja fleißig am basteln,nur manchmal fehlt mir der Blick dafür.
                                        Ich will zb. einen Datenpunkt Fam.Abwesend bauen.....ich poste mal das Skript ...dauert kurz

                                        Homoran 1 Reply Last reply Reply Quote 0
                                        • Homoran
                                          Homoran Global Moderator Administrators @bob der 1. last edited by

                                          @bob-der-1
                                          Dann musst du doch bei mir die Elektrik renovieren 😂

                                          B 1 Reply Last reply Reply Quote 0
                                          • B
                                            bob der 1. @Homoran last edited by

                                            @Homoran
                                            @paul53

                                            Das wäre für 4 Handys und einen Datenpunkt Fam. Anwesend

                                            4 mal abwesend.jpg

                                            Homoran paul53 2 Replies Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate
                                            FAQ Cloud / IOT
                                            HowTo: Node.js-Update
                                            HowTo: Backup/Restore
                                            Downloads
                                            BLOG

                                            990
                                            Online

                                            32.1k
                                            Users

                                            80.7k
                                            Topics

                                            1.3m
                                            Posts

                                            datenpunkt
                                            3
                                            42
                                            1708
                                            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