The Flask service runs as user 'pi' in a non-interactive session.
nmcli device wifi connect requires polkit authorization which was missing,
causing 'Not authorized to control networking' errors.
- config/50-babycam-network.rules: grants pi full NetworkManager access via polkit
- setup.sh: installs polkit rule, restarts polkit, fixes /etc/hosts hostname entry
(missing 127.0.1.1 entry caused harmless but annoying sudo warnings)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- setup.sh: vollständiges Install- und Konfigurationsscript für Raspberry Pi OS Trixie
- app/main.py: Flask Webinterface mit MJPEG-Stream, WLAN-Verwaltung und Statusseite
- app/templates/index.html: Dark-Mode UI mit Live-Stream, WLAN-Scan und Verbinden
- scripts/network_state.py: State Machine für Modus A (Heimnetz) / B (Access Point)
- config/hostapd.conf: Access Point BabyCam (192.168.50.0/24)
- config/dnsmasq.conf: DHCP-Server für AP-Netzwerk
- systemd/: babycam-web und babycam-network als autostart Services
- README.md: Schnellstart-Anleitung und Projektstruktur ergänzt
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>