Initial commit: epaper-dashboard for 7.3" ACeP 7-Color display
- dashboard.py: plugin-based renderer with 4x4 grid layout - admin.py: web UI with layout editor + plugin configs - layout.py: pack algorithm, item placement, grid system - plugins/: clock, weather, system, spotify, strava, gmail, minimax, hello - network_watchdog.py: WiFi AP/client mode management - waveshare_epd_init.py: vendor driver stub
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
#!/bin/bash
|
||||
cat > /home/koptikp/epaper-dashboard/port/.env <<'ENVEOF'
|
||||
EPAPER_ADMIN_USER=admin
|
||||
EPAPER_ADMIN_PASSWORD=changeme123
|
||||
ENVEOF
|
||||
chmod 600 /home/koptikp/epaper-dashboard/port/.env
|
||||
echo "=== .env geschrieben ==="
|
||||
ls -la /home/koptikp/epaper-dashboard/port/.env
|
||||
echo
|
||||
echo "=== restart admin ==="
|
||||
bash /home/koptikp/epaper-dashboard/port/start_admin.sh
|
||||
sleep 2
|
||||
echo
|
||||
echo "=== test mit altem passwort (sollte 401) ==="
|
||||
curl -s -u admin:admin -o /dev/null -w "admin:admin -> HTTP %{http_code}\n" http://127.0.0.1:8080/status.json
|
||||
echo "=== test mit neuem passwort (sollte 200) ==="
|
||||
curl -s -u admin:changeme123 -o /dev/null -w "admin:changeme123 -> HTTP %{http_code}\n" http://127.0.0.1:8080/status.json
|
||||
echo
|
||||
echo "=== sicherheits-check: passwort in logs? ==="
|
||||
grep -E "changeme123|admin:" /tmp/admin.log || echo "(kein Treffer in logs)"
|
||||
Reference in New Issue
Block a user