Commit Graph

14 Commits

Author SHA1 Message Date
PaulVua
8291475e36 add cpu power mode 2026-01-15 14:13:41 +01:00
PaulVua
5777b35770 Add WiFi and HDMI power saving features for remote sensors
Implements power saving optimizations to extend battery life on solar-powered remote air quality sensors:

- WiFi Power Saving: Disable WiFi 10 minutes after boot to save ~100-200mA
  - Configurable via web UI checkbox in admin panel
  - WiFi automatically re-enables after reboot for 10-minute configuration window
  - Systemd timer (nebuleair-wifi-powersave.timer) manages automatic disable
  - New wifi/power_save.py script checks database config and disables WiFi via nmcli

- HDMI Disable: Added hdmi_blanking=2 to boot config to save ~20-30mA
  - Automatically configured during installation

- Database: Added wifi_power_saving boolean config (default: disabled)
  - Uses INSERT OR IGNORE for safe updates to existing installations

- UI: Added checkbox control in admin.html for WiFi power saving
  - Includes helpful description of power savings and behavior

- Services: Updated setup_services.sh and update_firmware.sh to manage new timer

Total power savings: ~120-230mA when WiFi power saving enabled

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-01-13 12:05:21 +01:00
c917131b2d Actualiser installation_part1.sh 2025-06-23 09:36:04 +00:00
Your Name
3731c2b7cf update 2025-06-05 12:42:35 +02:00
Your Name
381cf85336 update 2025-05-27 16:42:53 +02:00
Your Name
020594e065 updates 2025-05-23 15:09:22 +02:00
PaulVua
2bd74ca91a updates 2025-05-23 11:02:06 +02:00
Your Name
fd1d32a62b udpate 2025-05-19 10:26:27 +02:00
Your Name
44f44c3361 update 2025-04-07 15:57:58 +02:00
Your Name
17f4ce46dd update 2025-04-02 15:09:10 +02:00
Your Name
4bc05091be update 2025-03-25 21:18:12 +01:00
Your Name
d5302f78ba udpate 2025-03-20 17:45:47 +01:00
Your Name
e0d7614ad8 update 2025-02-25 15:41:17 +01:00
Your Name
516f6367fa update 2025-02-25 15:33:13 +01:00