Skip to content

Pass certificate verification option when listing NVR channels - #155

Merged
mezz64 merged 2 commits into
mezz64:masterfrom
baylanger:nvr-verify-ssl
Nov 12, 2026
Merged

mezz64 merged 2 commits into
mezz64:masterfrom
baylanger:nvr-verify-ssl

Conversation

@baylanger

Copy link
Copy Markdown
Contributor

The "Verify SSL certificate" option was only passed to HikCamera. Channel discovery for NVRs goes through get_video_channels() which had no such argument. An NVR on self-signed HTTPS connected and then failed to list its channels.

pyHik now accepts verify_ssl there and setup passes the option through.

Once merge, I have a follow up patch for the HA integration.

The "Verify SSL certificate" option was only passed to HikCamera.
Channel discovery for NVRs goes through get_video_channels() which
had no such argument. An NVR on self-signed HTTPS connected and then
failed to list its channels.

pyHik now accepts verify_ssl there and setup passes the option through.

@mezz64 mezz64 left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is good to merge once the conflict on the tests is taken care of.

@baylanger

Copy link
Copy Markdown
Contributor Author

Conflicts fixed.

Gotta go to bed, I'll complete the remaining tomorrow. Thank you!

@mezz64
mezz64 merged commit 831eac3 into mezz64:master Nov 12, 2026
4 checks passed
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.

2 participants