Last active
June 1, 2021 23:53
-
-
Save aschuma/0bad53dc8698e163361eeba389e557a3 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment