!QhvgabMQzwEQeWehhZ:lossy.network

NixOS Home Automation

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

Load older messages


SenderMessageTime
8 May 2025
@hexa:lossy.network@hexa:lossy.network* expressive 🫣17:02:00
@hexa:lossy.network@hexa:lossy.networkespressif donated 25k to the open home foundation17:02:08
@hexa:lossy.network@hexa:lossy.networkwhich is probably the money he talks about17:02:15
9 May 2025
@kranzes:matrix.orgkranzes

Can somebody know why I'm getting lots of errors about missing bluetooth and ZHA related python modules with the following config:

 services.home-assistant = {
    enable = true;
    extraPackages = ps: with ps; [ psycopg2 ];
    extraComponents = [
      "isal"
      "history"
      "logbook"
      "mobile_app"
      "zeroconf"
      "esphome"
      "met"
      "smlight"
    ];
    customComponents = with pkgs.home-assistant-custom-components; [
      auth_oidc
    ];
    config = {
      http = {
        server_host = "127.0.0.1";
        trusted_proxies = [ hassCfg.http.server_host ];
        use_x_forwarded_for = true;
        cors_allowed_origins = [ "https://portal.ilanjoselevich.com" ];
      };
      homeassistant.external_url = "https://${domain}";
      recorder.db_url = "postgresql://@/hass";
      auth_oidc = {
        client_id = "home-assistant";
        discovery_url = "https://idm.ilanjoselevich.com/oauth2/openid/home-assistant/.well-known/openid-configuration";;
        client_secret = "!secret auth_oidc_client_secret";
        id_token_signing_alg = "ES256";
        roles.admin = "home-assistant_admins@idm.ilanjoselevich.com";
      };
      frontend.themes = "!include ${catppuccin-theme}";
      history = { };
      logbook = { };
      zeroconf = { };
      mobile_app = { };
    };
  };
01:15:27
@kranzes:matrix.orgkranzes *

Does somebody know why I'm getting lots of errors about missing bluetooth and ZHA related python modules with the following config:

 services.home-assistant = {
    enable = true;
    extraPackages = ps: with ps; [ psycopg2 ];
    extraComponents = [
      "isal"
      "history"
      "logbook"
      "mobile_app"
      "zeroconf"
      "esphome"
      "met"
      "smlight"
    ];
    customComponents = with pkgs.home-assistant-custom-components; [
      auth_oidc
    ];
    config = {
      http = {
        server_host = "127.0.0.1";
        trusted_proxies = [ hassCfg.http.server_host ];
        use_x_forwarded_for = true;
        cors_allowed_origins = [ "https://portal.ilanjoselevich.com" ];
      };
      homeassistant.external_url = "https://${domain}";
      recorder.db_url = "postgresql://@/hass";
      auth_oidc = {
        client_id = "home-assistant";
        discovery_url = "https://idm.ilanjoselevich.com/oauth2/openid/home-assistant/.well-known/openid-configuration";;
        client_secret = "!secret auth_oidc_client_secret";
        id_token_signing_alg = "ES256";
        roles.admin = "home-assistant_admins@idm.ilanjoselevich.com";
      };
      frontend.themes = "!include ${catppuccin-theme}";
      history = { };
      logbook = { };
      zeroconf = { };
      mobile_app = { };
    };
  };
01:15:38
@hexa:lossy.network@hexa:lossy.networkprobably discovery01:15:47
@kranzes:matrix.orgkranzesI understand that I am without the default_config, but still a bit confusing01:15:56
@kranzes:matrix.orgkranzesIt is from zerconf I think?01:16:05
@kranzes:matrix.orgkranzesyeah01:16:07
@kranzes:matrix.orgkranzeshmmm, why does it do that?01:16:12
@kranzes:matrix.orgkranzesI dont want any bluetooth or ZHA stuff, but I also don't want default_config, and I do want mdns discovery01:16:38
@kranzes:matrix.orgkranzeswhat are my options?01:16:40
@hexa:lossy.network@hexa:lossy.networkdo you have a zigbee dongle?01:16:47
@kranzes:matrix.orgkranzesYes01:16:51
@kranzes:matrix.orgkranzesI also have an esphome device that can do bluetooth01:17:02
@sandro:supersandro.deSandro 🐧maybe auto discovery?01:17:02
@hexa:lossy.network@hexa:lossy.networkhttps://github.com/home-assistant/core/blob/dev/homeassistant/components/zha/manifest.json01:17:06
@kranzes:matrix.orgkranzesthey get discovered, and then spammed with errors01:17:09
@kranzes:matrix.orgkranzesHmm01:17:47
@kranzes:matrix.orgkranzesMaybe I don't understand the infra then01:18:01
@hexa:lossy.network@hexa:lossy.networkcould also be a component dependency01:18:19
@kranzes:matrix.orgkranzesI only want them to be discovered for components which I have explicitly enabled01:18:27
@kranzes:matrix.orgkranzesLet me get rid of zeroconf real quick01:18:44
@hexa:lossy.network@hexa:lossy.networke.g. frontend depends on01:19:51
@hexa:lossy.network@hexa:lossy.network
  "dependencies": [
    "api",
    "auth",
    "config",
    "device_automation",
    "diagnostics",
    "file_upload",
    "http",
    "lovelace",
    "onboarding",
    "repairs",
    "search",
    "system_log",
    "websocket_api"
  ],
01:19:54
@hexa:lossy.network@hexa:lossy.networksome time ago I built a full dependency tree, but not sure where that code is now01:20:28
@hexa:lossy.network@hexa:lossy.networkbasically something depends on https://www.home-assistant.io/integrations/usb/01:20:41
@kranzes:matrix.orgkranzesIt's not a USB dongle01:21:11
@kranzes:matrix.orgkranzesok so I got rid of zeroconf, now I don't get any complains from ZHA, but I do get from bluetooth still01:21:29
@kranzes:matrix.orgkranzesmore specifically xiaomi_ble01:21:48

Show newer messages


Back to Room ListRoom Version: 6