From ce2aadff1c8d1d44a51c3be27570c64e14fd13c1 Mon Sep 17 00:00:00 2001 From: makefu Date: Tue, 9 Mar 2021 22:14:51 +0100 Subject: ma ham -> ma home/ham --- makefu/2configs/home/ham/device_tracker/openwrt.nix | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 makefu/2configs/home/ham/device_tracker/openwrt.nix (limited to 'makefu/2configs/home/ham/device_tracker') diff --git a/makefu/2configs/home/ham/device_tracker/openwrt.nix b/makefu/2configs/home/ham/device_tracker/openwrt.nix new file mode 100644 index 000000000..0a34f702a --- /dev/null +++ b/makefu/2configs/home/ham/device_tracker/openwrt.nix @@ -0,0 +1,13 @@ +{ + services.home-assistant.config.device_tracker = + [ + { platform = "luci"; + host = "192.168.1.5"; + username = "root"; + password = import ; + interval_seconds = 30; # instead of 12seconds + consider_home = 300; # 5 minutes timeout + new_device_defaults.track_new_devices = true; + } + ]; +} -- cgit v1.2.3