33<div align =" center " >
44<a href =" https://app.codacy.com/gh/nirsimetri/onvif-python/dashboard?utm_source=gh&utm_medium=referral&utm_content=&utm_campaign=Badge_grade " ><img src =" https://app.codacy.com/project/badge/Grade/bff08a94e4d447b690cea49c6594826d " /></a >
55<a href =" https://deepwiki.com/nirsimetri/onvif-python " ><img alt =" Ask DeepWiki " src =" https://deepwiki.com/badge.svg " ></a >
6- <a href =" https://pypi.org/project/onvif-python/ " ><img alt =" PyPI Version " src =" https://img.shields.io/badge/PyPI-0.2.10 -orange?logo=archive&color=yellow " ></a >
6+ <a href =" https://pypi.org/project/onvif-python/ " ><img alt =" PyPI Version " src =" https://img.shields.io/badge/PyPI-0.2.11 -orange?logo=archive&color=yellow " ></a >
77<a href =" https://pepy.tech/projects/onvif-python " ><img alt =" Pepy Total Downloads " src =" https://img.shields.io/pepy/dt/onvif-python?label=Downloads&color=red " ></a >
88<br >
99<a href =" https://github.com/nirsimetri/onvif-python/actions/workflows/python-app.yml " ><img alt =" Build " src =" https://github.com/nirsimetri/onvif-python/actions/workflows/python-app.yml/badge.svg?branch=main " ></a >
@@ -79,6 +79,9 @@ from onvif import ONVIFDiscovery
7979# Create discovery instance
8080discovery = ONVIFDiscovery(timeout = 5 )
8181
82+ # or with a custom interface
83+ discovery = ONVIFDiscovery(timeout = 5 , interface = " 192.168.1.69" )
84+
8285# Discover devices
8386devices = discovery.discover()
8487
@@ -314,12 +317,13 @@ This library includes a powerful command-line interface (CLI) for interacting wi
314317<summary ><b >1. Direct CLI</b ></summary >
315318
316319``` bash
317- usage: onvif [-h] [--host HOST] [--port PORT] [--username USERNAME] [--password PASSWORD] [--discover] [--filter FILTER] [--search SEARCH] [--page PAGE]
318- [--per-page PER_PAGE] [--timeout TIMEOUT] [--https] [--no-verify] [--no-patch] [--interactive] [--debug] [--wsdl WSDL]
320+ usage: onvif [-h] [--host HOST] [--port PORT] [--username USERNAME] [--password PASSWORD] [--discover]
321+ [--filter FILTER] [--interface INTERFACE] [--search SEARCH] [--page PAGE] [--per-page PER_PAGE]
322+ [--timeout TIMEOUT] [--https] [--no-verify] [--no-patch] [--interactive] [--debug] [--wsdl WSDL]
319323 [--cache {all,db,mem,none}] [--health-check-interval HEALTH_CHECK_INTERVAL] [--output OUTPUT] [--version]
320324 [service] [method] [params ...]
321325
322- ONVIF Terminal Client — v0.2.10
326+ ONVIF Terminal Client — v0.2.11
323327https://github.com/nirsimetri/onvif-python
324328
325329positional arguments:
@@ -338,6 +342,8 @@ options:
338342 --discover, -d Discover ONVIF devices on the network using WS-Discovery
339343 --filter FILTER, -f FILTER
340344 Filter discovered devices by types or scopes (case-insensitive substring match)
345+ --interface INTERFACE, -if INTERFACE
346+ Specify network interface IP for discovery (default: auto-detect)
341347 --search SEARCH, -s SEARCH
342348 Search ONVIF products database by model or company (e.g., ' c210' , ' hikvision' )
343349 --page PAGE Page number for search results (default: 1)
@@ -350,12 +356,13 @@ options:
350356 --debug Enable debug mode with XML capture
351357 --wsdl WSDL Custom WSDL directory path
352358 --cache {all,db,mem,none}
353- Caching mode for ONVIFClient (default: all). ' all' : memory+disk, ' db' : disk-only, ' mem' : memory-only, ' none' : disabled.
359+ Caching mode for ONVIFClient (default: all). ' all' : memory+disk, ' db' : disk-only, ' mem' :
360+ memory-only, ' none' : disabled.
354361 --health-check-interval HEALTH_CHECK_INTERVAL, -hci HEALTH_CHECK_INTERVAL
355362 Health check interval in seconds for interactive mode (default: 10)
356363 --output OUTPUT, -o OUTPUT
357- Save command output to file. Supports .json, .xml extensions for format detection, or plain text. XML format automatically enables
358- debug mode for SOAP capture.
364+ Save command output to file. Supports .json, .xml extensions for format detection, or plain
365+ text. XML format automatically enables debug mode for SOAP capture.
359366 --version, -v Show ONVIF CLI version and exit
360367
361368Examples:
@@ -400,14 +407,14 @@ Examples:
400407<summary ><b >2. Interactive Shell</b ></summary >
401408
402409``` bash
403- ONVIF Interactive Shell — v0.2.10
410+ ONVIF Interactive Shell — v0.2.11
404411https://github.com/nirsimetri/onvif-python
405412
406413Basic Commands:
407414 capabilities, caps - Show device capabilities
408415 services - Show available services with details
409416 info - Show connection and device information
410- exit, quit - Exit the shell
417+ exit - Exit the shell
411418 shortcuts - Show available shortcuts
412419
413420Navigation Commands:
0 commit comments