!QhvgabMQzwEQeWehhZ:lossy.network

NixOS Home Automation

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

Load older messages


SenderMessageTime
25 Feb 2025
@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
@hexa:lossy.network@hexa:lossy.network* home-assistant stores the session data in local storage in the browser01:32:00
@hexa:lossy.network@hexa:lossy.networknot sure how it looks on the wire01:32:06
@hexa:lossy.network@hexa:lossy.networkzigbee2mqtt 2.1.1 on master https://github.com/NixOS/nixpkgs/pull/371053 04:09:29
@hexa:lossy.network@hexa:lossy.networkit is opt in04:09:32
@hexa:lossy.network@hexa:lossy.networkuse the 25.05 cycle to migrate to zigbee2mqtt_204:09:51
@hexa:lossy.network@hexa:lossy.networkwill remove zigbee2mqtt_1 after the 25.05 branch-off, so it will not be in 25.1104:10:06
27 Feb 2025
@mfmcl:matrix.orgmike changed their profile picture.13:53:50
@sandro:supersandro.deSandro 🐧is that better than the ldap login script?18:54:53
@hexa:lossy.network@hexa:lossy.networkdid you intend to quote the message about auth-oidc?18:55:36
@hexa:lossy.network@hexa:lossy.networkI have not yet tried it, and I'm not sure I will18:55:49
@hexa:lossy.network@hexa:lossy.networkI'll prefer an OIDC flow any day over LDAP18:55:58

Show newer messages


Back to Room ListRoom Version: 6