Commit Graph

14 Commits (34a491f826e4891f62eb368370c2ad1a26e77da2)

Author SHA1 Message Date
Jason Hunter f1bb7b4a0f
attempt to renew subscription immediately to stop endless loop if it fails after setup () 2020-10-31 09:15:11 -04:00
Rihan9 d01a96d1ce
Fix onvif sensor detection and onvif stop service call ()
* Fix stop service call after movement, add new parser for topic: tns1:RuleEngine/MotionRegionDetector/Motion

* Fix PullMessages call and formatting Stop call

* Fix timeout on pullmessages call

* Fix black and flake8 detected issues

* add SetSynchronizationPoint with try/except block
2020-10-19 13:01:34 -04:00
Jason Hunter 5a397312e7
Update ONVIF to Zeep 4.0/httpx ()
* convert to httpx and zeep 4.0

* fix tests

* add onvif-zeep-async to manifest

* pin zeep to fool CI cache

* address review comments
2020-10-18 23:29:53 -04:00
Eric Severance 34cb12d3c9
Addressing feedback from () 2020-08-12 09:34:27 -04:00
Eric Severance 49b375ff94
Allow ONVIF devices to resume a PullPoint subscription when the camera reboots () 2020-08-11 17:53:30 -04:00
Eric Severance 61a911af41
Adapt the ONVIF Renewal termination_time for Amcrest cameras () 2020-08-11 16:59:26 -04:00
J. Nick Koston 8b06d1d4bd
Prevent onvif from blocking startup () 2020-07-27 08:51:53 +02:00
Jason Hunter eb95c5cd2e
update renew logic to work better with cameras responding with invalid termination times by extending the duration () 2020-06-03 09:51:57 -06:00
Jason Hunter b0012bd5a6
guard against missing topic () 2020-05-25 13:37:47 +02:00
Jason Hunter bd8848e57a
Fix ONVIF config entry unique ID ()
* fallback to device serial number if no mac available

* make password optional to fix 

* update tests to reflect new flow

* fix snake case and AsyncMock

* add comments around why weird things are being done
2020-05-24 21:50:50 +02:00
Jason Hunter 0e83cfade1
Fix ONVIF Transport ()
* allow lib to create AsyncTransport

* fix transport close issue
2020-05-22 19:46:11 -04:00
Jason Hunter aeae4edb74
Fix ONVIF subscription renewal ()
* fix subscription renewal

* catch ValueError for 
2020-05-18 23:02:23 -04:00
Jason Hunter b7ab07c987
additional log info and strings fix () 2020-05-14 11:25:58 -04:00
Jason Hunter 132bb4e890
ONVIF Event Implementation ()
Initial implementation of ONVIF event sensors
2020-05-11 13:12:12 -04:00