zigbee using new stick
This commit is contained in:
parent
74181f747f
commit
5111e01095
2 changed files with 16 additions and 12 deletions
|
@ -28,7 +28,7 @@ in {
|
||||||
homeassistant = false;
|
homeassistant = false;
|
||||||
|
|
||||||
# allow new devices to join
|
# allow new devices to join
|
||||||
permit_join = false;
|
permit_join = true;
|
||||||
|
|
||||||
# MQTT settings
|
# MQTT settings
|
||||||
mqtt = {
|
mqtt = {
|
||||||
|
@ -43,9 +43,10 @@ in {
|
||||||
|
|
||||||
# Serial settings
|
# Serial settings
|
||||||
serial = {
|
serial = {
|
||||||
port = "/dev/ttyACM0";
|
#port = "/dev/ttyACM0";
|
||||||
|
port = "/dev/ttyUSB0";
|
||||||
# disable LED of CC2531 USB sniffer
|
# disable LED of CC2531 USB sniffer
|
||||||
disable_led = true;
|
#disable_led = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
# you own network key,
|
# you own network key,
|
||||||
|
@ -54,6 +55,8 @@ in {
|
||||||
advanced.network_key = import <secrets/home-assistant/zigbee/networkKey>;
|
advanced.network_key = import <secrets/home-assistant/zigbee/networkKey>;
|
||||||
advanced.log_output = [ "console" ];
|
advanced.log_output = [ "console" ];
|
||||||
|
|
||||||
|
advanced.pan_id = 1337;
|
||||||
|
|
||||||
# configure web ui
|
# configure web ui
|
||||||
frontend.port = 9666;
|
frontend.port = 9666;
|
||||||
frontend.host = "0.0.0.0";
|
frontend.host = "0.0.0.0";
|
||||||
|
|
|
@ -21,15 +21,16 @@ let
|
||||||
${pkgs.taskwarrior}/bin/task "$@"
|
${pkgs.taskwarrior}/bin/task "$@"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
vit = unstable.vit.overrideAttrs (old: rec {
|
#vit = unstable.vit.overrideAttrs (old: rec {
|
||||||
name = "vit-${version}";
|
# name = "vit-${version}";
|
||||||
version = "master";
|
# version = "master";
|
||||||
src = pkgs.fetchgit {
|
# src = pkgs.fetchgit {
|
||||||
url = "https://github.com/scottkosty/vit.git";
|
# url = "https://github.com/scottkosty/vit.git";
|
||||||
rev = "7200949214362139e8073b6ca1a58cc756b2ebd0";
|
# rev = "7200949214362139e8073b6ca1a58cc756b2ebd0";
|
||||||
sha256 = "1s0rvqn8xjy3qiw9034wfzz2r7mwary70x32fqprz2w2h5r73j2m";
|
# sha256 = "1s0rvqn8xjy3qiw9034wfzz2r7mwary70x32fqprz2w2h5r73j2m";
|
||||||
};
|
# };
|
||||||
});
|
#});
|
||||||
|
vit = pkgs.vit;
|
||||||
|
|
||||||
in {
|
in {
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue