Navigation

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

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    [Adapter] Sonoff- Tasmota

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

      Hallo

      Wird der Sonoff S20 auch unterstützt ?

      Gruß

      Gesendet von iPad mit Tapatalk Pro

      1 Reply Last reply Reply Quote 0
      • Bluefox
        Bluefox last edited by

        @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 Reply Quote 0
        • Bluefox
          Bluefox last edited by

          @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 Reply Quote 0
          • chucky666
            chucky666 last edited by

            Ich frage , wollte mir eine testweise bestellen

            Gesendet von iPad mit Tapatalk Pro

            1 Reply Last reply Reply Quote 0
            • kmxak
              kmxak Most Active last edited by

              @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
              
              
              1 Reply Last reply Reply Quote 0
              • Bluefox
                Bluefox last edited by

                @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 Reply Quote 0
                • kmxak
                  kmxak Most Active last edited by

                  Bislang bekomme ich als einzigen Fehler

                  sonoff.0	2017-10-11 20:49:16.932	warn	Client error [Sonoff4ch]: Error: Invalid messageId A
                  
                  1 Reply Last reply Reply Quote 0
                  • Bluefox
                    Bluefox last edited by

                    @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 Reply Quote 0
                    • kmxak
                      kmxak Most Active last edited by

                      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)
                      
                      
                      1 Reply Last reply Reply Quote 0
                      • M
                        Master77 last edited by

                        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 Reply Quote 0
                        • kmxak
                          kmxak Most Active last edited by

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

                          1 Reply Last reply Reply Quote 0
                          • chucky666
                            chucky666 last edited by

                            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 Reply Quote 0
                            • M
                              Master77 last edited by

                              @kmxak:

                              Alle Geräte die Alexa finden soll müssen im Cloud Adapter erst angelegt werden unter Smarte Geräte ` Super, danke für die Info.

                              Gesendet von meinem HUAWEI NXT-L29 mit Tapatalk

                              1 Reply Last reply Reply Quote 0
                              • kmxak
                                kmxak Most Active last edited by

                                @chucky666:

                                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 `

                                bitte stelle den Adapter auf Debug und poste was da ankommt dann kann Bluefox es einbauen 😉

                                1 Reply Last reply Reply Quote 0
                                • Bluefox
                                  Bluefox last edited by

                                  Bitte 0.3.1 testen

                                  1 Reply Last reply Reply Quote 0
                                  • A
                                    andyb last edited by

                                    Sorry, aber find im Forum nix….

                                    Muss ich in Verbindung mit diesem Adapter irgendwas an den Sonoffs noch löten/flashen oder geht das so?

                                    1 Reply Last reply Reply Quote 0
                                    • S
                                      simpixo last edited by

                                      Du musst eine Alternative Firmware drauf spielen, diese heißt Tasmota! Es gibt auch andere die mit dem Adapter funktionieren!

                                      Um die Firmware drauf spielen zu können musst du 5 Pins anlöten damit du mit einem usb zu serial Adapter das tun kannst

                                      Gruß

                                      Adrian

                                      Gesendet von iPhone mit Tapatalk Pro

                                      1 Reply Last reply Reply Quote 0
                                      • M
                                        maniac last edited by

                                        Darf ich mal eben fragen ob die Sonoff 4CH PRO auch mit Tasmota unterstützt werden?

                                        Im FHEM Wiki zum flashen https://wiki.fhem.de/wiki/Sonoff finde ich die nicht.

                                        https://www.amazon.de/Switches-Funkfern … 0751B6WX5/

                                        Hat da jemand Erfahrung?

                                        1 Reply Last reply Reply Quote 0
                                        • Schubi
                                          Schubi last edited by

                                          Ich habe folgendes Verhalten eines SONOFF Basic Moduls:

                                          1.) Das Modul ist via WEBIF ansprechbar und verhält sich normal.

                                          2.) In der Objektliste steht alive auf true.

                                          3.) Unter Info.Connection des Sonoff Adapters scheint das Modul nicht auf!

                                          4.) Es sendet die Zustände an den Adapter.

                                          5.) Es nimmt keine Befehle vom Adapter an.

                                          Bei der Bedienung äußert sich das folgendermaßen: Man setzt POWER auf true - am Modul pasiert nichts.

                                          Nach einer gewissen Zeit - wenn das Modul wieder seinen Status sendet (alle 600s) wechselt POWER wieder auf false.

                                          Es scheit so, dass das Modul anscheinend sendet, aber nicht empfängt.

                                          Schön wäre es zumindest, wenn das Modul nicht in der Liste connection steht - es auch nicht mehr alive ist.

                                          Log-File:

                                          2017-10-25 06:58:09.224  - [32minfo[39m: sonoff.0 Client [EG_KE_01] connected
                                          2017-10-25 06:58:10.581  - [33mwarn[39m: sonoff.0 Client error [EG_KE_01]: Error: read ECONNRESET
                                          2017-10-25 06:58:10.619  - [33mwarn[39m: sonoff.0 Client error [EG_KE_01]: Error: This socket is closed
                                          2017-10-25 06:58:10.622  - [31merror[39m: sonoff.0 Closed because of error
                                          2017-10-25 06:58:10.623  - [32minfo[39m: sonoff.0 Client [EG_KE_01] closed
                                          

                                          Ich habe bereits einen Verdacht - es könnte damit zusammenhängen, dass ich im Modul nicht die IP-Adresse für den MQTT-Server, sondern einen Namen eingetragen habe.

                                          Es scheint so als gäbe es da einen Bug im ESP-Code beim auflösen von DNS-Anfragen (Vermutung aus einem anderen Forum).

                                          Das muss ich erst testen…

                                          LG Schubi

                                          1 Reply Last reply Reply Quote 0
                                          • Bluefox
                                            Bluefox last edited by

                                            @maniac:

                                            Darf ich mal eben fragen ob die Sonoff 4CH PRO auch mit Tasmota unterstützt werden?

                                            Im FHEM Wiki zum flashen https://wiki.fhem.de/wiki/Sonoff finde ich die nicht.

                                            https://www.amazon.de/Switches-Funkfern … 0751B6WX5/

                                            Hat da jemand Erfahrung? `
                                            Auf der Liste steht dass JA:

                                            https://github.com/arendst/Sonoff-Tasmo … nformation

                                            Es wird unterstützt. Ich habe aber nicht getestet.

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            612
                                            Online

                                            31.7k
                                            Users

                                            79.8k
                                            Topics

                                            1.3m
                                            Posts

                                            75
                                            720
                                            197921
                                            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