Esp8266 Relay mit Wlan: Unterschied zwischen den Versionen

Aus Xinux Wiki
Zur Navigation springen Zur Suche springen
 
(5 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt)
Zeile 3: Zeile 3:
 
[[Datei:Esp8266-relay1.png|300px]]
 
[[Datei:Esp8266-relay1.png|300px]]
  
[[Datei:USB-TTL.png|200px]]
+
[[Datei:USB-TTL.png|100px]]
 +
 
 +
{{#drawio:flashen-esp-1}}
 +
 
 +
=Tasmota Flashing=
 +
==Prepare Python Env==
 +
*python3 -m venv esp
 +
*source esp/bin/activate
 +
*pip install esptool
 +
 
 +
==Download Firmware==
 +
*mkdir esp8266 && cd esp8266
 +
*wget https://ota.tasmota.com/tasmota/tasmota.bin
 +
==Write Tasmota Firmware==
 +
*esptool.py --port /dev/ttyUSB0 write_flash 0 tasmota.bin

Aktuelle Version vom 3. April 2024, 10:38 Uhr

Flashen eines ESP8266-Relay mit Tasmota

Schaubild

Esp8266-relay1.png

USB-TTL.png

Tasmota Flashing

Prepare Python Env

  • python3 -m venv esp
  • source esp/bin/activate
  • pip install esptool

Download Firmware

Write Tasmota Firmware

  • esptool.py --port /dev/ttyUSB0 write_flash 0 tasmota.bin