summaryrefslogtreecommitdiff
path: root/hostnix/elmo/home-assistant.nix
AgeCommit message (Collapse)Author
2026-01-05HA: Enable ZigbeeJoe Mou
2026-01-05HA: Reararnge smart plugsJoe Mou
- More reliable smart plug on panel light - SAD lamp timer
2025-12-31Configure OIDC for Home AssistantJoe Mou
Replaces unmaintained header authentication behind oauth2-proxy. Add OIDC client for Home Assistant: - Callback URLs: https://ha.mou.fo/auth/oidc/callback - Public Client To link OIDC credentials with the existing joe user, temporarily set: auth_oidc.features.automatic_user_linking = true; See https://github.com/christiaangoossens/hass-oidc-auth/blob/main/docs/configuration.md#migrating-from-ha-usernamepassword-users-to-oidc-users Must login through either: - https://ha.mou.fo/auth/oidc/welcome - https://ha.mou.fo/auth/oidc/redirect Injecting directly into the landing login page is pending https://github.com/christiaangoossens/hass-oidc-auth/issues/19
2025-12-24Upgrade to NixOS 25.11Joe Mou
The auth_header Home Assistant custom component has been removed. For now we use the last package from: https://github.com/NixOS/nixpkgs/blob/7f88a8b9efaf0e08e63e3806b2b3f42fd83fde91/pkgs/servers/home-assistant/custom-components/auth-header/package.nix
2025-12-24Fix HA automation for minutes instead of hoursJoe Mou
2025-06-16Revert auth to ZitadelJoe Mou
Still don't love it but let's get things into a working state. Promising next steps: - Authlib (Python) - oidc-provider (Javascript) - Vouch Proxy, Ory Oauthkeeper, or IdP built-in forward auth Look at [[Authentication]]
2025-06-16In progress attempt to use Dex for OIDCJoe Mou
Dex really doesn't want to be the authoritative identity provider. Static users are not very configurable. The sub claim is a base64 internal representation that we can't use in backends directly. We could jury rig email, but never got that working. Basic authentication works, but Home Assistant fails to login the user.
2025-04-16Squelch Home Assistant aiohomekit exceptionsJoe Mou
ModuleNotFoundError: No module named 'aiohomekit'
2025-04-08Tweak panel light automationsJoe Mou
Cooler midday color temperature and throttle reinitialization.
2025-02-26Panel light reinitialize HA automationJoe Mou
Untested but ported from old HA config in commit 25f26a29a6255c5fe3ccf0ffa11f630bd63c60df
2024-10-18Use Zitadel to replace KanidmJoe Mou
Kanidm development is kind of slow and conservative. Their frontend is lacking. The hope was Zitadel would solve some issues logging in to the Home Assistant app behind oauth2-proxy, but it doesn't really help. In particular, KeePassium is unable to password complete (login page reloads to username entry?). In any case, we probably prefer Zitadel so let's at least record it for now. Pocket ID is an interesting minimal alternative, but the Home Assistant app doesn't support passkeys. $ sudo rm -r /var/lib/kanidm/
2024-10-18Summer thermostat scheduleJoe Mou
Fixes /api to skip oauth2-proxy Not thoroughly tested; there are probably some issues.
2024-10-09Refactor HA helper functionsJoe Mou
Based on https://github.com/nathan-gs/nix-conf/blob/main/lib/ha.nix (which goes further in using the module system; see https://nathan.gs/2023/12/09/adding-helper-functions-to-nixos/ )
2024-10-09Control AC with bedroom temperature sensorJoe Mou
2024-10-09Adjust adaptive_lighting parametersJoe Mou
2024-10-09HA: adaptive_lighting custom component to follow daylightJoe Mou
2024-10-09Grow light cycleJoe Mou
2024-10-09Upgrade to NixOS 24.05Joe Mou
To resolve database collation version mismatches ("The database was created using collation version 2.38, but the operating system provides version 2.39."): $ sudo -u postgres psql > \c hass > REINDEX DATABASE hass; > ALTER DATABASE hass REFRESH COLLATION VERSION; [ Repeat for all databases (except special database template0) ]
2024-05-25Grow light as alarm automationJoe Mou
2024-05-06HA: improve panel light and thermostat automationsJoe Mou
Also fixes missing component errors.
2024-04-27elmo: Hoist subdomains and issue production certificatesJoe Mou
2024-04-23Panel light and thermostat HA automationsJoe Mou
2024-04-23Initial HA automations (panel light & bedroom thermostat)Joe Mou
2024-02-18Update and fix up tuya-local packagingJoe Mou
2024-02-15Port configs from weebnixJoe Mou