summaryrefslogtreecommitdiffstats
path: root/makefu/2configs/home/ham/device_tracker/openwrt.nix
blob: 0a34f702a57e99adcc044087ae79ef7b91decb40 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
{
  services.home-assistant.config.device_tracker =
  [
    { 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;
    }
  ];
}