Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Tester
    4. Test Adapter Unifi Network

    NEWS

    • Amazon Alexa - ioBroker Skill läuft aus ?

    • Monatsrückblick – September 2025

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

    Test Adapter Unifi Network

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

      Edit. ok... zuerst code eintragen und hinterher den Codeknopf drüber. Hab ich sonst andersrum gemacht...
      @scrounger haben die bei Github etwas geändert? Sieht in der Preview nicht nach Code aus:

      e7b9e55a-8c6a-429b-91e7-c826a450f060-{CB2BD426-7A55-4977-8D58-F1EF790D8E9A}.png

      Scrounger 1 Reply Last reply Reply Quote 0
      • Scrounger
        Scrounger Developer @lobomau last edited by

        @lobomau
        https://docs.github.com/en/get-started/writing-on-github/working-with-advanced-formatting/creating-and-highlighting-code-blocks#fenced-code-blocks

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

          @scrounger sagte in Test Adapter Unifi Network:

          Test mal die v1.1.4, hab ein paar debug info mit eingebaut, damit man sieht was er da genau macht

          unifi-network.0
          2025-10-06 11:25:53.661	error	[NetworkApi._retrieve] Unable to connect to the Network controller. This is temporary and may occur during device reboots (url: https://192.168.179.13:8443/v2/api/site/D*****V/device?separateUnmanaged=false&includeTrafficUsage=false)
          unifi-network.0
          2025-10-06 11:25:50.633	info	[login]: WebSocket connection to realtime API successfully established
          unifi-network.0
          2025-10-06 11:25:50.630	info	[login]: Logged in successfully to the Unifi-Network controller (host: 192.168.179.13:8443, site: D*****V, isUnifiOs: false)
          unifi-network.0
          2025-10-06 11:25:50.629	debug	[NetworkApi.loginController] login to self hosted UniFi controller successful.
          unifi-network.0
          2025-10-06 11:25:50.302	debug	[NetworkApi.logout] Logging out and clearing credentials.
          unifi-network.0
          2025-10-06 11:25:50.292	debug	[NetworkApi.logout] Logging out and clearing credentials.
          unifi-network.0
          2025-10-06 11:25:50.292	warn	[aliveChecker]: No connection to the Unifi-Network controller -> restart connection (retries: 0, no data since 55s)
          unifi-network.0
          2025-10-06 11:25:20.281	debug	Search can't be optimized because wildcard not at the end, fallback to keys!: function(doc) { if (doc.type === 'state') emit(doc._id, doc) }
          unifi-network.0
          2025-10-06 11:25:20.261	debug	Search can't be optimized because wildcard not at the end, fallback to keys!: function(doc) { if (doc.type === 'state') emit(doc._id, doc) }
          unifi-network.0
          2025-10-06 11:25:20.231	debug	Search can't be optimized because wildcard not at the end, fallback to keys!: function(doc) { if (doc.type === 'state') emit(doc._id, doc) }
          unifi-network.0
          2025-10-06 11:25:20.120	error	[NetworkApi._retrieve] Unable to connect to the Network controller. This is temporary and may occur during device reboots (url: https://192.168.179.13:8443/v2/api/site/D*****V/wlan/enriched-configuration)
          unifi-network.0
          2025-10-06 11:25:17.100	error	[NetworkApi._retrieve] Unable to connect to the Network controller. This is temporary and may occur during device reboots (url: https://192.168.179.13:8443/v2/api/site/D*****V/wlan/enriched-configuration)
          unifi-network.0
          2025-10-06 11:25:14.060	debug	[createOrUpdateChannel]: creating channel 'wlan'
          unifi-network.0
          2025-10-06 11:25:14.053	error	[NetworkApi._retrieve] Unable to connect to the Network controller. This is temporary and may occur during device reboots (url: https://192.168.179.13:8443/v2/api/site/D*****V/clients/history?includeUnifiDevices=true&withinHours=0)
          unifi-network.0
          2025-10-06 11:25:11.024	error	[NetworkApi._retrieve] Unable to connect to the Network controller. This is temporary and may occur during device reboots (url: https://192.168.179.13:8443/v2/api/site/D*****V/clients/history?includeUnifiDevices=true&withinHours=0)
          unifi-network.0
          2025-10-06 11:25:07.992	error	[NetworkApi._retrieve] Unable to connect to the Network controller. This is temporary and may occur during device reboots (url: https://192.168.179.13:8443/v2/api/site/D*****V/clients/active?includeTrafficUsage=false&includeUnifiDevices=true)
          unifi-network.0
          2025-10-06 11:25:04.964	error	[NetworkApi._retrieve] Unable to connect to the Network controller. This is temporary and may occur during device reboots (url: https://192.168.179.13:8443/v2/api/site/D*****V/clients/active?includeTrafficUsage=false&includeUnifiDevices=true)
          unifi-network.0
          2025-10-06 11:25:01.941	debug	[createOrUpdateChannel]: creating channel 'clients'
          unifi-network.0
          2025-10-06 11:25:01.939	debug	[createOrUpdateChannel]: creating channel 'clients.vpn'
          unifi-network.0
          2025-10-06 11:25:01.937	debug	[createOrUpdateChannel]: creating channel 'clients.guests'
          unifi-network.0
          2025-10-06 11:25:01.934	debug	[createOrUpdateChannel]: creating channel 'clients.users'
          unifi-network.0
          2025-10-06 11:25:01.929	debug	[createOrUpdateChannel]: creating channel 'devices'
          unifi-network.0
          2025-10-06 11:25:01.927	error	[NetworkApi._retrieve] Unable to connect to the Network controller. This is temporary and may occur during device reboots (url: https://192.168.179.13:8443/v2/api/site/D*****V/device?separateUnmanaged=false&includeTrafficUsage=false)
          unifi-network.0
          2025-10-06 11:24:58.905	error	[NetworkApi._retrieve] Unable to connect to the Network controller. This is temporary and may occur during device reboots (url: https://192.168.179.13:8443/v2/api/site/D*****V/device?separateUnmanaged=false&includeTrafficUsage=false)
          unifi-network.0
          2025-10-06 11:24:55.850	info	[login]: WebSocket connection to realtime API successfully established
          unifi-network.0
          2025-10-06 11:24:55.836	debug	[NetworkApi.loginController] login to self hosted UniFi controller successful.
          unifi-network.0
          2025-10-06 11:24:55.565	info	[login]: Logged in successfully to the Unifi-Network controller (host: 192.168.179.13:8443, site: D*****V, isUnifiOs: false)
          unifi-network.0
          2025-10-06 11:24:55.564	debug	[NetworkApi.loginController] login to self hosted UniFi controller successful.
          unifi-network.0
          2025-10-06 11:24:55.325	debug	[NetworkApi.logout] Logging out and clearing credentials.
          unifi-network.0
          2025-10-06 11:24:55.325	debug	[NetworkApi.detectUnifiOs] self hosted controller detected
          unifi-network.0
          2025-10-06 11:24:55.325	debug	[NetworkApi.detectUnifiOs] detect self hosted controller repsonse: {"statusCode":302,"headers":{"location":"/manage","content-length":"0","date":"Mon, 06 Oct 2025 09:24:55 GMT","keep-alive":"timeout=30","connection":"keep-alive"},"trailers":{},"opaque":null,"body":{"_events":{},"_readableState":{"highWaterMark":65536,"buffer":[],"bufferIndex":0,"length":0,"pipes":[],"awaitDrainWriters":null}}}
          unifi-network.0
          2025-10-06 11:24:55.282	info	starting. Version 1.1.4 (non-npm: Scrounger/ioBroker.unifi-network) in /opt/iobroker/node_modules/iobroker.unifi-network, node: v22.20.0, js-controller: 7.0.7
          unifi-network.0
          2025-10-06 11:24:55.193	debug	States connected to redis: 0.0.0.0:9010
          unifi-network.0
          2025-10-06 11:24:55.137	debug	States create User PubSub Client
          unifi-network.0
          2025-10-06 11:24:55.136	debug	States create System PubSub Client
          unifi-network.0
          2025-10-06 11:24:55.131	debug	Redis States: Use Redis connection: 0.0.0.0:9010
          unifi-network.0
          2025-10-06 11:24:55.118	debug	Objects connected to redis: 0.0.0.0:9011
          unifi-network.0
          2025-10-06 11:24:55.116	debug	Objects client initialize lua scripts
          unifi-network.0
          2025-10-06 11:24:55.097	debug	Objects create User PubSub Client
          unifi-network.0
          2025-10-06 11:24:55.096	debug	Objects create System PubSub Client
          unifi-network.0
          2025-10-06 11:24:55.095	debug	Objects client ready ... initialize now
          unifi-network.0
          2025-10-06 11:24:55.082	debug	Redis Objects: Use Redis connection: 0.0.0.0:9011
          

          Geht gleich auch noch an GH

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

            @Scrounger

            Mit einer Site "default" klappt's dann auch. Issue habe ich geschlossen.

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

              @codierknecht
              Hab jetzt noch ne Prüfung eingebaut, die anzeigt welche Sites überhaupt verfügbar sind und bei falscher Eingabe ne Error Meldung wirft

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

                @scrounger

                Die automatische Übersetzung hat wieder zugeschlagen 😁

                3732c4d4-a9c4-4b34-afd0-273687ff6bd6-grafik.png

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

                  @codierknecht sagte in Test Adapter Unifi Network:

                  @scrounger

                  Die automatische Übersetzung hat wieder zugeschlagen 😁

                  Tja da gibt's noch nen paar andere so klöpse drin
                  Wenn ihr mithelfen wollt dann erstellt nen PR mit korrigierten Übersetzungen.

                  1 Reply Last reply Reply Quote 0
                  • O
                    oxident last edited by

                    Tolle Idee mit dem Adapter ... und danke, dass Du das öffentlich verfügbar machst.

                    Leider ist bei mir wohl ein Rebuild bei der Installation nötig ... und der schlägt mit NodeJS 22.20.0 fehl da das Modul "TokenRefresher" nicht gefunden werden kann. Habe ein Issue unter https://github.com/Scrounger/ioBroker.unifi-network/issues/33 aufgemacht.

                    kopierschnitte created this issue in Scrounger/ioBroker.unifi-network

                    closed [bug]: Node 22: Module TokenRefresher not found #33

                    1 Reply Last reply Reply Quote 0
                    • D
                      Dragon last edited by

                      Kann die Zugangsdaten nicht speichern. Er gibt jedes mal einen Json error und die Daten sind wieder leer.

                      Scrounger 1 Reply Last reply Reply Quote 0
                      • Scrounger
                        Scrounger Developer @Dragon last edited by

                        @dragon
                        Logs und genauere Beschreibung was du gemacht hast?

                        1 Reply Last reply Reply Quote 0
                        • JackDaniel
                          JackDaniel last edited by JackDaniel

                          wäre es möglich das der adapter den db last_seen bei den clients gleich von einem unix zeitstempel in ein "lesbares" datum/uhrzeit format umwandelt,oder ist es doch besser das über einen alias zu konvertieren?

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

                            @jackdaniel

                            wäre es möglich das der adapter den db last_seen bei den clients gleich von einem unix zeitstempel in ein "lesbares" datum/uhrzeit format umwandelt,oder ist es doch besser das über einen alias zu konvertieren?

                            @scrounger sagte in Test Adapter Unifi Network:

                            Nee des ist bewusst so weil ich immer mit timestamps arbeitet. Wenn man mit der Maus drüber fährt zeigt es ja das Datum und Zeit an.
                            Alternativ kannst du ja nen alias erstellen

                            1 Reply Last reply Reply Quote 0
                            • mcm1957
                              mcm1957 last edited by mcm1957

                              @dragon said in Test Adapter Unifi Network:

                              Kann die Zugangsdaten nicht speichern. Er gibt jedes mal einen Json error und die Daten sind wieder leer.

                              @Scrounger
                              Hab heute dieses Issue mitbekommen:
                              https://github.com/ioBroker/ioBroker.admin/issues/3257

                              Nur als Info falls da was in Admin faul ist das sich nur bei gewissen Konstellationen auswirkt. Issue bei unifi-network hab ich nicht gefunden um das dort ggF zu verlinken

                              Octopyrox created this issue in ioBroker/ioBroker.admin

                              open [bug]: Json Config Fehlermeldung bei speichern von Änderungen in Adapter Config von Pirate Weather #3257

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

                              Support us

                              ioBroker
                              Community Adapters
                              Donate

                              497
                              Online

                              32.3k
                              Users

                              81.0k
                              Topics

                              1.3m
                              Posts

                              13
                              38
                              1205
                              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