Navigation

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

    NEWS

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    Unifi Protect Adapter

    This topic has been deleted. Only users with topic management privileges can see it.
    • T
      THELOH @den21 last edited by

      Moin Zusammen,
      ich habe mir den Adatper installiert um ggf. Kameras bei Anwesenheut "abzuschalten".
      Beim überfliegen aller Beiträge habe ich jedoch nichts zum Thema gefunden und finde auch keine Datenpunkte.
      Hat jemand Infos/Erfahrung zu dem Thema?

      0646d473-d9ba-4afd-8204-624814d9656a-grafik.png

      1 Reply Last reply Reply Quote 0
      • X
        xdelta @den21 last edited by

        @den21 said in Unifi Protect Adapter:

        Bei mir tritt das Problem auf, dass der Adapter sich immer aus- und wieder einschaltet. Dadurch wird das System instabil, und sobald ich den Adapter deaktiviere, läuft alles wieder reibungslos.

        Dito. Die Unifi Adapter werden langsam aber sicher unbrauchbar, mangels Service (Zeit) der Devs.

        U 1 Reply Last reply Reply Quote 0
        • U
          uwe72 @xdelta last edited by

          Habe bei Github ein Ticket angelegt, dass bei mir keine Datenpunkte angelegt werden:
          https://github.com/peterbaumert/ioBroker.unifi-protect/issues/209

          Hatte auch jemand das Problem bzw. kann mir hier weiterhelfen. Der Adapter wäre so hilfreich, einer der wichtigsten Adapter. Schade!

          uwe72 created this issue in peterbaumert/ioBroker.unifi-protect

          closed Keine Datenpunkte angelegt #209

          M 1 Reply Last reply Reply Quote 0
          • M
            mameier1234 @uwe72 last edited by

            @uwe72 Laut screenshot im Ticket hast du Port 7443... Cloudkey Plus (gen2) sind aber 443

            U 1 Reply Last reply Reply Quote 1
            • U
              uwe72 @mameier1234 last edited by

              @mameier1234 Danke das wars. Bin einen Schritt weiter. DANKE!!

              1 Reply Last reply Reply Quote 0
              • F
                Frank579 last edited by

                @xdelta sagte in Unifi Protect Adapter:

                Die Unifi Adapter werden langsam aber sicher unbrauchbar, mangels Service (Zeit) der Devs.

                Genau deshalb habe ich mir gestern Abend mal schnell ne VM mit Home Assistent aufgesetzt ...
                Unifi Protect wurde sofort erkannt, Integration gestartet Zugangsdaten angelegt, fertig!! Läuft bis jetzt auf den ersten blick durch. Da ich aktuell noch nicht komplett wechseln möchte werde ich den Home Assistent Adapter mal installieren und schauen das ich die Daten rüber bekomme..

                X U 2 Replies Last reply Reply Quote 1
                • X
                  xdelta @Frank579 last edited by

                  @frank579 said in Unifi Protect Adapter:

                  @xdelta sagte in Unifi Protect Adapter:

                  Die Unifi Adapter werden langsam aber sicher unbrauchbar, mangels Service (Zeit) der Devs.

                  Genau deshalb habe ich mir gestern Abend mal schnell ne VM mit Home Assistent aufgesetzt ...
                  Unifi Protect wurde sofort erkannt, Integration gestartet Zugangsdaten angelegt, fertig!! Läuft bis jetzt auf den ersten blick durch. Da ich aktuell noch nicht komplett wechseln möchte werde ich den Home Assistent Adapter mal installieren und schauen das ich die Daten rüber bekomme..

                  Ich bin auch nicht mehr weit davon entfernt... die Fehler im Log nerven tierisch - ebenso muss jeden Tag der Adapter neu gestartet werden, da er sich komplett abschiesst. Eine Schande.. 😉

                  Bitte berichte mal bei Gelegenheit, ob die Lösung soweit akzeptabel ist (und störungsfrei läuft)..

                  U 1 Reply Last reply Reply Quote 0
                  • U
                    uwe72 @xdelta last edited by

                    Adapter stürzt ständig ab bei mir. Es wäre so wichtig (für mich) wenn der Adapter zuverlässig funktionieren würde. Wird der Adapter überhaupt noch gepflegt?

                    unifi-protect.0
                    2024-02-10 13:36:26.224	debug	[getThumbnailBase64] download small thumbnail for event '65c76d4f0147b403e4051c7f' (stateId: 'motions.lastMotion.thumbnail_image_small')
                    
                    unifi-protect.0
                    2024-02-10 13:36:26.132	debug	[getThumbnailBase64] download thumbnail for event 'e-65c76d4f0147b403e4051c7f' (stateId: 'motions.lastMotion.thumbnail_image')
                    
                    unifi-protect.0
                    2024-02-10 13:35:26.273	debug	[getThumbnailBase64] download small thumbnail for event '65c76d4f0147b403e4051c7f' (stateId: 'motions.lastMotion.thumbnail_image_small')
                    
                    unifi-protect.0
                    2024-02-10 13:35:26.173	debug	[getThumbnailBase64] download thumbnail for event 'e-65c76d4f0147b403e4051c7f' (stateId: 'motions.lastMotion.thumbnail_image')
                    
                    unifi-protect.0
                    2024-02-10 13:34:36.345	debug	[getThumbnailBase64] download small thumbnail for event '65c76d4f0147b403e4051c7f' (stateId: 'motions.65c76d4f0147b403e4051c7f.thumbnail_image_small')
                    
                    unifi-protect.0
                    2024-02-10 13:34:30.724	debug	[getThumbnailBase64] download thumbnail for event 'e-65c76d4f0147b403e4051c7f' (stateId: 'motions.65c76d4f0147b403e4051c7f.thumbnail_image')
                    
                    unifi-protect.0
                    2024-02-10 13:34:23.352	debug	Motion at 1707568461206 for 192.168.178.197 Haustüre [UVC AI Pro]
                    
                    unifi-protect.0
                    2024-02-10 13:34:23.352	debug	[getFullNameById][CAMERAID: 656f3981036ca003e4000445]
                    
                    unifi-protect.0
                    2024-02-10 13:23:26.052	debug	[getThumbnailBase64] download small thumbnail for event '65c76a50009eb403e4051b53' (stateId: 'motions.lastMotion.thumbnail_image_small')
                    
                    unifi-protect.0
                    2024-02-10 13:23:25.981	debug	[getThumbnailBase64] download thumbnail for event 'e-65c76a50009eb403e4051b53' (stateId: 'motions.lastMotion.thumbnail_image')
                    
                    unifi-protect.0
                    2024-02-10 13:22:30.769	debug	[getThumbnailBase64] download small thumbnail for event '65c76a50009eb403e4051b53' (stateId: 'motions.65c76a50009eb403e4051b53.thumbnail_image_small')
                    
                    unifi-protect.0
                    2024-02-10 13:22:30.630	debug	[getThumbnailBase64] download thumbnail for event 'e-65c76a50009eb403e4051b53' (stateId: 'motions.65c76a50009eb403e4051b53.thumbnail_image')
                    
                    unifi-protect.0
                    2024-02-10 13:22:26.197	debug	[getThumbnailBase64] download small thumbnail for event '65c76a50009eb403e4051b53' (stateId: 'motions.lastMotion.thumbnail_image_small')
                    
                    unifi-protect.0
                    2024-02-10 13:22:26.052	debug	[getThumbnailBase64] download thumbnail for event 'e-65c76a50009eb403e4051b53' (stateId: 'motions.lastMotion.thumbnail_image')
                    
                    unifi-protect.0
                    2024-02-10 13:21:36.247	debug	Motion at 1707567694000 for 192.168.178.197 Haustüre [UVC AI Pro]
                    
                    unifi-protect.0
                    2024-02-10 13:21:36.246	debug	[getFullNameById][CAMERAID: 656f398103a1a003e4000447]
                    
                    unifi-protect.0
                    2024-02-10 13:14:25.443	info	192.168.178.197: Discovered camera: Garage [UVC G4 Bullet] (address: 192.168.178.166 mac: 74ACB9007F7C).
                    
                    unifi-protect.0
                    2024-02-10 13:14:25.441	info	192.168.178.197: Discovered camera: Seite [UVC G4 Bullet] (address: 192.168.178.38 mac: AC8BA90E808D).
                    
                    unifi-protect.0
                    2024-02-10 13:14:25.439	info	192.168.178.197: Discovered camera: Doorbell [UVC G4 Doorbell Pro PoE] (address: 192.168.178.90 mac: F4E2C671B290).
                    
                    unifi-protect.0
                    2024-02-10 13:14:25.437	info	192.168.178.197: Discovered camera: Garten [UVC AI Pro] (address: 192.168.178.188 mac: F4E2C60EB6D0).
                    
                    unifi-protect.0
                    2024-02-10 13:14:25.432	info	192.168.178.197: Discovered camera: Haustüre [UVC AI Pro] (address: 192.168.178.173 mac: F4E2C60B1BE9).
                    
                    unifi-protect.0
                    2024-02-10 13:13:28.832	debug	[getThumbnailBase64] download small thumbnail for event '65c75ccf00c8b403e40515a9' (stateId: 'motions.lastMotion.thumbnail_image_small')
                    
                    unifi-protect.0
                    2024-02-10 13:13:28.669	debug	[getThumbnailBase64] download thumbnail for event 'e-65c75ccf00c8b403e40515a9' (stateId: 'motions.lastMotion.thumbnail_image')
                    
                    unifi-protect.0
                    2024-02-10 13:13:27.070	info	192.168.178.197: Connected to the UniFi realtime update events API.
                    
                    unifi-protect.0
                    2024-02-10 13:13:27.068	debug	Update listener: wss://192.168.178.197/proxy/protect/ws/updates?lastUpdateId=9aa5125b-e1f0-45f0-9a94-6cc67ca17688
                    
                    unifi-protect.0
                    2024-02-10 13:13:27.048	info	192.168.178.197: Connected to the Protect controller API (address: 192.168.178.197 mac: D021F9CEB131).
                    
                    unifi-protect.0
                    2024-02-10 13:13:25.234	debug	Websocket: Waiting for websocket to be open.
                    
                    unifi-protect.0
                    2024-02-10 13:13:25.220	debug	192.168.178.197: Disconnecting websocket!
                    
                    unifi-protect.0
                    2024-02-10 13:13:25.219	debug	192.168.178.197: Clearing Login Credentials!
                    
                    unifi-protect.0
                    2024-02-10 13:13:13.675	debug	Schedule restart: * */12 * * *
                    
                    unifi-protect.0
                    2024-02-10 13:13:13.654	info	starting. Version 0.0.13 (non-npm: peterbaumert/ioBroker.unifi-protect#65147ac6b8bc98ad786a7546308b7802d0c600f8) in /opt/iobroker/node_modules/iobroker.unifi-protect, node: v18.18.1, js-controller: 5.0.19
                    
                    unifi-protect.0
                    2024-02-10 13:13:13.519	debug	Plugin sentry Initialize Plugin (enabled=true)
                    
                    unifi-protect.0
                    2024-02-10 13:13:11.048	debug	192.168.178.197: Disconnecting websocket!
                    
                    unifi-protect.0
                    2024-02-10 13:13:11.047	warn	Terminated (UNCAUGHT_EXCEPTION): Without reason
                    
                    unifi-protect.0
                    2024-02-10 13:13:11.046	debug	Plugin sentry destroyed
                    
                    unifi-protect.0
                    2024-02-10 13:13:11.046	info	terminating
                    
                    unifi-protect.0
                    2024-02-10 13:13:11.046	info	cleaned everything up...
                    
                    unifi-protect.0
                    2024-02-10 13:13:11.045	debug	192.168.178.197: Disconnecting websocket!
                    
                    unifi-protect.0
                    2024-02-10 13:13:11.045	debug	192.168.178.197: Clearing Login Credentials!
                    
                    unifi-protect.0
                    2024-02-10 13:13:11.036	error	Cannot read properties of null (reading 'cameras')
                    
                    unifi-protect.0
                    2024-02-10 13:13:11.036	error	TypeError: Cannot read properties of null (reading 'cameras') at ProtectApi.refreshDevices (/opt/iobroker/node_modules/iobroker.unifi-protect/protect_api/protect-api.js:238:40) at processTicksAndRejections (node:internal/process/task_queues:95:5)
                    
                    unifi-protect.0
                    2024-02-10 13:13:11.034	error	unhandled promise rejection: Cannot read properties of null (reading 'cameras')
                    
                    unifi-protect.0
                    2024-02-10 13:13:11.033	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-protect.0
                    2024-02-10 13:13:11.032	error	192.168.178.197: Unable to parse response from UniFi Protect. Will retry again later.
                    
                    unifi-protect.0
                    2024-02-10 13:13:11.032	error	192.168.178.197: Controller API connection terminated because it was taking too long. This error can usually be safely ignored.
                    
                    unifi-protect.0
                    2024-02-10 13:00:07.658	info	192.168.178.197: Discovered camera: Garage [UVC G4 Bullet] (address: 192.168.178.166 mac: 74ACB9007F7C).
                    
                    unifi-protect.0
                    2024-02-10 13:00:07.657	info	192.168.178.197: Discovered camera: Seite [UVC G4 Bullet] (address: 192.168.178.38 mac: AC8BA90E808D).
                    
                    unifi-protect.0
                    2024-02-10 13:00:07.656	info	192.168.178.197: Discovered camera: Doorbell [UVC G4 Doorbell Pro PoE] (address: 192.168.178.90 mac: F4E2C671B290).
                    
                    unifi-protect.0
                    2024-02-10 13:00:07.654	info	192.168.178.197: Discovered camera: Garten [UVC AI Pro] (address: 192.168.178.188 mac: F4E2C60EB6D0).
                    
                    unifi-protect.0
                    2024-02-10 13:00:07.651	info	192.168.178.197: Discovered camera: Haustüre [UVC AI Pro] (address: 192.168.178.173 mac: F4E2C60B1BE9).
                    
                    unifi-protect.0
                    2024-02-10 12:59:11.397	debug	[getThumbnailBase64] download small thumbnail for event '65c75ccf00c8b403e40515a9' (stateId: 'motions.lastMotion.thumbnail_image_small')
                    
                    unifi-protect.0
                    2024-02-10 12:59:09.180	info	192.168.178.197: Connected to the UniFi realtime update events API.
                    
                    unifi-protect.0
                    2024-02-10 12:59:09.178	debug	Update listener: wss://192.168.178.197/proxy/protect/ws/updates?lastUpdateId=51254450-7747-4cab-b16e-848356b48203
                    
                    unifi-protect.0
                    2024-02-10 12:59:09.161	info	192.168.178.197: Connected to the Protect controller API (address: 192.168.178.197 mac: D021F9CEB131).
                    
                    1 Reply Last reply Reply Quote 0
                    • U
                      uwe72 @Frank579 last edited by uwe72

                      @frank579 Hast Du die Daten "rüber gebracht". Echt schade, dass iobroker bei den Adaptern immer schlechter wird. Ich liebe iobroker, aber verstehe, dass immer mehr zu HA wechseln

                      Update: Habe es nun selber hinbekommen über die Installation von HA und den HASS-Adapter. Werde nun auf den unify-protect Adapter verzichten können.

                      F 1 Reply Last reply Reply Quote 1
                      • F
                        Frank579 @uwe72 last edited by

                        @uwe72 @xdelta Läuft bisher komplett ohne Probleme, hatte bisher aber keine Zeit mich richtig damit zu beschäftigen. Aktuell nutze ich nur die Datenpunkte Bewegung erkannt und ist dunkel, da ich damit meine Außenbeleuchtung schalte. Klappt zuverlässig und ohne Probleme. Muss nur noch schauen wie ich die Snapshots von HA zum IOBroker bekomme.

                        U 1 Reply Last reply Reply Quote 2
                        • U
                          uwe72 @Frank579 last edited by

                          @frank579 bin auch komplett zufrieden bis jetzt. Ich nutze aktuell nur motionDetected. Exakt, das Bild/Snapshotbild würde ich auch gerne noch verarbeiten. Ist ja im datenpunkt drin. Weiss aber nicht wie ich dies mit Javascript laden kann und beispielsweise nach telegram verschicken kann.

                          D 1 Reply Last reply Reply Quote 1
                          • D
                            der-eine @uwe72 last edited by

                            Hallo zusammen,
                            versuche seit ein paar Std. den Adapter zum laufen zu bringen. Leider bekomme ich immer folgende Fehler. Benutzername und Passwort passen aber und laufen auch z. B. unter Home-Assistant
                            Habe schon unterschiedliche Ports probiert aber leider keine Änderung

                            
                            Couldn't login.
                            
                            unifi-protect.0
                            2024-02-18 00:45:23.479	error	getApiAuthBearerToken: Unifi Protect reported authorization failure
                            
                            unifi-protect.0
                            2024-02-18 00:45:23.460	error	getMotionEvents: Unifi Protect reported authorization failure
                            
                            

                            Protect läuft auf einem UDR mit neuester Software
                            Adapter Version ist stable und habe sowohl den Adapter von Peter Baumert als auch den Fork von Scrounger getestet. Wo könnte hier der Fehler liegen?

                            F 1 Reply Last reply Reply Quote 0
                            • F
                              Frank579 @der-eine last edited by

                              @der-eine
                              schau dir mal ein paar antworten weiter oben an , gibt aktuell MASSIVE Probleme mit dem Adapter 😞 gibt wohl eine GIT Version wo der Login wieder funktioniert, die Instanz aber bei mehreren im Stundentakt abstürzt. Daher sind einige schon dazu übergegangen Protect über Home Assistant abzufragen.

                              D 1 Reply Last reply Reply Quote 0
                              • D
                                der-eine @Frank579 last edited by

                                @frank579 danke für Deine Antwort. Mittlerweile habe ich den Adapter gelöscht und neu installiert jetzt funktioniert ist. (Somit wohl die neue config geladen)
                                Im Idealfall hat man beide installiert. Habe das Gefühl, dass der eine was anderes ausliefert als der andere. Hab z. B. beim Home-Assist keine Thumbnails gefunden die bei iobroker vorhanden sind.

                                Da ich leider keinen DP für last Ring Thumbnail gefunden habe, kennt jemand eine Option, manuell ein Foto machen zu lassen wenn jemand läutet und dieses Foto als Base64 in einen Datenpunkt schreibt? Das würde mir noch fehlen.

                                D 1 Reply Last reply Reply Quote 0
                                • D
                                  denjo @der-eine last edited by

                                  Wird die unifi g4 doorbell pro unterstützt?

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

                                    Ja funktioniert

                                    D 3 Replies Last reply Reply Quote 0
                                    • D
                                      denjo @JackDaniel last edited by

                                      @jackdaniel ich habe auch folgende fehlermeldung

                                      unifi-protect.0
                                      2024-04-28 19:50:45.687	error	Couldn't login.
                                      
                                      unifi-protect.0
                                      2024-04-28 19:50:45.687	error	getApiAuthBearerToken: Unifi Protect reported authorization failure
                                      
                                      unifi-protect.0
                                      2024-04-28 19:50:45.686	error	Couldn't login.
                                      
                                      unifi-protect.0
                                      2024-04-28 19:50:45.685	error	getApiAuthBearerToken: Unifi Protect reported authorization failure
                                      
                                      unifi-protect.0
                                      2024-04-28 19:50:45.664	error	getCameraList: Unifi Protect reported authorization failure
                                      
                                      unifi-protect.0
                                      2024-04-28 19:50:45.661	error	getMotionEvents: Unifi Protect reported authorization failure
                                      
                                      1 Reply Last reply Reply Quote 0
                                      • D
                                        denjo @JackDaniel last edited by

                                        Leider kann man nur die eine version von Unifi installieren 8.1.113 auf proxmox als CT, und bei der version hat sich die Erstellung von Benutzern geändert und somit funktioniert die Verbindung zum adapter nicht mehr.

                                        Hat noch wer eine Idee wie ich eine ältere version installieren kann???

                                        Bin für jede Hilfe dankbar

                                        1 Reply Last reply Reply Quote 0
                                        • D
                                          denjo @JackDaniel last edited by

                                          @jackdaniel Hallo, ich habe heute meine Doorbell bekommen aber die Protect app findet das Gerät nicht. Brauch ich noch zusätzliche Hardware???

                                          M 1 Reply Last reply Reply Quote 0
                                          • M
                                            mameier1234 @denjo last edited by

                                            @denjo sagte in Unifi Protect Adapter:

                                            @jackdaniel Hallo, ich habe heute meine Doorbell bekommen aber die Protect app findet das Gerät nicht. Brauch ich noch zusätzliche Hardware???

                                            Bei mir wird die Doorbell G4 ohne weiteres gefunden... Ich hatte den Adapter jetzt allerdings schon lange nicht mehr im Einsatz, da er immer wieder nach einiger Zeit die Verbindung verloren hatte.. Kann dazu aktuell nichts sagen, beobachte jetzt aber mal wieder...

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            929
                                            Online

                                            31.7k
                                            Users

                                            79.7k
                                            Topics

                                            1.3m
                                            Posts

                                            unifi unifi protect
                                            60
                                            221
                                            29865
                                            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