Navigation

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

    NEWS

    • Wir empfehlen: Node.js 22.x

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker goes Matter ... Matter Adapter in Stable

    Sonoff-Adapter

    This topic has been deleted. Only users with topic management privileges can see it.
    • R
      robson @Jan1 last edited by

      @Jan1, @v522533
      danke für eure Hilfe bisher. Das mit dem MQTT-Adapter und der Neukonfiguration der Steckdosen sind gute Ideen, mit denen ich mich morgen auseinander setze. Habe leider keine Zeit mehr...
      Ich melde mich, sobald ich Neuigkeiten habe.

      R 1 Reply Last reply Reply Quote 0
      • O
        ozboss last edited by

        Ich bekomme den Adapter leider nicht zum laufen.
        Anscheinend belegt irgendwas den Port 1883 allerdings weiß ich nicht wie ich herrausfinden kann was und wie ich es beenden kann.
        Hier der Log:
        Caught 2019-11-11 20:05:09.010 error by controller[0]: port: 1883 }
        Caught 2019-11-11 20:05:09.010 error by controller[0]: address: '0.0.0.0',
        Caught 2019-11-11 20:05:09.010 error by controller[0]: syscall: 'listen',
        Caught 2019-11-11 20:05:09.010 error by controller[0]: errno: 'EADDRINUSE',
        Caught 2019-11-11 20:05:09.010 error by controller[0]: code: 'EADDRINUSE',
        Caught 2019-11-11 20:05:09.010 error by controller[0]: at process._tickCallback (internal/process/next_tick.js:63:19)
        Caught 2019-11-11 20:05:09.010 error by controller[0]: at doListen (net.js:1461:7)
        Caught 2019-11-11 20:05:09.010 error by controller[0]: at listenInCluster (net.js:1328:12)
        Caught 2019-11-11 20:05:09.010 error by controller[0]: at Server.setupListenHandle [as _listen2] (net.js:1280:14)
        Caught 2019-11-11 20:05:09.010 error by controller[0]: { Error: listen EADDRINUSE: address already in use 0.0.0.0:1883
        sonoff.0 2019-11-11 20:05:08.994 error at process._tickCallback (internal/process/next_tick.js:63:19)
        sonoff.0 2019-11-11 20:05:08.994 error at doListen (net.js:1461:7)
        sonoff.0 2019-11-11 20:05:08.994 error at listenInCluster (net.js:1328:12)
        sonoff.0 2019-11-11 20:05:08.994 error at Server.setupListenHandle [as _listen2] (net.js:1280:14)
        sonoff.0 2019-11-11 20:05:08.994 error Error: listen EADDRINUSE: address already in use 0.0.0.0:1883
        sonoff.0 2019-11-11 20:05:08.993 error uncaught exception: listen EADDRINUSE: address already in use 0.0.0.0:1883

        Glasfaser 1 Reply Last reply Reply Quote 0
        • Glasfaser
          Glasfaser @ozboss last edited by

          @ozboss

          Zeige mal :

          cd /opt/iobroker
          
          iobroker list instances
          
          1 Reply Last reply Reply Quote 0
          • O
            ozboss last edited by

            @Glasfaser sagte in Sonoff-Adapter:

            iobroker list instances

            • system.adapter.admin.0 : admin - enabled, port: 8081, bind: 0.0.0.0, run as: admin
            • system.adapter.alexa2.0 : alexa2 - enabled
            • system.adapter.backitup.0 : backitup - enabled
              system.adapter.ble.0 : ble - disabled
              system.adapter.broadlink2.0 : broadlink2 - disabled
            • system.adapter.cloud.0 : cloud - enabled
            • system.adapter.discovery.0 : discovery - enabled
            • system.adapter.info.0 : info - enabled
            • system.adapter.javascript.0 : javascript - enabled
              system.adapter.mihome-vacuum.0 : mihome-vacuum - disabled, port: 54321
            • system.adapter.radar2.0 : radar2 - enabled
            • system.adapter.scenes.0 : scenes - enabled
              system.adapter.sonoff.0 : sonoff - disabled, port: 1883, bind: 0.0.0.0
            • system.adapter.telegram.0 : telegram - enabled, port: 8443, bind: 0.0.0.0
            • system.adapter.text2command.0 : text2command - enabled
            • system.adapter.web.0 : web - enabled, port: 8082, bind: 0.0.0.0, run as: admin
            1 Reply Last reply Reply Quote 0
            • O
              ozboss last edited by

              Also wie es aussieht läuft zumindest keine andere iobroker Instanz auf dem Port

              Glasfaser 1 Reply Last reply Reply Quote 0
              • Glasfaser
                Glasfaser @ozboss last edited by

                @ozboss
                Nimm mal Testweise einen anderen Port

                O 2 Replies Last reply Reply Quote 0
                • O
                  ozboss @Glasfaser last edited by

                  @Glasfaser
                  Habe mal Port 1884 genommen.
                  Jetzt kommt keine Fehlermeldung mehr, allerdings ist die Instanz immer noch gelb...

                  1 Reply Last reply Reply Quote 0
                  • O
                    ozboss last edited by ozboss

                    Die letzte Meldung ist dass er den MQTT Server startet

                    1 Reply Last reply Reply Quote 0
                    • O
                      ozboss @Glasfaser last edited by

                      @Glasfaser
                      Ah ok ich hab den Port am Gerät auch geändert jetzt klappts 🙂 danke

                      Glasfaser 1 Reply Last reply Reply Quote 0
                      • O
                        ozboss last edited by

                        Ich würde trotzdem gerne wissen was bei mir auf Port 1883 läuft.
                        Vielleicht kann mir da jemand helfen?

                        1 Reply Last reply Reply Quote 0
                        • Glasfaser
                          Glasfaser @ozboss last edited by Glasfaser

                          @ozboss
                          Nur ein Hinweis :

                          Du brauchst nicht jedes mal Antworten , nutze die Edit Funktion.

                          Mache mal ein Reboot von deinem System , ob es noch weiter vorkommt das der Port Belegt ist !

                          O 1 Reply Last reply Reply Quote 0
                          • O
                            ozboss @Glasfaser last edited by

                            @Glasfaser sagte in Sonoff-Adapter:

                            @ozboss
                            Nur ein Hinweis :

                            Du brauchst nicht jedes mal Antworten , nutze die Edit Funktion.

                            ok 🙂

                            Mache mal ein Reboot von deinem System , ob es noch weiter vorkommt das der Port Belegt ist !

                            Ja ist immer noch das gleiche Problem

                            Glasfaser 1 Reply Last reply Reply Quote 0
                            • Glasfaser
                              Glasfaser @ozboss last edited by

                              @ozboss

                              Zeige nochmal hiermit

                              
                              cd /opt/iobroker
                              
                              iobroker l i --port
                              
                              O 1 Reply Last reply Reply Quote 0
                              • O
                                ozboss @Glasfaser last edited by

                                @Glasfaser sagte in Sonoff-Adapter:

                                iobroker l i --port

                                • system.adapter.admin.0 : admin - enabled, port: 8081, bind: 0.0.0.0, run as: admin
                                  system.adapter.mihome-vacuum.0 : mihome-vacuum - disabled, port: 54321
                                • system.adapter.sonoff.0 : sonoff - enabled, port: 1884, bind: 0.0.0.0
                                • system.adapter.telegram.0 : telegram - enabled, port: 8443, bind: 0.0.0.0
                                • system.adapter.web.0 : web - enabled, port: 8082, bind: 0.0.0.0, run as: admin
                                Glasfaser Chaot 2 Replies Last reply Reply Quote 0
                                • Glasfaser
                                  Glasfaser @ozboss last edited by

                                  @ozboss
                                  Kommt da etwas

                                  ip Adresse von Iobroker  :1883
                                  

                                  Was für ein System hast du ?

                                  O Glasfaser 2 Replies Last reply Reply Quote 0
                                  • Chaot
                                    Chaot @ozboss last edited by

                                    @ozboss Hast du vielleicht noch irgendwo einen MQTT Broker laufen?

                                    1 Reply Last reply Reply Quote 0
                                    • O
                                      ozboss @Glasfaser last edited by ozboss

                                      @Glasfaser
                                      Ubuntu 18.04

                                      @Chaot
                                      Nicht das ich wüsste, das System läuft allerdings schon eine Weile.. 😄

                                      1 Reply Last reply Reply Quote 0
                                      • Glasfaser
                                        Glasfaser @Glasfaser last edited by

                                        @Glasfaser sagte in Sonoff-Adapter:

                                        @ozboss
                                        Kommt da etwas

                                        ip Adresse von Iobroker  :1883
                                        

                                        ????

                                        O 1 Reply Last reply Reply Quote 0
                                        • O
                                          ozboss @Glasfaser last edited by

                                          @Glasfaser sagte in Sonoff-Adapter:

                                          @Glasfaser sagte in Sonoff-Adapter:

                                          @ozboss
                                          Kommt da etwas

                                          ip Adresse von Iobroker  :1883
                                          

                                          ????

                                          Nope

                                          Chaot 1 Reply Last reply Reply Quote 0
                                          • Chaot
                                            Chaot @ozboss last edited by

                                            @ozboss Bei mir laufen die Sonoff komplett auf Port 1500. Und davon habe ich schon einige im Einsatz.
                                            Den Port 1883 (Standard MQTT) Verwende ich nur für Geräte die ich im ioBroker nicht mit dem Sonoff Adapter erwische. Die werden dann mit dem MQTT Adapter abgefragt.

                                            Bei manchen Geräten ist auch eine Änderung des Ports gar nicht möglich. Hast du eventuell irgendwas im Netzwerk das ebenfalls MQTT verwendet? Gerne wird das auch bei manchen chinesichen LED Steuerungen verwendet obwohl das nicht separat erwähnt wird.
                                            Das habe ich bei mir durch Zufall herausgefunden als ich plötzlich im MQTT Adapter ein Gerät drin hatte das ich gar nicht geplant hatte.

                                            O 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

                                            765
                                            Online

                                            32.0k
                                            Users

                                            80.5k
                                            Topics

                                            1.3m
                                            Posts

                                            sonoff-adapter
                                            8
                                            102
                                            7853
                                            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