light is turned on, it will stay on forever and if the light is
turned off, it will stay off forever.
Signed-off-by: Simmon Yau <simmonyau@gmail.com>
Signed-off-by: Ciprian Pascu <contact@ciprianpascu.ro>
* [ipcamera] Addon info for suggestions
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
Signed-off-by: Ciprian Pascu <contact@ciprianpascu.ro>
* New reolink channels
* extra channel for Dahua.
* Reolink NPE fix
* Fix LED modes and auto.
* Handle NVR channels for new channels
* add nvr channels to Dahua.
Signed-off-by: Matthew Skinner <matt@pcmus.com>
Signed-off-by: Ciprian Pascu <contact@ciprianpascu.ro>
* Remove redundant feature dependencies
The following features are already dependencies of openhab-runtime-base:
* openhab-core-base
* openhab-core-model-item
* openhab-core-model-script
* openhab-transport-mdns
See also: https://github.com/openhab/openhab-addons/pull/16202#issuecomment-1876875456
* Remove redundant openhab.tp-jackson and openhab.tp-jaxb feature dependencies
Signed-off-by: Wouter Born <github@maindrain.net>
Signed-off-by: Ciprian Pascu <contact@ciprianpascu.ro>
* [ipcamera] Handle empty snapshotUrls and XML encoded characters
* use unescape method from StringUtils
---------
Signed-off-by: Kai Kreuzer <kai@openhab.org>
* 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>
Make sure that SecureRadom is used whenever the random number
is used for cryptographic operations, e.g. as nonce/salt.
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
* FIX TAPO branded cameras require xAddr port to be different from the
main ONVIF PORT
* Fix for old API instar cameras.
---------
Signed-off-by: Matthew Skinner <matt@pcmus.com>
* Fix discovery crashes if network use is blocked by docker.
* Change log levels to be more useful.
* add better reolink discovery check
Signed-off-by: Matthew Skinner <matt@pcmus.com>
* Setting ffmpeg reference 'ffmpegMjpeg' to null after stopping convertion to fix automatic restart of ffmpeg process.
---------
Signed-off-by: Thomas Burri <th@thonojato.ch>
* [ipcamera] Fix servlet exceptions due to non unique names
[IP camera] on OH4 has the same servlet issue that was fixed by PR #14554. This PR uses that PR as a template to fix the issue in the IPcamera binding. (That issue being that only one camera was able to stream.) This was tested locally on OH4M2 and it works.
Signed-off-by: Bob Eckhoff <katmandodo@yahoo.com>
* Fix never ending WARN when HIK camera does not support alarm inputs.
* Streamline code.
* Update Instar support for 2k+ Generation.
* Fix alarm codes.
* Add CHANNEL_LAST_EVENT_DATA
Signed-off-by: Matthew Skinner <matt@pcmus.com>
* [ipcamera] Fix multiple part handling for Dahua events
* [ipcamera] Call processSettings only when data contains no boundary
Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>