!QhvgabMQzwEQeWehhZ:lossy.network

NixOS Home Automation

509 Members
Declarative Home Automation and other Sidequests | https://wiki.nixos.org/wiki/Home_Assistant133 Servers

Load older messages


SenderMessageTime
24 Feb 2025
@hexa:lossy.network@hexa:lossy.networkme neither21:04:56
@hexa:lossy.network@hexa:lossy.networkif the chip wheels still build we're fine21:05:03
@hexa:lossy.network@hexa:lossy.networkah ok … the matter integration is using the headless version23:45:41
@hexa:lossy.network@hexa:lossy.networkgot it23:45:42
25 Feb 2025
@macaroniskengz:matrix.orgmacaroniskengzIs there a way to add an admin token as a file in my declarative configuration? 01:09:03
@hexa:lossy.network@hexa:lossy.networkfor what service?01:12:25
@hexa:lossy.network@hexa:lossy.networkdo you mean a long-lived access token for home-assistant?01:13:00
@hexa:lossy.network@hexa:lossy.network* do you mean a long-lived access token for home-assistant? if so, no.01:13:05
@macaroniskengz:matrix.orgmacaroniskengzYes, this. Currently I try to built a Home Assistant WS API Proxy that allows finer permissions for the API.01:15:30
@hexa:lossy.network@hexa:lossy.networkI really would like for that to be possible to further test home-assistant in our nixos integration test01:16:02
@hexa:lossy.network@hexa:lossy.networkbut have yet to find a a way01:16:07
@macaroniskengz:matrix.orgmacaroniskengzRedacted or Malformed Event01:16:23
@macaroniskengz:matrix.orgmacaroniskengzIs it possible to declare HASS users?01:18:25
@macaroniskengz:matrix.orgmacaroniskengz* Is it currently possible to declare HASS users?01:18:29
@hexa:lossy.network@hexa:lossy.networkalso … no01:18:39
@hexa:lossy.network@hexa:lossy.networkyou have to do the onboarding, which creates the first user01:18:45
@hexa:lossy.network@hexa:lossy.networkand that user can create api tokens and other users01:18:58
@macaroniskengz:matrix.orgmacaroniskengzThanks for the clarification. This is very unfortunate, but I guess inevitable without major changes in Home Assistant01:20:56
@macaroniskengz:matrix.orgmacaroniskengzAnother question, can I pass a secret into Home Assistant and somehow use it when creating the token? 01:22:05
@macaroniskengz:matrix.orgmacaroniskengzI want my credentials declared as much as possible. 01:22:32
@macaroniskengz:matrix.orgmacaroniskengz* Another question, can I pass a secret into Home Assistant and somehow use it when creating the token after onboarding? 01:22:47
@hexa:lossy.network@hexa:lossy.networkyou can use auth-oidc01:22:54
@hexa:lossy.network@hexa:lossy.networkif you want to tie it into an idm/sso setup01:23:06
@hexa:lossy.network@hexa:lossy.networkbut again, not declarative user management01:23:16
@hexa:lossy.network@hexa:lossy.network* but again, no declarative user management01:23:20
@hexa:lossy.network@hexa:lossy.networkhttps://github.com/christiaangoossens/hass-oidc-auth01:23:43
@macaroniskengz:matrix.orgmacaroniskengzNot really, seems overkill to be honest as I don't have any OID infrastructure yet 01:23:57
@macaroniskengz:matrix.orgmacaroniskengzMaybe I just have to accept that Home Assistant will come with some state and I cannot do anything about it 01:25:51
@macaroniskengz:matrix.orgmacaroniskengzA more HASS related question: can I obtain a "short-lived" access token by performing the usual login flow as part of the frontend to use the WebSockets API? I mean: instead of using a Long Lived Access Token to use the API, I perform the flow and after passing my credentials to Home Assistant I receive a access token that expires in some time.01:29:43
@hexa:lossy.network@hexa:lossy.networkhome-assistant stores the session data in local storage01:31:14

Show newer messages


Back to Room ListRoom Version: 6