Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Hardware
    4. Gosund WB4 8W- OTA Flash - geht nicht

    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

    Gosund WB4 8W- OTA Flash - geht nicht

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

      Hallo zusammen,

      kann mir bitte jemand helfen?
      Ich versuche ein Gosund LED WB4 zu flashen:

      [sudo] password for openhabian:
      
      tuya-convert v2.4.3
      
      Checking for network interface wlan0... Found.
      
      Checking UDP port 53... Occupied by dnsmasq with PID 624.
      
      Port 53 is needed to resolve DNS queries
      
      Do you wish to terminate dnsmasq? [y/N] y
      
      Attempting to stop dnsmasq.service
      
      Checking UDP port 67... Available.
      
      Checking TCP port 80... Available.
      
      Checking TCP port 443... Available.
      
      Checking UDP port 6666... Available.
      
      Checking UDP port 6667... Available.
      
      Checking TCP port 1883... Occupied by mosquitto with PID 552.
      
      Port 1883 is needed to run MQTT
      
      Do you wish to terminate mosquitto? [y/N] y
      
      Attempting to stop mosquitto.service
      
      Checking TCP port 8886... Available.
      
      sudo: ufw: command not found
      
      ======================================================
      
        Starting AP in a screen.........................
      
        Starting web server in a screen
      
        Starting Mosquitto in a screen
      
        Starting PSK frontend in a screen
      
        Starting Tuya Discovery in a screen
      
       
      
      ======================================================
      
       
      
      IMPORTANT
      
      1. Connect any other device (a smartphone or something) to the WIFI vtrust-flash
      
         This step is IMPORTANT otherwise the smartconfig may not work!
      
      2. Put your IoT device in autoconfig/smartconfig/pairing mode (LED will blink fast). This is usually done by pressing and holding the primary button of the device
      
         Make sure nothing else is plugged into your IoT device while attempting to flash.
      
      3. Press ENTER to continue
      
       
      
       
      
      ======================================================
      
      Starting smart config pairing procedure
      
      Waiting for the device to install the intermediate firmware
      
      .........Put device in EZ config mode (blinking fast)
      
      Sending SSID                  vtrust-flash
      
      Sending wifiPassword
      
      Sending token                 00000000
      
      Sending secret                0101
      
      ..................
      
      SmartConfig complete.
      
      Resending SmartConfig Packets
      
      ..................
      
      SmartConfig complete.
      
      Resending SmartConfig Packets
      
      .................
      
      SmartConfig complete.
      
      Resending SmartConfig Packets
      
      .................
      
      SmartConfig complete.
      
      Resending SmartConfig Packets
      
      .................
      
      SmartConfig complete.
      
      Resending SmartConfig Packets
      
      ................
      
      SmartConfig complete.
      
      Resending SmartConfig Packets
      
      .................
      
      SmartConfig complete.
      
      Resending SmartConfig Packets
      
      .................
      
      SmartConfig complete.
      
      Resending SmartConfig Packets
      
      ................
      
      SmartConfig complete.
      
      Resending SmartConfig Packets
      
      .................
      
      SmartConfig complete.
      
      Resending SmartConfig Packets
      
      ...
      
      Device did not appear with the intermediate firmware
      
      Check the *.log files in the scripts folder
      
      Do you want to try flashing another device? [y/N]
      

      Meine Vorgehensweise:
      alles bis zu Ziele 33 zuerst
      dann die LED im "Pairing Mode" setzten (3 Mal ein und ausschalten - danach blinkt schnell)
      auf Enter drücken

      Ergebnis:
      Led blinkt bis zu Mitte-Ende Zeile 44. Danach bleibt an!

      Was soll ich noch tun?

      VG,
      Valentin

      S 1 Reply Last reply Reply Quote 0
      • S
        smarthome2020 @pampulea last edited by smarthome2020

        @pampulea

        Schritt für Schritt

        Dein System scheint sich nicht mit deiner Birne zu verbinden. Ich hatte das gleiche Problem. Hab dann die SD Karte komplett geplättet und nochmal alles aufgesetzt. Habe die Anleitung im Link dazu geschrieben. So klappte es jedenfalls bei mir.

        P 1 Reply Last reply Reply Quote 0
        • P
          pampulea @smarthome2020 last edited by

          @smarthome2020 said in Gosund WB4 8W- OTA Flash - geht nicht:

          @pampulea

          Schritt für Schritt

          Der verbindet sich nicht mit deiner Birne. Das ist die Anleitung von mir mit der es ging.

          Hallo @smarthome2020,
          nach deiner Anleitung habe ich es gemacht!

          Hast du vielleicht eine andere Idee?

          Valentin

          S 2 Replies Last reply Reply Quote 0
          • S
            smarthome2020 @pampulea last edited by

            @pampulea
            Also hast du das System komplett neu aufgesetzt? Bei mir ging es nur danach. Ich kann dir allerdings nicht sagen wieso. Ich probiere gleich noch 4 neue Gosund Steckdosen OTA zu flashen.
            Die Birne ist sicher im Pairing-Modus?

            1 Reply Last reply Reply Quote 0
            • S
              smarthome2020 @pampulea last edited by

              @pampulea
              Also bei mir ging es ohne Probleme.
              Allerdings an der Gosund SP111.

              Was hast du denn für ein System? RPi4?

              1 Reply Last reply Reply Quote 0
              • P
                pampulea last edited by pampulea

                @smarthome2020
                Ja bei mir auch!
                habe heute auch 8 Steckdose geflasht!
                Nur beim LED´s will nicht.
                BG, Valentin

                Edit: RPi3B+

                S 1 Reply Last reply Reply Quote 0
                • S
                  smarthome2020 @pampulea last edited by smarthome2020

                  @pampulea
                  Es könnte sein, dass deine Birne nicht im Pairing-Modus war. Wenn die das ist, dann blinkt die wahnsinnig schnell. Hat dann schon Disco-Charakter ^^
                  Wenn sie ca. im 0,5Sekunden-Takt blinkt, dann sollte das Flashen gehen.

                  1 Reply Last reply Reply Quote 0
                  • P
                    pampulea last edited by

                    @smarthome2020
                    Also tut sie es.
                    Aber so bald der Code sendet angefangen mit dem Zeile 85.
                    Weiter also im Ziele 87 zwischen 4-10 Punkt bleib der Lampe an.
                    Das was!
                    Valentin

                    S 1 Reply Last reply Reply Quote 0
                    • S
                      smarthome2020 @pampulea last edited by

                      @pampulea
                      Also du hast:
                      1.Pi neu aufgesetzt (bei mir ging es nun auch ohne neues aufsetzen des PIs auf der zweiten SD Karte, wo nichts sondst installiert ist.)
                      2. Birne ist in Reichweite vom Pi? Oder ist sie so weit weg, dass keine Verbindung aufgebaut werden kann?
                      3. Hast du mal in die log Datei geschaut? Der wirft am Ende ja die Info raus, dass man da schauen soll.
                      4. 5GHz WLAN ist aus?
                      5. Du hattest du Birne nie über die Smartlife App oder wie die heißt eingebunden oder? Die hat also kein Update gezogen?

                      Hat überhaupt schon eine Birne funktioniert? Bei mir waren die auch problematischer, gingen irgendwann aber auch. Geht die Birne denn nach Flashversuch noch?
                      Gestern hatte die letzte Steckdose auch Probleme. War danach sozusagen tot. Es leuchtete nichts mehr. Hab einfach nochmal den Flashvorgang laufen lassen und das Problem war behoben.

                      Wo kommst du denn her? Wenns um die Ecke ist, dann kann ich es ja mal mit einem anderen System probieren. Sonst löten.

                      1 Reply Last reply Reply Quote 0
                      • P
                        pampulea last edited by

                        @smarthome2020

                        1. Ja. Geht nicht! Dann habe ich auf einen alte System wo ich immer meine Gosund Steckdosen gefläsht hatte. Geht auch nicht
                        2. Ja, daneben
                        3. Ja geschaut. vertehe aber nicht viel, aber im welche Datei sollte man schauen? Wenn du mir es sagst dann zeige ich Euch hier
                        4. Dass muss aber gestehen, habe ich nicht gemacht! Bringt es was?
                        5. Nein die beider die ich habe sind frisch. Also noch nicht im App oder irgendwo angemeldet!

                        Ich wohne im Königstädten bei Rüsselsheim!

                        Vielen Dank für deinen Hilfe und sorry fürs verpätete Antwort,
                        Valentin

                        P.S. meinst du dass ich die 5Ghz auschalten soll und nochmal probieren? Bei der Steckdose funtioniert einwandfrei. Habe 20 Stück gefläsht!

                        S 2 Replies Last reply Reply Quote 0
                        • S
                          smarthome2020 @pampulea last edited by

                          @pampulea
                          Würde das 5GHz Netz ausschalten und nochmal probieren. Ich schaue nachher mal, ob ich in die Log Datei komme bzw. wo die angelegt ist.

                          Letztlich kann es immer sein, dass die OTA Methode bei neueren Birnen und Steckdosen nicht mehr geht.

                          Rüsselsheim ist leider nicht um die Ecke 😄

                          1 Reply Last reply Reply Quote 0
                          • S
                            smarthome2020 @pampulea last edited by

                            @pampulea
                            Also ich hab die SD-Karte verloren mit der ich die Flashs mache. In deinem Log oben ist aufgeführt, dass du im "scripts" nachschauen sollst. Kannst ja mit WinSCP oder vergleichbaren Programmen von deinem Windowsrechner auf deinen Pi zugreifen und die Ordner mal durchsuchen.

                            1 Reply Last reply Reply Quote 0
                            • P
                              pampulea last edited by

                              @smarthome2020
                              In welche log-Datei soll ich nachschauen? ic weiß wo abgelegt sind, hier:
                              backups/Datum
                              Habe die verbindung über WinSCP schon immer.

                              S 2 Replies Last reply Reply Quote 0
                              • S
                                smarthome2020 @pampulea last edited by

                                @pampulea
                                Musst du mal durchforsten. Ich hab bisher nie reinschauen müssen.

                                1 Reply Last reply Reply Quote 0
                                • S
                                  smarthome2020 @pampulea last edited by smarthome2020

                                  @pampulea
                                  Musst mal bisschen googlen.

                                  Hier wird zB auch von Birnen berichtet, bei denen der Flashvorgang nicht klappte. Sind paar Lösungen oder Anregungen dabei.

                                  Tuya-Convert-Problems

                                  Du hast bei deinem RPi aber auch kein WLAN konfiguriert oder? Dein RPi ist über LAN angebunden?

                                  Hier meine Konsoleninfos von vor paar Tagen:

                                  pi@raspberrypi:~/tuya-convert $ sudo ./start_flash.sh
                                  tuya-convert v2.4.3
                                  Checking for network interface wlan0... Found.
                                  Checking UDP port 53... Occupied by dnsmasq with PID 542.
                                  Port 53 is needed to resolve DNS queries
                                  Do you wish to terminate dnsmasq? [y/N] y
                                  Attempting to stop dnsmasq.service
                                  Checking UDP port 67... Available.
                                  Checking TCP port 80... Available.
                                  Checking TCP port 443... Available.
                                  Checking UDP port 6666... Available.
                                  Checking UDP port 6667... Available.
                                  Checking TCP port 1883... Occupied by mosquitto with PID 527.
                                  Port 1883 is needed to run MQTT
                                  Do you wish to terminate mosquitto? [y/N] y
                                  Attempting to stop mosquitto.service
                                  Checking TCP port 8886... Available.
                                  sudo: ufw: command not found
                                  ======================================================
                                    Starting AP in a screen.
                                    Starting web server in a screen
                                    Starting Mosquitto in a screen
                                    Starting PSK frontend in a screen
                                    Starting Tuya Discovery in a screen
                                  
                                  ======================================================
                                  
                                  IMPORTANT
                                  1. Connect any other device (a smartphone or something) to the WIFI vtrust-flash
                                     This step is IMPORTANT otherwise the smartconfig may not work!
                                  2. Put your IoT device in autoconfig/smartconfig/pairing mode (LED will blink fast). This is usually done by pressing and holding the primary button of the device
                                     Make sure nothing else is plugged into your IoT device while attempting to flash.
                                  3. Press ENTER to continue
                                  
                                  
                                  ======================================================
                                  Starting smart config pairing procedure
                                  Waiting for the device to install the intermediate firmware
                                  Put device in EZ config mode (blinking fast)
                                  Sending SSID                  vtrust-flash
                                  Sending wifiPassword
                                  Sending token                 00000000
                                  Sending secret                0101
                                  ................
                                  SmartConfig complete.
                                  Resending SmartConfig Packets
                                  ...................................................................................................
                                  IoT-device is online with ip 10.42.42.42
                                  Fetching firmware backup
                                    % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                                                   Dload  Upload   Total   Spent    Left  Speed
                                  100 1024k  100 1024k    0     0  41760      0  0:00:25  0:00:25 --:--:-- 22918
                                  curl: Saved to filename 'firmware-b9ad8c.bin'
                                  ======================================================
                                  Getting Info from IoT-device
                                  VTRUST-FLASH 1.5
                                  (c) VTRUST GMBH https://www.vtrust.de/35c3/
                                  READ FLASH: http://10.42.42.42/backup
                                  ChipID: b9ad8c
                                  MAC: C1:C1:C1:C1:C1
                                  BootVersion: 7
                                  BootMode: normal
                                  FlashMode: 1M DOUT @ 40MHz
                                  FlashChipId: 144051
                                  FlashChipRealSize: 1024K
                                  Active Userspace: user2 0x81000
                                  ======================================================
                                  Ready to flash third party firmware!
                                  
                                  For your convenience, the following firmware images are already included in this repository:
                                    Tasmota v8.1.0.2 (wifiman)
                                    ESPurna 1.13.5 (base)
                                  
                                  You can also provide your own image by placing it in the /files directory
                                  Please ensure the firmware fits the device and includes the bootloader
                                  MAXIMUM SIZE IS 512KB
                                  
                                  Available options:
                                    0) return to stock
                                    1) flash espurna.bin
                                    2) flash tasmota.bin
                                    q) quit; do nothing
                                  Please select 0-2: 2
                                  Are you sure you want to flash tasmota.bin? This is the point of no return [y/N] y
                                  Attempting to flash tasmota.bin, this may take a few seconds...
                                  Flashed http://10.42.42.1/files/tasmota.bin successfully in 15172ms, rebooting...
                                  Look for a tasmota-xxxx SSID to which you can connect and configure
                                  Be sure to configure your device for proper function!
                                  
                                  HAVE FUN!
                                  ======================================================
                                  Do you want to flash another device? [y/N]
                                  
                                  

                                  Hier wird in einem anderen Beitrag auch nochmal das Flashen thematisiert: OTA-Flash

                                  Wie du beim Vergleich siehst, packt er die Verbindung nicht zur Birne.
                                  Daher mach wirklich mal das 5GHz aus. Zur Not nochmal die SD-Karte wie in meiner Anleitung beschrieben neu aufsetzen.

                                  In der Anleitung, die den Birnen beigelegt ist, steht aber auch WB4 drin? Sollte auf dem Cover der Anleitung stehen.

                                  1 Reply Last reply Reply Quote 0
                                  • P
                                    pampulea last edited by

                                    @smarthome2020
                                    Ich werde nochmal versuchen.
                                    Melde ich mich mit dem Neuigkeiten!
                                    Schöne Abend,
                                    Valentin

                                    1 Reply Last reply Reply Quote 0
                                    • W
                                      wannabe last edited by wannabe

                                      Die Logdateien aus tuya-convert/scripts wären gut

                                      1 Reply Last reply Reply Quote 0
                                      • P
                                        pampulea last edited by

                                        @smarthome2020
                                        habe den 5Ghz Band ausgeschaltet.
                                        Immer noch nicht.
                                        Ich installiere auf neue SD-Karte und versuche nochmal.
                                        Melde mich wenn ich so weit bin.
                                        Danke Euch,
                                        Valentin

                                        1 Reply Last reply Reply Quote 0
                                        • P
                                          pampulea last edited by

                                          Hallo zusammen,
                                          habe heute auf eine neue Installierte Openhab SD-Karte nochmal probiert.
                                          Und klappt immer noch nicht.
                                          Anbei die log´s die ich gefunden habe.
                                          Mit der Hoffnung das mir jemand hilft,
                                          Beste Grüße,
                                          Valentin
                                          smarthack-wifi.log
                                          smarthack-web.log
                                          smarthack-udp.log
                                          smarthack-psk.log
                                          smarthack-mqtt.log

                                          1 Reply Last reply Reply Quote 0
                                          • W
                                            wannabe last edited by wannabe

                                            ID: 0242416f68626d6436614739314946523199b1fd7c4380200f439b4c79633f3398e5f6cb2a81b70545aaddaac993ef0d6a
                                            PSK: 458bd69c8dc4ae92f87b664842b70d8e955681aa3181df8a9e85ba6af9b100b3
                                            could not establish sslpsk socket: [SSL: DECRYPTION_FAILED_OR_BAD_RECORD_MAC] decryption failed or bad record mac
                                            

                                            das sieht komisch aus oder anders gesagt, in meinen logs taucht sowas nicht auf. Aber einschätzen aus welcher Richtung der Fehler kommt, puh.

                                            Also die WB4 scheint laut internet flashbar
                                            Du hast berreits andere Geräte geflashed
                                            Netwerkanbindungen sind korrekt? LAN und WLAN

                                            Du siehst den AccessPoint von anderen Geräten aus?
                                            Versuch evtl. mal ein anderes Smartphone/Tablet

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            520
                                            Online

                                            31.9k
                                            Users

                                            80.2k
                                            Topics

                                            1.3m
                                            Posts

                                            wb4 gosund ota
                                            8
                                            32
                                            3784
                                            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