Esp8266 Relay mit Wlan: Unterschied zwischen den Versionen

Aus Xinux Wiki
Zur Navigation springen Zur Suche springen
 
(Eine dazwischenliegende Version desselben Benutzers wird 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

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