13 lines
367 B
JavaScript
13 lines
367 B
JavaScript
// Führt auf allen Shellys Firmware-Updates durch. Zur Überprüfung der Versionen: ShowFirmware-Script
|
|
|
|
runFirmwareUpdates();
|
|
stopScript("script.js.Shelly.RunFirmwareUpdates");
|
|
|
|
function runFirmwareUpdates() {
|
|
$('[id=shelly.0.*.firmwareupdate]').each(function(id, i)
|
|
{
|
|
log("Running firmware update of " + id);
|
|
setState(id, true);
|
|
});
|
|
}
|