Sonoff mit ESPEasy - Welche Firmware

Begonnen von Persuasiv, 08 Juni 2019, 17:37:45

Vorheriges Thema - Nächstes Thema

Persuasiv

Hallo zusammen,

ich versuche aktuell einen Sonoff Schalter zu flashen und bin mit der Firmwareauswahl überfordert. Ich habe mir hier:

https://github.com/letscontrolit/ESPEasy/releases

das letzte Release heruntergeladen und entpackt. Danach habe ich alles verkabelt (mit Ausnahme von VCC):

https://forum.fhem.de/index.php?action=dlattach;topic=101281.0;attach=121122;image

Im Anschluss habe ich ESP.Easy.Flasher.exe gestartet und dort können jetzt diverse Firmwareversionen gewählt werden:

https://forum.fhem.de/index.php?action=dlattach;topic=101281.0;attach=121120;image

Welche ist die richtige? ESP_Easy_mega-20190607_normal_ESP8266_1M.bin?

Besten Dank

steffen83

Die sollte es sein, welche Fehlermeldung bekommst du denn?

Gesendet von meinem MI 8 mit Tapatalk

Raspberry Pi 3 (Noobs, aktuelle Fhem und Pilight) | FHEMduino | HM-OCCU-SDK | HM-Sec-SCo | HM-Sec-SD-2 | HM-CC-RT-DN | HM-LC-Bl1PBU-FM

Persuasiv

#2
Habe es zuerst wie oben beschrieben probiert. Damit bin ich bis zur WiFi-Einrichtung gekommen. Dann musste ich mein Passwort und die SSID eingeben ... Danach ist die Verbindung abgebrochen und es ging gar nichts mehr. Erneutes flashen brachte nichts. Der Accesspoint erscheint nicht mehr.

Danach habe ich den Schalter auf eine externe 3,3 V Versorgung umgebaucht und damit erhalte ich immer diesen Fehler:

######2019-06-08######
#######0.04.007#######
######FLASH INFO######
BIN file: ESP_Easy_mega-20190607_normal_ESP8266_1M.bin
COM port: (COM12) FTDI USB Serial Port (Port_#0001.Hub_#0002)
Baud rate: 115200
######POST FLASH######
No post flash information entered...
######FLASH LOG######
[esptool.exe -vv -cd nodemcu -cb 115200 -cp COM12 -ca 0x00000 -cf "C:\Users\tzzt\Downloads\ESP8266\bin\ESP_Easy_mega-20190607_normal_ESP8266_1M.bin"]
[08.06.2019 19:48:06] esptool v0.4.12 - (c) 2014 Ch. Klippel <ck@atelier-klippel.de>
[08.06.2019 19:48:06] setting board to nodemcu
[08.06.2019 19:48:06] setting baudrate from 115200 to 115200
[08.06.2019 19:48:06] setting port from  to COM12
[08.06.2019 19:48:06] setting address from 0x00000000 to 0x00000000
[08.06.2019 19:48:06] espcomm_upload_file
[08.06.2019 19:48:06] espcomm_upload_mem
[08.06.2019 19:48:06] setting serial port timeouts to 1000 ms
[08.06.2019 19:48:06] opening bootloader
[08.06.2019 19:48:06] resetting board
[08.06.2019 19:48:06] trying to connect
[08.06.2019 19:48:06] flush start
[08.06.2019 19:48:06] setting serial port timeouts to 1 ms
[08.06.2019 19:48:06] setting serial port timeouts to 1000 ms
[08.06.2019 19:48:06] flush complete
[08.06.2019 19:48:06] espcomm_send_command: sending command header
[08.06.2019 19:48:06] espcomm_send_command: sending command payload
[08.06.2019 19:48:06] espcomm_send_command: receiving 36 bytes of data
[08.06.2019 19:48:06] warning: espcomm_send_command: wrong direction/command: 0x00 0x08, expected 0x01 0x08
[08.06.2019 19:48:06] trying to connect
[08.06.2019 19:48:06] flush start
[08.06.2019 19:48:06] setting serial port timeouts to 1 ms
[08.06.2019 19:48:06] setting serial port timeouts to 1000 ms
[08.06.2019 19:48:06] flush complete
[08.06.2019 19:48:06] espcomm_send_command: sending command header
[08.06.2019 19:48:06] espcomm_send_command: sending command payload
[08.06.2019 19:48:06] espcomm_send_command: receiving 36 bytes of data
[08.06.2019 19:48:06] warning: espcomm_send_command: wrong direction/command: 0x00 0x08, expected 0x01 0x08
[08.06.2019 19:48:06] trying to connect
[08.06.2019 19:48:06] flush start
[08.06.2019 19:48:06] setting serial port timeouts to 1 ms
[08.06.2019 19:48:06] setting serial port timeouts to 1000 ms
[08.06.2019 19:48:06] flush complete
[08.06.2019 19:48:06] espcomm_send_command: sending command header
[08.06.2019 19:48:06] espcomm_send_command: sending command payload
[08.06.2019 19:48:06] espcomm_send_command: receiving 36 bytes of data
[08.06.2019 19:48:06] warning: espcomm_send_command: wrong direction/command: 0x00 0x08, expected 0x01 0x08
[08.06.2019 19:48:06] resetting board
[08.06.2019 19:48:06] trying to connect
[08.06.2019 19:48:06] flush start
[08.06.2019 19:48:06] setting serial port timeouts to 1 ms
[08.06.2019 19:48:06] setting serial port timeouts to 1000 ms
[08.06.2019 19:48:06] flush complete
[08.06.2019 19:48:06] espcomm_send_command: sending command header
[08.06.2019 19:48:06] espcomm_send_command: sending command payload
[08.06.2019 19:48:06] espcomm_send_command: receiving 36 bytes of data
[08.06.2019 19:48:06] warning: espcomm_send_command: wrong direction/command: 0x00 0x08, expected 0x01 0x08
[08.06.2019 19:48:06] trying to connect
[08.06.2019 19:48:06] flush start
[08.06.2019 19:48:06] setting serial port timeouts to 1 ms
[08.06.2019 19:48:06] setting serial port timeouts to 1000 ms
[08.06.2019 19:48:06] flush complete
[08.06.2019 19:48:06] espcomm_send_command: sending command header
[08.06.2019 19:48:06] espcomm_send_command: sending command payload
[08.06.2019 19:48:06] espcomm_send_command: receiving 36 bytes of data
[08.06.2019 19:48:06] warning: espcomm_send_command: wrong direction/command: 0x00 0x08, expected 0x01 0x08
[08.06.2019 19:48:06] trying to connect
[08.06.2019 19:48:06] flush start
[08.06.2019 19:48:06] setting serial port timeouts to 1 ms
[08.06.2019 19:48:06] setting serial port timeouts to 1000 ms
[08.06.2019 19:48:06] flush complete
[08.06.2019 19:48:06] espcomm_send_command: sending command header
[08.06.2019 19:48:06] espcomm_send_command: sending command payload
[08.06.2019 19:48:06] espcomm_send_command: receiving 36 bytes of data
[08.06.2019 19:48:06] warning: espcomm_send_command: wrong direction/command: 0x00 0x08, expected 0x01 0x08
[08.06.2019 19:48:06] resetting board
[08.06.2019 19:48:06] trying to connect
[08.06.2019 19:48:06] flush start
[08.06.2019 19:48:06] setting serial port timeouts to 1 ms
[08.06.2019 19:48:06] setting serial port timeouts to 1000 ms
[08.06.2019 19:48:06] flush complete
[08.06.2019 19:48:06] espcomm_send_command: sending command header
[08.06.2019 19:48:06] espcomm_send_command: sending command payload
[08.06.2019 19:48:06] espcomm_send_command: receiving 36 bytes of data
[08.06.2019 19:48:06] warning: espcomm_send_command: wrong direction/command: 0x00 0x08, expected 0x01 0x08
[08.06.2019 19:48:06] trying to connect
[08.06.2019 19:48:06] flush start
[08.06.2019 19:48:06] setting serial port timeouts to 1 ms
[08.06.2019 19:48:06] setting serial port timeouts to 1000 ms
[08.06.2019 19:48:06] flush complete
[08.06.2019 19:48:06] espcomm_send_command: sending command header
[08.06.2019 19:48:06] espcomm_send_command: sending command payload
[08.06.2019 19:48:06] espcomm_send_command: receiving 36 bytes of data
[08.06.2019 19:48:06] warning: espcomm_send_command: wrong direction/command: 0x00 0x08, expected 0x01 0x08
[08.06.2019 19:48:06] trying to connect
[08.06.2019 19:48:06] flush start
[08.06.2019 19:48:06] setting serial port timeouts to 1 ms
[08.06.2019 19:48:06] setting serial port timeouts to 1000 ms
[08.06.2019 19:48:06] flush complete
[08.06.2019 19:48:06] espcomm_send_command: sending command header
[08.06.2019 19:48:06] espcomm_send_command: sending command payload
[08.06.2019 19:48:06] espcomm_send_command: receiving 36 bytes of data
[08.06.2019 19:48:06] warning: espcomm_send_command: wrong direction/command: 0x00 0x08, expected 0x01 0x08
[08.06.2019 19:48:06] warning: espcomm_sync failed
[08.06.2019 19:48:06] error: espcomm_open failed
[08.06.2019 19:48:06] error: espcomm_upload_mem failed
[2019-06-08 19:48:06] STOPPED due to 2 errors! (try reset on the unit, then start a new flash attempt)


Mit dem Adapter kann ich es normal flashen. Der Access-Point erscheint nicht mehr ...


EDIT: Würde schwer vermuten, dass es an der Stromversorgung liegt. Nur habe ich kein 5000 Watt Netzteil mit einer Ausgangsspannung von 3,3 V. In dieser Hinsicht ist der ESP8266 komplett unbrauchbar.

steffen83

Sieht komisch aus. Schau Mal in deiner Fritzbox ob das Gerät nicht doch verbunden ist. Und was kommt im seriellen Monitor? Bitte nicht über 220v sowie an den PC anschließen....

Gesendet von meinem MI 8 mit Tapatalk

Raspberry Pi 3 (Noobs, aktuelle Fhem und Pilight) | FHEMduino | HM-OCCU-SDK | HM-Sec-SCo | HM-Sec-SD-2 | HM-CC-RT-DN | HM-LC-Bl1PBU-FM

Persuasiv

Der Schalter war laut dem Log kurzfristig mal mit dem Netzwerk verbunden. Aktuell ist er natürlich offline (ich habe ihn inzwischen 20 Mal neu geflasht)... Im seriellen Monitor kommt nichts (es erscheint keine Schrift).

Nach einem scheinbar erfolgreichen flashen sieht es so aus:

Persuasiv

Hier kann man sehen, dass er tatsächlich mal kurzfristig online war:

steffen83

Dann schiebe Mal die blank dabei vorher rein und Versuche es erneut

Gesendet von meinem MI 8 mit Tapatalk

Raspberry Pi 3 (Noobs, aktuelle Fhem und Pilight) | FHEMduino | HM-OCCU-SDK | HM-Sec-SCo | HM-Sec-SD-2 | HM-CC-RT-DN | HM-LC-Bl1PBU-FM

Persuasiv

Habe ich gemacht. Der Access Point kommt aber nicht mehr online ... Zwischenzeitlich habe ich einen zweiten geflasht und direkt danach vom Computer getrennt. Kurz darauf konnte ich einen Stecker montieren. Er war auch via 192.168.4.1 ansprechbar. So konnte ich die SSID + Passwort eingeben. Er erschien auch ca. 5 Minuten im Netzwerk (siehe anbei). Ich konnte ihn aber nicht über die dort angegebene IP erreichen. Dabei kam es immer zu einem Fehler beim Seitenaufruf. Wenn ich jetzt den Stecker erneut einstecke, dann erscheint er auch nicht wieder im Netzwerk.

Besten Dank in jedem Fall für die Hilfe.

steffen83

Nehme doch Mal eine ältere Datei und nicht die aktuelle
Raspberry Pi 3 (Noobs, aktuelle Fhem und Pilight) | FHEMduino | HM-OCCU-SDK | HM-Sec-SCo | HM-Sec-SD-2 | HM-CC-RT-DN | HM-LC-Bl1PBU-FM

Persuasiv

Ich probiere es gleich mal mit der 147 R8 ....

Persuasiv

Hat nichts gebracht. Damit geht es auch nicht. Ich habe dabei das alte Flashtool verwendet. Für derartiges bin ich wohl nicht intelligent genug ^^

DasQ

Flash die blank.bin danach nochmals espeasy.
Zum Flashen einmal kurz vorher resetten
Fhem on MacMini/Ubuntu.
Absoluter Befürworter der Konsequenten-Kleinschreibung https://de.wikipedia.org/wiki/Kleinschreibung
Infos zu Klimawandel http://www.globalcarbonatlas.org

Persuasiv

Ich habe jetzt die Firmware von 23.5. verwendet und damit ging es aus Gründen. Allerdings unterscheiden sich die Eingabemasken vom Wiki und FHEM legt scheinbar nichts automatisch an ...

eppi

Zitat von: Persuasiv am 08 Juni 2019, 23:36:53
FHEM legt scheinbar nichts automatisch an ...
Du musst in ESPeasy noch den FHEM-Controller einrichten, danach bei jedem Device dass du schalten oder Informationen erhalten willst, die CheckBox "send to Controller" aktivieren.

Persuasiv

Besten Dank! Jetzt habe ich es hinbekommen. Mit der neuesten Firmware läuft es trotzdem nicht ....