Skip to content

Add CTronics camera adapter - #404

Open
romainantes wants to merge 7 commits into
developfrom
feat/ctronics-new-adapter-fix
Open

Add CTronics camera adapter#404
romainantes wants to merge 7 commits into
developfrom
feat/ctronics-new-adapter-fix

Conversation

@romainantes

@romainantes romainantes commented Aug 18, 2026

Copy link
Copy Markdown
Collaborator

Adds support for CTronics cameras using HTTP snapshots and ONVIF PTZ/Imaging controls.
It also extends RTSP stream path customization and adds dedicated documentation for camera adapters.

⚠️ Branch "docs/camera-adapter-guide" must be merged before this branch.

Changes:
New Adapter:

  • Introduced CTronicsCamera supporting authenticated HTTP snapshots, ONVIF PTZ, CGI relative focus, and ONVIF Imaging.
  • Registry & Config: Registered the ctronics adapter in registry.py and updated core/config.py to allow custom rtsp_path overrides.
  • Dependencies: Added onvif-zeep dependency to pyproject.toml and requirements.txt.
  • Documentation: Updated README.md and camera/adapters/README.md to document adapter responsibilities and configuration details.
  • Tests: Added unit and real-hardware integration tests in test_ctronics.py.

@romainantes
romainantes requested a review from fe51 August 18, 2026 10:24
@codecov

codecov Bot commented Aug 18, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 78.83%. Comparing base (683bd48) to head (33edfcf).

Additional details and impacted files
@@           Coverage Diff            @@
##           develop     #404   +/-   ##
========================================
  Coverage    78.83%   78.83%           
========================================
  Files            6        6           
  Lines          841      841           
========================================
  Hits           663      663           
  Misses         178      178           
Flag Coverage Δ
unittests 78.83% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

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