Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Skripten / Logik
    4. JavaScript
    5. Unifi WLAN Script 2 mit Anwesenheitskontrolle

    NEWS

    • Monatsrückblick - April 2025

    • Minor js-controller 7.0.7 Update in latest repo

    • Save The Date: ioBroker@Smart Living Forum Solingen, 14.06.

    Unifi WLAN Script 2 mit Anwesenheitskontrolle

    This topic has been deleted. Only users with topic management privileges can see it.
    • dslraser
      dslraser Forum Testing Most Active @liv-in-sky last edited by

      @liv-in-sky sagte in Unifi WLAN Script 2 mit Anwesenheitskontrolle:

      @dslraser bei dir stimmen die zuweisungen der clients zu den devices?

      die Frage verstehe ich nicht ?

      liv-in-sky 1 Reply Last reply Reply Quote 0
      • dslraser
        dslraser Forum Testing Most Active @liv-in-sky last edited by

        @liv-in-sky sagte in Unifi WLAN Script 2 mit Anwesenheitskontrolle:

        @dslraser bei dir stimmen die zuweisungen der clients zu den devices?

        meinst Du das ? Die stimmen alle

        Bildschirmfoto 2019-10-09 um 22.34.48.png

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

          @dslraser @coyote meinte , dass einige clients in der vis/iqontrol mit dem falschengerät angezeigt wird - also beim handy - ist also ein ap steht hinten dann LAN anstatt der ap-name
          das wäre z.b so, wenn das handy über eine ap angemeldet ist, der an einem -nixht-unifi-switch angeschlossen ist

          coyote liv-in-sky 2 Replies Last reply Reply Quote 0
          • coyote
            coyote Most Active @dslraser last edited by

            @dslraser ich habe auch noch die Fritzbox als Cable Modem mit dran. Komischerweise habe ich 2 externe IP Adressen, einmal in der Fritzbox, einmal im USG. In der Fritzbox ist aber auch Bridgemode aktiviert und an dem Anschluss das USG.
            Die Fritzbox würde ich schon gerne weiterhin nutzen, zwar nur für Telefonie und WLAN im Keller, aber naja...

            @liv-in-sky ob es ein Bug im Script ist könnte ich ja auch einfach testen indem ich mal das Script abschalte. Aber solange die Devices im Unifi Controller schon als LAN Devices angezeigt werden, hat es doch wenig mit dem Script zu tun oder?

            1 Reply Last reply Reply Quote 0
            • coyote
              coyote Most Active @liv-in-sky last edited by

              @liv-in-sky sagte in Unifi WLAN Script 2 mit Anwesenheitskontrolle:

              das wäre z.b so, wenn das handy über eine ap angemeldet ist, der an einem -nixht-unifi-switch angeschlossen ist

              wie soll ich das jetzt verstehen?! Ich habe kein Unifi Switch, ich hab ein Zyxel 24Port

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

                @dslraser - genau - schaut gut aus -

                @coyote: ja da is twas falsch, wenn sie im controller schon falsch sind

                1 Reply Last reply Reply Quote 0
                • coyote
                  coyote Most Active last edited by

                  Unifi.JPG

                  Ich bin gar nicht zu Hause.... aber mein Smartphone anscheinend per LAN 🤔 🙄

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

                    @coyote na ja - nur wenn der ap über kabel am zyxel ist - dann kann es sein, dass der controller beim erstenmal die daten über den xycel (usg) bekommt - somit LAN
                    sendet der ap zuerst die daten an den controller - wird der ap name drin sein - reines glück, wer zuerst sendet

                    coyote 1 Reply Last reply Reply Quote 0
                    • coyote
                      coyote Most Active @liv-in-sky last edited by

                      @liv-in-sky aber er müsste doch irgendwann mal merken, dass das Gerät gar nicht mehr vorhanden ist....

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

                        @coyote sagte in Unifi WLAN Script 2 mit Anwesenheitskontrolle:

                        Unifi.JPG

                        Ich bin gar nicht zu Hause.... aber mein Smartphone anscheinend per LAN 🤔 🙄

                        du hast wohl ein imaginäres handy im netz ?!?

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

                          @coyote ich befürchte , die controllersoftware könnte dann einen bug haben - herausfinden könnte man das nur sehr aufwendig - datenbank löschen und den ap direct über ein kbel an den usg anschliessen

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

                            @coyote oder hast du lust im unifi forum mal nachzufragen

                            1 Reply Last reply Reply Quote 0
                            • coyote
                              coyote Most Active @liv-in-sky last edited by

                              @liv-in-sky habe jetzt gerade die Smartphone IP angepingt, nicht dass da tatsächlich was im Netz ist. Sollte aber eigentlich nicht, da feste IP vergeben. Ist auch nicht anpingbar.

                              Ich habe vorhin mal gegoogelt, da gibt es schon mehrere Beiträge mit diesem LAN Phänomen...
                              Ich fand es nur seltsam, dass es erst seit gestern aufgetreten ist und dass mit 3 Smartphones.
                              Testweise kann ich ja nochmal, das "alte" Script laufen lassen, ob sich dann was ändert. Wäre kurios, aber könnte ja sein

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

                                @coyote teste das auf jeden fall mal - ich habe soviel geändert - da könnte schon sein, dass etwas schief läuft

                                natürlich bemerke ich dann fehler mit usg oder switch nicht - da ich nur ap's habe

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

                                  @coyote

                                  was du noch nachsehen könntest:

                                  schau dir mal die client liste in der vis genau an - könnte es sein, dass die reihen um eins oder zwei verrutscht sind ?

                                  als erstest steht ja der name - dahinter der ap name - könnten die ap namen verschoben sein - also das die apnamen nicht zum richtigen namen gehören - dann müßte aber beim letzten in der auflistung ein undefined stehen oder ein ganzer client fehlen

                                  coyote 1 Reply Last reply Reply Quote 0
                                  • dslraser
                                    dslraser Forum Testing Most Active @liv-in-sky last edited by dslraser

                                    @liv-in-sky
                                    werden die Wifi_Client_State aktiv aktualisiert, oder nur wenn sich was von true auf false oder umgekehrt ändert ?
                                    Der Zeitstempel ist wieder stehen geblieben. Schalte ich beim Handy WLAN aus, geht der DP aber brav auf false und beim einschalten wieder auf true.

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

                                      @dslraser ic hwollte extra nicht dauernd schreiben - nur bei änderung geschieht was - keine änderung bei den clients - keine aktualisierung der client-datenpunkte

                                      bei den anderen datenpunkten health .. wir d mmer geschrieben - daher auch der der zyklus bei denen - also alle 3. oder 5. zyklus

                                      dslraser 1 Reply Last reply Reply Quote 0
                                      • dslraser
                                        dslraser Forum Testing Most Active @liv-in-sky last edited by

                                        @liv-in-sky
                                        ah, okay, das ist ja auch gut so. (War aber mal anders, oder ?)

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

                                          @liv-in-sky -nur GästeWLAN

                                          Hi, also ich hab heute mittag das Skript noch mal neu ausgefüllt. allerdings weiss ich nicht wie bzw. wo ich die Datenpunkte anlegen muss.
                                          Ich befürchte ohne Hilfe klappt das nicht.

                                          Ich denke mal eine Teamviewer Session wäre super, wenn das für dich ok ist.

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

                                            @dslraser ne - war von anfang an so

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            1.0k
                                            Online

                                            31.6k
                                            Users

                                            79.4k
                                            Topics

                                            1.3m
                                            Posts

                                            javascript monitoring
                                            46
                                            1358
                                            328224
                                            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