!QhvgabMQzwEQeWehhZ:lossy.network

NixOS Home Automation

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

Load older messages


SenderMessageTime
12 Dec 2024
@hexa:lossy.networkhexacan you create a poc?23:33:51
@hexa:lossy.networkhexa * can you create a poc so we can take a look at it?23:33:56
@spacekitteh:matrix.orgspacekitteh wouldn't it just be an extra derivation like, home-assistant-source = <whatever the stdenv helper is for just grabbing and unpacking a tarball is as a derivation> and then in the actual homeassistant derivation, src = pkgs.home-assistant-source;? 23:35:49
@hexa:lossy.networkhexamaybe? 😄 23:36:34
@spacekitteh:matrix.orgspacekittehwait, where does it decompress the soruce code ~900 times?23:41:37
@spacekitteh:matrix.orgspacekitteh
  # extract translations from pypi sdist
  prePatch = ''
    tar --extract --gzip --file $sdist --strip-components 1 --wildcards "**/translations"
  '';

is that what's being talked about?

23:42:25
@hexa:lossy.networkhexa
Sourcing python-remove-tests-dir-hook
Sourcing python-catch-conflicts-hook.sh
Sourcing python-remove-bin-bytecode-hook.sh
Sourcing python-imports-check-hook.sh
Using pythonImportsCheckPhase
Sourcing python-namespaces-hook
Sourcing pytest-check-hook
Using pytestCheckPhase
Running phase: unpackPhase
unpacking source archive /nix/store/c6fqqhisfzjxb9zi6lrpby3pzs6hbndw-source <------------
source root is source
setting SOURCE_DATE_EPOCH to timestamp 315619200 of file source/tests/util/yaml/test_secrets.py
Running phase: patchPhase
23:42:40
@hexa:lossy.networkhexathat is like stdenv.mkDerivation logic23:42:57
@hexa:lossy.networkhexaI don't touch anything before patchPhase really23:43:16
@spacekitteh:matrix.orgspacekittehright but i mean, which packages is causing it23:43:21
@hexa:lossy.networkhexamaybe it is trivial-builders?23:44:10
@hexa:lossy.networkhexano it is not23:44:19
@spacekitteh:matrix.orgspacekittehno no, i mean, what top level package23:44:22
@spacekitteh:matrix.orgspacekittehis it the actual home-assistant package?23:44:31
@hexa:lossy.networkhexae.g. home-assistant-component-tests.folder_watcher23:44:33
@spacekitteh:matrix.orgspacekittehah23:44:39
@hexa:lossy.networkhexa because they are effectively home-assistant.overridePythonAttrs {} 23:45:01
@hexa:lossy.networkhexato get the same environment as home-assistant but only run the tests23:45:15
@spacekitteh:matrix.orgspacekitteh i'm surprised fetchFromGithub doesn't automatically create a derivation tbh 23:47:52
@hexa:lossy.networkhexaall sources are fixed output derivations23:51:50
@spacekitteh:matrix.orgspacekitteh sorry, i mean it doesn't create the derivation for the decompressed src, rather than the compressed src 23:52:48
13 Dec 2024
@spacekitteh:matrix.orgspacekittehhmmm. whenever i try to use the homeassistant mobile app to connect to HA behind an nginx reverse proxy, it seems to cause a hang in nginx with zstd compression03:37:16
14 Dec 2024
@spacekitteh:matrix.orgspacekittehin my HA home settings, is there a way to read the lat/long of my home via a sops-nix file?03:26:16
@spacekitteh:matrix.orgspacekittehoh of course there is, i'm still waking up x305:01:27
16 Dec 2024
@boolis:matrix.orgboolis

how do I enable the wakeword engine in home-assistant?

home-assistant.config.wake_word = {};
home-assistant.extraComponents = [ "wake_word" ];
13:33:16
@hexa:lossy.networkhexauh, something wyoming?14:44:23
@hexa:lossy.networkhexa take a look at services.wyoming.openwakeword 14:45:35
@hexa:lossy.networkhexathen enable the wyoming component in home-assistant14:45:43
@hexa:lossy.networkhexaand connect the two14:45:49
@boolis:matrix.orgboolisoh right, apparently I have that enabled aswell. I had this working a while back but now it just doesnt14:50:46

Show newer messages


Back to Room ListRoom Version: 6