How to determine if update is in progress

  • When I'm triggering an update via RPC-API (`rpc/Shelly.Update`) I'd like to know, when the update is done. The same accounts for indirectly triggered updates (e.g. auto-updates).

    "Unfortunately" the shelly is still available once the update is being triggered, so just waiting for it being back online does not work.

    However, I also did not find any flag so far, indicating, that an update is in progress.

    How to determine, if an update is in progress? Comparing version numbers is not just clumsy but also not an option, given, the auto-update functionality might have triggered the update.

  • Have a look here:

    https://shelly-api-docs.shelly.cloud/gen2/Component…/#notifications

    Notifications

    This section describes notifications for events specific to the System component. For general information please see this page.

    The System component can send notifications for the following events:

    • ota_begin
    • ota_progress
    • ota_success
    • ota_error
    • ...

    However, it could be that this only works with OTA via firmware upload, not via cloud update.

    Überwiegend PRO 3EM im Einsatz zur Haus und PV Überwachung