Commit Graph

10 Commits

Author SHA1 Message Date
jessikitty 5593d1411b Fix: use ws.send() directly for auth — send() expects a result response but HA responds to auth with auth_ok/auth_invalid (no id), causing 60s timeout loop 2026-05-15 16:22:31 +10:00
jessikitty 76b67d3470 Fix connection timeout: use REST API for initial state load, increase WS timeout to 60s
Large HA instances with many entities cause get_states to exceed the 12s
WebSocket timeout. Now loads all states via /api/states HTTP endpoint first
(much more reliable for large payloads), with WebSocket get_states as fallback.
Also bumped WS send timeout from 12s to 60s for slow HA responses.
2026-05-15 16:11:44 +10:00
jessikitty 4bdb228a8c Upload files to "packages"
Uploaded failed files..
2026-05-10 21:45:35 +10:00
jessikitty fc8d1eea11 Upload files to "/"
Re-uploaded Failed Files
2026-05-10 21:44:22 +10:00
jessikitty 3c9bc381c6 Update README.md 2026-05-10 21:42:15 +10:00
jessikitty 28e2bf167f Fix: replace double-encoded file with correct HTML dashboard 2026-05-10 21:23:39 +10:00
jessikitty 22e740e754 Add parental controls dashboard HTML
- HA WebSocket connection with auto-reconnect
- User cards with colour coding and per-user block toggle
- Device assignment by MAC (pick from discovered devices or enter manually)
- Per-device block toggle with online/offline indicator
- Weekday/weekend schedule blocking (overnight ranges supported)
- Auto re-block on device reconnect with new IP
- First-time setup screen, credentials stored in localStorage
2026-05-10 21:13:39 +10:00
jessikitty 5b6e9b79ff Add HA package: rest_commands, scripts, optional schedule automation 2026-05-10 20:54:59 +10:00
jessikitty e691c4a124 Add secrets example file 2026-05-10 20:53:04 +10:00
jessikitty e76c3b7e09 Add README with full setup instructions 2026-05-10 20:52:39 +10:00