Repository navigation
🐛 Bugfix Release
Fixes critical bug where consecutive triggers were not detected when STA pin remained HIGH between sleep cycles.
🔧 Changes
v7.1.2 (Bugfix)
- Fix: Set
mwWasActive = falseinreenable()instead ofisActive() - Issue: Previous trigger's latched HIGH state prevented detection of new triggers
- Solution: Always assume STA will be LOW after deepSleep() + power-off
v7.1.1 (Initial Release)
- Implement RTC-based state persistence across deep sleep
- Add magic number validation for RTC data integrity
- Distinguish between MicroWakeupper triggers and other wakeup sources
- Add interactive test sketch with flexible library selection
- Improve API documentation
✅ Test Results
All 4 test scenarios passing:
- ✅ Cold boot/power-on →
resetedBySwitch() = FALSE - ✅ Timer wakeup →
resetedBySwitch() = FALSE - ✅ Switch trigger after
reenable()→resetedBySwitch() = TRUE - ✅ Hardware reset without
reenable()→resetedBySwitch() = FALSE
🔄 Backward Compatibility
✅ No breaking changes - existing code works without modification
📦 Installation
Arduino Library Manager:
Search for "MicroWakeupper Wemos D1 Mini Battery Shield"
Manual Installation:
Download ZIP and extract to Arduino libraries folder
🔗 Hardware
Requires MicroWakeupper Shield PCB v7.1
🤖 Co-developed with Claude Code