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.
    • J
      Jan1 @robson last edited by

      @robson
      Warum machst nicht gleich die aktuelle Version drauf, wenn Du schon ein Update machst?
      Hast Du eigentlich was mit Bluetooth am Laufen, oder fehlt da nur ein Treiber?

      R 1 Reply Last reply Reply Quote 0
      • R
        robson @v522533 last edited by robson

        @v522533

        Anbei das Debug-Log:

        sonoff.0	2019-10-30 15:15:52.033	debug	stateChange sonoff.0.info.connection: {"val":"","ack":true,"ts":1572444952027,"q":0,"from":"system.adapter.sonoff.0","user":"system.user.admin","lc":1572434652804}
        sonoff.0	2019-10-30 15:15:52.025	info	Starting MQTT authenticated server on port 1883
        sonoff.0	2019-10-30 15:15:51.955	info	starting. Version 2.3.2 in /opt/iobroker/node_modules/iobroker.sonoff, node: v10.16.0
        sonoff.0	2019-10-30 15:15:51.930	debug	statesDB connected
        sonoff.0	2019-10-30 15:15:51.904	debug	objectDB connected
        host.ioBroker-RasPi4	2019-10-30 15:15:51.204	info	instance system.adapter.sonoff.0 started with pid 7890
        

        Folgende zwei Zweilen sind jetzt (nach ca. 2 Minuten) hinzugekommen:

        sonoff.0	2019-10-30 15:19:10.350	debug	system.adapter.admin.0: logging true
        sonoff.0	2019-10-30 15:17:39.277	debug	system.adapter.admin.0: logging false
        
        1 Reply Last reply Reply Quote 0
        • R
          robson @Jan1 last edited by

          @Jan1
          Ich habe mal mit dem Radar2-Adapter experimentiert, aber der läuft schon seit Wochen nicht mehr bei mir. Also nein, BT wird sonst nicht genutzt.

          Welches Update? Sonoff? Ich habe die Steckdosen vor Kurzem geflasht und da war Version 2.5.0 die, die aktuell war. Hätte nicht gedacht, dass da so schnell Updates nachgeschoben werden.

          J 1 Reply Last reply Reply Quote 0
          • J
            Jan1 @robson last edited by

            @robson
            Du meinst wohl 6.5.0 und das ist schon ein gutes Jahr alt. 6.6.0 war das letzte offizielle Release und seit ner Woche eben 7.0.0

            An Deinem System fehlt wohl der BT Treiber und wird deshalb an gemeckert.
            Was für HW hast und welches Linux läuft darauf?

            v522533 R 2 Replies Last reply Reply Quote 0
            • v522533
              v522533 @Jan1 last edited by v522533

              @Jan1

              das mit bluetooth ist nicht relevant für den sonoff adapter, oder zumindest hat sein fehler nichts damit zu tun.

              @robson

              so wie ich das sehe, läuft der adapter normal. Du könntest testweise mal einen sonoff resetten und neu konfigurieren.

              J 1 Reply Last reply Reply Quote 0
              • J
                Jan1 @v522533 last edited by Jan1

                @v522533
                Sag ich doch, der Adapter läuft, lediglich die Tasmota Geräte verbinden nicht und deshalb bleibt er gelb.
                Die BT Geschichte ist nur unschön und stört etwas das Bild.

                @robson
                Installiere doch mal zum Testen den MQT Adapter und schau ob der sich mit den Geräten verbindet. Den Sonoff aber so lange ausschalten oder anderen Port verwenden, da beide default auf 1883 laufen.

                1 Reply Last reply Reply Quote 0
                • 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
                                            • First post
                                              Last post

                                            Support us

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

                                            916
                                            Online

                                            32.0k
                                            Users

                                            80.5k
                                            Topics

                                            1.3m
                                            Posts

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