Skip to content

fix: restore Home Assistant access#380

Merged
stackptr merged 4 commits intomainfrom
fix/zeta-home-assistant
Mar 17, 2026
Merged

fix: restore Home Assistant access#380
stackptr merged 4 commits intomainfrom
fix/zeta-home-assistant

Conversation

@stackptr
Copy link
Copy Markdown
Owner

@stackptr stackptr commented Mar 17, 2026

Summary

  • spore: Enable WebSocket proxying for ha.zx.dev β€” nginx was not forwarding the Upgrade header, causing the HA frontend to fail immediately after login
  • zeta: Add camera as an extraComponent β€” HA 2026.2 unconditionally imports ai_task β†’ camera β†’ img_util β†’ pyturbojpeg when serving WebSocket service descriptions; without pyturbojpeg present, every frontend session crashed with ModuleNotFoundError
  • zeta: Enable mobile_app component β€” extraComponents only makes packages available; the component must also be explicitly declared in configuration.yaml to be loaded by HA

Test plan

  • Login via ha.zx.dev completes without WebSocket error
  • Login via zeta:8123 loads dashboard successfully
  • iOS companion app connects successfully
  • Deploy spore config to apply the nginx WebSocket fix

πŸ€– Generated with Claude Code

stackptr and others added 4 commits March 17, 2026 20:35
Home Assistant requires WebSocket support for its frontend to load.

Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
HA 2026.2 introduced an ai_task component that's unconditionally
imported during WebSocket service description loading. The import
chain (ai_task β†’ camera β†’ img_util) requires pyturbojpeg, which
wasn't present. Adding camera as an extraComponent pulls in the
required Python dependencies via the NixOS HA module.

Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
Enables iOS companion app access.

Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
extraComponents only makes packages available; the component also needs
to be declared in configuration.yaml to be loaded by HA.

Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
@stackptr stackptr enabled auto-merge (squash) March 17, 2026 21:01
@stackptr stackptr merged commit 3146323 into main Mar 17, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant