zigbee2mqtt: enable home assistant
This commit is contained in:
parent
8a7fc61a2d
commit
1a9adfb2c3
2 changed files with 54 additions and 2 deletions
|
@ -26,11 +26,19 @@
|
|||
environment.systemPackages = with pkgs; [];
|
||||
|
||||
services.mosquitto = {
|
||||
users = {};
|
||||
users = {
|
||||
victor = {
|
||||
acl = ["topic readwrite #"];
|
||||
};
|
||||
zigbee2mqtt = {
|
||||
acl = ["topic readwrite #"];
|
||||
};
|
||||
};
|
||||
enable = true;
|
||||
|
||||
port = 1883;
|
||||
host = "0.0.0.0";
|
||||
|
||||
allowAnonymous = true;
|
||||
aclExtraConf = "topic readwrite #";
|
||||
};
|
||||
|
@ -39,7 +47,7 @@
|
|||
enable = true;
|
||||
dataDir = "/var/lib/zigbee2mqtt";
|
||||
settings = {
|
||||
homeassistant = false;
|
||||
homeassistant = true;
|
||||
permit_join = true;
|
||||
|
||||
serial = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue