ESP32 Remote SMS Alarm | HTTPS, Deduplication & Cooldown
An ESP32 can report a sensor alarm through an HTTPS messaging service. A persistent fault should generate a manageable number of texts.
The key idea
Assigning the same event identifier to retries lets a service recognize repeat submissions when it supports deduplication. A cooldown limits how quickly the controller sends reminders while the condition persists.
What to remember
- Track the transition into an alarm state.
- Retain the event identifier across a retry.
Check your understanding
An SMS request times out. Why retry with the same event identifier?
Show the explanation
The service may already have accepted the first request. A stable identifier lets a service that supports deduplication suppress a second message.