Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Hardware
    4. Sonoff 4CH pro, mit Tasmota kaputt geflasht?

    NEWS

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    Sonoff 4CH pro, mit Tasmota kaputt geflasht?

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

      Hallo,
      ich wollte heute ein Sonoff 4CHpro Tasmota m.H. Arduino flashen.
      Gerichtet habe ich mich nach ST33ZY Media und wegen des fehlenden Knopfes auch nach Blair Thompson etwa ab Minute 9.

      Ich bilde mir ein, dass alles gut gegangen ist. Jedenfalls kam zum Schluss folgende Arduino-Meldung:

      ................................................................................ [ 97% ]
      ..............                                                                   [ 100% ]
      starting app without reboot
      	espcomm_send_command: sending command header
      	espcomm_send_command: sending command payload
      	espcomm_send_command: receiving 2 bytes of data
      closing bootloader
      	flush start
      	setting serial port timeouts to 1 ms
      	setting serial port timeouts to 1000 ms
      	flush complete
      

      Als ich dann alles abgestöpselt habe und 230V anschloss, rühlt sich nichts mehr, keine LED, reine Reaktion auf Tastendrucke. Was vorher schon mal ging.

      Ich habe dann das Flashen wiederholt, brach aber mit folgender Meldung ab:

      esptool v0.4.13-1-gf80ae31 - (c) 2014 Ch. Klippel <ck@atelier-klippel.de>
      	setting board to ck
      	setting baudrate from 115200 to 115200
      	setting port from COM1 to COM3
      	setting address from 0x00000000 to 0x00000000
      	espcomm_upload_file
      	espcomm_upload_mem
      error: Failed to open COM3
      Beim Hochladen des Sketches ist ein Fehler aufgetreten
      error: espcomm_open failed
      error: espcomm_upload_mem failed
      

      Habe ich jetzt das Teil geschrottet? Gibt es einen Weg zurück auf Anfang?

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

        Geht kaum zu schrotten, es sei denn du hast falsche Spannung angelegt.
        Com Port 3 ist falsch.
        ESP mit 3,3 Volt versorgen und GND per FTDI.
        RX TX ist ja klar.
        GPIO 0 kurz auf GND ziehen ( Flash Modus ).
        Also GPIO 0 auf GND dann den FTDI einstecken.
        Brücke GPIO 0 auf GND entfernen.
        Neu flashen und gut is.
        ESP Tool scheint nicht ok zu sein.
        Windows und 8266 nimm mal den hier ( Download ganz unten ) :
        http://www.dietrich-kindermann.de/esp_flashtool.html

        1 Reply Last reply Reply Quote 1
        • docadams
          docadams last edited by

          Ermutigt durch dein Post hab ich es nochmals versucht.
          Das mit dem COM Port lag wahrscheinlich daran, dass ich einen anderen USB Port genutzt hatte, als vorher.
          Laum meinem Messgerät liegen an der Schnittstelle FTDI232 -- Sonoff 3,41V an, sollte also stimmen.
          RX und TX ist gekreuzt.
          Ich möchte möglichst keine neue Baustelle mit der Kindermann-Methode aufmachen, weil das ist für mich ein weiteres "Neuland".

          Ich hatte heute zunächst den Sonoff nochmals mit Strom versorgt, sowohl mit 9V DC als auch mit 230V AC. Mehrfach getestes. Manchmal, aber selten, schaltete Relais1, unabhängig, ob ich den Taster drückte. Die anderen ließen sich nicht schalten. Wovon das abhängt kann ich nicht nachvollziehen, Zufall....

          Dann habe ich nochmals geflasht. Das ist das vollständige rote Protokoll, das nach dem Kompilieren kommt:

          esptool v0.4.13-1-gf80ae31 - (c) 2014 Ch. Klippel <ck@atelier-klippel.de>
          	setting board to ck
          	setting baudrate from 115200 to 115200
          	setting port from COM1 to COM3
          	setting address from 0x00000000 to 0x00000000
          	espcomm_upload_file
          	espcomm_upload_mem
          	setting serial port timeouts to 1000 ms
          opening bootloader
          resetting board
          trying to connect
          	flush start
          	setting serial port timeouts to 1 ms
          	setting serial port timeouts to 1000 ms
          	flush complete
          	espcomm_send_command: sending command header
          	espcomm_send_command: sending command payload
          	read 0, requested 1
          trying to connect
          	flush start
          	setting serial port timeouts to 1 ms
          	setting serial port timeouts to 1000 ms
          	flush complete
          	espcomm_send_command: sending command header
          	espcomm_send_command: sending command payload
          	espcomm_send_command: receiving 2 bytes of data
          	espcomm_send_command: receiving 2 bytes of data
          	espcomm_send_command: receiving 2 bytes of data
          	espcomm_send_command: receiving 2 bytes of data
          	espcomm_send_command: receiving 2 bytes of data
          	espcomm_send_command: receiving 2 bytes of data
          	espcomm_send_command: receiving 2 bytes of data
          	espcomm_send_command: receiving 2 bytes of data
          Uploading 587504 bytes from C:\Users\Volker\AppData\Local\Temp\arduino_build_438837/sonoff.ino.bin to flash at 0x00000000
          	erasing flash
          	size: 08f6f0 address: 000000
          	first_sector_index: 0
          	total_sector_count: 144
          	head_sector_count: 16
          	adjusted_sector_count: 128
          	erase_size: 080000
          	espcomm_send_command: sending command header
          	espcomm_send_command: sending command payload
          	setting serial port timeouts to 15000 ms
          	setting serial port timeouts to 1000 ms
          	espcomm_send_command: receiving 2 bytes of data
          	writing flash
          ................................................................................ [ 13% ]
          ................................................................................ [ 27% ]
          ................................................................................ [ 41% ]
          ................................................................................ [ 55% ]
          ................................................................................ [ 69% ]
          ................................................................................ [ 83% ]
          ................................................................................ [ 97% ]
          ..............                                                                   [ 100% ]
          starting app without reboot
          	espcomm_send_command: sending command header
          	espcomm_send_command: sending command payload
          	espcomm_send_command: receiving 2 bytes of data
          closing bootloader
          	flush start
          	setting serial port timeouts to 1 ms
          	setting serial port timeouts to 1000 ms
          	flush complete
          

          Danach habe ich ca. 1 Minute noch gewartet, alles abgestöpselt und die Sonoff mit Strom versorgt.
          Leider wieder keine Aktion möglich.
          Für mich Laien sieht das Protokoll normal aus.
          Muss nach der "flush complete"-Meldung noch was gemacht werden?

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

            normal ja, du musst dich per ip auf den sonoff verbinden und dort bei Geräte Einstellungen, noch einstellen das es ein Sonoff 4ch ist

            2ddfb120-5c3f-4337-ae0d-9b1368987a9d-grafik.png

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

              So weit komme ich ja garnicht.
              Ich denke, wenn man das Teil mit Strom versorgt, kann man (wir vor dem Flashen) die Relais händisch mit den Tastern schalten. Passiert aber nicht. Und es leuchtet auch keine LED.
              Auch erscheint weder ein neue neues WLAN, noch versucht es in mein WLAN einzuloggen...

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

                nein du musst vorher noch in den einstellungen das richtige Gerät auswählen und dann geht es auch mit den Tastern!

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

                  Es gibt in meinem WLAN keine neue IP, die ich aufrufen kann.

                  Aber du hast mich jetzt auf eine Idee gebracht. Ich hatte in der "my_user_config.h" schon meine Zugangsdaten eingetragen. Die stimmen auch. Aber vielleicht habe ich da was anderes "zerstört".

                  Weis jemand, wo ich die originale Datei finden kann und wo ich die hinterlegen muss?

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

                    Pfad ist da wo du die Tasmota 6.5.0 abgelegt hast.

                    Volker.jpg
                    Lade dir die sonoff.bin neu runter.
                    http://thehackbox.org/tasmota/release/
                    oder gesamt von hier wenn du die Datei noch bearbeiten willst.
                    https://github.com/arendst/Sonoff-Tasmota
                    100 % sagt nur aus das Daten zu 100 % gesendet wurden, aber nicht ob diese richtig verarbeitet wurden.
                    Flashe erst eine Blank dann Tasmota.
                    https://forum.creationx.de/lexicon/index.php?entry/36-bei-problemen-esp8266-85-flash-speicher-löschen/
                    Bearbeite die Datei in der IDE und wieder speichern.
                    Solltest du diese auf einem Windows Rechner ändern dann nicht mit Word oder Word Pad oder so.
                    Dann brauchst du Notepad++ ( Linuxeditor ) , ist ja kostenlos.

                    my_user.jpg

                    My_user_1.jpg

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

                    Support us

                    ioBroker
                    Community Adapters
                    Donate

                    775
                    Online

                    31.7k
                    Users

                    79.8k
                    Topics

                    1.3m
                    Posts

                    4chpro flashen sonoff tasmota
                    3
                    8
                    804
                    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