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:
@@ -22,13 +22,31 @@ WLAN_INTERFACE=wlan0
|
||||
USB_WLAN_INTERFACE=wlan1
|
||||
|
||||
# UPS Configuration
|
||||
UPS_I2C_ADDRESS=0x36
|
||||
# UPS_TYPE options: "pisugar", "i2c", "none"
|
||||
UPS_TYPE=i2c
|
||||
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
|
||||
AUTH_ENABLED=false
|
||||
|
||||
# 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
|
||||
# After enabling, restart services: sudo systemctl restart dangerous-pi-nginx-config nginx
|
||||
HTTPS_ENABLED=false
|
||||
|
||||
Reference in New Issue
Block a user