Navigation

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

    NEWS

    • Wir empfehlen: Node.js 22.x

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker goes Matter ... Matter Adapter in Stable

    offene Fenster finden

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

      @pn1337 sagte: Fenster sind unter VIS_virtuelle_Button

      Ich hätte sie unter "alias.0" erwartet, denn das erspart Skripte.

      @pn1337 sagte in Whatsapp Benachrichtigung nach 15 Minuten:

      dazu mein Skript

      Richtig: (functions=window)
      Wenn das Ergebnis einer Funktion (Selektor) mehrfach verwendet wird, sollte man eine Variable für das Ergebnis verwenden.

      Blockly_temp.JPG

      @pn1337 sagte in Whatsapp Benachrichtigung nach 15 Minuten:

      dann eine Philips hue Birne aufleuchtet.

      Wann soll sie aufleuchten?

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

        This post is deleted!
        Codierknecht 1 Reply Last reply Reply Quote 0
        • Codierknecht
          Codierknecht Developer Most Active @Homoran last edited by

          This post is deleted!
          Homoran 1 Reply Last reply Reply Quote 0
          • Homoran
            Homoran Global Moderator Administrators @Codierknecht last edited by

            This post is deleted!
            1 Reply Last reply Reply Quote 0
            • P
              pn1337 @paul53 last edited by pn1337

              @paul53

              Es hat jetzt geklappt. Das mit "wahr" hat noch gefehlt. Die lampe geht jetzt an sobald mindestens ein Fenster auf ist. Aber die Lampe geht nicht aus wenn alle Fenster zu sind. Wie mache ich das denn?

              Bildschirmfoto 2023-03-10 um 09.07.14.png

              EDIT: Habe es hinbekommen. VIELEN DANK!

              Bildschirmfoto 2023-03-10 um 09.11.36.png

              Codierknecht 1 Reply Last reply Reply Quote 0
              • Codierknecht
                Codierknecht Developer Most Active @pn1337 last edited by

                @pn1337
                Mach das im gleichen Trigger.
                Falls > 0 => einschalten
                Sonst => ausschalten

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

                  @codierknecht sagte: Mach das im gleichen Trigger.

                  @pn1337 Die Lampe soll immer leuchten, wenn mind. ein Fenster offen ist?

                  Blockly_temp.JPG

                  P 1 Reply Last reply Reply Quote 1
                  • P
                    pn1337 @paul53 last edited by

                    @paul53
                    Jetzt klappt es nicht mehr. "Anzahl Fenster offen" also bei die "Fenster offen". Welche ID soll das sein? ich habe selbst ein Datenpunkt so erstellt.

                    Bildschirmfoto 2023-03-10 um 10.51.09.png

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

                      @pn1337 sagte: Jetzt klappt es nicht mehr.

                      Vergleiche einfach die Bilder (unten).

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

                        @paul53

                        Wer lesen ist, ist klar im Vorteil. Habe das mit >0 angepasst. Welche ID wähle ich denn bei "Fenster offen" aus?

                        Bildschirmfoto 2023-03-10 um 11.19.33.png

                        haselchen DJMarc75 paul53 3 Replies Last reply Reply Quote 0
                        • haselchen
                          haselchen Most Active @pn1337 last edited by

                          This post is deleted!
                          Homoran 1 Reply Last reply Reply Quote 0
                          • DJMarc75
                            DJMarc75 @pn1337 last edited by

                            @pn1337 Du solltest vll die unteren "blauen Bausteine" in den Trigger packen 😉

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

                              @pn1337 sagte: Welche ID wähle ich denn bei "Fenster offen" aus?

                              Die hier selektierte ID unter "0_userdata.0": "Fenster offen"

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

                                This post is deleted!
                                haselchen paul53 2 Replies Last reply Reply Quote 0
                                • haselchen
                                  haselchen Most Active @Homoran last edited by haselchen

                                  This post is deleted!
                                  1 Reply Last reply Reply Quote 0
                                  • paul53
                                    paul53 @Homoran last edited by

                                    This post is deleted!
                                    Homoran 1 Reply Last reply Reply Quote 1
                                    • Homoran
                                      Homoran Global Moderator Administrators @paul53 last edited by

                                      @paul53 Danke!
                                      werde gleich auch alle OT hier löschen.

                                      ist das ok für euch?
                                      @paul53
                                      @Codierknecht
                                      @haselchen

                                      1 Reply Last reply Reply Quote 3
                                      • P
                                        pn1337 @paul53 last edited by

                                        @paul53

                                        Echt eine schwere Geburt wenn man keine Ahnung hat...

                                        Leider wird die ID"Fenster offen" nicht aktualisiert. Der Wert bleibt auf 0.

                                        Bildschirmfoto 2023-03-10 um 12.00.01.png

                                        Bildschirmfoto 2023-03-10 um 11.58.27.png

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

                                          @pn1337
                                          Der Selektor und die Datenpunkt-ID müssen verschiedene Variablen sein!

                                          Blockly_temp.JPG

                                          Mehrzahl (Selektor) und Einzahl (Datenpunkt-ID).

                                          P 1 Reply Last reply Reply Quote 1
                                          • P
                                            pn1337 @paul53 last edited by

                                            @paul53 DANKE!!!!!!!!!!!

                                            jetzt klappt es. Sehr lobend hier, wie Ihr euch da auskennt!

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            861
                                            Online

                                            32.0k
                                            Users

                                            80.5k
                                            Topics

                                            1.3m
                                            Posts

                                            6
                                            23
                                            702
                                            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