Add ONVIF probe detector via unicast WS-Discovery

- Add ProbeONVIF() prober: sends unicast WS-Discovery to ip:3702,
  parses XAddrs, Name, Hardware from response (no auth needed)
- Add ONVIFResult struct to probe models
- Register ONVIF detector with highest priority (before HomeKit)
- Fix homekit.html back-wrapper max-width to match design system
This commit is contained in:
eduard256
2026-04-08 10:31:46 +00:00
parent 1291e6a5b6
commit 5be8d4aa00
4 changed files with 150 additions and 2 deletions
+8
View File
@@ -14,6 +14,7 @@ type Probes struct {
ARP *ARPResult `json:"arp"`
MDNS *MDNSResult `json:"mdns"`
HTTP *HTTPResult `json:"http"`
ONVIF *ONVIFResult `json:"onvif"`
}
type PortsResult struct {
@@ -43,3 +44,10 @@ type HTTPResult struct {
StatusCode int `json:"status_code"`
Server string `json:"server"`
}
type ONVIFResult struct {
URL string `json:"url"`
Port int `json:"port"`
Name string `json:"name,omitempty"`
Hardware string `json:"hardware,omitempty"`
}