Skip to content
  • Aktuell
  • Tags
  • 0 Ungelesen 0
  • Kategorien
  • Unreplied
  • Beliebt
  • GitHub
  • Docu
  • Hilfe
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Standard: (Kein Skin)
  • Kein Skin
Einklappen
ioBroker Logo
  1. ioBroker Community Home
  2. Deutsch
  3. ioBroker Allgemein
  4. Adapter: ioBroker.unifi

NEWS

  • UPDATE 31.10.: Amazon Alexa - ioBroker Skill läuft aus ?
    apollon77A
    apollon77
    48
    3
    8.1k

  • Monatsrückblick – September 2025
    BluefoxB
    Bluefox
    13
    1
    1.8k

  • Neues Video "KI im Smart Home" - ioBroker plus n8n
    BluefoxB
    Bluefox
    15
    1
    2.1k

Adapter: ioBroker.unifi

Geplant Angeheftet Gesperrt Verschoben ioBroker Allgemein
unifi
1.0k Beiträge 172 Kommentatoren 392.9k Aufrufe 93 Watching
  • Älteste zuerst
  • Neuste zuerst
  • Meiste Stimmen
Antworten
  • In einem neuen Thema antworten
Anmelden zum Antworten
Dieses Thema wurde gelöscht. Nur Nutzer mit entsprechenden Rechten können es sehen.
  • Samson71S Samson71

    @xdelta sagte in Adapter: ioBroker.unifi:

    (! Man muss aber wissen, dass sich dabei immer das gesamte WLAN kurz trennt und dann wieder verbindet !)

    Ist klar, da die AP's dann kurz neu provisioniert werden. Letzten Endes auch der Grund warum ich das auch nicht weiter verfolgt habe. Das Gäste WLAN ist jetzt halt immer aktiv. Läuft über Voucher und hier ist die Gesamtdichte an aktiven Netzen nicht ganz so schlimm.

    X Offline
    X Offline
    xdelta
    schrieb am zuletzt editiert von
    #901

    @samson71

    So siehts aus! Ich habs deshalb ebenso mit Vouchern gelöst 🙂

    draexlerD 1 Antwort Letzte Antwort
    0
    • X xdelta

      @samson71

      So siehts aus! Ich habs deshalb ebenso mit Vouchern gelöst 🙂

      draexlerD Nicht stören
      draexlerD Nicht stören
      draexler
      schrieb am zuletzt editiert von
      #902

      @xdelta geht bei euch die Voucherstellung noch?

      Samson71S X 2 Antworten Letzte Antwort
      0
      • draexlerD draexler

        @xdelta geht bei euch die Voucherstellung noch?

        Samson71S Offline
        Samson71S Offline
        Samson71
        Global Moderator
        schrieb am zuletzt editiert von
        #903

        @draexler
        Nicht über bzw. aus ioBroker heraus falls das gemeint war. Ich mache das direkt im Unifi Controller.

        1 Antwort Letzte Antwort
        0
        • draexlerD draexler

          @xdelta geht bei euch die Voucherstellung noch?

          X Offline
          X Offline
          xdelta
          schrieb am zuletzt editiert von
          #904

          @draexler said in Adapter: ioBroker.unifi:

          @xdelta geht bei euch die Voucherstellung noch?

          Nein, das geht bei mir nur direkt aus der UDM heraus. Mit ioBroker leider nicht über den dp..

          1 Antwort Letzte Antwort
          0
          • draexlerD Nicht stören
            draexlerD Nicht stören
            draexler
            schrieb am zuletzt editiert von
            #905

            @xdelta also wenn ihr auf den Trigger „Vouchererstellung“ klickt, habt ihr auch eine Axios Fehlermeldung im Log?
            Will nur wissen ob andere auch betroffen sind.

            X 1 Antwort Letzte Antwort
            0
            • A Offline
              A Offline
              Adnim
              schrieb am zuletzt editiert von
              #906

              @draexler sagte in Adapter: ioBroker.unifi:

              xdelta also wenn ihr auf den Trigger „Vouchererstellung“ klickt, habt ihr auch eine Axios Fehlermeldung im Log?
              Will nur wissen ob andere auch betroffen sind.

              Mache das über das Unifi Skript von @liv-in-sky. Evtl kann es mal irgendwann in den Adapter übernommen werden. Die Vouchers über Telegram abrufen/erzeugen ist schon ziemlich cool!

              -> https://forum.iobroker.net/topic/25066/unifi-wlan-script-2-mit-anwesenheitskontrolle?_=1707798864830

              1 Antwort Letzte Antwort
              0
              • draexlerD draexler

                @xdelta also wenn ihr auf den Trigger „Vouchererstellung“ klickt, habt ihr auch eine Axios Fehlermeldung im Log?
                Will nur wissen ob andere auch betroffen sind.

                X Offline
                X Offline
                xdelta
                schrieb am zuletzt editiert von
                #907

                @draexler said in Adapter: ioBroker.unifi:

                @xdelta also wenn ihr auf den Trigger „Vouchererstellung“ klickt, habt ihr auch eine Axios Fehlermeldung im Log? > Will nur wissen ob andere auch betroffen sind.

                Ja, habe ich ebenso.

                [createUnifiVouchers site default] error: Request failed with status code 400, stack: AxiosError: Request failed with status code 400 at settle (/opt/iobroker/node_modules/axios/dist/node/axios.cjs:1967:12) at IncomingMessage.handleStreamEnd (/opt/iobroker/node_modules/axios/dist/node/axios.cjs:3062:11) at IncomingMessage.emit (node:events:529:35) at endReadableNT (node:internal/streams/readable:1400:12) at process.processTicksAndRejections (node:internal/process/task_queues:82:21)
                
                draexlerD 1 Antwort Letzte Antwort
                1
                • X xdelta

                  @draexler said in Adapter: ioBroker.unifi:

                  @xdelta also wenn ihr auf den Trigger „Vouchererstellung“ klickt, habt ihr auch eine Axios Fehlermeldung im Log? > Will nur wissen ob andere auch betroffen sind.

                  Ja, habe ich ebenso.

                  [createUnifiVouchers site default] error: Request failed with status code 400, stack: AxiosError: Request failed with status code 400 at settle (/opt/iobroker/node_modules/axios/dist/node/axios.cjs:1967:12) at IncomingMessage.handleStreamEnd (/opt/iobroker/node_modules/axios/dist/node/axios.cjs:3062:11) at IncomingMessage.emit (node:events:529:35) at endReadableNT (node:internal/streams/readable:1400:12) at process.processTicksAndRejections (node:internal/process/task_queues:82:21)
                  
                  draexlerD Nicht stören
                  draexlerD Nicht stören
                  draexler
                  schrieb am zuletzt editiert von
                  #908

                  @xdelta Danke, also definitiv nicht Einzelfälle. GitHub Issue ist aber schon eingestellt.

                  1 Antwort Letzte Antwort
                  0
                  • W Offline
                    W Offline
                    warp735
                    schrieb am zuletzt editiert von
                    #909

                    Ich warte das System eine Freundes und wurde gerade mit dieser Meldung begrüßt. Scheinbar ist der Adapter nicht mehr lange nutzbar 😞

                    Snag_214759.png

                    O Meister MopperM 2 Antworten Letzte Antwort
                    0
                    • W warp735

                      Ich warte das System eine Freundes und wurde gerade mit dieser Meldung begrüßt. Scheinbar ist der Adapter nicht mehr lange nutzbar 😞

                      Snag_214759.png

                      O Offline
                      O Offline
                      oxident
                      schrieb am zuletzt editiert von
                      #910

                      @warp735 Hmm, aber der Adapter nutzt doch den lokalen Zugang und nicht die Cloud.

                      Habe 2FA jetzt seit Anfang des Jahres aktiviert und keine (neuen) Probleme mit dem Adapter.

                      W 1 Antwort Letzte Antwort
                      0
                      • O oxident

                        @warp735 Hmm, aber der Adapter nutzt doch den lokalen Zugang und nicht die Cloud.

                        Habe 2FA jetzt seit Anfang des Jahres aktiviert und keine (neuen) Probleme mit dem Adapter.

                        W Offline
                        W Offline
                        warp735
                        schrieb am zuletzt editiert von
                        #911

                        @oxident
                        Oh... das wusste ich nicht. "Früher"war es Bedingung 2FA zu deaktivieren und bei mir hatte es mit auch nicht funktioniert.

                        1 Antwort Letzte Antwort
                        1
                        • W warp735

                          Ich warte das System eine Freundes und wurde gerade mit dieser Meldung begrüßt. Scheinbar ist der Adapter nicht mehr lange nutzbar 😞

                          Snag_214759.png

                          Meister MopperM Abwesend
                          Meister MopperM Abwesend
                          Meister Mopper
                          schrieb am zuletzt editiert von
                          #912

                          @warp735 sagte in Adapter: ioBroker.unifi:

                          Ich warte das System eine Freundes und wurde gerade mit dieser Meldung begrüßt. Scheinbar ist der Adapter nicht mehr lange nutzbar 😞

                          Snag_214759.png

                          Noch läuft bei mir beides. Ich habe einen lokalen Zugang und einen über die cloud (2FA).

                          Proxmox und HA

                          W 1 Antwort Letzte Antwort
                          1
                          • Meister MopperM Meister Mopper

                            @warp735 sagte in Adapter: ioBroker.unifi:

                            Ich warte das System eine Freundes und wurde gerade mit dieser Meldung begrüßt. Scheinbar ist der Adapter nicht mehr lange nutzbar 😞

                            Snag_214759.png

                            Noch läuft bei mir beides. Ich habe einen lokalen Zugang und einen über die cloud (2FA).

                            W Offline
                            W Offline
                            warp735
                            schrieb am zuletzt editiert von
                            #913

                            @meister-mopper sagte in Adapter: ioBroker.unifi:

                            Ich habe einen lokalen Zugang

                            Wo hast Du den eingerichtet? Hab MFA jetzt aktiviert und Adapter läuft nicht mehr. Geb ich die IP der UDM hier lokal ein, wird auch ein mfa Pin benötigt. Das muss ich doch dann irgendwo abstellen können?

                            M Meister MopperM 2 Antworten Letzte Antwort
                            0
                            • W warp735

                              @meister-mopper sagte in Adapter: ioBroker.unifi:

                              Ich habe einen lokalen Zugang

                              Wo hast Du den eingerichtet? Hab MFA jetzt aktiviert und Adapter läuft nicht mehr. Geb ich die IP der UDM hier lokal ein, wird auch ein mfa Pin benötigt. Das muss ich doch dann irgendwo abstellen können?

                              M Offline
                              M Offline
                              martinschm
                              schrieb am zuletzt editiert von
                              #914

                              Hi,

                              ich hab immer wieder das Problem, das mein unifi Adapter wg zu vieler Abstürze gestoppt wird. Ich hab dann immer auf debug Modus gestellt und das Problem trat ewig nicht auf. Jetzt hab ich endlich mal einen Ausstieg erwischt und hab ein paar Logs.

                              2024-02-22 20:33:11.822  - debug: unifi.0 (2124279) Search can't be optimized because wildcard not at the end, fallback to keys!: function(doc) { if (doc.type === 'state') emit(doc._id, doc) }
                              2024-02-22 20:33:11.912  - debug: unifi.0 (2124279) Search can't be optimized because wildcard not at the end, fallback to keys!: function(doc) { if (doc.type === 'state') emit(doc._id, doc) }
                              2024-02-22 20:33:12.318  - debug: unifi.0 (2124279) Update done
                              2024-02-22 20:34:12.319  - debug: unifi.0 (2124279) Update started
                              2024-02-22 20:34:22.360  - error: unifi.0 (2124279) [updateUnifiData-login site undefined] error: timeout of 10000ms exceeded, stack: AxiosError: timeout of 10000ms exceeded
                                  at RedirectableRequest.handleRequestTimeout (/opt/iobroker/node_modules/axios/dist/node/axios.cjs:3120:16)
                                  at RedirectableRequest.emit (node:events:514:28)
                                  at Timeout.<anonymous> (/opt/iobroker/node_modules/follow-redirects/index.js:210:12)
                                  at listOnTimeout (node:internal/timers:569:17)
                                  at process.processTimers (node:internal/timers:512:7)
                              2024-02-22 20:34:22.364  - error: unifi.0 (2124279) Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch().
                              2024-02-22 20:34:22.364  - error: unifi.0 (2124279) unhandled promise rejection: Cannot read properties of undefined (reading 'captureException')
                              2024-02-22 20:34:22.365  - error: unifi.0 (2124279) TypeError: Cannot read properties of undefined (reading 'captureException')
                                  at Unifi.handleError (/opt/iobroker/node_modules/iobroker.unifi/main.js:243:53)
                                  at Unifi.updateUnifiData (/opt/iobroker/node_modules/iobroker.unifi/main.js:269:22)
                              2024-02-22 20:34:22.365  - error: unifi.0 (2124279) Cannot read properties of undefined (reading 'captureException')
                              2024-02-22 20:34:22.370  - info: unifi.0 (2124279) cleaned everything up...
                              2024-02-22 20:34:22.371  - info: unifi.0 (2124279) terminating
                              2024-02-22 20:34:22.371  - debug: unifi.0 (2124279) Plugin sentry destroyed
                              2024-02-22 20:34:22.372  - warn: unifi.0 (2124279) Terminated (UNCAUGHT_EXCEPTION): Without reason
                              2024-02-22 20:34:22.877  - info: unifi.0 (2124279) terminating
                              2024-02-22 20:34:23.424  - error: host.smarthome instance system.adapter.unifi.0 terminated with code 6 (UNCAUGHT_EXCEPTION)
                              2024-02-22 20:34:23.426  - info: host.smarthome Restart adapter system.adapter.unifi.0 because enabled
                              2024-02-22 20:34:49.560  - warn: telegram.0 (873586) polling_error: EFATAL, EFATAL: Error: read ETIMEDOUT
                              2024-02-22 20:34:50.930  - error: cloud.0 (644250) Ping timeout
                              2024-02-22 20:34:53.990  - info: host.smarthome instance system.adapter.unifi.0 started with pid 1655176
                              2024-02-22 20:34:56.608  - debug: unifi.0 (1655176) Redis Objects: Use Redis connection: 0.0.0.0:9001
                              2024-02-22 20:34:56.694  - debug: unifi.0 (1655176) Objects client ready ... initialize now
                              2024-02-22 20:34:56.696  - debug: unifi.0 (1655176) Objects create System PubSub Client
                              2024-02-22 20:34:56.698  - debug: unifi.0 (1655176) Objects create User PubSub Client
                              2024-02-22 20:34:56.890  - debug: unifi.0 (1655176) Objects client initialize lua scripts
                              2024-02-22 20:34:56.903  - debug: unifi.0 (1655176) Objects connected to redis: 0.0.0.0:9001
                              2024-02-22 20:34:57.001  - debug: unifi.0 (1655176) Redis States: Use Redis connection: 0.0.0.0:6379
                              2024-02-22 20:34:57.012  - debug: unifi.0 (1655176) States create System PubSub Client
                              2024-02-22 20:34:57.013  - debug: unifi.0 (1655176) States create User PubSub Client
                              2024-02-22 20:34:57.028  - debug: unifi.0 (1655176) States connected to redis: 0.0.0.0:6379
                              2024-02-22 20:34:57.120  - debug: unifi.0 (1655176) Plugin sentry Initialize Plugin (enabled=true)
                              2024-02-22 20:34:57.130  - info: unifi.0 (1655176) Plugin sentry Sentry Plugin disabled for this process because sending of statistic data is disabled for the system
                              2024-02-22 20:34:57.568  - info: unifi.0 (1655176) starting. Version 0.6.7 in /opt/iobroker/node_modules/iobroker.unifi, node: v18.17.1, js-controller: 5.0.12
                              2024-02-22 20:34:57.623  - info: unifi.0 (1655176) UniFi adapter is ready
                              2024-02-22 20:34:57.624  - debug: unifi.0 (1655176) controller = 192.168.1.10:8443
                              2024-02-22 20:34:57.626  - debug: unifi.0 (1655176) updateInterval = 60
                              2024-02-22 20:34:57.627  - debug: unifi.0 (1655176) Update started
                              2024-02-22 20:35:08.075  - error: unifi.0 (1655176) [updateUnifiData-login site undefined] error: timeout of 10000ms exceeded, stack: AxiosError: timeout of 10000ms exceeded
                                  at RedirectableRequest.handleRequestTimeout (/opt/iobroker/node_modules/axios/dist/node/axios.cjs:3120:16)
                                  at RedirectableRequest.emit (node:events:514:28)
                                  at Timeout.<anonymous> (/opt/iobroker/node_modules/follow-redirects/index.js:210:12)
                                  at listOnTimeout (node:internal/timers:569:17)
                                  at process.processTimers (node:internal/timers:512:7)
                              2024-02-22 20:35:08.078  - error: unifi.0 (1655176) Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch().
                              2024-02-22 20:35:08.079  - error: unifi.0 (1655176) unhandled promise rejection: Cannot read properties of undefined (reading 'captureException')
                              2024-02-22 20:35:08.080  - error: unifi.0 (1655176) TypeError: Cannot read properties of undefined (reading 'captureException')
                                  at Unifi.handleError (/opt/iobroker/node_modules/iobroker.unifi/main.js:243:53)
                                  at Unifi.updateUnifiData (/opt/iobroker/node_modules/iobroker.unifi/main.js:269:22)
                              2024-02-22 20:35:08.081  - error: unifi.0 (1655176) Cannot read properties of undefined (reading 'captureException')
                              2024-02-22 20:35:08.091  - info: unifi.0 (1655176) cleaned everything up...
                              2024-02-22 20:35:08.092  - info: unifi.0 (1655176) terminating
                              2024-02-22 20:35:08.093  - debug: unifi.0 (1655176) Plugin sentry destroyed
                              2024-02-22 20:35:08.094  - warn: unifi.0 (1655176) Terminated (UNCAUGHT_EXCEPTION): Without reason
                              2024-02-22 20:35:08.596  - info: unifi.0 (1655176) terminating
                              2024-02-22 20:35:08.974  - error: host.smarthome instance system.adapter.unifi.0 terminated with code 6 (UNCAUGHT_EXCEPTION)
                              2024-02-22 20:35:08.975  - info: host.smarthome Restart adapter system.adapter.unifi.0 because enabled
                              2024-02-22 20:35:20.958  - info: cloud.0 (644250) Trying to connect as system.user.admin to cloud
                              2024-02-22 20:35:30.944  - error: cloud.0 (644250) Error while connecting to cloud: timeout
                              2024-02-22 20:35:39.599  - info: host.smarthome instance system.adapter.unifi.0 started with pid 1655211
                              2024-02-22 20:35:41.329  - info: iot.0 (1446) Connection changed: disconnect
                              2024-02-22 20:35:41.332  - info: iot.0 (1446) Connection lost
                              2024-02-22 20:35:41.922  - debug: unifi.0 (1655211) Redis Objects: Use Redis connection: 0.0.0.0:9001
                              2024-02-22 20:35:42.005  - debug: unifi.0 (1655211) Objects client ready ... initialize now
                              2024-02-22 20:35:42.010  - debug: unifi.0 (1655211) Objects create System PubSub Client
                              2024-02-22 20:35:42.012  - debug: unifi.0 (1655211) Objects create User PubSub Client
                              2024-02-22 20:35:42.165  - debug: unifi.0 (1655211) Objects client initialize lua scripts
                              2024-02-22 20:35:42.175  - debug: unifi.0 (1655211) Objects connected to redis: 0.0.0.0:9001
                              2024-02-22 20:35:42.288  - debug: unifi.0 (1655211) Redis States: Use Redis connection: 0.0.0.0:6379
                              2024-02-22 20:35:42.298  - debug: unifi.0 (1655211) States create System PubSub Client
                              2024-02-22 20:35:42.300  - debug: unifi.0 (1655211) States create User PubSub Client
                              2024-02-22 20:35:42.316  - debug: unifi.0 (1655211) States connected to redis: 0.0.0.0:6379
                              2024-02-22 20:35:42.393  - debug: unifi.0 (1655211) Plugin sentry Initialize Plugin (enabled=true)
                              2024-02-22 20:35:42.401  - info: unifi.0 (1655211) Plugin sentry Sentry Plugin disabled for this process because sending of statistic data is disabled for the system
                              2024-02-22 20:35:42.878  - info: unifi.0 (1655211) starting. Version 0.6.7 in /opt/iobroker/node_modules/iobroker.unifi, node: v18.17.1, js-controller: 5.0.12
                              2024-02-22 20:35:42.940  - info: unifi.0 (1655211) UniFi adapter is ready
                              2024-02-22 20:35:42.942  - debug: unifi.0 (1655211) controller = 192.168.1.10:8443
                              2024-02-22 20:35:42.943  - debug: unifi.0 (1655211) updateInterval = 60
                              2024-02-22 20:35:42.944  - debug: unifi.0 (1655211) Update started
                              2024-02-22 20:35:50.957  - info: cloud.0 (644250) Trying to connect as system.user.admin to cloud
                              2024-02-22 20:35:53.390  - error: unifi.0 (1655211) [updateUnifiData-login site undefined] error: timeout of 10000ms exceeded, stack: AxiosError: timeout of 10000ms exceeded
                                  at RedirectableRequest.handleRequestTimeout (/opt/iobroker/node_modules/axios/dist/node/axios.cjs:3120:16)
                                  at RedirectableRequest.emit (node:events:514:28)
                                  at Timeout.<anonymous> (/opt/iobroker/node_modules/follow-redirects/index.js:210:12)
                                  at listOnTimeout (node:internal/timers:569:17)
                                  at process.processTimers (node:internal/timers:512:7)
                              2024-02-22 20:35:53.392  - error: unifi.0 (1655211) Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch().
                              2024-02-22 20:35:53.394  - error: unifi.0 (1655211) unhandled promise rejection: Cannot read properties of undefined (reading 'captureException')
                              2024-02-22 20:35:53.395  - error: unifi.0 (1655211) TypeError: Cannot read properties of undefined (reading 'captureException')
                                  at Unifi.handleError (/opt/iobroker/node_modules/iobroker.unifi/main.js:243:53)
                                  at Unifi.updateUnifiData (/opt/iobroker/node_modules/iobroker.unifi/main.js:269:22)
                              2024-02-22 20:35:53.396  - error: unifi.0 (1655211) Cannot read properties of undefined (reading 'captureException')
                              2024-02-22 20:35:53.401  - info: unifi.0 (1655211) cleaned everything up...
                              2024-02-22 20:35:53.402  - info: unifi.0 (1655211) terminating
                              2024-02-22 20:35:53.403  - debug: unifi.0 (1655211) Plugin sentry destroyed
                              2024-02-22 20:35:53.404  - warn: unifi.0 (1655211) Terminated (UNCAUGHT_EXCEPTION): Without reason
                              2024-02-22 20:35:53.907  - info: unifi.0 (1655211) terminating
                              2024-02-22 20:35:54.450  - error: host.smarthome instance system.adapter.unifi.0 terminated with code 6 (UNCAUGHT_EXCEPTION)
                              2024-02-22 20:35:54.452  - info: host.smarthome Restart adapter system.adapter.unifi.0 because enabled
                              2024-02-22 20:35:54.454  - warn: host.smarthome Do not restart adapter system.adapter.unifi.0 because restart loop detected
                              

                              Ich hab in den Logs auch ein paar Fehlermeldungen vom Cloud und Telegram Adapter, wo sie disconnected waren. Evtl hat das UniFi Problem ja auch was mit einer unterbrochenen Verbindug zu tun.

                              Leider sind im Log beim Kopieren die komischen Sonderzeichen gelandet. Ich hoffe es ist trotzdem für euch lesbar.

                              Habt ihr eine Idee woran es liegen kann, dass der Adapter immer wieder abstürzt?

                              F 1 Antwort Letzte Antwort
                              0
                              • M martinschm

                                Hi,

                                ich hab immer wieder das Problem, das mein unifi Adapter wg zu vieler Abstürze gestoppt wird. Ich hab dann immer auf debug Modus gestellt und das Problem trat ewig nicht auf. Jetzt hab ich endlich mal einen Ausstieg erwischt und hab ein paar Logs.

                                2024-02-22 20:33:11.822  - debug: unifi.0 (2124279) Search can't be optimized because wildcard not at the end, fallback to keys!: function(doc) { if (doc.type === 'state') emit(doc._id, doc) }
                                2024-02-22 20:33:11.912  - debug: unifi.0 (2124279) Search can't be optimized because wildcard not at the end, fallback to keys!: function(doc) { if (doc.type === 'state') emit(doc._id, doc) }
                                2024-02-22 20:33:12.318  - debug: unifi.0 (2124279) Update done
                                2024-02-22 20:34:12.319  - debug: unifi.0 (2124279) Update started
                                2024-02-22 20:34:22.360  - error: unifi.0 (2124279) [updateUnifiData-login site undefined] error: timeout of 10000ms exceeded, stack: AxiosError: timeout of 10000ms exceeded
                                    at RedirectableRequest.handleRequestTimeout (/opt/iobroker/node_modules/axios/dist/node/axios.cjs:3120:16)
                                    at RedirectableRequest.emit (node:events:514:28)
                                    at Timeout.<anonymous> (/opt/iobroker/node_modules/follow-redirects/index.js:210:12)
                                    at listOnTimeout (node:internal/timers:569:17)
                                    at process.processTimers (node:internal/timers:512:7)
                                2024-02-22 20:34:22.364  - error: unifi.0 (2124279) Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch().
                                2024-02-22 20:34:22.364  - error: unifi.0 (2124279) unhandled promise rejection: Cannot read properties of undefined (reading 'captureException')
                                2024-02-22 20:34:22.365  - error: unifi.0 (2124279) TypeError: Cannot read properties of undefined (reading 'captureException')
                                    at Unifi.handleError (/opt/iobroker/node_modules/iobroker.unifi/main.js:243:53)
                                    at Unifi.updateUnifiData (/opt/iobroker/node_modules/iobroker.unifi/main.js:269:22)
                                2024-02-22 20:34:22.365  - error: unifi.0 (2124279) Cannot read properties of undefined (reading 'captureException')
                                2024-02-22 20:34:22.370  - info: unifi.0 (2124279) cleaned everything up...
                                2024-02-22 20:34:22.371  - info: unifi.0 (2124279) terminating
                                2024-02-22 20:34:22.371  - debug: unifi.0 (2124279) Plugin sentry destroyed
                                2024-02-22 20:34:22.372  - warn: unifi.0 (2124279) Terminated (UNCAUGHT_EXCEPTION): Without reason
                                2024-02-22 20:34:22.877  - info: unifi.0 (2124279) terminating
                                2024-02-22 20:34:23.424  - error: host.smarthome instance system.adapter.unifi.0 terminated with code 6 (UNCAUGHT_EXCEPTION)
                                2024-02-22 20:34:23.426  - info: host.smarthome Restart adapter system.adapter.unifi.0 because enabled
                                2024-02-22 20:34:49.560  - warn: telegram.0 (873586) polling_error: EFATAL, EFATAL: Error: read ETIMEDOUT
                                2024-02-22 20:34:50.930  - error: cloud.0 (644250) Ping timeout
                                2024-02-22 20:34:53.990  - info: host.smarthome instance system.adapter.unifi.0 started with pid 1655176
                                2024-02-22 20:34:56.608  - debug: unifi.0 (1655176) Redis Objects: Use Redis connection: 0.0.0.0:9001
                                2024-02-22 20:34:56.694  - debug: unifi.0 (1655176) Objects client ready ... initialize now
                                2024-02-22 20:34:56.696  - debug: unifi.0 (1655176) Objects create System PubSub Client
                                2024-02-22 20:34:56.698  - debug: unifi.0 (1655176) Objects create User PubSub Client
                                2024-02-22 20:34:56.890  - debug: unifi.0 (1655176) Objects client initialize lua scripts
                                2024-02-22 20:34:56.903  - debug: unifi.0 (1655176) Objects connected to redis: 0.0.0.0:9001
                                2024-02-22 20:34:57.001  - debug: unifi.0 (1655176) Redis States: Use Redis connection: 0.0.0.0:6379
                                2024-02-22 20:34:57.012  - debug: unifi.0 (1655176) States create System PubSub Client
                                2024-02-22 20:34:57.013  - debug: unifi.0 (1655176) States create User PubSub Client
                                2024-02-22 20:34:57.028  - debug: unifi.0 (1655176) States connected to redis: 0.0.0.0:6379
                                2024-02-22 20:34:57.120  - debug: unifi.0 (1655176) Plugin sentry Initialize Plugin (enabled=true)
                                2024-02-22 20:34:57.130  - info: unifi.0 (1655176) Plugin sentry Sentry Plugin disabled for this process because sending of statistic data is disabled for the system
                                2024-02-22 20:34:57.568  - info: unifi.0 (1655176) starting. Version 0.6.7 in /opt/iobroker/node_modules/iobroker.unifi, node: v18.17.1, js-controller: 5.0.12
                                2024-02-22 20:34:57.623  - info: unifi.0 (1655176) UniFi adapter is ready
                                2024-02-22 20:34:57.624  - debug: unifi.0 (1655176) controller = 192.168.1.10:8443
                                2024-02-22 20:34:57.626  - debug: unifi.0 (1655176) updateInterval = 60
                                2024-02-22 20:34:57.627  - debug: unifi.0 (1655176) Update started
                                2024-02-22 20:35:08.075  - error: unifi.0 (1655176) [updateUnifiData-login site undefined] error: timeout of 10000ms exceeded, stack: AxiosError: timeout of 10000ms exceeded
                                    at RedirectableRequest.handleRequestTimeout (/opt/iobroker/node_modules/axios/dist/node/axios.cjs:3120:16)
                                    at RedirectableRequest.emit (node:events:514:28)
                                    at Timeout.<anonymous> (/opt/iobroker/node_modules/follow-redirects/index.js:210:12)
                                    at listOnTimeout (node:internal/timers:569:17)
                                    at process.processTimers (node:internal/timers:512:7)
                                2024-02-22 20:35:08.078  - error: unifi.0 (1655176) Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch().
                                2024-02-22 20:35:08.079  - error: unifi.0 (1655176) unhandled promise rejection: Cannot read properties of undefined (reading 'captureException')
                                2024-02-22 20:35:08.080  - error: unifi.0 (1655176) TypeError: Cannot read properties of undefined (reading 'captureException')
                                    at Unifi.handleError (/opt/iobroker/node_modules/iobroker.unifi/main.js:243:53)
                                    at Unifi.updateUnifiData (/opt/iobroker/node_modules/iobroker.unifi/main.js:269:22)
                                2024-02-22 20:35:08.081  - error: unifi.0 (1655176) Cannot read properties of undefined (reading 'captureException')
                                2024-02-22 20:35:08.091  - info: unifi.0 (1655176) cleaned everything up...
                                2024-02-22 20:35:08.092  - info: unifi.0 (1655176) terminating
                                2024-02-22 20:35:08.093  - debug: unifi.0 (1655176) Plugin sentry destroyed
                                2024-02-22 20:35:08.094  - warn: unifi.0 (1655176) Terminated (UNCAUGHT_EXCEPTION): Without reason
                                2024-02-22 20:35:08.596  - info: unifi.0 (1655176) terminating
                                2024-02-22 20:35:08.974  - error: host.smarthome instance system.adapter.unifi.0 terminated with code 6 (UNCAUGHT_EXCEPTION)
                                2024-02-22 20:35:08.975  - info: host.smarthome Restart adapter system.adapter.unifi.0 because enabled
                                2024-02-22 20:35:20.958  - info: cloud.0 (644250) Trying to connect as system.user.admin to cloud
                                2024-02-22 20:35:30.944  - error: cloud.0 (644250) Error while connecting to cloud: timeout
                                2024-02-22 20:35:39.599  - info: host.smarthome instance system.adapter.unifi.0 started with pid 1655211
                                2024-02-22 20:35:41.329  - info: iot.0 (1446) Connection changed: disconnect
                                2024-02-22 20:35:41.332  - info: iot.0 (1446) Connection lost
                                2024-02-22 20:35:41.922  - debug: unifi.0 (1655211) Redis Objects: Use Redis connection: 0.0.0.0:9001
                                2024-02-22 20:35:42.005  - debug: unifi.0 (1655211) Objects client ready ... initialize now
                                2024-02-22 20:35:42.010  - debug: unifi.0 (1655211) Objects create System PubSub Client
                                2024-02-22 20:35:42.012  - debug: unifi.0 (1655211) Objects create User PubSub Client
                                2024-02-22 20:35:42.165  - debug: unifi.0 (1655211) Objects client initialize lua scripts
                                2024-02-22 20:35:42.175  - debug: unifi.0 (1655211) Objects connected to redis: 0.0.0.0:9001
                                2024-02-22 20:35:42.288  - debug: unifi.0 (1655211) Redis States: Use Redis connection: 0.0.0.0:6379
                                2024-02-22 20:35:42.298  - debug: unifi.0 (1655211) States create System PubSub Client
                                2024-02-22 20:35:42.300  - debug: unifi.0 (1655211) States create User PubSub Client
                                2024-02-22 20:35:42.316  - debug: unifi.0 (1655211) States connected to redis: 0.0.0.0:6379
                                2024-02-22 20:35:42.393  - debug: unifi.0 (1655211) Plugin sentry Initialize Plugin (enabled=true)
                                2024-02-22 20:35:42.401  - info: unifi.0 (1655211) Plugin sentry Sentry Plugin disabled for this process because sending of statistic data is disabled for the system
                                2024-02-22 20:35:42.878  - info: unifi.0 (1655211) starting. Version 0.6.7 in /opt/iobroker/node_modules/iobroker.unifi, node: v18.17.1, js-controller: 5.0.12
                                2024-02-22 20:35:42.940  - info: unifi.0 (1655211) UniFi adapter is ready
                                2024-02-22 20:35:42.942  - debug: unifi.0 (1655211) controller = 192.168.1.10:8443
                                2024-02-22 20:35:42.943  - debug: unifi.0 (1655211) updateInterval = 60
                                2024-02-22 20:35:42.944  - debug: unifi.0 (1655211) Update started
                                2024-02-22 20:35:50.957  - info: cloud.0 (644250) Trying to connect as system.user.admin to cloud
                                2024-02-22 20:35:53.390  - error: unifi.0 (1655211) [updateUnifiData-login site undefined] error: timeout of 10000ms exceeded, stack: AxiosError: timeout of 10000ms exceeded
                                    at RedirectableRequest.handleRequestTimeout (/opt/iobroker/node_modules/axios/dist/node/axios.cjs:3120:16)
                                    at RedirectableRequest.emit (node:events:514:28)
                                    at Timeout.<anonymous> (/opt/iobroker/node_modules/follow-redirects/index.js:210:12)
                                    at listOnTimeout (node:internal/timers:569:17)
                                    at process.processTimers (node:internal/timers:512:7)
                                2024-02-22 20:35:53.392  - error: unifi.0 (1655211) Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch().
                                2024-02-22 20:35:53.394  - error: unifi.0 (1655211) unhandled promise rejection: Cannot read properties of undefined (reading 'captureException')
                                2024-02-22 20:35:53.395  - error: unifi.0 (1655211) TypeError: Cannot read properties of undefined (reading 'captureException')
                                    at Unifi.handleError (/opt/iobroker/node_modules/iobroker.unifi/main.js:243:53)
                                    at Unifi.updateUnifiData (/opt/iobroker/node_modules/iobroker.unifi/main.js:269:22)
                                2024-02-22 20:35:53.396  - error: unifi.0 (1655211) Cannot read properties of undefined (reading 'captureException')
                                2024-02-22 20:35:53.401  - info: unifi.0 (1655211) cleaned everything up...
                                2024-02-22 20:35:53.402  - info: unifi.0 (1655211) terminating
                                2024-02-22 20:35:53.403  - debug: unifi.0 (1655211) Plugin sentry destroyed
                                2024-02-22 20:35:53.404  - warn: unifi.0 (1655211) Terminated (UNCAUGHT_EXCEPTION): Without reason
                                2024-02-22 20:35:53.907  - info: unifi.0 (1655211) terminating
                                2024-02-22 20:35:54.450  - error: host.smarthome instance system.adapter.unifi.0 terminated with code 6 (UNCAUGHT_EXCEPTION)
                                2024-02-22 20:35:54.452  - info: host.smarthome Restart adapter system.adapter.unifi.0 because enabled
                                2024-02-22 20:35:54.454  - warn: host.smarthome Do not restart adapter system.adapter.unifi.0 because restart loop detected
                                

                                Ich hab in den Logs auch ein paar Fehlermeldungen vom Cloud und Telegram Adapter, wo sie disconnected waren. Evtl hat das UniFi Problem ja auch was mit einer unterbrochenen Verbindug zu tun.

                                Leider sind im Log beim Kopieren die komischen Sonderzeichen gelandet. Ich hoffe es ist trotzdem für euch lesbar.

                                Habt ihr eine Idee woran es liegen kann, dass der Adapter immer wieder abstürzt?

                                F Offline
                                F Offline
                                Freak
                                schrieb am zuletzt editiert von
                                #915

                                @martinschm
                                Bei mir fällt der Adapter auch immer aus, wenn die Internetverbindung nicht stabil ist oder unterbrochen wird. Woran das liegt konnte ich bis jetzt leider auch nicht rausfinden.

                                1 Antwort Letzte Antwort
                                0
                                • W warp735

                                  @meister-mopper sagte in Adapter: ioBroker.unifi:

                                  Ich habe einen lokalen Zugang

                                  Wo hast Du den eingerichtet? Hab MFA jetzt aktiviert und Adapter läuft nicht mehr. Geb ich die IP der UDM hier lokal ein, wird auch ein mfa Pin benötigt. Das muss ich doch dann irgendwo abstellen können?

                                  Meister MopperM Abwesend
                                  Meister MopperM Abwesend
                                  Meister Mopper
                                  schrieb am zuletzt editiert von
                                  #916

                                  @warp735 sagte in Adapter: ioBroker.unifi:

                                  @meister-mopper sagte in Adapter: ioBroker.unifi:

                                  Ich habe einen lokalen Zugang

                                  Wo hast Du den eingerichtet? Hab MFA jetzt aktiviert und Adapter läuft nicht mehr. Geb ich die IP der UDM hier lokal ein, wird auch ein mfa Pin benötigt. Das muss ich doch dann irgendwo abstellen können?

                                  Bei Admin & Users

                                  6e6a099a-1e5b-4e68-ac4e-f70f491bfd70-grafik.png

                                  Der obere ist cloud mit 2FA und der untere lokal mit pw.

                                  Proxmox und HA

                                  A 1 Antwort Letzte Antwort
                                  0
                                  • coyoteC Offline
                                    coyoteC Offline
                                    coyote
                                    Most Active
                                    schrieb am zuletzt editiert von
                                    #917

                                    Ich habe auch immer mal wieder Ausfälle, sieht dann so aus im Log:

                                    host.ioBroker
                                    2024-03-05 16:29:20.379	error	instance system.adapter.unifi.0 terminated with code 6 (UNCAUGHT_EXCEPTION)
                                    
                                    unifi.0
                                    2024-03-05 16:29:20.086	info	terminating
                                    
                                    unifi.0
                                    2024-03-05 16:29:19.584	warn	Terminated (UNCAUGHT_EXCEPTION): Without reason
                                    
                                    unifi.0
                                    2024-03-05 16:29:19.583	info	terminating
                                    
                                    unifi.0
                                    2024-03-05 16:29:19.582	info	cleaned everything up...
                                    
                                    unifi.0
                                    2024-03-05 16:29:19.568	error	Cannot read properties of undefined (reading 'captureException')
                                    
                                    unifi.0
                                    2024-03-05 16:29:19.568	error	TypeError: Cannot read properties of undefined (reading 'captureException') at Unifi.handleError (/opt/iobroker/node_modules/iobroker.unifi/main.js:243:53) at Unifi.updateUnifiData (/opt/iobroker/node_modules/iobroker.unifi/main.js:269:22)
                                    
                                    unifi.0
                                    2024-03-05 16:29:19.565	error	unhandled promise rejection: Cannot read properties of undefined (reading 'captureException')
                                    
                                    unifi.0
                                    2024-03-05 16:29:19.564	error	Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch().
                                    
                                    unifi.0
                                    2024-03-05 16:29:19.558	error	[updateUnifiData-login site undefined] error: timeout of 10000ms exceeded, stack: AxiosError: timeout of 10000ms exceeded at RedirectableRequest.handleRequestTimeout (/opt/iobroker/node_modules/node-unifi/node_modules/axios/dist/node/axios.cjs:3120:16) at RedirectableRequest.emit (node:events:517:28) at Timeout.<anonymous> (/opt/iobroker/node_modules/follow-redirects/index.js:209:12) at listOnTimeout (node:internal/timers:569:17) at process.processTimers (node:internal/timers:512:7)
                                    

                                    "updateUnifiData-login site undefined" die Site kann ich aber im Adapter doch gar nicht konfigurieren oder? Adapter greift auf eine UDM-Pro zu. Jemand ne Idee?

                                    O 1 Antwort Letzte Antwort
                                    0
                                    • coyoteC coyote

                                      Ich habe auch immer mal wieder Ausfälle, sieht dann so aus im Log:

                                      host.ioBroker
                                      2024-03-05 16:29:20.379	error	instance system.adapter.unifi.0 terminated with code 6 (UNCAUGHT_EXCEPTION)
                                      
                                      unifi.0
                                      2024-03-05 16:29:20.086	info	terminating
                                      
                                      unifi.0
                                      2024-03-05 16:29:19.584	warn	Terminated (UNCAUGHT_EXCEPTION): Without reason
                                      
                                      unifi.0
                                      2024-03-05 16:29:19.583	info	terminating
                                      
                                      unifi.0
                                      2024-03-05 16:29:19.582	info	cleaned everything up...
                                      
                                      unifi.0
                                      2024-03-05 16:29:19.568	error	Cannot read properties of undefined (reading 'captureException')
                                      
                                      unifi.0
                                      2024-03-05 16:29:19.568	error	TypeError: Cannot read properties of undefined (reading 'captureException') at Unifi.handleError (/opt/iobroker/node_modules/iobroker.unifi/main.js:243:53) at Unifi.updateUnifiData (/opt/iobroker/node_modules/iobroker.unifi/main.js:269:22)
                                      
                                      unifi.0
                                      2024-03-05 16:29:19.565	error	unhandled promise rejection: Cannot read properties of undefined (reading 'captureException')
                                      
                                      unifi.0
                                      2024-03-05 16:29:19.564	error	Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch().
                                      
                                      unifi.0
                                      2024-03-05 16:29:19.558	error	[updateUnifiData-login site undefined] error: timeout of 10000ms exceeded, stack: AxiosError: timeout of 10000ms exceeded at RedirectableRequest.handleRequestTimeout (/opt/iobroker/node_modules/node-unifi/node_modules/axios/dist/node/axios.cjs:3120:16) at RedirectableRequest.emit (node:events:517:28) at Timeout.<anonymous> (/opt/iobroker/node_modules/follow-redirects/index.js:209:12) at listOnTimeout (node:internal/timers:569:17) at process.processTimers (node:internal/timers:512:7)
                                      

                                      "updateUnifiData-login site undefined" die Site kann ich aber im Adapter doch gar nicht konfigurieren oder? Adapter greift auf eine UDM-Pro zu. Jemand ne Idee?

                                      O Offline
                                      O Offline
                                      oxident
                                      schrieb am zuletzt editiert von
                                      #918

                                      @coyote Das undefined ist ein Folgefehler. Durch das Timeout ist das "site"-Objekt halt leer. Da muss irgendwie ein tieferes Problem sein ... haben viele von uns.

                                      coyoteC 1 Antwort Letzte Antwort
                                      1
                                      • O oxident

                                        @coyote Das undefined ist ein Folgefehler. Durch das Timeout ist das "site"-Objekt halt leer. Da muss irgendwie ein tieferes Problem sein ... haben viele von uns.

                                        coyoteC Offline
                                        coyoteC Offline
                                        coyote
                                        Most Active
                                        schrieb am zuletzt editiert von
                                        #919

                                        @oxident ah ok, danke für die info

                                        1 Antwort Letzte Antwort
                                        0
                                        • M Offline
                                          M Offline
                                          mrMuppet
                                          schrieb am zuletzt editiert von
                                          #920

                                          Ich hab im Moment das Problem, dass die Anwesenheit nicht richtig angezeigt wird. Das ganze lief viele Monate ohne Probleme. In "UniFi Network Application 8.0.28" werden die Geräte korrekt angezeigt. der unifi-adapter verbindet sich "angeblich" problemlos. Aber kein Gerät wird als is_online angezeigt.

                                          Im Log steht immer wieder:

                                          unifi.0 2024-03-23 13:39:22.865	debug	Update done
                                          unifi.0 2024-03-23 13:39:22.698	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.0 2024-03-23 13:39:22.581	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.0 2024-03-23 13:39:21.355	debug	fetchAlarms default: 264
                                          unifi.0 2024-03-23 13:39:21.249	debug	fetchHealth default: 5
                                          unifi.0 2024-03-23 13:39:21.179	debug	fetchWlans default: 2
                                          unifi.0 2024-03-23 13:39:20.730	debug	fetchDevices default: 8
                                          unifi.0 2024-03-23 13:39:20.383	debug	fetchClients default: 39
                                          unifi.0 2024-03-23 13:39:20.275	debug	fetchSiteSysinfo default: 1
                                          unifi.0 2024-03-23 13:39:20.234	debug	Update site: default
                                          unifi.0 2024-03-23 13:39:20.233	debug	fetchSites: default
                                          unifi.0 2024-03-23 13:39:20.198	debug	Login successful
                                          unifi.0 2024-03-23 13:39:19.923	debug	Update started
                                          

                                          Ich hab diverse alte Versionen ausprobiert. Keine Verbesserung.

                                          Was kann ich tun?

                                          ioBroker auf NUC (Celeron mit Ubuntu-Server)

                                          Homematic, HMIP, Hue, Unifi, Plex, Nest, Roborock, Google Assistant

                                          M 1 Antwort Letzte Antwort
                                          0
                                          Antworten
                                          • In einem neuen Thema antworten
                                          Anmelden zum Antworten
                                          • Älteste zuerst
                                          • Neuste zuerst
                                          • Meiste Stimmen


                                          Support us

                                          ioBroker
                                          Community Adapters
                                          Donate
                                          FAQ Cloud / IOT
                                          HowTo: Node.js-Update
                                          HowTo: Backup/Restore
                                          Downloads
                                          BLOG

                                          664

                                          Online

                                          32.4k

                                          Benutzer

                                          81.4k

                                          Themen

                                          1.3m

                                          Beiträge
                                          Community
                                          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                                          ioBroker Community 2014-2025
                                          logo
                                          • Anmelden

                                          • Du hast noch kein Konto? Registrieren

                                          • Anmelden oder registrieren, um zu suchen
                                          • Erster Beitrag
                                            Letzter Beitrag
                                          0
                                          • Aktuell
                                          • Tags
                                          • Ungelesen 0
                                          • Kategorien
                                          • Unreplied
                                          • Beliebt
                                          • GitHub
                                          • Docu
                                          • Hilfe