Skip to content

v2.0.0 — Persistent Auth Sessions

Choose a tag to compare

@SimoneB79 SimoneB79 released this 26 May 04:54
· 30 commits to main since this release

What's Changed

🔐 New Auth System

  • New src/auth.js module — OAuth2 token management with persistent sessions
  • Uses home-assistant-js-websocket library for auth handling
  • Login with username/password now persists across reboots — no more re-login every restart!
  • Proactive token refresh: 5 minutes before expiry
  • If refresh fails: retries every 30s, NEVER wipes config
  • Long-lived token support for stable installations

🧹 Cleanup

  • Removed old inline auth methods from HAClient class
  • Cleaned up legacy Python app remnants

📋 Tested On

  • Raspberry Pi 5 (Debian Trixie, Wayland, 7" touch)
  • Raspberry Pi 4 (Debian Trixie, Wayland, DSI touch)

Full Changelog

v1.5.1...v2.0.0