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 @crunchip last edited by lobomau

      @Scrounger noch habe ich den Adapter nicht am Laufen. Bisher hatte ich den Unifi-Adapter am Laufen.
      Ich habe einen "Cloud Gateway Ultra". Ich bin davon ausgegangen, dass dies ein Unifi OS ist. Es läuft Version Network 9.4.19, UniFi OS 4.3.9. Einloggen kann ich mich über 192.168.1.1. Ich gebe da keinen Port zusätzlich an. Der andere Adapter hingegen läuft auf port 8443. Muss ich den hier auch einstellen? Das geht ja nur ohne "ist Unifi OS". Und habe ich "default" controller site? Wie finde ich es heraus?

      Edit: nee, der andere Adapter hat auch keinen Port vorgewählt... es erscheint geschwächt 8443 (hatte ich früher mal als container laufen)
      Edit2: ist wohl default:
      c2d8a039-6695-427e-922e-d82a0f8500b4-image.png

      
      unifi-network.0
      2025-10-05 21:11:15.517	info	[onReady]: WebSocket listener to realtime API successfully started
      
      unifi-network.0
      2025-10-05 21:11:15.503	error	[login]: Login to the Unifi-Network controller API failed! (host: 192.168.1.1, site: default)
      
      unifi-network.0
      2025-10-05 21:11:15.502	error	[NetworkApi._retrieve] Unable to connect to the Network controller. This is temporary and may occur during device reboots.
      
      unifi-network.0
      2025-10-05 21:11:12.184	info	starting. Version 1.1.3 (non-npm: Scrounger/ioBroker.unifi-network#fab63502974c2b23b621ebc96844f9d5bc0c61ef) in /opt/iobroker/node_modules/iobroker.unifi-network, node: v22.20.0, js-controller: 7.0.7
      
      1 Reply Last reply Reply Quote 0
      • Rene55
        Rene55 @crunchip last edited by

        @crunchip Thanks, aber die Daten sind schon verfälscht. 🤓

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

          @codierknecht
          also ich hab jetzt extra mal einen self hosted controller in einem proxmox lxc aufgesetzt und auch ne AP dran gehängt.
          Läuft bei mir ohne probleme. Evtl. wird da irgendwas geblockt?
          Test mal die v1.1.4, hab ein paar debug info mit eingebaut, damit man sieht was er da genau macht. Am besten den Adapter davor komplett mal löschen.
          Und bitte info's nach dem test im issue auf github posten!

          @lobomau
          Test mal die v1.1.4, UniFi OS oder self hosted wird jetzt automatusch erkannt. Am besten den Adapter davor komplett mal löschen.
          Wenn noch immer Probleme bestehen, bitte issue auf github erstellen

          lobomau Codierknecht 2 Replies Last reply Reply Quote 0
          • 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
                        • First post
                          Last post

                        Support us

                        ioBroker
                        Community Adapters
                        Donate

                        1.1k
                        Online

                        32.2k
                        Users

                        80.9k
                        Topics

                        1.3m
                        Posts

                        9
                        32
                        793
                        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