Skip to content
  • Home
  • Recent
  • Tags
  • 0 Unread 0
  • Categories
  • Unreplied
  • Popular
  • GitHub
  • Docu
  • Hilfe
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. Tester
  4. [Adapter] Sonoff- Tasmota

NEWS

  • Jahresrückblick 2025 – unser neuer Blogbeitrag ist online! ✨
    BluefoxB
    Bluefox
    17
    1
    2.6k

  • Neuer Blogbeitrag: Monatsrückblick - Dezember 2025 🎄
    BluefoxB
    Bluefox
    13
    1
    1.0k

  • Weihnachtsangebot 2025! 🎄
    BluefoxB
    Bluefox
    25
    1
    2.3k

[Adapter] Sonoff- Tasmota

Scheduled Pinned Locked Moved Tester
720 Posts 75 Posters 265.6k Views 8 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • K Offline
    K Offline
    knopers1
    wrote on last edited by
    #44

    @lomobau

    meine Konfig sieht so aus… Läuft auch stabil!
    1526_unbenannt1.png
    1526_unbenann2.png

    HP Microserver Gen8, RPI-4, IoBroker,

    1 Reply Last reply
    0
    • lobomauL Offline
      lobomauL Offline
      lobomau
      wrote on last edited by
      #45

      Können alle Geräte gleiches topic "sonoff" haben? Habe ich jetzt mal so eingestellt.

      Wie ist euer rssi-Wert? Mein sonoff, der die Verbindung verliert hat einen Wert um 30 rum, der andere 58.

      Nun habe ich den Geräten sinnvolle Namen gegeben:

      Zirkulation,Licht_Gartenhaus	true	sonoff.0	2017-10-08 11:07:32.694	
      Zirkulation	true	sonoff.0	2017-10-08 11:07:09.084	
      Zirkulation,Licht_Gartenhaus	true	sonoff.0	2017-10-08 11:04:58.072	
      Zirkulation	true	sonoff.0	2017-10-08 11:03:26.537	
      Zirkulation,Licht_Gartenhaus	true	sonoff.0	2017-10-08 10:58:10.882	
      Zirkulation	true	sonoff.0	2017-10-08 10:58:05.518	
      Zirkulation,Licht_Gartenhaus	true	sonoff.0	2017-10-08 10:57:38.614	
      Zirkulation	true	sonoff.0	2017-10-08 10:55:59.779	
      Zirkulation,Licht_Gartenhaus	true	sonoff.0	2017-10-08 10:55:13.978	
      Zirkulation	true	sonoff.0	2017-10-08 10:53:47.212	
      Zirkulation,Licht_Gartenhaus	true	sonoff.0	2017-10-08 10:53:41.337	
      Zirkulation	true	sonoff.0	2017-10-08 10:51:52.198	
      Zirkulation,Licht_Gartenhaus	true	sonoff.0	2017-10-08 10:51:45.947	
      Zirkulation	true	sonoff.0	2017-10-08 10:50:49.806	
      

      Host: NUC8i3 mit Proxmox:

      • ioBroker CT Debian 13, npm 10.9.4, nodejs 22.21.0
      • Slave: Pi4
      1 Reply Last reply
      0
      • K Offline
        K Offline
        knopers1
        wrote on last edited by
        #46

        @lobomau:

        Können alle Geräte gleiches topic "sonoff" haben?

        Wie ist euer rssi-Wert? `

        meine habens… zumindest drei von 4 Geräten... RSSI Werte je nach Abstand zum Router zwischen 68-88%.

        Mit 30% bist Du relativ weit vom Router mit dem Teil. Das könnte natürlich das Problem sein, dass die Verbindung flöten geht. Stell die Teile näher zum Router hin und beobachte paar Std. Dann kennst Du die Antwort.

        HP Microserver Gen8, RPI-4, IoBroker,

        1 Reply Last reply
        0
        • H Offline
          H Offline
          high_voltage
          wrote on last edited by
          #47

          Hallo,

          vielleicht könnte mir jemand verraten wie ich diese Daten (gelb markiert) im Minutentakt oder in Echtzeit akutell bekommen kann?

          ! 3686_sonoff2.png

          Vielen Dank und viele Grüße

          P.S. sorry für die vielen Fragen bin noch Beginner … :-)

          1 Reply Last reply
          0
          • kmxakK Offline
            kmxakK Offline
            kmxak
            Most Active
            wrote on last edited by
            #48

            nun hatte ich die Meldungen auch einmal:

            sonoff.0	2017-10-09 08:03:12.467	info	Client [Sonoff4ch] connected
            sonoff.0	2017-10-09 08:03:12.451	info	Client [SonoffPOW] connected
            sonoff.0	2017-10-09 08:03:10.911	warn	Client error [SonoffPOW]: Error: Invalid messageId
            sonoff.0	2017-10-09 08:03:10.909	info	Client [SonoffPOW] closed
            sonoff.0	2017-10-09 08:03:10.496	warn	Client error [Sonoff4ch]: Error: Invalid messageId
            sonoff.0	2017-10-09 08:03:10.494	info	Client [Sonoff4ch] closed
            

            Gruß Alex

            1 Reply Last reply
            0
            • lobomauL Offline
              lobomauL Offline
              lobomau
              wrote on last edited by
              #49

              @knopers1:

              @lobomau:

              Können alle Geräte gleiches topic "sonoff" haben?

              Wie ist euer rssi-Wert? `

              meine habens… zumindest drei von 4 Geräten... RSSI Werte je nach Abstand zum Router zwischen 68-88%.

              Mit 30% bist Du relativ weit vom Router mit dem Teil. Das könnte natürlich das Problem sein, dass die Verbindung flöten geht. Stell die Teile näher zum Router hin und beobachte paar Std. Dann kennst Du die Antwort. `
              Zur Abwechslung hat sich nun der mit dem besseren rssi-Wert verabschiedet. Die hängen auch beide ständig am wlan. Ich glaube daran liegt es nicht.

              Licht_Gartenhaus	true	sonoff.0	2017-10-09 10:29:29.994	
              Zirkulation,Licht_Gartenhaus	true	sonoff.0	2017-10-08 20:58:42.382	
              Zirkulation	true	sonoff.0	2017-10-08 20:58:41.958	
              true	sonoff.0	2017-10-08 20:58:28.460	
              Zirkulation,Licht_Gartenhaus	true	sonoff.0	2017-10-08 11:19:55.883	
              Zirkulation	true	sonoff.0	2017-10-08 11:11:17.152	
              Zirkulation	true	sonoff.0	2017-10-08 11:08:50.354
              

              Host: NUC8i3 mit Proxmox:

              • ioBroker CT Debian 13, npm 10.9.4, nodejs 22.21.0
              • Slave: Pi4
              1 Reply Last reply
              0
              • BluefoxB Offline
                BluefoxB Offline
                Bluefox
                wrote on last edited by
                #50

                @kmxak:

                nun hatte ich die Meldungen auch einmal:

                sonoff.0	2017-10-09 08:03:12.467	info	Client [Sonoff4ch] connected
                sonoff.0	2017-10-09 08:03:12.451	info	Client [SonoffPOW] connected
                sonoff.0	2017-10-09 08:03:10.911	warn	Client error [SonoffPOW]: Error: Invalid messageId
                sonoff.0	2017-10-09 08:03:10.909	info	Client [SonoffPOW] closed
                sonoff.0	2017-10-09 08:03:10.496	warn	Client error [Sonoff4ch]: Error: Invalid messageId
                sonoff.0	2017-10-09 08:03:10.494	info	Client [Sonoff4ch] closed
                ```` `  
                

                Es gibt diese Datei:

                ... node_modules/mqtt-packet/writeToStream.js
                

                entwider in /opt/iobroker oder in /opt/iobroker/node_modules/iobroker.sonoff

                Kannst du folgende Zeilen verändern um raus zu finden, wo Fehler vorkommt?

                https://github.com/mqttjs/mqtt-packet/b … am.js#L270

                https://github.com/mqttjs/mqtt-packet/b ... am.js#L303

                https://github.com/mqttjs/mqtt-packet/b ... am.js#L327

                https://github.com/mqttjs/mqtt-packet/b ... am.js#L389

                https://github.com/mqttjs/mqtt-packet/b ... am.js#L429

                Auf

                stream.emit('error', new Error('Invalid messageId ' + __line))
                
                1 Reply Last reply
                0
                • kmxakK Offline
                  kmxakK Offline
                  kmxak
                  Most Active
                  wrote on last edited by
                  #51

                  nachdem ich die datei geändert habe und den adapter 2 mal neugestartet habe kamen erste meldungen:

                  ! ````
                  host.ioBroker 2017-10-09 13:00:27.890 info instance system.adapter.sonoff.0 started with pid 4118
                  host.ioBroker 2017-10-09 13:00:25.507 info instance system.adapter.sonoff.0 terminated with code 0 (OK)
                  Caught 2017-10-09 13:00:25.507 error by controller[1]: at Connection.Writable.write (/opt/iobroker/node_modules/readable-stream/lib/_stream_writable.js:241:11)
                  Caught 2017-10-09 13:00:25.507 error by controller[1]: at writeOrBuffer (/opt/iobroker/node_modules/readable-stream/lib/_stream_writable.js:302:5)
                  Caught 2017-10-09 13:00:25.506 error by controller[1]: at doWrite (/opt/iobroker/node_modules/readable-stream/lib/_stream_writable.js:313:64)
                  Caught 2017-10-09 13:00:25.506 error by controller[1]: at Connection.Duplexify._write (/opt/iobroker/node_modules/duplexify/index.js:201:22)
                  Caught 2017-10-09 13:00:25.506 error by controller[1]: at Writable.write (_stream_writable.js:243:11)
                  Caught 2017-10-09 13:00:25.506 error by controller[1]: at writeOrBuffer (_stream_writable.js:317:5)
                  Caught 2017-10-09 13:00:25.506 error by controller[1]: at doWrite (_stream_writable.js:331:12)
                  Caught 2017-10-09 13:00:25.505 error by controller[1]: at Writable.write [as _write] (/opt/iobroker/node_modules/mqtt-connection/lib/writeToStream.js:10:9)
                  Caught 2017-10-09 13:00:25.505 error by controller[1]: at generate (/opt/iobroker/node_modules/mqtt-packet/writeToStream.js:33:14)
                  Caught 2017-10-09 13:00:25.505 error by controller[1]: at publish (/opt/iobroker/node_modules/mqtt-packet/writeToStream.js:270:59)
                  Caught 2017-10-09 13:00:25.505 error by controller[1]: ReferenceError: __line is not defined
                  Caught 2017-10-09 13:00:25.505 error by controller[0]: at Connection.Writable.write (/opt/iobroker/node_modules/readable-stream/lib/_stream_writable.js:241:11)
                  Caught 2017-10-09 13:00:25.505 error by controller[0]: at writeOrBuffer (/opt/iobroker/node_modules/readable-stream/lib/_stream_writable.js:302:5)
                  Caught 2017-10-09 13:00:25.505 error by controller[0]: at doWrite (/opt/iobroker/node_modules/readable-stream/lib/_stream_writable.js:313:64)
                  Caught 2017-10-09 13:00:25.504 error by controller[0]: at Connection.Duplexify._write (/opt/iobroker/node_modules/duplexify/index.js:201:22)
                  Caught 2017-10-09 13:00:25.504 error by controller[0]: at Writable.write (_stream_writable.js:243:11)
                  Caught 2017-10-09 13:00:25.504 error by controller[0]: at writeOrBuffer (_stream_writable.js:317:5)
                  Caught 2017-10-09 13:00:25.504 error by controller[0]: at doWrite (_stream_writable.js:331:12)
                  Caught 2017-10-09 13:00:25.504 error by controller[0]: at Writable.write [as _write] (/opt/iobroker/node_modules/mqtt-connection/lib/writeToStream.js:10:9)
                  Caught 2017-10-09 13:00:25.504 error by controller[0]: at generate (/opt/iobroker/node_modules/mqtt-packet/writeToStream.js:33:14)
                  Caught 2017-10-09 13:00:25.503 error by controller[0]: at publish (/opt/iobroker/node_modules/mqtt-packet/writeToStream.js:270:59)
                  Caught 2017-10-09 13:00:25.503 error by controller[0]: ReferenceError: __line is not defined
                  sonoff.0 2017-10-09 13:00:25.480 info terminating
                  sonoff.0 2017-10-09 13:00:25.466 error at Connection.Writable.write (/opt/iobroker/node_modules/readable-stream/lib/_stream_writable.js:241:11)
                  sonoff.0 2017-10-09 13:00:25.466 error at writeOrBuffer (/opt/iobroker/node_modules/readable-stream/lib/_stream_writable.js:302:5)
                  sonoff.0 2017-10-09 13:00:25.466 error at doWrite (/opt/iobroker/node_modules/readable-stream/lib/_stream_writable.js:313:64)
                  sonoff.0 2017-10-09 13:00:25.466 error at Connection.Duplexify._write (/opt/iobroker/node_modules/duplexify/index.js:201:22)
                  sonoff.0 2017-10-09 13:00:25.466 error at Writable.write (_stream_writable.js:243:11)
                  sonoff.0 2017-10-09 13:00:25.466 error at writeOrBuffer (_stream_writable.js:317:5)
                  sonoff.0 2017-10-09 13:00:25.466 error at doWrite (_stream_writable.js:331:12)
                  sonoff.0 2017-10-09 13:00:25.466 error at Writable.write [as _write] (/opt/iobroker/node_modules/mqtt-connection/lib/writeToStream.js:10:9)
                  sonoff.0 2017-10-09 13:00:25.466 error at generate (/opt/iobroker/node_modules/mqtt-packet/writeToStream.js:33:14)
                  sonoff.0 2017-10-09 13:00:25.466 error at publish (/opt/iobroker/node_modules/mqtt-packet/writeToStream.js:270:59)
                  sonoff.0 2017-10-09 13:00:25.466 error ReferenceError: __line is not defined
                  sonoff.0 2017-10-09 13:00:25.466 error uncaught exception: __line is not defined
                  sonoff.0 2017-10-09 13:00:25.465 info Client [SonoffPOW] closed
                  sonoff.0 2017-10-09 13:00:25.464 info Client [Sonoff4ch] closed
                  sonoff.0 2017-10-09 13:00:25.463 warn Client error [ESPClient5]: Error: This socket is closed
                  sonoff.0 2017-10-09 13:00:25.458 info Client [ESPClient5] closed
                  sonoff.0 2017-10-09 13:00:25.458 error at Connection.Writable.write (/opt/iobroker/node_modules/readable-stream/lib/_stream_writable.js:241:11)
                  sonoff.0 2017-10-09 13:00:25.458 error at writeOrBuffer (/opt/iobroker/node_modules/readable-stream/lib/_stream_writable.js:302:5)
                  sonoff.0 2017-10-09 13:00:25.458 error at doWrite (/opt/iobroker/node_modules/readable-stream/lib/_stream_writable.js:313:64)
                  sonoff.0 2017-10-09 13:00:25.458 error at Connection.Duplexify._write (/opt/iobroker/node_modules/duplexify/index.js:201:22)
                  sonoff.0 2017-10-09 13:00:25.458 error at Writable.write (_stream_writable.js:243:11)
                  sonoff.0 2017-10-09 13:00:25.458 error at writeOrBuffer (_stream_writable.js:317:5)
                  sonoff.0 2017-10-09 13:00:25.458 error at doWrite (_stream_writable.js:331:12)
                  sonoff.0 2017-10-09 13:00:25.458 error at Writable.write [as _write] (/opt/iobroker/node_modules/mqtt-connection/lib/writeToStream.js:10:9)
                  sonoff.0 2017-10-09 13:00:25.458 error at generate (/opt/iobroker/node_modules/mqtt-packet/writeToStream.js:33:14)
                  sonoff.0 2017-10-09 13:00:25.458 error at publish (/opt/iobroker/node_modules/mqtt-packet/writeToStream.js:270:59)
                  sonoff.0 2017-10-09 13:00:25.458 error ReferenceError: __line is not defined
                  sonoff.0 2017-10-09 13:00:25.458 error uncaught exception: __line is not defined
                  sonoff.0 2017-10-09 13:00:25.427 info Client [Sonoff4ch] closed

                  Gruß Alex

                  1 Reply Last reply
                  0
                  • chucky666C Offline
                    chucky666C Offline
                    chucky666
                    wrote on last edited by
                    #52

                    Hallo

                    Wird der Sonoff S20 auch unterstützt ?

                    Gruß

                    Gesendet von iPad mit Tapatalk Pro

                    1 Reply Last reply
                    0
                    • BluefoxB Offline
                      BluefoxB Offline
                      Bluefox
                      wrote on last edited by
                      #53

                      @kmxak:

                      nachdem ich die datei geändert habe und den adapter 2 mal neugestartet habe kamen erste meldungen:

                      ! host.ioBroker 2017-10-09 13:00:27.890 info instance system.adapter.sonoff.0 started with pid 4118 host.ioBroker 2017-10-09 13:00:25.507 info instance system.adapter.sonoff.0 terminated with code 0 (OK) Caught 2017-10-09 13:00:25.507 error by controller[1]: at Connection.Writable.write (/opt/iobroker/node_modules/readable-stream/lib/_stream_writable.js:241:11) Caught 2017-10-09 13:00:25.507 error by controller[1]: at writeOrBuffer (/opt/iobroker/node_modules/readable-stream/lib/_stream_writable.js:302:5) Caught 2017-10-09 13:00:25.506 error by controller[1]: at doWrite (/opt/iobroker/node_modules/readable-stream/lib/_stream_writable.js:313:64) Caught 2017-10-09 13:00:25.506 error by controller[1]: at Connection.Duplexify._write (/opt/iobroker/node_modules/duplexify/index.js:201:22) Caught 2017-10-09 13:00:25.506 error by controller[1]: at Writable.write (_stream_writable.js:243:11) Caught 2017-10-09 13:00:25.506 error by controller[1]: at writeOrBuffer (_stream_writable.js:317:5) Caught 2017-10-09 13:00:25.506 error by controller[1]: at doWrite (_stream_writable.js:331:12) Caught 2017-10-09 13:00:25.505 error by controller[1]: at Writable.write [as _write] (/opt/iobroker/node_modules/mqtt-connection/lib/writeToStream.js:10:9) Caught 2017-10-09 13:00:25.505 error by controller[1]: at generate (/opt/iobroker/node_modules/mqtt-packet/writeToStream.js:33:14) Caught 2017-10-09 13:00:25.505 error by controller[1]: at publish (/opt/iobroker/node_modules/mqtt-packet/writeToStream.js:270:59) Caught 2017-10-09 13:00:25.505 error by controller[1]: ReferenceError: __line is not defined Caught 2017-10-09 13:00:25.505 error by controller[0]: at Connection.Writable.write (/opt/iobroker/node_modules/readable-stream/lib/_stream_writable.js:241:11) Caught 2017-10-09 13:00:25.505 error by controller[0]: at writeOrBuffer (/opt/iobroker/node_modules/readable-stream/lib/_stream_writable.js:302:5) Caught 2017-10-09 13:00:25.505 error by controller[0]: at doWrite (/opt/iobroker/node_modules/readable-stream/lib/_stream_writable.js:313:64) Caught 2017-10-09 13:00:25.504 error by controller[0]: at Connection.Duplexify._write (/opt/iobroker/node_modules/duplexify/index.js:201:22) Caught 2017-10-09 13:00:25.504 error by controller[0]: at Writable.write (_stream_writable.js:243:11) Caught 2017-10-09 13:00:25.504 error by controller[0]: at writeOrBuffer (_stream_writable.js:317:5) Caught 2017-10-09 13:00:25.504 error by controller[0]: at doWrite (_stream_writable.js:331:12) Caught 2017-10-09 13:00:25.504 error by controller[0]: at Writable.write [as _write] (/opt/iobroker/node_modules/mqtt-connection/lib/writeToStream.js:10:9) Caught 2017-10-09 13:00:25.504 error by controller[0]: at generate (/opt/iobroker/node_modules/mqtt-packet/writeToStream.js:33:14) Caught 2017-10-09 13:00:25.503 error by controller[0]: at publish (/opt/iobroker/node_modules/mqtt-packet/writeToStream.js:270:59) Caught 2017-10-09 13:00:25.503 error by controller[0]: ReferenceError: __line is not defined sonoff.0 2017-10-09 13:00:25.480 info terminating sonoff.0 2017-10-09 13:00:25.466 error at Connection.Writable.write (/opt/iobroker/node_modules/readable-stream/lib/_stream_writable.js:241:11) sonoff.0 2017-10-09 13:00:25.466 error at writeOrBuffer (/opt/iobroker/node_modules/readable-stream/lib/_stream_writable.js:302:5) sonoff.0 2017-10-09 13:00:25.466 error at doWrite (/opt/iobroker/node_modules/readable-stream/lib/_stream_writable.js:313:64) sonoff.0 2017-10-09 13:00:25.466 error at Connection.Duplexify._write (/opt/iobroker/node_modules/duplexify/index.js:201:22) sonoff.0 2017-10-09 13:00:25.466 error at Writable.write (_stream_writable.js:243:11) sonoff.0 2017-10-09 13:00:25.466 error at writeOrBuffer (_stream_writable.js:317:5) sonoff.0 2017-10-09 13:00:25.466 error at doWrite (_stream_writable.js:331:12) sonoff.0 2017-10-09 13:00:25.466 error at Writable.write [as _write] (/opt/iobroker/node_modules/mqtt-connection/lib/writeToStream.js:10:9) sonoff.0 2017-10-09 13:00:25.466 error at generate (/opt/iobroker/node_modules/mqtt-packet/writeToStream.js:33:14) sonoff.0 2017-10-09 13:00:25.466 error at publish (/opt/iobroker/node_modules/mqtt-packet/writeToStream.js:270:59) sonoff.0 2017-10-09 13:00:25.466 error ReferenceError: __line is not defined sonoff.0 2017-10-09 13:00:25.466 error uncaught exception: __line is not defined sonoff.0 2017-10-09 13:00:25.465 info Client [SonoffPOW] closed sonoff.0 2017-10-09 13:00:25.464 info Client [Sonoff4ch] closed sonoff.0 2017-10-09 13:00:25.463 warn Client error [ESPClient5]: Error: This socket is closed sonoff.0 2017-10-09 13:00:25.458 info Client [ESPClient5] closed sonoff.0 2017-10-09 13:00:25.458 error at Connection.Writable.write (/opt/iobroker/node_modules/readable-stream/lib/_stream_writable.js:241:11) sonoff.0 2017-10-09 13:00:25.458 error at writeOrBuffer (/opt/iobroker/node_modules/readable-stream/lib/_stream_writable.js:302:5) sonoff.0 2017-10-09 13:00:25.458 error at doWrite (/opt/iobroker/node_modules/readable-stream/lib/_stream_writable.js:313:64) sonoff.0 2017-10-09 13:00:25.458 error at Connection.Duplexify._write (/opt/iobroker/node_modules/duplexify/index.js:201:22) sonoff.0 2017-10-09 13:00:25.458 error at Writable.write (_stream_writable.js:243:11) sonoff.0 2017-10-09 13:00:25.458 error at writeOrBuffer (_stream_writable.js:317:5) sonoff.0 2017-10-09 13:00:25.458 error at doWrite (_stream_writable.js:331:12) sonoff.0 2017-10-09 13:00:25.458 error at Writable.write [as _write] (/opt/iobroker/node_modules/mqtt-connection/lib/writeToStream.js:10:9) sonoff.0 2017-10-09 13:00:25.458 error at generate (/opt/iobroker/node_modules/mqtt-packet/writeToStream.js:33:14) sonoff.0 2017-10-09 13:00:25.458 error at publish (/opt/iobroker/node_modules/mqtt-packet/writeToStream.js:270:59) sonoff.0 2017-10-09 13:00:25.458 error ReferenceError: __line is not defined sonoff.0 2017-10-09 13:00:25.458 error uncaught exception: __line is not defined sonoff.0 2017-10-09 13:00:25.427 info Client [Sonoff4ch] closed `
                      Ist vermutlich alte node.js Version.

                      dann ersetze __line mit unterschiedlichen Buchstaben: A, B, C,… so dass du die unterscheiden kannst.

                      1 Reply Last reply
                      0
                      • BluefoxB Offline
                        BluefoxB Offline
                        Bluefox
                        wrote on last edited by
                        #54

                        @chucky666:

                        Hallo

                        Wird der Sonoff S20 auch unterstützt ?

                        Gruß

                        Gesendet von iPad mit Tapatalk Pro `
                        Keine Ahnung. Hast du probiert oder fragst du?

                        1 Reply Last reply
                        0
                        • chucky666C Offline
                          chucky666C Offline
                          chucky666
                          wrote on last edited by
                          #55

                          Ich frage , wollte mir eine testweise bestellen

                          Gesendet von iPad mit Tapatalk Pro

                          1 Reply Last reply
                          0
                          • kmxakK Offline
                            kmxakK Offline
                            kmxak
                            Most Active
                            wrote on last edited by
                            #56

                            @Bluefox:

                            Ist vermutlich alte node.js Version.

                            dann ersetze __line mit unterschiedlichen Buchstaben: A, B, C,… so dass du die unterscheiden kannst. `

                            wo soll ich was ersetzen?`

                            Die node.js ist aktuell:

                            root@ioBroker:/home/alex# node -v
                            v6.11.4
                            root@ioBroker:/home/alex# nodejs -v
                            v6.11.4
                            
                            

                            Gruß Alex

                            1 Reply Last reply
                            0
                            • BluefoxB Offline
                              BluefoxB Offline
                              Bluefox
                              wrote on last edited by
                              #57

                              @kmxak:

                              @Bluefox:

                              Ist vermutlich alte node.js Version.

                              dann ersetze __line mit unterschiedlichen Buchstaben: A, B, C,… so dass du die unterscheiden kannst. `

                              wo soll ich was ersetzen?`

                              Die node.js ist aktuell:

                              root@ioBroker:/home/alex# node -v
                              v6.11.4
                              root@ioBroker:/home/alex# nodejs -v
                              v6.11.4
                              
                              ```` `  
                              
                              stream.emit('error', new Error('Invalid messageId ' + __line))
                              

                              =>

                              stream.emit('error', new Error('Invalid messageId A'))
                              
                              stream.emit('error', new Error('Invalid messageId B'))
                              
                              stream.emit('error', new Error('Invalid messageId C'))
                              
                              stream.emit('error', new Error('Invalid messageId ...'))
                              
                              1 Reply Last reply
                              0
                              • kmxakK Offline
                                kmxakK Offline
                                kmxak
                                Most Active
                                wrote on last edited by
                                #58

                                Bislang bekomme ich als einzigen Fehler

                                sonoff.0	2017-10-11 20:49:16.932	warn	Client error [Sonoff4ch]: Error: Invalid messageId A
                                

                                Gruß Alex

                                1 Reply Last reply
                                0
                                • BluefoxB Offline
                                  BluefoxB Offline
                                  Bluefox
                                  wrote on last edited by
                                  #59

                                  @kmxak:

                                  Bislang bekomme ich als einzigen Fehler

                                  sonoff.0	2017-10-11 20:49:16.932	warn	Client error [Sonoff4ch]: Error: Invalid messageId A
                                  ```` `  
                                  

                                  Und welche Zeile ist das? in node_modules/mqtt-packet/writeToStream.js

                                  1 Reply Last reply
                                  0
                                  • kmxakK Offline
                                    kmxakK Offline
                                    kmxak
                                    Most Active
                                    wrote on last edited by
                                    #60

                                    hier ein ausschnitt (Zeile 270)

                                    // Topic must be a non-empty string or Buffer
                                      if (typeof topic === 'string') length += Buffer.byteLength(topic) + 2
                                      else if (Buffer.isBuffer(topic)) length += topic.length + 2
                                      else {
                                        stream.emit('error', new Error('Invalid topic'))
                                        return false
                                      }
                                    
                                      // Get the payload length
                                      if (!Buffer.isBuffer(payload)) length += Buffer.byteLength(payload)
                                      else length += payload.length
                                    
                                      // Message ID must a number if qos > 0
                                      if (qos && typeof id !== 'number') {
                                        stream.emit('error', new Error('Invalid messageId A'))
                                        return false
                                      } else if (qos) length += 2
                                    
                                      // Header
                                      stream.write(protocol.PUBLISH_HEADER[qos][opts.dup ? 1 : 0][retain ? 1 : 0])
                                    
                                      // Remaining length
                                      writeLength(stream, length)
                                    
                                      // Topic
                                      writeNumber(stream, byteLength(topic))
                                      stream.write(topic)
                                    
                                    

                                    Gruß Alex

                                    1 Reply Last reply
                                    0
                                    • M Offline
                                      M Offline
                                      Master77
                                      wrote on last edited by
                                      #61

                                      Hallo zusammen.

                                      Danke erst mal für den Adapter. Nach ein wenig probieren funktioniert er richtig gut. Habe jetzt nur eine Frage bezüglich der Einbindung in Alexa. Habe nach neuen Geräten gesucht, jedoch findet sie keine neuen Geräte. Kann mir da einer auf die Sprünge helfen. Danke im voraus für die Hilfe.

                                      Gruß Markus

                                      Gesendet von meinem HUAWEI NXT-L29 mit Tapatalk

                                      1 Reply Last reply
                                      0
                                      • kmxakK Offline
                                        kmxakK Offline
                                        kmxak
                                        Most Active
                                        wrote on last edited by
                                        #62

                                        Alle Geräte die Alexa finden soll müssen im Cloud Adapter erst angelegt werden unter Smarte Geräte

                                        Gruß Alex

                                        1 Reply Last reply
                                        0
                                        • chucky666C Offline
                                          chucky666C Offline
                                          chucky666
                                          wrote on last edited by
                                          #63

                                          Hallo

                                          Der Adapter läuft sehr gut , ich hoffe das die Sonoff Th10/16 mit Temperatur Sensor bald auch Unterstützt werden .

                                          Danke

                                          Gesendet von iPad mit Tapatalk Pro

                                          1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          Support us

                                          ioBroker
                                          Community Adapters
                                          Donate

                                          697

                                          Online

                                          32.6k

                                          Users

                                          82.3k

                                          Topics

                                          1.3m

                                          Posts
                                          Community
                                          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                                          ioBroker Community 2014-2025
                                          logo
                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Home
                                          • Recent
                                          • Tags
                                          • Unread 0
                                          • Categories
                                          • Unreplied
                                          • Popular
                                          • GitHub
                                          • Docu
                                          • Hilfe