Skip to content

Conversation

@DrissiReda
Copy link

This adds support for natted ip addresses where previously onvif only worked when in local address.

Instead of returning the local IP address, it returns the same IP/port used to create the ONVIFCamera object

This solves #82

If anything else is needed please let me know.

This is something I required for frigate, and my fork currently works great for both frigate and homeassistant integration.

DrissiReda and others added 2 commits January 8, 2026 17:19
This adds support for natted ip addresses where previously onvif only worked when in local address.

Instead of returning the local IP address, it returns the same IP/port used to create the ONVIFCamera object
@codecov
Copy link

codecov bot commented Jan 8, 2026

Codecov Report

❌ Patch coverage is 11.76471% with 15 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
onvif/client.py 11.76% 15 Missing ⚠️
Files with missing lines Coverage Δ
onvif/client.py 65.06% <11.76%> (-2.22%) ⬇️
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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.

1 participant