summaryrefslogtreecommitdiffstats
path: root/makefu/2configs/ham/device_tracker/openwrt.nix
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2020-09-16 22:24:12 +0200
committermakefu <github@syntax-fehler.de>2020-09-16 22:24:27 +0200
commit78a81a0b84ad0c3210bddf7675be4c1052291178 (patch)
treea87956e7814f1d84ce173fb9ee8c85947f89406a /makefu/2configs/ham/device_tracker/openwrt.nix
parent67425ef5016de845f66f0943594e5bf3fc58f8d9 (diff)
ma ham: add influxdb
Diffstat (limited to 'makefu/2configs/ham/device_tracker/openwrt.nix')
-rw-r--r--makefu/2configs/ham/device_tracker/openwrt.nix10
1 files changed, 10 insertions, 0 deletions
diff --git a/makefu/2configs/ham/device_tracker/openwrt.nix b/makefu/2configs/ham/device_tracker/openwrt.nix
new file mode 100644
index 000000000..8173fcfcb
--- /dev/null
+++ b/makefu/2configs/ham/device_tracker/openwrt.nix
@@ -0,0 +1,10 @@
+[
+ { platform = "luci";
+ host = "192.168.1.5";
+ username = "root";
+ password = import <secrets/hass/router.nix>;
+ interval_seconds = 30; # instead of 12seconds
+ consider_home = 300; # 5 minutes timeout
+ new_device_defaults.track_new_devices = true;
+ }
+]