This repository has no description
0

Configure Feed

Select the types of activity you want to include in your feed.

hass/zigbee: use package from flake inputs

+2 -11
+2 -11
nixos/2configs/hass/zigbee.nix
··· 1 - {config, pkgs, lib, ...}: let 2 - 3 - unstable-pkgs = import <nixpkgs-unstable> {}; 4 - 5 - in { 1 + { 6 2 # symlink the zigbee controller 7 3 services.udev.extraRules = '' 8 4 SUBSYSTEM=="tty", ATTRS{idVendor}=="0451", ATTRS{idProduct}=="16a8", SYMLINK+="cc2531", MODE="0660", GROUP="dialout" ··· 14 10 15 11 services.zigbee2mqtt = { 16 12 enable = true; 17 - package = unstable-pkgs.zigbee2mqtt; 18 13 settings = { 19 14 homeassistant = true; 20 15 frontend.port = 1337; ··· 34 29 advanced = { 35 30 pan_id = 4222; 36 31 }; 37 - devices = let 38 - set_device = id: name: 39 - lib.nameValuePair id { 40 - }; 41 - in { 32 + devices = { 42 33 # lights https://www.zigbee2mqtt.io/devices/9290022166.html#philips-9290022166 43 34 "0x0017880106ed3bd8".friendly_name = "l_bett"; 44 35 "0x0017880108327622".friendly_name = "l_essen";