Skip to content

[Issue] Rollback Telegram notification is not truly once-per-rollback #32

Description

@RomanAlexandroff

Problem

notify_firmware_rollback_once() relies on reset reason filtering instead of persistent notification state. This can miss real rollback events on ESP_RST_DEEPSLEEP or ESP_RST_POWERON, and may send duplicate notifications after a later software/WDT reset.

Expected behavior

The device should send exactly one Telegram notification for each rollback event.

Suggested fix

Persist a small marker in LittleFS/NVS containing the failed partition address, firmware version, or another rollback identifier after notification succeeds.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions