python-onvif-zeep
python-onvif-zeep copied to clipboard
ONVIF Client Implementation in Python 2+3 (using https://github.com/mvantellingen/python-zeep instead of suds as SOAP client)
i have some camera that are in a site accessible from outside then with nat translation this camera when queried reply with their private address and the internal port ,...
This is a minor change to the usage of super() within client.py to maintain Python 2 compatibility. I believe this should resolve issue #33.
Here is my code(Run with python 3.6 and python-onvif-0.2.0 ): from onvif import ONVIFCamera, ONVIFError mycam = ONVIFCamera('192.168.1.64', 80, 'admin', 'admin12345', 'C:\ProgramData\Anaconda3\Lib\site-packages\onvif-0.2.0-py3.6.egg\wsdl') media = mycam.create_media_service() media_profile = media.GetProfiles()[0] And what...
The section in the README related to creating an unofficial service is not accurate. The documentation shows that `create_onvif_service` should be called with a WSDL location, xaddr, and service name...
The following code is supposed to set parameters of RelayOutput: ``` params = mycam.devicemgmt.create_type('SetRelayOutputSettings') params.RelayOutputToken = 'AlarmOut_0' \# params.Properties.Mode = 'Bistable' \# params.Properties.DelayTime = 'PT1S' \# params.Properties.IdleState = 'closed' params.Properties...
In order to create a subscription for notification events, (I think) I need to issue a request to `NotificationProducer.Subscribe`. I propose to add a new `notification` service in **definition.py** as...
Hello My Python version is 3.5.3. I followed the guide for installation. The issue is : ``` mycam=ONVIFCamera("192.168.5.6",888,"admin","*******","/home/guilmort/ONVIF/python-onvif-zeep/wsdl/") ptz=mycam.create_ptz_service() media = mycam.create_media_service() media_profile = media.GetProfiles()[0] token=media_profile.token request=ptz.create_type('ContinuousMove') request.ProfileToken=token request.Velocity.Zoom.x=-1.0 --------------->...
hi. how can i use Probe, for searching all devices in local network?
how to set some home position, like "GotoHomePosition", "SetHomePosition" Thanks
Hello, In onvif/client.py at lines 15-16 the imports do not work in python3. ``` from exceptions import ONVIFError from definition import SERVICES ``` should be reverted to ``` from onvif.exceptions...