Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Skripten / Logik
    4. Blockly
    5. Debug Problem

    NEWS

    • Wir empfehlen: Node.js 22.x

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker goes Matter ... Matter Adapter in Stable

    Debug Problem

    This topic has been deleted. Only users with topic management privileges can see it.
    • Negalein
      Negalein Global Moderator @liv-in-sky last edited by

      @liv-in-sky sagte in Debug Problem:

      schaltet den die instanz den datenpunkt wirklich um ? hast du das mal geprüft ?

      Ja, schaltet um.
      Hab es paarmal geprüft.

      F liv-in-sky 3 Replies Last reply Reply Quote 0
      • F
        fastfoot @Negalein last edited by

        @Negalein sagte in Debug Problem:

        @liv-in-sky sagte in Debug Problem:

        schaltet den die instanz den datenpunkt wirklich um ? hast du das mal geprüft ?

        Ja, schaltet um.
        Hab es paarmal geprüft.

        und wie ist es mit meiner Version?

        Negalein 1 Reply Last reply Reply Quote 0
        • liv-in-sky
          liv-in-sky @Negalein last edited by

          @Negalein der datenpunkt ist auch vom typ logic ?

          crunchip Negalein 2 Replies Last reply Reply Quote 0
          • crunchip
            crunchip Forum Testing Most Active @liv-in-sky last edited by

            @liv-in-sky das ist ein xiaomi Sensor, der schaltet true/false

            1 Reply Last reply Reply Quote 0
            • F
              fastfoot @liv-in-sky last edited by

              @liv-in-sky sagte in Debug Problem:

              muss @crunchip recht geben

              kannst du ja gerne, es ist trotzdem gegen die Empfehlung der Entwickler.

              1 Reply Last reply Reply Quote 0
              • liv-in-sky
                liv-in-sky @Negalein last edited by

                @Negalein

                mit meinem türsensor - gerade geprüft

                Image 2.png Image 1.png

                1 Reply Last reply Reply Quote 0
                • liv-in-sky
                  liv-in-sky @Negalein last edited by

                  @Negalein

                  die beiden datenpunkte hast du ja geprüft - und sind gleich - wie von @fastfoot schon vorgeschlagen

                  Image 3.png

                  Negalein 1 Reply Last reply Reply Quote 0
                  • Negalein
                    Negalein Global Moderator @fastfoot last edited by

                    @fastfoot sagte in Debug Problem:

                    und wie ist es mit meiner Version?

                    hab gerade nachgesehen.
                    Es wird nun doppelt angezeigt.

                    javascript - ioBroker (3).png vis (2).png

                    1 Reply Last reply Reply Quote 0
                    • Negalein
                      Negalein Global Moderator @liv-in-sky last edited by

                      @liv-in-sky sagte in Debug Problem:

                      der datenpunkt ist auch vom typ logic ?

                      {
                        "_id": "mihome.0.devices.magnet_158d0003cd4123.state",
                        "common": {
                          "name": "Haustür Is opened",
                          "role": "state",
                          "write": false,
                          "read": true,
                          "type": "boolean"
                        },
                        "type": "state",
                        "native": {},
                        "from": "system.adapter.mihome.0",
                        "user": "system.user.admin",
                        "ts": 1594297946540,
                        "acl": {
                          "object": 1636,
                          "state": 1636,
                          "owner": "system.user.admin",
                          "ownerGroup": "system.group.administrator"
                        }
                      }
                      
                      liv-in-sky 1 Reply Last reply Reply Quote 0
                      • Negalein
                        Negalein Global Moderator @liv-in-sky last edited by

                        @liv-in-sky sagte in Debug Problem:

                        die beiden datenpunkte hast du ja geprüft - und sind gleich

                        Ja, sind gleich

                        liv-in-sky 2 Replies Last reply Reply Quote 0
                        • liv-in-sky
                          liv-in-sky @Negalein last edited by

                          @Negalein

                          die variable wert nutz du nur einmal im script ?

                          ich würde mal den adapter mi-home neustarten und evt. sogar den javascript adapter

                          Negalein F 3 Replies Last reply Reply Quote 0
                          • liv-in-sky
                            liv-in-sky @Negalein last edited by

                            @Negalein

                            "fummelt" da im script noch etwas anderes mit rein ?

                            das script ist auch nicht zufällig doppelt und läuft unerkannt ?

                            1 Reply Last reply Reply Quote 0
                            • liv-in-sky
                              liv-in-sky @Negalein last edited by liv-in-sky

                              @Negalein
                              du könntest auch mal nach einem script suchen, das den datenpunkt als suche hat - nicht das da woanders was ist

                              Image 4.png

                              X 1 Reply Last reply Reply Quote 1
                              • Negalein
                                Negalein Global Moderator @liv-in-sky last edited by Negalein

                                @liv-in-sky sagte in Debug Problem:

                                die variable wert nutz du nur einmal im script ?

                                Ja, alle anderen Abfragen für die Fenster sind noch nach 1. Schema.

                                "fummelt" da im script noch etwas anderes mit rein ?

                                Hmmm, ich hab mehrere Fensterabfragen, aber nur 1 mit diesem +++Text

                                das script ist auch nicht zufällig doppelt und läuft unerkannt ?

                                Nö

                                du könntest auch mal nach einem script suchen, das den datenpunkt als suche hat - nicht das da woanders was ist

                                mach ich sofort
                                ---> ist nur dieses eine Script

                                liv-in-sky 1 Reply Last reply Reply Quote 0
                                • Negalein
                                  Negalein Global Moderator @liv-in-sky last edited by

                                  @liv-in-sky sagte in Debug Problem:

                                  ich würde mal den adapter mi-home neustarten und evt. sogar den javascript adapter

                                  nach einem Neustart der beiden Adapter scheint es jetzt richtig auf. Werde mal beobachten.
                                  vis (3).png

                                  liv-in-sky 1 Reply Last reply Reply Quote 0
                                  • liv-in-sky
                                    liv-in-sky @Negalein last edited by

                                    @Negalein

                                    keinen schimmer mehr

                                    warum steht in deinem letzten script nun Haustür is_open - ist das ein alias ?

                                    Image 6.png

                                    1 Reply Last reply Reply Quote 0
                                    • liv-in-sky
                                      liv-in-sky @Negalein last edited by

                                      @Negalein

                                      und funktionieren beide arten von abfragen ? du kannst ja letztlich das von @fastfoot nutzen

                                      1 Reply Last reply Reply Quote 0
                                      • Negalein
                                        Negalein Global Moderator @fastfoot last edited by

                                        @liv-in-sky sagte in Debug Problem:

                                        warum steht in deinem letzten script nun Haustür is_open - ist das ein alias ?

                                        Hab den Rat von fastfoot befolgt und den DP einen ausschlsgkräftigen Nmen gegeben.

                                        @fastfoot sagte in Debug Problem:
                                        Ich benenne meine DP meistens um, wie im Trigger gezeigt, dann weiss ich was genau ausgewählt wurde

                                        und funktionieren beide arten von abfragen ?

                                        Ja, beide funktionieren 🙂

                                        liv-in-sky F 2 Replies Last reply Reply Quote 0
                                        • liv-in-sky
                                          liv-in-sky @Negalein last edited by

                                          @Negalein dann is ja alles gut 🙂

                                          1 Reply Last reply Reply Quote 0
                                          • F
                                            fastfoot @Negalein last edited by

                                            @Negalein sagte in Debug Problem:

                                            Ja, beide funktionieren 🙂

                                            dann tippe ich darauf, dass du bei der Prüfung nach dem Triggern mit einem falschen Sensor verglichen hattest. Immerhin klappt es jetzt ja 🙂

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            764
                                            Online

                                            32.0k
                                            Users

                                            80.4k
                                            Topics

                                            1.3m
                                            Posts

                                            5
                                            36
                                            1244
                                            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