olijouve
8256acb8ef
Fix onvif ConnectionResetError ( #45899 )
...
Fix "ConnectionResetError: Cannot write to closing transport" error we can have on lots of chinese cams(like Goke GK7102 based IP cameras)
Those non full onvif compliant cams can "crash" when calling non implemented functions like events or ptz and they are likely react by closing transport, leaving the request in a uncatched error state.
My camera used to fail on setup, and now it run nicely with that simple fix.
2021-02-04 09:25:35 +01:00
Paulus Schoutsen
959ed6d077
Update translations
2021-02-03 11:46:49 +01:00
Paulus Schoutsen
e584902b8b
Remove empty schema ( #45044 )
2021-01-11 14:25:09 +01:00
HomeAssistant Azure
9c63fbfcb1
[ci skip] Translation update
2020-12-07 00:04:18 +00:00
HomeAssistant Azure
42f00cff30
[ci skip] Translation update
2020-12-04 00:05:42 +00:00
Paulus Schoutsen
0cf3736162
Bump ha-ffmpeg to 3.0.2 ( #43597 )
2020-11-25 08:45:15 +01:00
Ville Skyttä
cab186d28f
Add ONVIF PTZ Stop support ( #39734 )
2020-11-20 22:59:11 +01:00
HomeAssistant Azure
9a21421807
[ci skip] Translation update
2020-11-15 00:03:48 +00:00
Paulus Schoutsen
54f3d9078a
Update translations
2020-11-11 12:10:09 +01:00
HomeAssistant Azure
4b9ba79584
[ci skip] Translation update
2020-11-11 00:10:27 +00:00
HomeAssistant Azure
57c6bb96f4
[ci skip] Translation update
2020-11-07 00:04:02 +00:00
HomeAssistant Azure
9298fec345
[ci skip] Translation update
2020-11-05 00:10:11 +00:00
HomeAssistant Azure
b71e28dfac
[ci skip] Translation update
2020-11-04 00:13:14 +00:00
Jason Hunter
f1bb7b4a0f
attempt to renew subscription immediately to stop endless loop if it fails after setup ( #42651 )
2020-10-31 09:15:11 -04:00
HomeAssistant Azure
b9d04b9304
[ci skip] Translation update
2020-10-30 00:02:45 +00:00
HomeAssistant Azure
026e0063fe
[ci skip] Translation update
2020-10-29 00:09:16 +00:00
springstan
a967f689c7
Remove unnecessary instances of dict.keys() ( #42518 )
2020-10-28 20:43:48 +01:00
HomeAssistant Azure
f4cebfbb7e
[ci skip] Translation update
2020-10-27 00:06:28 +00:00
HomeAssistant Azure
c2a9f2ae52
[ci skip] Translation update
2020-10-26 00:03:36 +00:00
Brett T. Warden
ab5e34a49f
Fix error strings for PTZ operations ( #42231 )
...
PTZ error strings for unsupported move operations were copied/pasted
from ContinuousMove. Fix the strings for AbsoluteMove and RelativeMove.
2020-10-25 14:52:32 +01:00
HomeAssistant Azure
ed232ac733
[ci skip] Translation update
2020-10-24 00:05:17 +00:00
HomeAssistant Azure
b102ad731f
[ci skip] Translation update
2020-10-22 00:09:52 +00:00
HomeAssistant Azure
81296b2b70
[ci skip] Translation update
2020-10-20 00:08:00 +00:00
Rihan9
d01a96d1ce
Fix onvif sensor detection and onvif stop service call ( #41949 )
...
* 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 ( #42020 )
...
* 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
Jason Hunter
32675e0e38
Bump ONVIF and pin Zeep ( #41907 )
2020-10-15 22:24:33 +02:00
HomeAssistant Azure
994ae09f69
[ci skip] Translation update
2020-10-15 00:03:50 +00:00
HomeAssistant Azure
1417a4161f
[ci skip] Translation update
2020-10-13 00:03:24 +00:00
HomeAssistant Azure
f787289ea0
[ci skip] Translation update
2020-10-12 00:03:31 +00:00
HomeAssistant Azure
80522f1bdc
[ci skip] Translation update
2020-10-11 00:03:37 +00:00
HomeAssistant Azure
6ae12c3faf
[ci skip] Translation update
2020-10-10 00:05:05 +00:00
HomeAssistant Azure
29aea5a66c
[ci skip] Translation update
2020-10-09 00:04:33 +00:00
HomeAssistant Azure
d73d36d0cd
[ci skip] Translation update
2020-10-08 00:06:03 +00:00
HomeAssistant Azure
486c0b644a
[ci skip] Translation update
2020-10-07 00:06:20 +00:00
HomeAssistant Azure
bcfa4ac959
[ci skip] Translation update
2020-10-06 00:08:09 +00:00
Diefferson Koderer Môro
dde465da48
Use common strings for Onvif config flow ( #41170 )
...
* Use common strings for Onvif config flow
* Fix tests
* Update homeassistant/components/onvif/strings.json
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2020-10-05 15:27:48 +02:00
HomeAssistant Azure
8d1d585b40
[ci skip] Translation update
2020-10-05 00:04:23 +00:00
HomeAssistant Azure
f8c2d877aa
[ci skip] Translation update
2020-10-04 00:05:05 +00:00
springstan
064a453604
Add already_in_progress to base strings for config flows ( #40961 )
2020-10-03 15:49:09 +02:00
springstan
04daa9a378
Add name to base strings for config flows ( #40947 )
...
* Add name to base strings for config flows
* Fix HA strings.json
2020-10-03 15:28:42 +02:00
HomeAssistant Azure
f28b7f2187
[ci skip] Translation update
2020-09-16 00:09:01 +00:00
springstan
db582bdc1b
Use http status constants more, add HTTP_ACCEPTED and HTTP_BAD_GATEWAY ( #39993 )
...
* Use http status codes and add HTTP_BAD_GATEWAY constant
* Address review comments:
- using constants in tado integration
- using constant in media_player init.py
* Add and use HTTP_ACCEPTED constant
2020-09-15 20:01:07 +03:00
HomeAssistant Azure
07d5af1969
[ci skip] Translation update
2020-09-08 00:04:13 +00:00
Ville Skyttä
f828cdcaef
Fix setup of ONVIF devices without snapshot capability ( #39723 )
...
* Fix setup of ONVIF devices without snapshot capability
* Unrelated debug message typo fix
2020-09-06 16:52:06 -04:00
HomeAssistant Azure
bfd6989c75
[ci skip] Translation update
2020-09-04 00:04:26 +00:00
On Freund
a87fedc0af
Automatically configure HTTP auth type in ONVIF snapshots ( #38729 )
...
* Allow selection of HTTP auth type in ONVIF snapshots
* Auto populate snapshot auth
* Fix no auth case
* Add missing return
2020-09-03 22:41:24 +02:00
HomeAssistant Azure
65b227126d
[ci skip] Translation update
2020-09-03 00:06:16 +00:00
Aidan Timson
f7e6b060a7
Make onvif username optional ( #39415 )
2020-08-30 17:39:33 -04:00
HomeAssistant Azure
904f5c4346
[ci skip] Translation update
2020-08-30 00:03:17 +00:00
HomeAssistant Azure
195d4b6897
[ci skip] Translation update
2020-08-27 00:04:55 +00:00
Andrey Kupreychik
8500e3c5a8
Prefer mac for onvif device identifier ( #38864 )
2020-08-20 14:39:04 -04:00
Eric Severance
34cb12d3c9
Addressing feedback from #37711 ( #38781 )
2020-08-12 09:34:27 -04:00
Eric Severance
49b375ff94
Allow ONVIF devices to resume a PullPoint subscription when the camera reboots ( #37711 )
2020-08-11 17:53:30 -04:00
Eric Severance
61a911af41
Adapt the ONVIF Renewal termination_time for Amcrest cameras ( #37750 )
2020-08-11 16:59:26 -04:00
J. Nick Koston
8b06d1d4bd
Prevent onvif from blocking startup ( #38256 )
2020-07-27 08:51:53 +02:00
HomeAssistant Azure
8abdc2c969
[ci skip] Translation update
2020-07-27 00:02:58 +00:00
HomeAssistant Azure
e766a119d2
[ci skip] Translation update
2020-07-22 00:02:30 +00:00
Diefferson Koderer Môro
804cae02ee
Fix get profiles checking if has ptz capabilities ( #37176 )
2020-07-10 10:13:16 -04:00
HomeAssistant Azure
251a1d6619
[ci skip] Translation update
2020-07-09 00:05:04 +00:00
HomeAssistant Azure
7920c5e5e8
[ci skip] Translation update
2020-06-18 00:08:13 +00:00
HomeAssistant Azure
b15caf31a9
[ci skip] Translation update
2020-06-15 00:03:32 +00:00
HomeAssistant Azure
81355a0e23
[ci skip] Translation update
2020-06-08 00:02:43 +00:00
HomeAssistant Azure
f8e48a9230
[ci skip] Translation update
2020-06-05 00:05:36 +00:00
Jason Hunter
eb95c5cd2e
update renew logic to work better with cameras responding with invalid termination times by extending the duration ( #36393 )
2020-06-03 09:51:57 -06:00
Diefferson Koderer Môro
0e2e39a5f2
Fix Method GetNetworkInterfaces not implemented ( #36243 )
2020-06-02 19:45:20 -07:00
HomeAssistant Azure
a4d4e26fe5
[ci skip] Translation update
2020-06-02 00:05:54 +00:00
Jason Hunter
cb2821b512
Fix empty preset element in ONVIF response ( #36182 )
2020-05-26 21:16:15 -07:00
Minims
2375e00029
Fix onvif snapshot for Sricam SP009 ( #36095 )
2020-05-25 14:02:21 +02:00
Jason Hunter
5dfae0eb7c
fix preset warning ( #36110 )
2020-05-25 13:38:57 +02:00
Jason Hunter
b0012bd5a6
guard against missing topic ( #36108 )
2020-05-25 13:37:47 +02:00
Jason Hunter
bd8848e57a
Fix ONVIF config entry unique ID ( #36008 )
...
* fallback to device serial number if no mac available
* make password optional to fix #35904
* 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
0514960bda
Fix ONVIF PTZ and profile encoding issues ( #36006 )
...
* allow lib to create AsyncTransport
* fix transport close issue
* fix zoom only cameras without PTZ presets
* catch profiles without encoding configuration
* also catch ServerDisconnectedError for ptz
2020-05-22 21:11:30 -04:00
Jason Hunter
0e83cfade1
Fix ONVIF Transport ( #35932 )
...
* allow lib to create AsyncTransport
* fix transport close issue
2020-05-22 19:46:11 -04:00
HomeAssistant Azure
973f66a974
[ci skip] Translation update
2020-05-22 00:05:00 +00:00
Jason Hunter
a82900ae27
fix mjpeg issue along with some cameras not returning event capabilities properly ( #35885 )
2020-05-20 21:26:27 -04:00
HomeAssistant Azure
b32ec950ac
[ci skip] Translation update
2020-05-21 00:02:31 +00:00
Jason Hunter
aeae4edb74
Fix ONVIF subscription renewal ( #35792 )
...
* fix subscription renewal
* catch ValueError for #35762
2020-05-18 23:02:23 -04:00
HomeAssistant Azure
e94f44f294
[ci skip] Translation update
2020-05-17 00:02:56 +00:00
HomeAssistant Azure
f3bb370b3a
[ci skip] Translation update
2020-05-16 00:03:50 +00:00
Jason Hunter
3a3f39b642
ONVIF: Add check around media capabilities ( #35667 )
2020-05-15 20:05:32 +02:00
HomeAssistant Azure
9586e9ebef
[ci skip] Translation update
2020-05-15 00:02:56 +00:00
Jason Hunter
b7ab07c987
additional log info and strings fix ( #35622 )
2020-05-14 11:25:58 -04:00
Jason Hunter
7ab19bdfcc
Additional checks for ONVIF event capabilities ( #35599 )
...
catch any exceptions when pulling event capabilities and assume it is not supported
2020-05-13 22:24:38 -04:00
Paulus Schoutsen
0efeefe3b2
Update translations
2020-05-13 11:27:21 -07:00
Paulus Schoutsen
dd32324e01
Use config flow references for data ( #35529 )
2020-05-12 10:50:44 -07:00
Jason Hunter
132bb4e890
ONVIF Event Implementation ( #35406 )
...
Initial implementation of ONVIF event sensors
2020-05-11 13:12:12 -04:00
Jason Hunter
19734e7b2c
Refactor ONVIF ( #35222 )
2020-05-06 09:29:59 -07:00
HomeAssistant Azure
78f846d532
[ci skip] Translation update
2020-05-03 00:02:26 +00:00
HomeAssistant Azure
f4f2aff5b6
[ci skip] Translation update
2020-05-02 00:04:57 +00:00
Franck Nijhof
e1ae455f1d
Fix ONVIF YAML import ( #35035 )
2020-05-01 20:35:30 +02:00
Jason Hunter
850b5cb02b
Config flow for ONVIF ( #34520 )
2020-04-30 23:15:40 -07:00
Geronimo2015
d416029e82
Add onvif PTZ GotoPreset ( #34420 )
...
* Added PTZ GotoPreset support
* Update camera.py
Processed flake8 error
* Update services.yaml
Removed trailing spaces
* Update camera.py
black formatted code
2020-04-24 17:28:44 +02:00
Minims
7b9585cd8e
Fix Onvif Camera that does not have SnapshotUri such as Sricam ( #33902 )
2020-04-10 08:44:56 -07:00
Paulus Schoutsen
32499dc8fe
Fix onvif consistent return ( #33898 )
2020-04-09 09:51:23 -07:00
Paulus Schoutsen
1adb45f74e
Check status code on onvif snapshot ( #33865 )
2020-04-09 09:54:02 +02:00
springstan
eae21be5b9
Improve string formatting v6 ( #33698 )
2020-04-07 23:14:28 +02:00
Franck Nijhof
1fa996ed68
Fix ONVIF camera snapshot with auth ( #33241 )
2020-03-25 13:32:28 +01:00
roleo
aec2fe86e4
Add onvif snapshot uri ( #33149 )
...
* Add onvif snapshot uri
If the cam supports http snapshot uri, use it instead of ffmpeg.
* Code formatting
* Fix to pass pre-commit
2020-03-24 09:57:14 -07:00
Franck Nijhof
5893f6b14b
Fix Extend ONVIF unique ID with profile index ( #33103 )
2020-03-21 11:36:35 -07:00
Aidan Timson
628f77f8f2
Fix onvif error with non ptz cameras ( #32783 )
2020-03-13 23:58:14 +01:00