Skip to content

v1.2.1

Choose a tag to compare

@JoshADC JoshADC released this 17 Apr 14:50
· 4 commits to main since this release

What's changed

  • Sub-endpoint fallback for stubborn cameras — Some Hikvision models (e.g. DS-2CD3367WDP2V2-L) reject all writes to /ISAPI/Image/channels/1 with notSupport, even when sending unmodified XML. When the full endpoint returns notSupport on a single-field change, the integration now automatically retries against the corresponding sub-endpoint (e.g. /Shutter, /SupplementLight). Cameras that already worked continue to use the full endpoint unchanged.
  • PUT body debug logging — All four PUT sites now log the outgoing XML at debug level, making it easier to diagnose firmware-specific rejection behavior. Enable with logger.set_level action and custom_components.hikvision_isapi: debug.

Credits

Thanks to @lkwchoi for diagnosing the issue, building the fix, and contributing the PR (#4). Fixes #2.