Skip to content

Instantly share code, notes, and snippets.

@wjshamblin
Forked from aschuma/Shelly1 Tasmota Flashing
Created March 21, 2019 22:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save wjshamblin/73bdeedd7de1d31c6864b56a1c1bcc61 to your computer and use it in GitHub Desktop.
Save wjshamblin/73bdeedd7de1d31c6864b56a1c1bcc61 to your computer and use it in GitHub Desktop.
# 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