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:
rzuasti
2026-06-01 17:58:13 -04:00
co-authored by Claude Opus 4.8
parent 936e9ffe79
commit 3f60eec311
3 changed files with 9 additions and 1 deletions
+1 -1
View File
@@ -8,7 +8,7 @@
- [x] Improve notifications layout/text
- [ ] Implement the pushover API call directly to support HTML content and review notification text to use it
- [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
- [ ] Add DHCP scanner
+3
View File
@@ -15,6 +15,9 @@ scan_duration="10m" # How long to wait for response packets on each scan (5m to
[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
[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]
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
+5
View File
@@ -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.";
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 {
type = types.str;
description = "For now just pushover, you can set this to none to avoid sending notifications (it will just log).";