Initial commit - Phase 3/4

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
michael
2026-01-06 13:45:29 -08:00
parent 1da6730735
commit 4f35df1781
323 changed files with 98287 additions and 1195 deletions

View File

@@ -18,13 +18,35 @@ WLAN_INTERFACE=wlan0
USB_WLAN_INTERFACE=wlan1
# UPS Configuration
UPS_I2C_ADDRESS=0x36
# UPS_TYPE options: "auto" (detect), "pisugar", "i2c", "none"
# auto: Automatically detect PiSugar or I2C fuel gauge at startup
UPS_TYPE=auto
UPS_CHECK_INTERVAL=60
# I2C UPS settings (for generic fuel gauge HATs like MAX17040/MAX17048)
UPS_I2C_ADDRESS=0x36
# PiSugar UPS settings (for PiSugar 2/3 series)
UPS_PISUGAR_HOST=127.0.0.1
UPS_PISUGAR_PORT=8423
# BLE Configuration
BLE_ENABLED=true
BLE_DEVICE_NAME=DangerousPi
# Security
# Set AUTH_ENABLED=true to require authentication for all API endpoints
AUTH_ENABLED=false
AUTH_USERNAME=admin
AUTH_PASSWORD=changeme
# HTTPS Configuration
# Set HTTPS_ENABLED=true to enable HTTPS with self-signed certificates
# On first boot with HTTPS enabled, a certificate will be automatically generated
# The certificate is valid for 10 years and covers:
# - 192.168.4.1 (AP gateway IP)
# - dangerous-pi.local (mDNS hostname)
# - localhost
# Note: Browsers will show a security warning for self-signed certificates
# To regenerate the certificate, use the API: POST /api/system/ssl/regenerate
HTTPS_ENABLED=false