2019-06-17 05:54:31 +00:00
|
|
|
# requires `opkg install luci-mod-rpc` on router
|
|
|
|
# see https://www.home-assistant.io/components/luci/
|
|
|
|
|
2019-04-04 07:50:16 +00:00
|
|
|
[
|
|
|
|
{ platform = "luci";
|
|
|
|
name = "router";
|
|
|
|
host = "192.168.8.1";
|
|
|
|
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;
|
|
|
|
hide_if_away = false;
|
|
|
|
};
|
|
|
|
}
|
|
|
|
]
|