forked from openhab/openhab-addons
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ipcamera] Fix connection checks with ONVIF cameras with no snapshots (…
…openhab#15119) * Added connection check via IdleStateHandler events for sent onvif requests. Also checking connect errors and setting new states connectError or refusedError accordingly. On connect, only one request is sent to have less parallel actions in case of reconnect, timeout. Moved GetCapabilities call to GetSystemDateAndTime response handler part. Added support to disable automatic polling at startup. * Fixed call of sendOnvifRequest (missed to remove one call of requestBuilder). --------- Signed-off-by: Thomas Burri <th@thonojato.ch> Signed-off-by: Matthew Skinner <matt@pcmus.com> Co-authored-by: Matthew Skinner <matt@pcmus.com>
- Loading branch information
1 parent
ef76e29
commit ff99fde
Showing
3 changed files
with
100 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters