esp32-reliability

Implement watchdog reset, memory monitoring, and boot-loop protections for ESP32 controllers.

25|7|Updated Mar 4, 2019
One-click install
npx skills add https://github.com/smart-swimmingpool/pool-controller --skill esp32-reliability
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: esp32-reliability
Source: https://github.com/smart-swimmingpool/pool-controller/tree/main/.opencode/skills/esp32-reliability
Command: npx skills add https://github.com/smart-swimmingpool/pool-controller --skill esp32-reliability

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Improve 24/7 reliability of the ESP32-based pool controller by implementing watchdog reset, memory monitoring, and boot-loop protections.

Core Features & Use Cases

  • Reliable watchdog and memory monitoring to prevent crashes and ensure autonomous recovery.
  • Boot-loop detection with safe-mode and degradation handling for unattended operation.
  • Fast sensor recovery and NTP graceful degradation to maintain operation during partial failures.
  • State persistence via ESP32 NVS to restore settings after power loss or reboot.

Quick Start

Power up the system and run a full watchdog validation to verify recovery under simulated fault conditions.

Frequently Asked Questions about esp32-reliability

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I stop my ESP32 from crashing and entering a boot-loop?

You can stop ESP32 boot-loops by implementing NVS-based boot counters and boot-loop detection, which triggers a safe-mode operation to halt continuous reboot cycles during persistent faults.

What is the best way to monitor ESP32 memory and prevent system crashes?

The best way to monitor ESP32 memory is by running 10-second memory checks alongside a continuous watchdog reset, which ensures autonomous recovery and prevents crashes during unattended operation.

How does an ESP32 handle network loss or sensor outages autonomously?

An ESP32 handles network loss and sensor outages by using a degradation manager with staged levels, fast sensor recovery, and NTP graceful degradation to maintain operation during partial failures.

Can I restore ESP32 pool controller settings after a power loss?

Yes, you can restore ESP32 pool controller settings after a power loss by using state persistence via ESP32 NVS, which saves and reloads configurations automatically following a reboot.

Does ESP32 watchdog reset work for 24/7 unembedded pool control deployments?

Yes, ESP32 watchdog reset supports 24/7 unembedded pool control deployments by requiring continuous watchdog feeding every loop, ensuring the system autonomously handles faults and recovers safely.