Esp8266 Relay mit Wlan: Unterschied zwischen den Versionen

Aus Xinux Wiki
Zur Navigation springen Zur Suche springen
 
(2 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt)
Zeile 9: Zeile 9:
 
=Tasmota Flashing=
 
=Tasmota Flashing=
 
==Prepare Python Env==
 
==Prepare Python Env==
*virtualenv esp -p $(which python3)
+
*python3 -m venv esp
 
*source esp/bin/activate
 
*source esp/bin/activate
 
*pip install esptool
 
*pip install esptool
 +
 
==Download Firmware==
 
==Download Firmware==
 +
*mkdir esp8266 && cd esp8266
 
*wget https://ota.tasmota.com/tasmota/tasmota.bin
 
*wget https://ota.tasmota.com/tasmota/tasmota.bin
 
==Write Tasmota Firmware==
 
==Write Tasmota Firmware==
 
*esptool.py --port /dev/ttyUSB0 write_flash 0 tasmota.bin
 
*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