Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Adapter: ioBroker.unifi

    NEWS

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    Adapter: ioBroker.unifi

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

      @anwa

      Hast du den Port gelöscht in der Adapter setting’s?

      1 Reply Last reply Reply Quote 0
      • A
        anwa @Meister Mopper last edited by

        @meister-mopper Generaleinstellungen?
        Also auf der Adminpage

        • Ip: klar ist 10.10.0.1
        • Port: leer bzw. auch 443 probiert
        • Name/PW eh klar
        • SSL ignorieren ist angehakt
        • Interval 60s

        Oder meintest du was anderes...

        @ilovegym siehe oben... Ja

        Danke
        Andreas

        Meister Mopper 1 Reply Last reply Reply Quote 0
        • Meister Mopper
          Meister Mopper @anwa last edited by

          @anwa
          Seltsam, so habe ich es auch.

          A 1 Reply Last reply Reply Quote 0
          • A
            anwa @Meister Mopper last edited by

            @meister-mopper
            Danke für die Antwort.

            Ich habe den Quelltext mal kurz analisiert und festgestellt das er am Login hängt.
            Leider musste ich feststellen, das es wohl an der Firewall liegt. Ich habe zwar extra eine Regel erstellt um dem ioBroker den Zugriff auf die UDM-Pro zu gewähren, aber die scheint nicht richtig zu funktionieren.

            Sorry, mein Fehler 😕 ich habe ihn nur noch nicht gefunden 😬 doofes neues UI

            Gruß
            Andreas

            A 1 Reply Last reply Reply Quote 0
            • A
              anwa @anwa last edited by anwa

              Hallo,

              ich habe den Fehler gefunden. Ich habe in der Firewall alle Kommunikation zwischen den VLANs geblockt.
              Außerdem habe ich allen Verkehr zu den Gateways geblockt.
              Da wo nötig mache ich gezielt mit einer Regel auf.
              Soweit so gut 😳
              Allerdings habe ich die Allow-Regel von ioBroker zu UDM-PRO in LAN-IN gemacht... die gehört aber in LAN-Local 😬
              Ist halt bei Unifi etwas seltsam gelöst mit der Firewall...
              Hoffe das hilft den ein oder anderen.

              Gruß
              Andreas

              PS: Toll wie schnell hier Antworten kommen, vielen Dank dafür.
              PPS: Unifi-Protect geht jetzt auch wieder 😳

              Meister Mopper 1 Reply Last reply Reply Quote 3
              • Meister Mopper
                Meister Mopper @anwa last edited by

                @anwa 👍💪

                G 1 Reply Last reply Reply Quote 0
                • G
                  guergen @Meister Mopper last edited by guergen

                  Ich habe das Problem, dass der Adpater nach einem Neustart auch mit der Fehlermeldung startet:

                  2022-06-11 14:35:13.414 - error: unifi.0 (4396) Error site default (data): {"meta":{"rc":"error","msg":"api.err.LoginRequired"},"data":[]}
                  2022-06-11 14:35:13.416 - error: unifi.0 (4396) [updateUnifiData site default] error: Request failed with status code 401, stack: undefined
                  

                  Dann muss ich den Port in den Einstellungen löschen,

                  2022-06-11 14:47:46.246 - error: unifi.0 (129035) Error site undefined: Connection refused. Incorrect IP or port.
                  

                  Speichern und dann wieder eingeben (8443).
                  Dann läuft es bis zum nächsten Mal.
                  Hier läuft ein USG FW 4.4.56
                  unifi.0: 0.6.1

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

                    @guergen lass den Port mal ganz weg, muss eg. nicht mehr rein....

                    D 1 Reply Last reply Reply Quote 1
                    • G
                      guergen last edited by guergen

                      @frank579 Wenn ich den Port weglasse, geht es aber nicht....
                      Die Geräte werden nicht mehr aktualisiert!
                      Und der Adapter meckert... s.o.

                      1 Reply Last reply Reply Quote 0
                      • D
                        darkiop Most Active @Frank579 last edited by

                        @Frank579 Bei UniFi OS geräten brauchts den nicht mehr, da wird der Standard SSL Port 443 verwendet. Bei Non-UniFi OS Geräten, wie z.B. der USG von @guergen lauscht der Network Controller auf 8443.

                        1 Reply Last reply Reply Quote 1
                        • P
                          PrinzEisenherz1 last edited by

                          Hi zusammen.
                          Irgendwie lässt sich der unifi Adapter bei mir nicht auf 0.6.1 updaten.
                          Der Update-Prozess läuft ohne Fehler und Auffälligkeiten durch.
                          Trotzdem bleibt der Adapter auf Version 0.5.10

                          Gruß Johnny

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

                            @prinzeisenherz1 Log Ausgabe?

                            1 Reply Last reply Reply Quote 0
                            • P
                              PrinzEisenherz1 last edited by

                              Hier Mal die Log Ausgabe beim Upgrade-Versuch

                              2022-06-22 18:13:19.953 - info: host.ioBroker-VM64 iobroker upgrade unifi@0.6.1
                              2022-06-22 18:13:20.863 - info: host.ioBroker-VM64 iobroker Update unifi from @0.5.10 to @0.6.1
                              2022-06-22 18:13:21.141 - info: host.ioBroker-VM64 iobroker NPM version: 6.14.16Installing iobroker.unifi@0.6.1... (System call)
                              2022-06-22 18:13:26.580 - info: host.ioBroker-VM64 iobroker upload [24] unifi.admin /opt/iobroker/node_modules/iobroker.unifi/admin/img/checkbox.svg img/checkbox.svg image/svg+xml
                              2022-06-22 18:13:26.632 - info: host.ioBroker-VM64 iobroker upload [20] unifi.admin /opt/iobroker/node_modules/iobroker.unifi/admin/img/info-big.png img/info-big.png image/png
                              2022-06-22 18:13:26.635 - info: host.ioBroker-VM64 iobroker upload [19] unifi.admin /opt/iobroker/node_modules/iobroker.unifi/admin/img/menu_down.svg img/menu_down.svg image/svg+xml
                              2022-06-22 18:13:26.637 - info: host.ioBroker-VM64 iobroker upload [18] unifi.admin /opt/iobroker/node_modules/iobroker.unifi/admin/img/menu_right.svg img/menu_right.svg image/svg+xml
                              2022-06-22 18:13:26.639 - info: host.ioBroker-VM64 iobroker upload [17] unifi.admin /opt/iobroker/node_modules/iobroker.unifi/admin/img/state.png img/state.png image/png
                              2022-06-22 18:13:26.641 - info: host.ioBroker-VM64 iobroker upload [16] unifi.admin /opt/iobroker/node_modules/iobroker.unifi/admin/index_m.html index_m.html text/html
                              2022-06-22 18:13:26.643 - info: host.ioBroker-VM64 iobroker upload [15] unifi.admin /opt/iobroker/node_modules/iobroker.unifi/admin/index_m.js index_m.js application/javascript
                              2022-06-22 18:13:26.645 - info: host.ioBroker-VM64 iobroker upload [14] unifi.admin /opt/iobroker/node_modules/iobroker.unifi/admin/lib/json_logic.js lib/json_logic.js application/javascript
                              2022-06-22 18:13:26.648 - info: host.ioBroker-VM64 iobroker upload [13] unifi.admin /opt/iobroker/node_modules/iobroker.unifi/admin/lib/objects_alarms.json lib/objects_alarms.json application/json
                              2022-06-22 18:13:26.650 - info: host.ioBroker-VM64 iobroker upload [12] unifi.admin /opt/iobroker/node_modules/iobroker.unifi/admin/lib/objects_clients.json lib/objects_clients.json application/json
                              2022-06-22 18:13:26.652 - info: host.ioBroker-VM64 iobroker upload [11] unifi.admin /opt/iobroker/node_modules/iobroker.unifi/admin/lib/objects_devices.json lib/objects_devices.json application/json
                              2022-06-22 18:13:26.654 - info: host.ioBroker-VM64 iobroker upload [10] unifi.admin /opt/iobroker/node_modules/iobroker.unifi/admin/lib/objects_dpi.json lib/objects_dpi.json application/json
                              2022-06-22 18:13:26.657 - info: host.ioBroker-VM64 iobroker upload [9] unifi.admin /opt/iobroker/node_modules/iobroker.unifi/admin/lib/objects_gateway_traffic.json lib/objects_gateway_traffic.json application/json
                              2022-06-22 18:13:26.658 - info: host.ioBroker-VM64 iobroker upload [8] unifi.admin /opt/iobroker/node_modules/iobroker.unifi/admin/lib/objects_health.json lib/objects_health.json application/json
                              2022-06-22 18:13:26.660 - info: host.ioBroker-VM64 iobroker upload [7] unifi.admin /opt/iobroker/node_modules/iobroker.unifi/admin/lib/objects_networks.json lib/objects_networks.json application/json
                              2022-06-22 18:13:26.662 - info: host.ioBroker-VM64 iobroker upload [6] unifi.admin /opt/iobroker/node_modules/iobroker.unifi/admin/lib/objects_sites.json lib/objects_sites.json application/json
                              2022-06-22 18:13:26.664 - info: host.ioBroker-VM64 iobroker upload [5] unifi.admin /opt/iobroker/node_modules/iobroker.unifi/admin/lib/objects_sysinfo.json lib/objects_sysinfo.json application/json
                              2022-06-22 18:13:26.665 - info: host.ioBroker-VM64 iobroker upload [4] unifi.admin /opt/iobroker/node_modules/iobroker.unifi/admin/lib/objects_vouchers.json lib/objects_vouchers.json application/json
                              2022-06-22 18:13:26.668 - info: host.ioBroker-VM64 iobroker upload [3] unifi.admin /opt/iobroker/node_modules/iobroker.unifi/admin/lib/objects_wlans.json lib/objects_wlans.json application/json
                              2022-06-22 18:13:26.671 - info: host.ioBroker-VM64 iobroker upload [2] unifi.admin /opt/iobroker/node_modules/iobroker.unifi/admin/style.css style.css text/css
                              2022-06-22 18:13:26.673 - info: host.ioBroker-VM64 iobroker upload [1] unifi.admin /opt/iobroker/node_modules/iobroker.unifi/admin/unifi.png unifi.png image/png
                              2022-06-22 18:13:26.675 - info: host.ioBroker-VM64 iobroker upload [0] unifi.admin /opt/iobroker/node_modules/iobroker.unifi/admin/words.js words.js application/javascript
                              2022-06-22 18:13:27.684 - info: host.ioBroker-VM64 iobroker exit 0
                              
                              crunchip Thomas Braun 2 Replies Last reply Reply Quote 0
                              • crunchip
                                crunchip Forum Testing Most Active @PrinzEisenherz1 last edited by

                                @prinzeisenherz1 probier es mal per Konsole

                                iob upgrade unifi --debug
                                

                                und zeig die Ausgaben von

                                uname -m && which nodejs node npm && nodejs -v && node -v && npm -v && whoami && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs
                                
                                iob list instances
                                
                                1 Reply Last reply Reply Quote 0
                                • Thomas Braun
                                  Thomas Braun Most Active @PrinzEisenherz1 last edited by

                                  @prinzeisenherz1

                                  Und

                                  cd /opt/iobroker
                                  npm ls | grep 'ERR|github'
                                  
                                  1 Reply Last reply Reply Quote 0
                                  • P
                                    PrinzEisenherz1 last edited by

                                    Hab den Fehler gefunden. Habe noch node 12.x
                                    Welche Version ist für den unifi Adapter empfohlen?
                                    14 oder 16? Und wie sieht es mit der npm Version aus? Noch auf 6 bleiben?

                                    Gruß Johnny

                                    Thomas Braun 1 Reply Last reply Reply Quote 0
                                    • Thomas Braun
                                      Thomas Braun Most Active @PrinzEisenherz1 last edited by

                                      @prinzeisenherz1

                                      nodeJS16 inkl. npm8 ist die Empfehlung:

                                      https://forum.iobroker.net/topic/55678/node-js-16-x-neue-empfehlung-für-iobroker

                                      1 Reply Last reply Reply Quote 0
                                      • P
                                        PrinzEisenherz1 last edited by

                                        Vielen Dank. Läuft wieder

                                        Thomas Braun 1 Reply Last reply Reply Quote 0
                                        • Thomas Braun
                                          Thomas Braun Most Active @PrinzEisenherz1 last edited by

                                          @prinzeisenherz1

                                          Und was hast du jetzt gemacht, dass 'es wieder läuft'?

                                          1 Reply Last reply Reply Quote 0
                                          • P
                                            PrinzEisenherz1 last edited by

                                            Ich habe node auf Version 16 upgegradet und dann den unifi Adapter upgedatet.
                                            Jetzt läuft's mit Version 0.6.1

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

                                            Support us

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

                                            565
                                            Online

                                            31.7k
                                            Users

                                            79.8k
                                            Topics

                                            1.3m
                                            Posts

                                            unifi
                                            170
                                            998
                                            307528
                                            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