Neue NINA-Integration: Automatisches Polling der BBK-Warn-API (warnung.bund.de/api31) und Weiterleitung von Warnmeldungen ins Meshtastic-Netz. Separate Admin-Konfigurationsseite (/nina) analog zum Scheduler. - meshbot/nina.py: NinaBot – Polling, De-Duplikation, Schweregrad- und Quellen-Filterung, WebSocket-Broadcast (nina_alert) - nina.yaml + conf/nina.yaml: Hot-reload-faehige Konfiguration - static/nina.html + static/js/nina.js: Konfigurationsseite mit AGS-Code-Verwaltung, Quellen-Auswahl und Live-Alerts-Tabelle - webserver.py: GET/PUT /api/nina/config + GET /nina (Admin-only) - main.py: NinaBot initialisieren, watch/start/stop im Lifecycle - app.js: NINA-Sidebar-Eintrag (Admin-only, shield-exclamation) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
20 lines
215 B
YAML
20 lines
215 B
YAML
version: "0.8.0"
|
|
|
|
bot:
|
|
name: "MeshDD-Bot"
|
|
command_prefix: "?"
|
|
|
|
meshtastic:
|
|
host: "192.168.11.4"
|
|
port: 4403
|
|
|
|
web:
|
|
host: "0.0.0.0"
|
|
port: 8081
|
|
|
|
database:
|
|
path: "meshdd.db"
|
|
|
|
auth:
|
|
session_max_age: 86400
|