Commit Graph

31 Commits

Author SHA1 Message Date
openhab-bot
bf45cd5ff5 [unleash-maven-plugin] Preparation for next development cycle. 2021-12-11 23:57:48 +00:00
jenkins
22d7b976a2 Bump to next snapshot version 2021-12-11 21:28:58 +01:00
Martin Herbst
5533643a3a
[homematic] Smaller fixes and conversion of properties files to UTF-8 (#10813)
* Prevent possible NPE

Signed-off-by: Martin Herbst <develop@mherbst.de>

* Spotless

Signed-off-by: Martin Herbst <develop@mherbst.de>

* Fixes missing unit information (especially for HmIP devices)

For some HmIP devices the "valueunit" attribute is empty and thus no
default unit type could be derived. Using the data point name solves
this problem (at least for the relevant data points).

Fixes #10533

Signed-off-by: Martin Herbst <develop@mherbst.de>

* Condition result was wrong because of missing brackets

Signed-off-by: Martin Herbst <develop@mherbst.de>

* Regenerated and reorganized descriptions


Signed-off-by: Martin Herbst <develop@mherbst.de>

* Encoding changed to UTF-8 and some smaller text corrections

Signed-off-by: Martin Herbst <develop@mherbst.de>

* Use default value as maximum if is greater than received max value

For some devices the data point definition retrieved from the CCU
contains default values that are higher than the maximum value. In order
to allow the configuration of these config options the allowed maximum
value needs to be set to the default value.

Fixes #10552

Signed-off-by: Martin Herbst <develop@mherbst.de>
2021-06-06 18:53:51 +02:00
Wouter Born
c3a6aa5814
Upgrade Units of Measurement dependencies (#10583)
* Fix code/tests for upgrade
* Resolve runbundles
* Update Checkstyle ruleset for changed packages

Signed-off-by: Wouter Born <github@maindrain.net>
2021-05-11 08:31:03 +02:00
Wouter Born
0c36650179
Avoid star imports and add missing braces (#10521)
Fixes the following SAT findings:

* AvoidStarImportCheck (125)
* NeedBracesCheck (39)

Signed-off-by: Wouter Born <github@maindrain.net>
2021-04-15 16:12:05 +02:00
Martin Herbst
45ec538a40
[homematic] Some fixes and support for new device versions (#10438)
* Removed method that was already marked as deprecated

Signed-off-by: Martin Herbst <develop@mherbst.de>

* Handle HM-ES-TX-WM with firmware version >= 2.0 as different device

The device provides different data points (channels) depending on the
firmware version. Therefore devices with a firmware version >= 2.0 are
handled as a different device.

Fixes #9793

Signed-off-by: Martin Herbst <develop@mherbst.de>

* Don't change uninitialized thing state automatically to online

Signed-off-by: Martin Herbst <develop@mherbst.de>

* Listen to all network interfaces instead of limiting it to only one

This also makes the specification of a separate bind address
superfluous.

Fixes #9855

Fixes #10075

Signed-off-by: Martin Herbst <develop@mherbst.de>

* Add support for HmIP-eTRV-C-2 device

The event messages received for this device are not correctly formatted
and thus some special treatment for at least one data point is required.


Signed-off-by: Martin Herbst <develop@mherbst.de>

* Spotless formatting applied

Signed-off-by: Martin Herbst <develop@mherbst.de>
2021-04-04 19:04:37 +02:00
Piwoxar
583509e49d
Additional check for convert to double (#10224)
Signed-off-by: Hans-Dietert Loew <hdloew@googlemail.com>
2021-02-28 21:27:53 +01:00
Eiko Wagenknecht
4495c53f7e
[homematic] [doc] Usage of custom ID not supported (#10131)
Fixes https://github.com/openhab/openhab-addons/issues/10114

Signed-off-by: Eiko Wagenknecht <eiko.wagenknecht@web.de>
2021-02-16 15:28:11 -08:00
Martin Herbst
ac02141d0b
[Homematic] Removed Apache Commons (#10035)
Signed-off-by: Martin Herbst <develop@mherbst.de>
2021-02-08 23:26:56 +01:00
Paul Vogel
80c52f4fc0
[homematic] Use .equals() to compare two Integers instead of == (code style fix) (#9976)
Signed-off-by: Paul Vogel <github@paulvogel.me>
2021-01-29 20:36:42 +01:00
Kai Kreuzer
f5ee685556 Fixed errrornous urls from merged private branch
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2021-01-24 21:15:19 +01:00
Kai Kreuzer
b0a15b48a3
Merge pull request from GHSA-r2hc-pmr7-4c9r
* Configured XML parsers to resist XXE attacks

Signed-off-by: Kai Kreuzer <kai@openhab.org>

* added fix for avmfritz

Signed-off-by: Kai Kreuzer <kai@openhab.org>

* added fix for sonos

Signed-off-by: Kai Kreuzer <kai@openhab.org>

* added fix for vitotronic and bosesoundtouch

Signed-off-by: Kai Kreuzer <kai@openhab.org>

* changed avmfritz to singleton pattern

Signed-off-by: Kai Kreuzer <kai@openhab.org>

* addressed roku binding

Signed-off-by: Kai Kreuzer <kai@openhab.org>

* address all uses of DocumentBuilderFactory

Signed-off-by: Kai Kreuzer <kai@openhab.org>

* fixed other occurrences in roku binding

Signed-off-by: Kai Kreuzer <kai@openhab.org>
2021-01-24 15:06:00 +01:00
Hilbrand Bouwkamp
8889762bef
Removal of reference to PaperUI (#9905)
Related to #8607.

In some cases removed information that is actually generic information and should not be in binding readme.

Signed-off-by: Hilbrand Bouwkamp <hilbrand@h72.nl>
2021-01-22 09:51:24 +01:00
Martin Herbst
706af08fb6
[homematic] Fix for two (re)connection problems (#9692)
* Replace deprecated constructors
* Removed no longer existing settings from the documentation. They were already marked as deprecated since several versions.
* Refactored communication with the HM gateway
- simplified coding for the communication with the gateway
- buffer size for communication is now configurable to avoid problems
with too small buffers
- Previous solution for #6963 was not sufficient. Should be finally done
with these changes
* Retrieving the duty cycle is sufficient to check connection
- ping requests could therefore be safely removed problems with the automatic reconnection were solved.
* Changed to explicit list of Exception

Fixes #8808

Signed-off-by: Martin Herbst <develop@mherbst.de>
2021-01-12 22:11:52 +01:00
Hilbrand Bouwkamp
ac3f907b36
Normalized thread names (#9581)
Related to #8216

Signed-off-by: Hilbrand Bouwkamp <hilbrand@h72.nl>
2021-01-12 22:10:01 +01:00
Wouter Born
d6364aceb1
Update license headers to 2021 (#9620)
Signed-off-by: Wouter Born <github@maindrain.net>
2021-01-02 22:03:14 +01:00
Martin Herbst
9cc0ff436f
[homematic] For non HmIP dimmers stateDescription values must be corrected too (#9434)
Older HM dimmers are using a maximum values of 1.0. But also for these
devices the values must be corrected.

Signed-off-by: Martin Herbst <develop@mherbst.de>
2020-12-25 21:30:43 +01:00
Wouter Born
ecac667258
Apply Spotless, update skeleton project version, resolve itest runbundles (#9459)
Signed-off-by: Wouter Born <github@maindrain.net>
2020-12-22 10:37:44 +01:00
jenkins
e4554f4aa6 [unleash-maven-plugin] Preparation for next development cycle. 2020-12-21 10:36:42 +00:00
J-N-K
086a046b61
fix console command documentation (#9355)
Signed-off-by: Jan N. Klug <jan.n.klug@rub.de>
2020-12-13 09:19:51 +01:00
Wouter Born
d2e5c3e7dd
Remove SmartHome leftovers (#9283)
Signed-off-by: Wouter Born <github@maindrain.net>
2020-12-08 18:03:49 +01:00
Wouter Born
ac6f08908f
Use renamed Units class (#9267)
Signed-off-by: Wouter Born <github@maindrain.net>
2020-12-07 10:34:02 +01:00
Kai Kreuzer
007c3b56e5
removed deprecated author information from binding.xml (#9113)
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2020-11-23 19:06:33 -08:00
Martin Herbst
38876647ad
[homematic] Better OH3 compatibility (#9102)
* Max value and format pattern were not correct for dimmers (Fixes #8799)
* Fixed calls to deprecates methods/constructors
* Make sure channelLinked is executed at restart (see also: https://github.com/openhab/openhab-core/issues/1707)

Signed-off-by: Martin Herbst <develop@mherbst.de>
2020-11-23 11:10:08 +01:00
drohhyn
1797b2e245
Channel types: UPERCASE and typo (#8989)
https://community.openhab.org/t/solved-homematic-channel-type-couldn-t-be-resolved/47950/6 shows the solution with UPPERCASE channel name.
Signed-off-by: drohhyn <drohhyn@qimp.org>
2020-11-20 08:35:59 +01:00
SmartCologne
e70dfd7450
[homematic] Update README.md (#8840)
Added available icons & colors for HM-Dis-WM55
2020-10-23 10:24:55 -07:00
Wouter Born
be7e9c9680
Configure XStream security and resolve itest bundles (#8663)
* Configures XStream security to prevent "Security framework of XStream not initialized, XStream is probably vulnerable" warnings.
* Resolves the itest bundles for the upgrade to XStream 1.4.13

Related to openhab/openhab-core#1688

Signed-off-by: Wouter Born <github@maindrain.net>
2020-10-04 22:10:04 +02:00
Hilbrand Bouwkamp
003c3af985
Remove immediate = true from all Components (#8615)
We recommend not to use this on add-ons.

Signed-off-by: Hilbrand Bouwkamp <hilbrand@h72.nl>
2020-10-01 20:27:01 -07:00
Wouter Born
7f39d01a0f
Remove/ignore Eclipse project files (#8529)
Fixes #8451

Signed-off-by: Wouter Born <github@maindrain.net>
2020-09-21 22:50:37 +02:00
Wouter Born
bd82ca82df
Migrate tests to JUnit 5 (#8519)
Signed-off-by: Wouter Born <github@maindrain.net>
2020-09-21 18:21:26 +02:00
Kai Kreuzer
6df6783b60 added migrated 2.x add-ons
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2020-09-21 03:37:19 +02:00