Skip to content

Conversation

@NirBY
Copy link

@NirBY NirBY commented Oct 11, 2025

Fixes #513

  • Skip ptz.cgi?action=getStatus probe on NVR models (400/timeout)
  • Add timeout + exception handling around PTZ probe
  • Only load 'switch' when coaxial control supported; skip 'light' when no lighting

Fixes rroller#513

- Skip ptz.cgi?action=getStatus probe on NVR models (400/timeout)
- Add timeout + exception handling around PTZ probe
- Only load 'switch' when coaxial control supported; skip 'light' when no lighting
ndrwstn pushed a commit to ndrwstn/hacs-dahua that referenced this pull request Nov 29, 2025
Apply key fixes from PR rroller#514 (rroller/dahua by NirBY).

- Skip 'switch' platform if no coaxial control support
- Skip 'light' platform if no lighting support
- Skip PTZ probe on NVR models (prevents 400/timeout errors)
- Add 5-second timeout to PTZ probe with proper exception handling

Preserves our TCPConnector connection stability fixes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Issue after upgrade to 0.9.76 - CancelledError

1 participant