Esp8266 Relay mit Wlan: Unterschied zwischen den Versionen

Aus Xinux Wiki
Zur Navigation springen Zur Suche springen
Zeile 12: Zeile 12:
 
*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

Version vom 3. April 2024, 10:16 Uhr

Flashen eines ESP8266-Relay mit Tasmota

Schaubild

Esp8266-relay1.png

USB-TTL.png

Tasmota Flashing

Prepare Python Env

  • virtualenv esp -p $(which python3)
  • source esp/bin/activate
  • pip install esptool

Download Firmware

Write Tasmota Firmware

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