NEWS
Gosund WB4 8W- OTA Flash - geht nicht
-
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ückenErgebnis:
Led blinkt bis zu Mitte-Ende Zeile 44. Danach bleibt an!Was soll ich noch tun?
VG,
Valentin -
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.
-
@smarthome2020 said in Gosund WB4 8W- OTA Flash - geht nicht:
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
-
@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? -
@pampulea
Also bei mir ging es ohne Probleme.
Allerdings an der Gosund SP111.Was hast du denn für ein System? RPi4?
-
@smarthome2020
Ja bei mir auch!
habe heute auch 8 Steckdose geflasht!
Nur beim LED´s will nicht.
BG, ValentinEdit: RPi3B+
-
@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. -
@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 -
@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.
-
- Ja. Geht nicht! Dann habe ich auf einen alte System wo ich immer meine Gosund Steckdosen gefläsht hatte. Geht auch nicht
- Ja, daneben
- Ja geschaut. vertehe aber nicht viel, aber im welche Datei sollte man schauen? Wenn du mir es sagst dann zeige ich Euch hier
- Dass muss aber gestehen, habe ich nicht gemacht! Bringt es was?
- 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,
ValentinP.S. meinst du dass ich die 5Ghz auschalten soll und nochmal probieren? Bei der Steckdose funtioniert einwandfrei. Habe 20 Stück gefläsht!
-
@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
-
@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. -
@smarthome2020
In welche log-Datei soll ich nachschauen? ic weiß wo abgelegt sind, hier:
backups/Datum
Habe die verbindung über WinSCP schon immer. -
@pampulea
Musst du mal durchforsten. Ich hab bisher nie reinschauen müssen. -
@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.
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.
-
@smarthome2020
Ich werde nochmal versuchen.
Melde ich mich mit dem Neuigkeiten!
Schöne Abend,
Valentin -
Die Logdateien aus tuya-convert/scripts wären gut
-
@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 -
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 -
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 WLANDu siehst den AccessPoint von anderen Geräten aus?
Versuch evtl. mal ein anderes Smartphone/Tablet