!QhvgabMQzwEQeWehhZ:lossy.network

NixOS Home Automation

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

Load older messages


SenderMessageTime
24 Aug 2021
@hexa:lossy.network@hexa:lossy.network setting package like you are doing it probably means you run the tests when deploying? 12:34:15
@hexa:lossy.network@hexa:lossy.networksee https://github.com/NixOS/nixpkgs/blob/df2f45b347d57bdc99aaa96ee227a37f5201c9dc/nixos/modules/services/misc/home-assistant.nix#L187-L20912:35:01
@noah:matrix.chatsubo.cafeChurchYeah was out and about, ssh from the phone is annoying. :P12:40:15
@noah:matrix.chatsubo.cafeChurchLet me go see what it actually is in a few12:40:25
@noah:matrix.chatsubo.cafeChurchYep owners are root:dialout12:54:18
@noah:matrix.chatsubo.cafeChurchTried with my HUBUSB stick and chown'ing to hass:hass worked12:54:34
@hexa:lossy.network@hexa:lossy.networkthat is one solution, though I wouldn't expect this to be necessary with https://github.com/NixOS/nixpkgs/pull/13554012:57:02
@hexa:lossy.network@hexa:lossy.networkit puts your hass into the dialout group already12:57:12
1 Sep 2021
@hexa:lossy.network@hexa:lossy.networkthinking about how to handle the hass update with the python-unstable branch in mind18:37:00
@hexa:lossy.network@hexa:lossy.networkthere is a certain overlap, but python-unstable goes through staging18:37:18
@hexa:lossy.network@hexa:lossy.networkbasing on staging, due to the large overlap of updated packages20:00:08
@hexa:lossy.network@hexa:lossy.networkmeans it will likely be delayed 10-14 days20:00:19
3 Sep 2021
@iclanzan:matrix.orgiclanzan Where could I store assets such as images for use in HA’s UI (picture-glance) and how would I reference them? Been trying allowlist_external_dirs without success. 21:54:23
@zhaofeng:zhaofeng.liZhaofeng LiNever used picture glance, but something like "${./path/to/some.jpg}" should work22:33:26
@iclanzan:matrix.orgiclanzanIt doesn't unfortunately because the lovelace html can't just reference arbitrary stuff from the nix store22:37:13
@hexa:lossy.network@hexa:lossy.networkadd another location block to your reverse proxy that points whereever22:52:41
4 Sep 2021
@iclanzan:matrix.orgiclanzanThant worked, thank you for the idea!00:56:33
@iclanzan:matrix.orgiclanzan * That worked, thank you for the idea!00:56:38
7 Sep 2021
@schnecfk:ruhr-uni-bochum.deCRTified

Is it me or is aioesphomeapi broken on unstable?

2021-09-07 22:14:48 ERROR (MainThread) [homeassistant.setup] Unable to prepare setup for platform esphome.light: Platform not found (cannot import name 'LightColorMode' from 'aioesphomeapi' (/nix/store/yw40d736xvv7criyfffz88pcfnvvavx0-python3.9-aioesphomeapi-8.0.0/lib/python3.9/site-packages/aioesphomeapi/__init__.py)).
20:18:30
@hexa:lossy.network@hexa:lossy.networkit is20:35:30
@hexa:lossy.network@hexa:lossy.networkhttps://github.com/NixOS/nixpkgs/pull/135669#issuecomment-91217795420:35:50
@schnecfk:ruhr-uni-bochum.deCRTified Thanks, the github search works "flawless" when searching for aioesphomeapi... 20:36:29
@hexa:lossy.network@hexa:lossy.network
In reply to @hexa:lossy.network
thinking about how to handle the hass update with the python-unstable branch in mind
this relates to home-assistant update being delayed due to ^
20:36:36
@hexa:lossy.network@hexa:lossy.networkpython-unstable is currently in staging-next20:36:55
@hexa:lossy.network@hexa:lossy.networkI'd have to duplicate alot of updates that are currnetly in there to get home-assistant updated20:37:10
@hexa:lossy.network@hexa:lossy.networkif you can, please submit an override to home-assistant20:37:20
@schnecfk:ruhr-uni-bochum.deCRTified
In reply to @hexa:lossy.network
if you can, please submit an override to home-assistant

Something like this? It fixed it for me at least

pkgs.home-assistant.override {
  packageOverrides = self: super: {
    aioesphomeapi = super.aioesphomeapi.overrideAttrs (o: rec {
      version = "7.0.0";
      src = pkgs.fetchFromGitHub {
        owner = "esphome";
        repo = o.pname;
        rev = "v${version}";
        hash = "sha256-ho/1fpq4yAgmYNERPqs51oqr08ncaN9+GRTUUuGU7ps=";
      };
    });
  };
}

20:55:53
@hexa:lossy.network@hexa:lossy.networkYep and now integrate it into pkgs/server/home-assistant/default.nix and open a pull request 😊20:57:32
@schnecfk:ruhr-uni-bochum.deCRTified
In reply to @hexa:lossy.network
Yep and now integrate it into pkgs/server/home-assistant/default.nix and open a pull request 😊
https://github.com/NixOS/nixpkgs/pull/137030
21:09:08
15 Sep 2021
@hexa:lossy.network@hexa:lossy.networkhttps://github.com/NixOS/nixpkgs/pull/13802516:12:14

Show newer messages


Back to Room ListRoom Version: 6