Shelly: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
Keine Bearbeitungszusammenfassung |
|||
| (5 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt) | |||
| Zeile 1: | Zeile 1: | ||
=Shelly1 Tasmota Flashing= | |||
==Prepare Python Env== | |||
*virtualenv py3 -p $(which python3) | |||
*source py3/bin/activate | |||
*pip install esptool | |||
==Download Firmware== | |||
*wget https://github.com/arendst/Sonoff-Tasmota/releases/download/v6.3.0/sonoff.bin | |||
==Backup Shelly Firmware== | |||
*esptool.py --port /dev/cu.usbserial-1420 read_flash 0x00000 0x100000 shelly1_backup_01.bin | |||
==Erase Shelly Firmware== | |||
*esptool.py --port /dev/cu.usbserial-1420 erase_flash | |||
==Write Tasmota Firmware== | |||
*esptool.py --port /dev/cu.usbserial-1420 write_flash -fs 8m 0x00000 ./sonoff.bin | |||
<pre> | |||
2007 source py3/bin/activate | |||
2008 source esptoolenv/bin/activate | |||
2009 cd shelly/ | |||
2010 esptool.py --port /dev/ttyUSB0 read_flash 0x00000 0x100000 shelly1_backup_01.bin | |||
2011 esptool.py --port /dev/ttyUSB1 read_flash 0x00000 0x100000 shelly1_backup_01.bin | |||
2012 sudo dmesg | |||
2013 esptool.py --port /dev/ttyUSB0 read_flash 0x00000 0x100000 shelly1_backup_01.bin | |||
2014 ls | |||
2015 cd .. | |||
2016 ls | |||
2017 ls -lrt | |||
2018 mv tasmota.bin shelly/ | |||
2019 cd shelly/ | |||
2020 history | |||
2021 esptool.py --port /dev/ttyUSB0 write_flash 0 tasmota.bin | |||
2022 sudo dmesg | |||
2023 esptool.py --port /dev/ttyUSB0 write_flash 0 tasmota.bin | |||
2024 ls -l | |||
2025 ls -l /dev/ttyUSB0 | |||
2026 esptool.py --port /dev/ttyUSB0 write_flash 0 tasmota.bin | |||
2027 pyserial-miniterm /dev/ttyUSB0 115200 | |||
2028 history | |||
</pre> | |||
==Quellen== | |||
*https://gist.github.com/aschuma/0bad53dc8698e163361eeba389e557a3 | |||
*https://docs.espressif.com/projects/esptool/en/latest/esp32/installation.html | |||
[[Datei:shelly1.png]] | [[Datei:shelly1.png]] | ||
[[Datei:shelly2.png]] | [[Datei:shelly2.png]] | ||
[[Datei:shelly3.png]] | |||
[[Datei: | [[Datei:shelly4.png]] | ||
Aktuelle Version vom 2. April 2024, 15:37 Uhr
Shelly1 Tasmota Flashing
Prepare Python Env
- virtualenv py3 -p $(which python3)
- source py3/bin/activate
- pip install esptool
Download Firmware
Backup Shelly Firmware
- esptool.py --port /dev/cu.usbserial-1420 read_flash 0x00000 0x100000 shelly1_backup_01.bin
Erase Shelly Firmware
- esptool.py --port /dev/cu.usbserial-1420 erase_flash
Write Tasmota Firmware
- esptool.py --port /dev/cu.usbserial-1420 write_flash -fs 8m 0x00000 ./sonoff.bin
2007 source py3/bin/activate 2008 source esptoolenv/bin/activate 2009 cd shelly/ 2010 esptool.py --port /dev/ttyUSB0 read_flash 0x00000 0x100000 shelly1_backup_01.bin 2011 esptool.py --port /dev/ttyUSB1 read_flash 0x00000 0x100000 shelly1_backup_01.bin 2012 sudo dmesg 2013 esptool.py --port /dev/ttyUSB0 read_flash 0x00000 0x100000 shelly1_backup_01.bin 2014 ls 2015 cd .. 2016 ls 2017 ls -lrt 2018 mv tasmota.bin shelly/ 2019 cd shelly/ 2020 history 2021 esptool.py --port /dev/ttyUSB0 write_flash 0 tasmota.bin 2022 sudo dmesg 2023 esptool.py --port /dev/ttyUSB0 write_flash 0 tasmota.bin 2024 ls -l 2025 ls -l /dev/ttyUSB0 2026 esptool.py --port /dev/ttyUSB0 write_flash 0 tasmota.bin 2027 pyserial-miniterm /dev/ttyUSB0 115200 2028 history



