Last active
October 5, 2022 11:58
-
-
Save tomasbedrich/c85a8d49377634dc7d56514ee31b35bb to your computer and use it in GitHub Desktop.
Tasmota to Mongoose OS (Shelly)
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
# the device must be connected to the internet | |
DEVICE=192.168.77.106 | |
# pick the right FW_URL! see: https://github.com/yaourdt/tasmota-to-mgos#install | |
INTERMEDIATE_FW_URL=https://dl.dasker.eu/firmware/mgos512k-0x7000.bin | |
TARGET_FW=http://firmware.shelly.cloud/gen1/SHBDUO-1.zip | |
# download target firmware | |
curl -o fw.zip "$TARGET_FW" | |
# flash tasmota-minimal first, because the firmware is larger than 500kb | |
curl "$DEVICE/cm?cmnd=Backlog%20OtaUrl%20http://ota.tasmota.com/tasmota/release/tasmota-minimal.bin.gz%3B%20Upgrade%201%3B" | |
# manually go to $DEVICE and upload firmware - API calls doesn't work unfortunatelly | |
# once the intermediate device boots up, reconnect the Wifi | |
# flash the target firmware | |
curl -i -F filedata=@./fw.zip http://10.42.42.44/update | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment