feat: initial commit — UniFi snap-in package

Full UniFi dashboard snap-in including:
- WiFi/client/device stats with time-series snapshots
- Client Dashboard with traffic, satisfaction, signal, download charts
- Webhook alerting with debounced offline/online detection
- AP snapshot collection, client snapshot collection
- Device classification (type and OS) from OUI/hostname heuristics
- Webhook cooldown, templates, and multi-platform delivery

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Joel Wedemire
2026-04-12 23:00:05 -07:00
commit ce3217d8f4
29 changed files with 2972 additions and 0 deletions

12
config/unifi.php Normal file
View File

@@ -0,0 +1,12 @@
<?php
return [
// Polling intervals (seconds) for the stats cache
'cache_ttl_devices' => 30,
'cache_ttl_clients' => 15,
'cache_ttl_health' => 10,
'cache_ttl_events' => 30,
// Maximum portal session duration defaults (overridden per-group in DB)
'portal_session_default_minutes' => 720, // 12 hours
];