mirror of
https://github.com/rzuasti/oott.git
synced 2026-07-08 19:21:54 +02:00
Add SSDP scanner config to sample TOML and Nix module
Expose the ssdp_scanner.probe_timeout option (default 2s, mirroring the mDNS scanner) in the sample config and the NixOS service module. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.8
parent
936e9ffe79
commit
3f60eec311
@@ -8,7 +8,7 @@
|
|||||||
- [x] Improve notifications layout/text
|
- [x] Improve notifications layout/text
|
||||||
- [ ] Implement the pushover API call directly to support HTML content and review notification text to use it
|
- [ ] Implement the pushover API call directly to support HTML content and review notification text to use it
|
||||||
- [x] Add SSDP/uPNP scanner
|
- [x] Add SSDP/uPNP scanner
|
||||||
- [ ] Make sure the new config options are in the TOML files and Nix module
|
- [x] Make sure the new config options are in the TOML files and Nix module
|
||||||
- [ ] Document in README.md the port needs/bindings
|
- [ ] Document in README.md the port needs/bindings
|
||||||
- [ ] Add DHCP scanner
|
- [ ] Add DHCP scanner
|
||||||
|
|
||||||
|
|||||||
@@ -15,6 +15,9 @@ scan_duration="10m" # How long to wait for response packets on each scan (5m to
|
|||||||
[mdns_scanner]
|
[mdns_scanner]
|
||||||
probe_timeout="2s" # When an mDNS-discovered IP is not in the OS ARP cache, how long to wait for a targeted ARP probe reply to resolve its MAC address
|
probe_timeout="2s" # When an mDNS-discovered IP is not in the OS ARP cache, how long to wait for a targeted ARP probe reply to resolve its MAC address
|
||||||
|
|
||||||
|
[ssdp_scanner]
|
||||||
|
probe_timeout="2s" # When an SSDP/UPnP-discovered IP is not in the OS ARP cache, how long to wait for a targeted ARP probe reply to resolve its MAC address
|
||||||
|
|
||||||
[notifications]
|
[notifications]
|
||||||
method="pushover" # For now just pushover, you can set this to "none" to avoid sending notifications (it will just log)
|
method="pushover" # For now just pushover, you can set this to "none" to avoid sending notifications (it will just log)
|
||||||
notify_when_not_seen_for="1w" # Send a notification if a device comes back online after not being seen for this timeframe
|
notify_when_not_seen_for="1w" # Send a notification if a device comes back online after not being seen for this timeframe
|
||||||
|
|||||||
@@ -51,6 +51,11 @@ in {
|
|||||||
description = "When an mDNS-discovered IP is not in the OS ARP cache, how long to wait for a targeted ARP probe reply to resolve its MAC address.";
|
description = "When an mDNS-discovered IP is not in the OS ARP cache, how long to wait for a targeted ARP probe reply to resolve its MAC address.";
|
||||||
default = "2s";
|
default = "2s";
|
||||||
};
|
};
|
||||||
|
ssdp_scanner.probe_timeout = mkOption {
|
||||||
|
type = types.str;
|
||||||
|
description = "When an SSDP/UPnP-discovered IP is not in the OS ARP cache, how long to wait for a targeted ARP probe reply to resolve its MAC address.";
|
||||||
|
default = "2s";
|
||||||
|
};
|
||||||
notifications.method = mkOption {
|
notifications.method = mkOption {
|
||||||
type = types.str;
|
type = types.str;
|
||||||
description = "For now just pushover, you can set this to none to avoid sending notifications (it will just log).";
|
description = "For now just pushover, you can set this to none to avoid sending notifications (it will just log).";
|
||||||
|
|||||||
Reference in New Issue
Block a user