mediaserver: update config
This commit is contained in:
parent
adee1c5f81
commit
635d20815a
2 changed files with 46 additions and 34 deletions
Binary file not shown.
|
@ -17,7 +17,8 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
services.mosquitto.listeners = [
|
services.mosquitto = {
|
||||||
|
listeners = [
|
||||||
{
|
{
|
||||||
address = "0.0.0.0";
|
address = "0.0.0.0";
|
||||||
port = 1883;
|
port = 1883;
|
||||||
|
@ -55,6 +56,17 @@
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
|
bridges.home-assistant = {
|
||||||
|
addresses = [{ address = "10.0.0.230"; port = 1883; }];
|
||||||
|
settings = {
|
||||||
|
remote_username = "mqtt_bridge";
|
||||||
|
remote_password = "verySecurePassword";
|
||||||
|
try_private = true;
|
||||||
|
};
|
||||||
|
topics = [ "hadata/# out" "deye/# out" ];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
networking.firewall.interfaces =
|
networking.firewall.interfaces =
|
||||||
let
|
let
|
||||||
mosquittoPorts = [ 1883 ];
|
mosquittoPorts = [ 1883 ];
|
||||||
|
|
Loading…
Reference in a new issue