b9591ce9bb
feat(power): 1Hz chunked light-sleep; meter backoff; log throttling
...
- Replace delay() with light_sleep_chunked_ms() in sender idle path
(100ms chunks preserve UART FIFO safety at 9600 baud)
- Add ENABLE_LIGHT_SLEEP_IDLE build flag (default: on, fallback: =0)
- Meter reader task: exponential backoff on consecutive poll failures
(METER_FAIL_BACKOFF_BASE_MS..MAX_MS) to reduce idle Core-0 wakeups
- Configurable SENDER_DIAG_LOG_INTERVAL_MS (5s debug / 30s prod)
- Configurable METER_FRAME_TIMEOUT_CFG_MS, SENDER_CPU_MHZ
- New PlatformIO envs: lowpower, 868-lowpower, lowpower-debug
- Add docs/POWER_OPTIMIZATION.md with measurement plan and Go/No-Go
2026-03-16 16:32:49 +01:00
9c5b8fcdb4
Reduce sender power draw (RX windows + CPU/WiFi/ADC/pins)
...
- Add LoRa idle/sleep/receive-window helpers and use short RX windows for ACK/time sync
- Schedule sender time-sync windows (fast/slow) and track RX vs sleep time in debug
- Lower sender power (80 MHz CPU, WiFi/BT off, reduced ADC sampling, unused pins pulldown)
- Make SERIAL_DEBUG_MODE a build flag, add prod envs with debug off, and document changes
2026-02-13 23:56:36 +01:00
e229efd427
Add payload codec test envs and enable serial debug
2026-02-13 23:56:36 +01:00
68542046de
Update ESP32 platform and LoRa batching
2026-02-13 23:56:36 +01:00
5f42575b10
Add 868MHz envs, fix MAC id, offset timesync
2026-01-21 21:14:48 +01:00
6f308ad590
Initial commit
2026-01-20 01:39:06 +01:00