Update your shelly devices thru this script. Tested on Ubuntu 20.04 with a 192.-Network.
- avahi-utils
- jq
- webserver (which is running to serve the OTA-zip file for the firmware update)
- WWWDIR where the firmware update has to be stored
- WWWURL URL where your webserver can be reached from any device within your network
-u, --user=USER enter USER for authentification, standard = admin
-p, --password=PASSWORD enter PASSWORD for authentification
-sip, --shelly-ip=IP Just check/upgrade one single shelly by IP
-st, --shelly-type=TYPE Just check/upgrade one specific TYPE of shellies
-t, --trunk=TRUNK select trunk (STABLE, PRE or BETA)
--force Force downgrade to selected trunk version
--debug Show debug log of this script.
-h, --help Prints this message
Florie1706, 2021