Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Entwicklung
    4. UniFi Adapter v0.5.7 stable

    NEWS

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    UniFi Adapter v0.5.7 stable

    This topic has been deleted. Only users with topic management privileges can see it.
    • C
      ChrisTTian667 @braindead last edited by

      @braindead Der Adapter ist eine feine Sache! Vielen Dank dafür. Allerdings machen mich die Alarm Objekte gerade Wahnsinnig. Ich hab IPS aktiviert und bekomme täglich hunderte Alarme. Im ioBroker brauche Ich die jedoch nicht. Ich hab schon mit dem Filter in den Einstellungen gespielt, dennoch legt er mir ständig für jeden Alarm ein Objekt an. Muss Ich den Haken bei Filter setzen oder leer lassen, um die Alarme zu ignorieren?

      Beste Grüße!

      1 Reply Last reply Reply Quote 0
      • Keyronics
        Keyronics @braindead last edited by

        @braindead Hey,
        ich bin sehr glücklich über den Adapter.

        Allerdings muss ich feststellen, dass seit meinem Wechsel zu einem Cloud Controller keine Updates mehr so richtig passiert sind.

        Testweise bin ich gerade dabei, wenn sich Gäste im Gastwlan anmelden, soll die Deko länger leuchten als 22 uhr (solang bis die Gäste aus dem Haus sind plus ein paar Min extra.)

        Unglücklicherweise wird diese Zahl nicht geupdated. In der Instanz habe ich unter Health das Update für Gast ausgewählt, wie auch unter devices die beiden punkte "guest-num-sta" und "num_guest"

        Im Controller wird mir die Zahl als richtig angezeigt. Aktuell 15 Geräte im WLAN und 1 Gast
        unter den Objekten des Adapters wird mir 13/0 angezeigt.

        Ich hatte vorher den Unifi Controller auf einem Raspi intern im Netzwerk und bin nun auf einen VServer umgezogen.

        Der VServer ist vollkommen erreichbar und im Controller habe ich die Statische IP des Servers angelegt. User und Pass sind gleichgeblieben, eine neueingabe verschaffte keine Hilfe.

        Im Log steht auch immer update done. Bei falschem Benutzer meckert der Adapter. Also muss das ja stimmen. Was ist hier falsch?

        1 Reply Last reply Reply Quote 0
        • Nashra
          Nashra Most Active Forum Testing last edited by

          Hey, bekomme seit ein paar Tagen ab und an diesen Error

          2020-11-03 02:00:00.406 - error: unifi.0 (12265) fetchGatewayTraffic: Returned data is not in valid format. This option is only available for gateways!
          2
          
          1 Reply Last reply Reply Quote 0
          • B
            bauerpower last edited by

            Hallo zusammen,

            eine kurze Frage bezüglich node-unifi:

            b26187da-d3d9-4e29-9c16-0bd29128cd3d-image.png

            ich bekomme das "false" nicht übergeben (möchte nur die neuen):

              controller.getAlarms(sites[0].name, function(err, alarm_info) {
                  console.log('Alarm neu: ' + alarm_info.length);
                  console.log(JSON.stringify(alarm_info)); }
            

            Dachte eigentlich es sollte so gehen:

              controller.getAlarms(sites[0].name, function(err, alarm_info), false {
                  console.log('Alarm neu: ' + alarm_info.length);
                  console.log(JSON.stringify(alarm_info)); }
            

            Aber das funzt nicht.

            Danke für eine kurze Geburtshilfe 🙂

            Liebe Grüsse
            Jörg

            1 Reply Last reply Reply Quote 0
            • Nashra
              Nashra Most Active Forum Testing last edited by Nashra

              Folgende Fehler tauchen immer wieder über den Tag verteilt auf

              2021-04-30 02:30:17.595 - error: unifi.0 (3198) fetchDevices: Returned data is not in valid format
              2021-04-30 02:30:19.540 - info: weatherunderground.0 (20046) Terminated (NO_ERROR): Without reason
              2021-04-30 02:30:20.066 - info: host.ioBroker instance system.adapter.weatherunderground.0 terminated with code 0 (NO_ERROR)
              2021-04-30 02:30:40.918 - error: unifi.0 (3198) fetchSites: Returned data is not in valid format
              2021-04-30 02:31:10.414 - error: unifi.0 (3198) fetchSites: Returned data is not in valid format
              
              
              2021-04-30 07:33:17.297 - error: unifi.0 (3198) fetchWlans: Returned data is not in valid format
              
              
              crunchip 1 Reply Last reply Reply Quote 0
              • crunchip
                crunchip Forum Testing Most Active @Nashra last edited by crunchip

                @nashra @braindead
                das habe ich nun auch, nachdem ich gerade das Update von 0.5.8 auf 0.5.9 gemacht habe
                js controller noch auf 3.2.16

                unifi.0	2021-05-09 00:27:31.444	error	(9321) fetchAlarms: Returned data is not in valid format
                unifi.0	2021-05-09 00:26:31.386	error	(9321) fetchAlarms: Returned data is not in valid format
                unifi.0	2021-05-09 00:25:31.431	error	(9321) fetchAlarms: Returned data is not in valid format
                

                nach zurückspielen auf 0.5.8 bleibt jedoch der Fehler und verbindet auch nicht wieder
                f61494d2-bbea-4d79-9784-ca0872b52146-image.png
                wieder hoch auf die 0.5.8, unverändert
                debug log

                
                09 May 2021 00:56:51.334
                unifi.0 (22343) fetchAlarms: Returned data is not in valid format
                09 May 2021 00:56:51.333
                unifi.0: fetchAlarms: Returned data is not in valid format
                09 May 2021 00:56:51.072
                unifi.0: No suitable Lua script, fallback to keys!: function(doc) { if (doc.type === 'state') emit(doc._id, doc) }
                09 May 2021 00:56:50.959
                unifi.0: No suitable Lua script, fallback to keys!: function(doc) { if (doc.type === 'state') emit(doc._id, doc) }
                09 May 2021 00:56:45.921
                unifi.0: fetchClients: 76
                09 May 2021 00:56:45.886
                unifi.0: fetchSites: default
                09 May 2021 00:56:45.860
                unifi.0: Login successful
                09 May 2021 00:56:45.372
                unifi.0: Update started
                09 May 2021 00:56:45.371
                unifi.0: updateInterval = 60
                09 May 2021 00:56:45.370
                unifi.0: controller = 10.1.1.19:8443
                09 May 2021 00:56:45.341
                unifi.0 (22343) UniFi adapter is ready
                09 May 2021 00:56:45.340
                unifi.0: UniFi adapter is ready
                09 May 2021 00:56:45.313
                unifi.0 (22343) starting. Version 0.5.9 in /opt/iobroker/node_modules/iobroker.unifi, node: v14.16.1, js-controller: 3.2.16
                09 May 2021 00:56:45.311
                unifi.0: starting. Version 0.5.9 in /opt/iobroker/node_modules/iobroker.unifi, node: v14.16.1, js-controller: 3.2.16
                09 May 2021 00:56:45.176
                unifi.0: Plugin sentry Initialize Plugin (enabled=true)
                09 May 2021 00:56:42.593
                host.IoBroker instance system.adapter.unifi.0 started with pid 22343
                09 May 2021 00:56:42.592
                host.IoBroker: instance system.adapter.unifi.0 started with pid 22343
                09 May 2021 00:56:40.127
                host.IoBroker instance system.adapter.unifi.0 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION)
                09 May 2021 00:56:40.126
                host.IoBroker: instance system.adapter.unifi.0 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION)
                09 May 2021 00:56:39.352
                host.IoBroker stopInstance system.adapter.unifi.0 send kill signal
                09 May 2021 00:56:39.351
                host.IoBroker: stopInstance system.adapter.unifi.0 send kill signal
                09 May 2021 00:56:39.302
                host.IoBroker stopInstance system.adapter.unifi.0 (force=false, process=true)
                09 May 2021 00:56:39.301
                host.IoBroker: stopInstance system.adapter.unifi.0 (force=false, process=true)
                09 May 2021 00:56:36.841
                unifi.0 (21048) fetchAlarms: Returned data is not in valid format
                09 May 2021 00:56:36.840
                unifi.0: fetchAlarms: Returned data is not in valid format
                09 May 2021 00:55:36.999
                unifi.0 (21048) fetchAlarms: Returned data is not in valid format
                09 May 2021 00:55:36.998
                unifi.0: fetchAlarms: Returned data is not in valid format 
                

                Meldungen als ich den Controller neu gestartet habe

                host.IoBroker	2021-05-09 01:09:43.764	warn	Do not restart adapter system.adapter.unifi.0 because restart loop detected
                host.IoBroker	2021-05-09 01:09:43.764	info	Restart adapter system.adapter.unifi.0 because enabled
                host.IoBroker	2021-05-09 01:09:43.763	error	instance system.adapter.unifi.0 terminated with code 6 (UNCAUGHT_EXCEPTION)
                host.IoBroker	2021-05-09 01:09:43.763	error	Caught by controller[1]: at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1146:16)
                host.IoBroker	2021-05-09 01:09:43.763	error	Caught by controller[1]: Error: connect ECONNREFUSED 10.1.1.19:8443
                host.IoBroker	2021-05-09 01:09:43.762	error	Caught by controller[0]: 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(). The promise rejected
                unifi.0	2021-05-09 01:09:43.003	warn	(27568) Terminated (UNCAUGHT_EXCEPTION): Without reason
                unifi.0	2021-05-09 01:09:43.001	info	(27568) terminating
                unifi.0	2021-05-09 01:09:43.000	info	(27568) cleaned everything up...
                unifi.0	2021-05-09 01:09:42.975	error	(27568) Exception-Code: ECONNREFUSED: connect ECONNREFUSED 10.1.1.19:8443
                unifi.0	2021-05-09 01:09:42.974	error	(27568) Error: connect ECONNREFUSED 10.1.1.19:8443 at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1146:16)
                unifi.0	2021-05-09 01:09:42.973	error	(27568) unhandled promise rejection: connect ECONNREFUSED 10.1.1.19:8443
                unifi.0	2021-05-09 01:09:42.972	error	(27568) 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	2021-05-09 01:09:42.793	info	(27568) UniFi adapter is ready
                unifi.0	2021-05-09 01:09:42.758	info	(27568) starting. Version 0.5.9 in /opt/iobroker/node_modules/iobroker.unifi, node: v14.16.1, js-controller: 3.2.16
                host.IoBroker	2021-05-09 01:09:39.863	info	instance system.adapter.unifi.0 started with pid 27568
                host.IoBroker	2021-05-09 01:09:09.820	info	Restart adapter system.adapter.unifi.0 because enabled
                host.IoBroker	2021-05-09 01:09:09.820	error	instance system.adapter.unifi.0 terminated with code 6 (UNCAUGHT_EXCEPTION)
                host.IoBroker	2021-05-09 01:09:09.819	error	Caught by controller[0]: at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1146:16)
                host.IoBroker	2021-05-09 01:09:09.819	error	Caught by controller[0]: Error: connect ECONNREFUSED 10.1.1.19:8443
                host.IoBroker	2021-05-09 01:09:09.816	error	Caught by controller[0]: 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(). The promise rejected
                host.IoBroker	2021-05-09 01:08:35.942	info	Restart adapter system.adapter.unifi.0 because enabled
                host.IoBroker	2021-05-09 01:08:35.941	error	instance system.adapter.unifi.0 terminated with code 6 (UNCAUGHT_EXCEPTION)
                host.IoBroker	2021-05-09 01:08:35.941	error	Caught by controller[1]: at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1146:16)
                host.IoBroker	2021-05-09 01:08:35.940	error	Caught by controller[1]: Error: connect ECONNREFUSED 10.1.1.19:8443
                host.IoBroker	2021-05-09 01:08:35.939	error	Caught by controller[0]: 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(). The promise rejecte
                unifi.0	2021-05-09 01:08:35.168	warn	(25416) Terminated (UNCAUGHT_EXCEPTION): Without reason
                

                testweise mal zurück auf 0.5.5 und läuft wieder

                1 Reply Last reply Reply Quote 0
                • Nashra
                  Nashra Most Active Forum Testing last edited by

                  @crunchip
                  bin auch mal runter auf 0.5.5, beim Start kam zwar nochmal

                  unifi.0	2021-05-09 10:34:19.823	error	(4337) Returned data is not in valid format
                  

                  aber werde es mal beobachten ob noch mehr kommt

                  1 Reply Last reply Reply Quote 0
                  • Nashra
                    Nashra Most Active Forum Testing last edited by

                    @crunchip
                    also bei mir kommt die Fehlermeldung weiterhin trotz 0.5.5

                    crunchip 1 Reply Last reply Reply Quote 0
                    • crunchip
                      crunchip Forum Testing Most Active @Nashra last edited by

                      @nashra und funktioniert auch noch? ich bin ja zurück, da keine Verbindung mehr zu Stande kam. Diesbezüglich habe ich keine Meldung mehr, ausser das permanent die Meldung auftaucht

                      info: unifi.0 (1183) Update done
                      
                      Nashra 1 Reply Last reply Reply Quote 0
                      • Nashra
                        Nashra Most Active Forum Testing @crunchip last edited by

                        @crunchip sagte in UniFi Adapter v0.5.7 stable:

                        @nashra und funktioniert auch noch? ich bin ja zurück, da keine Verbindung mehr zu Stande kam. Diesbezüglich habe ich keine Meldung mehr, ausser das permanent die Meldung auftaucht

                        info: unifi.0 (1183) Update done
                        

                        Ja, bin aber wieder auf die 0.5.8 rauf. Gerade kam wieder ein Fehler

                        unifi.0	2021-05-10 07:29:35.143	error	(12621) fetchHealth: Returned data is not in valid format
                        

                        aber eben sporadisch. Einzigst zwischen 2 und 3 Uhr kommt jeden Morgen

                        2021-05-10 02:40:31.663 - error: unifi.0 (12621) Error: Socket hang up.
                        2021-05-10 02:41:02.604 - error: unifi.0 (12621) Error: Socket hang up.
                        2021-05-10 02:41:31.505 - error: unifi.0 (12621) Error: Socket hang up.
                        2021-05-10 02:41:36.765 - error: unifi.0 (12621) fetchSites: Returned data is not in valid format
                        2021-05-10 02:41:38.770 - error: unifi.0 (12621) fetchSites: Returned data is not in valid format
                        2021-05-10 02:41:40.053 - error: unifi.0 (12621) fetchSites: Returned data is not in valid format
                        2021-05-10 02:41:40.137 - error: unifi.0 (12621) fetchSites: Returned data is not in valid format
                        2021-05-10 02:42:01.456 - error: unifi.0 (12621) fetchSites: Returned data is not in valid format
                        2021-05-10 02:42:31.643 - error: unifi.0 (12621) fetchSites: Returned data is not in valid format
                        2021-05-10 02:43:01.773 - error: unifi.0 (12621) fetchSites: Returned data is not in valid format
                        2021-05-10 02:44:20.421 - error: unifi.0 (12621) fetchWlans: Returned data is not in valid format
                        

                        Ist zwar Mist aber kann ich mit Leben solange die Daten kommen d.h. besser wäre
                        es natürlich wenn dies mal behoben würde.

                        crunchip liv-in-sky 2 Replies Last reply Reply Quote 0
                        • crunchip
                          crunchip Forum Testing Most Active @Nashra last edited by

                          @nashra sagte in UniFi Adapter v0.5.7 stable:

                          Einzigst zwischen 2 und 3 Uhr kommt jeden Morgen

                          eventuell nächtliches backup?

                          Nashra 1 Reply Last reply Reply Quote 0
                          • Nashra
                            Nashra Most Active Forum Testing @crunchip last edited by

                            @crunchip sagte in UniFi Adapter v0.5.7 stable:

                            @nashra sagte in UniFi Adapter v0.5.7 stable:

                            Einzigst zwischen 2 und 3 Uhr kommt jeden Morgen

                            eventuell nächtliches backup?

                            Das läuft um 2:10 Uhr, kommt also eigentlich nicht in Frage aber werde es mal abschalten.
                            Bin aber trotzdem am suchen obwohl von der Uhrzeit her da nichts besonderes läuft.

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

                              @nashra

                              dieser fehler kommt bei mir auch - nach dem update

                              Image 1.png

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

                                @liv-in-sky ich hab das in der config rausgenommen, seitdem is Ruhe

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

                                  @crunchip genau - danke - mußte eh mal wieder alle dp löschen - ewig lange alarm liste

                                  jetzt ist ruhe - als übergangslösung ok

                                  1 Reply Last reply Reply Quote 0
                                  • Nashra
                                    Nashra Most Active Forum Testing last edited by Nashra

                                    Moin, die obigen Fehlermeldungen habe ich gefunden. Unifi macht um 2:40 Uhr ein Backup
                                    und wohl daher nicht erreichbar 🤦‍♂️
                                    Aber die "Returned data is not in valid format" usw. die kommen weiterhin sporadisch.

                                    1 Reply Last reply Reply Quote 0
                                    • Tom Son
                                      Tom Son last edited by

                                      Frage, wann werden die Probleme von 0.5.9 gefixt? oder hab ich was verpasst? 🙂

                                      crunchip 1 Reply Last reply Reply Quote 0
                                      • crunchip
                                        crunchip Forum Testing Most Active @Tom Son last edited by

                                        @tom-son gibts dazu ein issue?

                                        Tom Son 1 Reply Last reply Reply Quote 0
                                        • Tom Son
                                          Tom Son @crunchip last edited by Tom Son

                                          @crunchip Fehler wie weiter oben schon beschrieben... nur der Rückschritt auf 0.5.5 bringt Ruhe ins Log

                                          das ist das Log:

                                          unifi.0
                                          	2021-05-23 12:04:56.237	error	fetchAlarms: Returned data is not in valid format
                                          unifi.0
                                          	2021-05-23 12:03:56.602	error	fetchAlarms: Returned data is not in valid format
                                          unifi.0
                                          	2021-05-23 12:02:56.467	error	fetchAlarms: Returned data is not in valid format
                                          unifi.0
                                          	2021-05-23 12:01:56.481	error	fetchAlarms: Returned data is not in valid format
                                          unifi.0
                                          	2021-05-23 12:00:56.977	error	fetchAlarms: Returned data is not in valid format
                                          unifi.0
                                          	2021-05-23 11:59:56.508	error	fetchAlarms: Returned data is not in valid format
                                          unifi.0
                                          	2021-05-23 11:58:56.899	error	fetchAlarms: Returned data is not in valid format
                                          unifi.0
                                          	2021-05-23 11:57:56.624	error	fetchAlarms: Returned data is not in valid format
                                          unifi.0
                                          	2021-05-23 11:56:56.670	error	fetchAlarms: Returned data is not in valid format
                                          unifi.0
                                          	2021-05-23 11:55:56.245	error	fetchAlarms: Returned data is not in valid format
                                          unifi.0
                                          	2021-05-23 11:54:56.588	error	fetchAlarms: Returned data is not in valid format
                                          unifi.0
                                          	2021-05-23 11:53:57.702	error	fetchAlarms: Returned data is not in valid format
                                          unifi.0
                                          	2021-05-23 11:52:56.563	error	fetchAlarms: Returned data is not in valid format
                                          unifi.0
                                          	2021-05-23 11:51:58.842	error	fetchAlarms: Returned data is not in valid format
                                          unifi.0
                                          	2021-05-23 11:50:56.417	error	fetchAlarms: Returned data is not in valid format
                                          unifi.0
                                          	2021-05-23 11:50:28.197	error	fetchAlarms: Returned data is not in valid format
                                          
                                          crunchip 1 Reply Last reply Reply Quote 0
                                          • crunchip
                                            crunchip Forum Testing Most Active @Tom Son last edited by

                                            @tom-son ich habe 0.5.8 und wie oben geschrieben, in der config den Punkt Alarm herausgenommen
                                            194b0f76-ac6a-41f6-be34-88f44cce678f-grafik.png

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            754
                                            Online

                                            31.7k
                                            Users

                                            79.8k
                                            Topics

                                            1.3m
                                            Posts

                                            stable unifi update v0.5.7
                                            16
                                            54
                                            4088
                                            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