From 8c5b3f0461ec101f0c002d07704a5ff49569b7b1 Mon Sep 17 00:00:00 2001 From: kyle Date: Wed, 31 Dec 2025 04:26:16 -0800 Subject: [PATCH] Add QUICK-FIX-AUTO-LOGIN.txt --- QUICK-FIX-AUTO-LOGIN.txt | 44 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 QUICK-FIX-AUTO-LOGIN.txt diff --git a/QUICK-FIX-AUTO-LOGIN.txt b/QUICK-FIX-AUTO-LOGIN.txt new file mode 100644 index 0000000..50bed77 --- /dev/null +++ b/QUICK-FIX-AUTO-LOGIN.txt @@ -0,0 +1,44 @@ +QUICK FIX: Home Assistant Auto-Login +==================================== + +PROBLEM: Long-lived access tokens don't work for web UI login. +SOLUTION: Use Trusted Networks instead. + +YOUR COMPUTER IP: 192.168.68.193 + +STEP 1: Configure Trusted Networks in Home Assistant +----------------------------------------------------- +From another device (phone/computer), open Home Assistant: + +Option A - Via UI (EASIEST): + 1. Settings > People & Zones + 2. Find "Trusted Networks" section + 3. Click "Add" or "Configure" + 4. Add IP: 192.168.68.193 + 5. Save + +Option B - Via configuration.yaml: + Edit configuration.yaml and add: + + homeassistant: + auth_providers: + - type: trusted_networks + trusted_networks: + - 192.168.68.193 + + Then restart Home Assistant. + +STEP 2: Restart Dashboard +-------------------------- +After configuring trusted networks, run: + ~/scripts/restart-dashboard.sh + +The dashboard should now auto-login without showing the login screen! + + +ALTERNATIVE: If Trusted Networks doesn't work +----------------------------------------------- +We can try using Firefox saved credentials, but that requires +manually logging in once (which you can't do without keyboard/mouse). + +The trusted networks method is the best solution for headless kiosks.