!QhvgabMQzwEQeWehhZ:lossy.network

NixOS Home Automation

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

You have reached the beginning of time (for this room).


SenderMessageTime
3 Dec 2024
@spacekitteh:matrix.orgspacekittehOoh actually I need to add some assertions to it to check that avahi is enabled and configured correctly02:21:01
@hexa:lossy.network@hexa:lossy.networkthe default nixos firewall uses nftables02:22:11
@hexa:lossy.network@hexa:lossy.networkand boy that is a lot of vendor specific lingo02:22:29
@hexa:lossy.network@hexa:lossy.network * and I don't really understand otbr, so I hard to comment on the rest02:23:07
@hexa:lossy.network@hexa:lossy.network

to unclutter it a bit you could

let
  inherit (lib)
    mkEnableOption
    mkOption
    mkPackageOption
    types
    ;
in
02:23:48
@hexa:lossy.network@hexa:lossy.networkyou can also put the config let scope outside the module02:24:27
@hexa:lossy.network@hexa:lossy.networkhaving two let blocks doesn't really have a positive benefit02:24:37
@hexa:lossy.network@hexa:lossy.network it just creates another scope, which has a cost02:24:49
@spacekitteh:matrix.orgspacekitteh
In reply to @hexa:lossy.network
the default nixos firewall uses nftables
Unfortunately, otbr uses iptables and ipset :(
05:04:39
@spacekitteh:matrix.orgspacekitteh
In reply to @hexa:lossy.network
it just creates another scope, which has a cost
Right, I forget it's an interpreted language lol
05:05:14
4 Dec 2024
@mckr:matrix.orgmckr joined the room.05:21:37
@nmrshll:matrix.orgnmrshll joined the room.15:01:00
@hexa:lossy.network@hexa:lossy.networkhm great19:37:19
@hexa:lossy.network@hexa:lossy.networkaiohttp is on 3.10.10 on master19:37:37
@hexa:lossy.network@hexa:lossy.networkfrom october 10th19:38:18
@hexa:lossy.network@hexa:lossy.networkthe latest version is 3.11.9 now19:38:28
@hexa:lossy.network@hexa:lossy.networkand home-assistant and a few dependencies want it19:39:04
@netpleb:matrix.orgnetpleb

trying to get my zigbee dongle to work with HA...I added

  services.zigbee2mqtt = {
    enable = true;
    settings = {
      homeassistant = config.services.home-assistant.enable;
      permit_join = true;
      serial = {
        port = "/dev/serial/by-id/usb-ITead_Sonoff_Zigbee_3.0_USB_Dongle_Plus_06cdf5f0f71bef11930299d94909ffd0-if00-port0";
      };
    };
  };

but I am confused as to whether I also need to add "zha" to services.home-assistant.extraComponents

19:55:35
@crtified:crtified.meCRTified
In reply to @netpleb:matrix.org

trying to get my zigbee dongle to work with HA...I added

  services.zigbee2mqtt = {
    enable = true;
    settings = {
      homeassistant = config.services.home-assistant.enable;
      permit_join = true;
      serial = {
        port = "/dev/serial/by-id/usb-ITead_Sonoff_Zigbee_3.0_USB_Dongle_Plus_06cdf5f0f71bef11930299d94909ffd0-if00-port0";
      };
    };
  };

but I am confused as to whether I also need to add "zha" to services.home-assistant.extraComponents

That's not needed. zha is an alternative for interfacing zigbee
20:00:54
@crtified:crtified.meCRTifiedzigbee2mqtt however requires an additional mqtt broker like mosquitto20:01:12
@netpleb:matrix.orgnetpleb
In reply to @crtified:crtified.me
zigbee2mqtt however requires an additional mqtt broker like mosquitto
thanks for your help. I am also now starting to understand that. In my case I already have mosquitto installed and working (used by my HA zwave integration). So do I need to just somehow tell mosquito about zigbee2mqtt?
20:02:14
@crtified:crtified.meCRTified
In reply to @netpleb:matrix.org
thanks for your help. I am also now starting to understand that. In my case I already have mosquitto installed and working (used by my HA zwave integration). So do I need to just somehow tell mosquito about zigbee2mqtt?
You rather need to tell zigbee2mqtt about mosquitto. mosquitto is the message broker, and both HA and z2m connect to the broker as client, listening and sending messages over it
20:03:07

Show newer messages


Back to Room ListRoom Version: 6