!QhvgabMQzwEQeWehhZ:lossy.network

NixOS Home Automation

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

Load older messages


SenderMessageTime
6 Feb 2025
@elonsroadster:matrix.orgcolonelpanicWow okay, don't you need to specify the wake word address?22:34:23
@hexa:lossy.networkhexauh no22:34:33
@hexa:lossy.networkhexathat is a pipeline that goes via home-assistant22:34:40
@hexa:lossy.networkhexahome-assistant is like a control panel for that pipeline22:34:51
@elonsroadster:matrix.orgcolonelpanicwell i mean there is the --wake-uri flag to the satellite22:46:03
@elonsroadster:matrix.orgcolonelpanici think maybe that is specifically for using local wake word detection and avoiding any streaming when no voice is detected22:46:29
@elonsroadster:matrix.orgcolonelpanicso kind of like a replacement for --vad22:47:03
@hexa:lossy.networkhexayeah, that is indeed local wake word22:49:36
@elonsroadster:matrix.orgcolonelpanicmaybe i haven't done the pipeline properly. it seems like you're suggesting that the typical setup is the satellite -> homeAssistant -> openWakeWord -> homeAssistant -> the satellite22:50:47
@elonsroadster:matrix.orgcolonelpanicnone of the tutorial that i've seen indicate that much beyond adding the wyoming protocol devices should be required though22:51:07
@hexa:lossy.networkhexayeah, everything here goes through home-assistant22:53:49
@hexa:lossy.networkhexabut bypassing home-assistant for local wake word is a possibility22:54:02
7 Feb 2025
@sleepymonad:matrix.org@sleepymonad:matrix.org left the room.08:45:20
8 Feb 2025
@nazarewk:matrix.orgkdn Any idea what kind of kernel module is needed for cp210x / ZBT-1 / Home Assistant SkyConnect 10:06:41
@elonsroadster:matrix.orgcolonelpanicI didn't need to add a kernel module for the zbt-1. Why are you assuming one is needed?10:36:06
@macaroniskengz:matrix.orgmacaroniskengzHas somebody used Home Assistant with impermanence? 11:13:29
@macaroniskengz:matrix.orgmacaroniskengzAnd does backup and restore work with declarative Home Assistant setup work? 11:58:00
@macaroniskengz:matrix.orgmacaroniskengz* And does backup and restore work with declarative Home Assistant setup? 11:58:07
@oddlama:matrix.orgoddlama

yes, all you need is something like

  environment.persistence."/persist".directories = [
    {
      directory = config.services.home-assistant.configDir;
      user = "hass";
      group = "hass";
      mode = "0700";
    }
  ];
13:04:45
@oddlama:matrix.orgoddlamaI personally just backup the persisted directory directly, I have not tested the internal backup/restore13:05:27
@hexa:lossy.networkhexa
In reply to @nazarewk:matrix.org
Any idea what kind of kernel module is needed for cp210x / ZBT-1 / Home Assistant SkyConnect
That is just a USB serial device
13:11:23
@macaroniskengz:matrix.orgmacaroniskengz Has somebody installed zha-toolkit? 13:15:42
@macaroniskengz:matrix.orgmacaroniskengzAnd is there a better way to add a new custom component than to switch whole Nixpkgs to a custom fork? 13:53:01
@macaroniskengz:matrix.orgmacaroniskengz

I just created this:

{ lib, stdenv, pkgs, fetchFromGitHub, buildHomeAssistantComponent }:

let repoName = "zha-toolkit"; in buildHomeAssistantComponent
rec{
  owner = "mdeweerd";
  domain = "zha_toolkit";
  version = "1.1.25";

  src = fetchFromGitHub {
    inherit owner;
    repo = repoName;
    tag = "v${version}";
    hash = "sha256-e80zjBuzz0W9RkY2BEN4LVXp1h/KiYmyPXmdyaQSctU=";
  };

  dependencies = with pkgs.python312Packages; [
    aiofiles
    pytz
  ];

  meta = with lib; {
    changelog = "https://github.com/${owner}/${repoName}/releases/tag/v${version}";
    description = "Home Assistant integration framework for (garbage collection) schedules";
    homepage = "https://github.com/${owner}/${repoName}/";
    maintainers = with maintainers; [ jamiemagee ];
    license = licenses.mit;
  };
}

and imported it with

    customComponents = [
      (pkgs.callPackage ./zha-toolkit.nix { })
    ];
14:45:28
@macaroniskengz:matrix.orgmacaroniskengz The installation guide of zha-toolkit specifies that the configuration.yaml needs to contain zha_toolkit: . How can I achieve this? 14:46:09
@hexa:lossy.networkhexaservices.home-assistant.config.zha_toolkit = {};14:53:42
@hexa:lossy.networkhexa *
services.home-assistant.config.zha\_toolkit = {};
14:53:45
@hexa:lossy.networkhexa *
services.home-assistant.config.zha_toolkit = {};
14:53:51
@robert:funklause.dedotlambda
In reply to @macaroniskengz:matrix.org

I just created this:

{ lib, stdenv, pkgs, fetchFromGitHub, buildHomeAssistantComponent }:

let repoName = "zha-toolkit"; in buildHomeAssistantComponent
rec{
  owner = "mdeweerd";
  domain = "zha_toolkit";
  version = "1.1.25";

  src = fetchFromGitHub {
    inherit owner;
    repo = repoName;
    tag = "v${version}";
    hash = "sha256-e80zjBuzz0W9RkY2BEN4LVXp1h/KiYmyPXmdyaQSctU=";
  };

  dependencies = with pkgs.python312Packages; [
    aiofiles
    pytz
  ];

  meta = with lib; {
    changelog = "https://github.com/${owner}/${repoName}/releases/tag/v${version}";
    description = "Home Assistant integration framework for (garbage collection) schedules";
    homepage = "https://github.com/${owner}/${repoName}/";
    maintainers = with maintainers; [ jamiemagee ];
    license = licenses.mit;
  };
}

and imported it with

    customComponents = [
      (pkgs.callPackage ./zha-toolkit.nix { })
    ];
You should add it to Nixpkgs ;-)
17:20:54
@mattleon:matrix.orgmattleonDoes anyone here have light switches that work well with declarative configuration in hass? I currently have tuya wifi switches that are declaratively configured, but I'm anticipating moving and getting new light switches. Would prefer to configure via yaml. 17:44:21

There are no newer messages yet.


Back to Room ListRoom Version: 6