atrium-netatmo

Tokens

65e2c206b20b4942dc0177d9

Läuft ab: 10.06.2026 08:25:01

Gültig · noch 95 min

Letztes Bild

Letzter bekannter Kamera-Snapshot — aktualisiert bei jedem Klingeln oder Bewegungsevent.

API-Token (Frontend)

Diesen Token in docs/atrium-card.example.html bei API_TOKEN eintragen:

6935115e1567175926381677bcd5df74e75b1aebe508badd461e6791a7ac4ca6

SSE-Stream: /events.php?token=6935115e…  ·  Live-Bild: /live.php?token=…

Letzte Events

Noch keine Events — Webhook aktiv? Klingel einmal drücken oder Polling abwarten.

Cron-Jobs

Per crontab -e auf dem Server eintragen:

# Polling-Fallback (jede Minute – Webhook-Zuverlässigkeit ist schlecht)
* * * * * /usr/bin/php /var/www/vhosts/fastfind.site/atrium.fastfind.site/bin/poll-events.php >> /dev/null 2>&1

# Proaktiver Token-Refresh (alle 4 Minuten)
*/4 * * * * /usr/bin/php /var/www/vhosts/fastfind.site/atrium.fastfind.site/bin/refresh-tokens.php >> /dev/null 2>&1

# DSGVO-Retention: Snapshots + Events nach 7 Tagen löschen (täglich 03:00)
0 3 * * * /usr/bin/php /var/www/vhosts/fastfind.site/atrium.fastfind.site/bin/purge-snapshots.php >> /dev/null 2>&1

PHP-Pfad prüfen: which php auf dem Server

Endpunkte

URLZweckStatus
/webhook.phpNetatmo-Webhook-Empfänger Aktiv
/events.php?token=…SSE-Stream fürs Frontend Aktiv
/snapshot.php?id=…Snapshot-Proxy Aktiv
/oauth/start.phpOAuth neu starten Erledigt

Generiert: 10.06.2026 06:50:29