]> git.basschouten.com Git - openhab-addons.git/log
openhab-addons.git
3 years ago[miele] Add categories and semantic tags (#14086)
Jacob Laursen [Sat, 31 Dec 2022 14:01:58 +0000 (15:01 +0100)]
[miele] Add categories and semantic tags (#14086)

* Add categories and tags

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
3 years ago[miele] Add categories and semantic tags (#14086)
Jacob Laursen [Sat, 31 Dec 2022 14:01:11 +0000 (15:01 +0100)]
[miele] Add categories and semantic tags (#14086)

* Add categories and tags

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
3 years ago[unifi] Fix bug with combination of other data/ports (#14060)
Hilbrand Bouwkamp [Sat, 31 Dec 2022 10:03:56 +0000 (11:03 +0100)]
[unifi] Fix bug with combination of other data/ports (#14060)

- It seems to throw an exception when updating internal cache. It can happen if you have a switch that has both PoE ports and other PoE ports or data in the port override.
- Fixed logout, should be POST instead of GET.
- Fixed typo in channel-type.config.unifi.poeEnable.mode.option.pasv24 should be without appending v.
- Removed compiler warnings.

Signed-off-by: Hilbrand Bouwkamp <hilbrand@h72.nl>
3 years ago[tesla] Fix discovery of Tesla vehicles from account (#14070)
Kai Kreuzer [Sat, 31 Dec 2022 09:22:39 +0000 (10:22 +0100)]
[tesla] Fix discovery of Tesla vehicles from account (#14070)

* Fix discovery of Tesla vehicles from account

Signed-off-by: Kai Kreuzer <kai@openhab.org>
3 years ago[atlona] Add support for AT-PRO3HD44M (#14080)
mlobstein [Sat, 31 Dec 2022 09:18:03 +0000 (03:18 -0600)]
[atlona] Add support for AT-PRO3HD44M (#14080)

* Add support for AT-PRO3HD44M

Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
3 years ago[jsscripting] Improve performance & reduce memory usage (#14113)
Florian Hotze [Fri, 30 Dec 2022 22:34:35 +0000 (23:34 +0100)]
[jsscripting] Improve performance & reduce memory usage (#14113)

* [jsscripting] Share org.graalvm.polyglot.Engine across all OpenhabGraalJSScriptEngine instances

See https://github.com/oracle/graaljs/issues/121#issuecomment-880056648, it is not required to have one engine per GraalJSScriptEngine.

This might improve performance a bit on less powerful systems (Raspberry Pi) and decreases heap usage:
With 5 GraalJS UI scripts, heap usage is now below 100 MB. Before this change, it was over 100 MB.

* [jsscripting] Extend debug logging
* [jsscripting] Cache `@jsscripting-globals.js` across all engines

Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
3 years ago[jsscripting] Upgrade to ECMAScript 2022 & Dependency improvements (#14093)
Florian Hotze [Fri, 30 Dec 2022 22:04:43 +0000 (23:04 +0100)]
[jsscripting] Upgrade to ECMAScript 2022 & Dependency improvements (#14093)

* [jsscripting] Remove asm from dependencies in pom

GraalJS >= 20.3.0 doesn't require org.ow2.asm as compile dependency anymore, see https://mvnrepository.com/artifact/org.graalvm.js/js/20.3.0.

* [jsscripting] Remove dependency org.graalvm.js/js-launcher as it is not required

js-launcher is GraalVM's JavaScript command line interpreter and not required in the addon.
See https://www.graalvm.org/22.1/reference-manual/js/RunOnJDK/.

* [jsscripting] Add missing com.ibm.icu dependency

GraalJS changelog says that it is not required for GraalJS >= 22.0.0 (see https://github.com/oracle/graaljs/blob/685e5873af80a59636b697c949a172d8a7d694c3/CHANGELOG.md#version-2200).
But GraalJS 22.3.0 attempts to load classes from it during runtime.

* [jsscripting] Update GraalJS engine options

Compat, as its additional functionality is not used by openhab-js and user code is not expected to use it.

* [jsscripting] Remove com.ibm.icu/icu4j dependency
* [jsscripting] Don't disable Nashorn compat mode as openhab-js requires it for accessors

Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
3 years agoUpdate Jackson version to 2.14.1 (#14116)
Wouter Born [Fri, 30 Dec 2022 21:48:12 +0000 (22:48 +0100)]
Update Jackson version to 2.14.1 (#14116)

This is the version used in the feature provided by openhab-core.

Signed-off-by: Wouter Born <github@maindrain.net>
3 years ago[knx] add color channel to knx binding docu (#14114)
Michael Geramb [Fri, 30 Dec 2022 18:46:58 +0000 (19:46 +0100)]
[knx] add color channel to knx binding docu (#14114)

add color channel to knx binding docu

3 years ago[bosesoundtouch] Fix regression and add tests (#14097)
lsiepel [Fri, 30 Dec 2022 12:58:27 +0000 (13:58 +0100)]
[bosesoundtouch] Fix regression and add tests (#14097)

* Fix regression and add tests

Signed-off-by: lsiepel <leosiepel@gmail.com>
3 years agoFix MQTT shutdownRetain default value (#14099)
jimtng [Fri, 30 Dec 2022 08:34:13 +0000 (18:34 +1000)]
Fix MQTT shutdownRetain default value (#14099)

Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
3 years ago[bondhome] Fix fatal Null Pointer errors (#14103)
mlobstein [Fri, 30 Dec 2022 08:23:45 +0000 (02:23 -0600)]
[bondhome] Fix fatal Null Pointer errors (#14103)

* Fix fatal Null Pointer errors

Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
3 years ago[groovyscripting] Update Groovy to 4.0.7 (#14115)
Wouter Born [Thu, 29 Dec 2022 20:59:12 +0000 (21:59 +0100)]
[groovyscripting] Update Groovy to 4.0.7 (#14115)

Updates Groovy from 3.0.13 to 4.0.7.

For Groovy 4.0 release notes, see:

https://groovy-lang.org/releasenotes/groovy-4.0.html#releasenotes

Signed-off-by: Wouter Born <github@maindrain.net>
3 years ago[jsscripting] Use `application/javascript` as MIME type (#14096)
Florian Hotze [Thu, 29 Dec 2022 20:01:22 +0000 (21:01 +0100)]
[jsscripting] Use `application/javascript` as MIME type (#14096)

Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
3 years ago[influxdb] Upgrade Gson to 2.9.1 (#14090)
Jacob Laursen [Thu, 29 Dec 2022 19:59:10 +0000 (20:59 +0100)]
[influxdb] Upgrade Gson to 2.9.1 (#14090)

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
3 years ago[dbquery] Upgrade Gson to 2.9.1 (#14089)
Jacob Laursen [Thu, 29 Dec 2022 19:58:24 +0000 (20:58 +0100)]
[dbquery] Upgrade Gson to 2.9.1 (#14089)

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
3 years ago[bluetooth.generic] Upgrade Gson to 2.9.1 (#14092)
Jacob Laursen [Thu, 29 Dec 2022 19:57:41 +0000 (20:57 +0100)]
[bluetooth.generic] Upgrade Gson to 2.9.1 (#14092)

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
3 years ago[watsonstt] Upgrade Gson to 2.9.1 (#14091)
Jacob Laursen [Thu, 29 Dec 2022 19:57:03 +0000 (20:57 +0100)]
[watsonstt] Upgrade Gson to 2.9.1 (#14091)

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
3 years agoRename handler to fix case and make consistent with corresponding channel selector...
Jacob Laursen [Thu, 29 Dec 2022 19:07:31 +0000 (20:07 +0100)]
Rename handler to fix case and make consistent with corresponding channel selector (#14095)

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
3 years agoAdd Stale configuration (#14109)
Wouter Born [Thu, 29 Dec 2022 18:32:45 +0000 (19:32 +0100)]
Add Stale configuration (#14109)

Similar to openhab/openhab-core#2974

See also: https://github.com/marketplace/stale

Signed-off-by: Wouter Born <github@maindrain.net>
3 years ago[daikin] Add support for Alira X (#14108)
lsiepel [Thu, 29 Dec 2022 17:41:17 +0000 (18:41 +0100)]
[daikin] Add support for Alira X (#14108)

* Add support for Alira X
* Fix checkstyle
* Move changes AirbaseControlInfo =>  ControlInfo
* Send seperated values conditionally

Signed-off-by: lsiepel <leosiepel@gmail.com>
3 years ago[chromecast] Fix constant disconnections (#14105)
jimtng [Thu, 29 Dec 2022 10:52:25 +0000 (20:52 +1000)]
[chromecast] Fix constant disconnections (#14105)

When ipv6 is configured on the network, Chromecast devices will randomly
return ipv4 and/or multiple ipv6 addresses during mdns discovery.
This would trigger a thingUpdated call which will call dispose/initialize,
causing the thing to go offline/online.

Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
3 years agoNew translations danfossairunit.properties (Danish) (#14098)
openhab-bot [Wed, 28 Dec 2022 23:59:57 +0000 (00:59 +0100)]
New translations danfossairunit.properties (Danish) (#14098)

3 years ago[bondhome] compile warnings and sat (#13986)
lsiepel [Wed, 28 Dec 2022 18:40:19 +0000 (19:40 +0100)]
[bondhome] compile warnings and sat (#13986)

* fix some compile warnings and checkstyle
* replace deprecated gson calls
* Refactor config init

Signed-off-by: lsiepel <leosiepel@gmail.com>
3 years agoRemove deprecated channel (#14030)
Jacob Laursen [Wed, 28 Dec 2022 18:20:29 +0000 (19:20 +0100)]
Remove deprecated channel (#14030)

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
3 years agoNew translations hdpowerview.properties (Danish) (#14079)
openhab-bot [Wed, 28 Dec 2022 00:03:31 +0000 (01:03 +0100)]
New translations hdpowerview.properties (Danish) (#14079)

3 years agoUpdate i18n command version number (#14077)
Holger Friedrich [Tue, 27 Dec 2022 21:53:03 +0000 (22:53 +0100)]
Update i18n command version number (#14077)

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
3 years ago[bluetooth.daikinmadoka] null annotations (#13975)
lsiepel [Tue, 27 Dec 2022 16:12:58 +0000 (17:12 +0100)]
[bluetooth.daikinmadoka] null annotations (#13975)

* null annotations - sat warnings
* refactor handleResponses

Signed-off-by: Leo Siepel <leosiepel@gmail.com>
3 years ago[hueemulation] Fix for Alexa failing to discover all devices. (#13923)
Mike Major [Tue, 27 Dec 2022 15:58:37 +0000 (15:58 +0000)]
[hueemulation] Fix for Alexa failing to discover all devices. (#13923)

* Fix for Alexa failing to discover all devices.

Signed-off-by: Mike Major <mike_j_major@hotmail.com>
3 years agoRemove deprecated channels (#14033)
Jacob Laursen [Tue, 27 Dec 2022 15:50:38 +0000 (16:50 +0100)]
Remove deprecated channels (#14033)

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
3 years ago[bluetooth.am43] null annotations (#13972)
lsiepel [Tue, 27 Dec 2022 15:27:19 +0000 (16:27 +0100)]
[bluetooth.am43] null annotations (#13972)

* null annotations forbidden package
* improve createChecksum
* spotless + typo

Signed-off-by: lsiepel <leosiepel@gmail.com>
3 years agonull annotations - checkstyle (#13979)
lsiepel [Tue, 27 Dec 2022 15:16:55 +0000 (16:16 +0100)]
null annotations - checkstyle (#13979)

Signed-off-by: Leo Siepel <leosiepel@gmail.com>
3 years agominro checkstyle (#13977)
lsiepel [Tue, 27 Dec 2022 15:13:12 +0000 (16:13 +0100)]
minro checkstyle (#13977)

Signed-off-by: Leo Siepel <leosiepel@gmail.com>
3 years ago[velux] Updated Discovery instructions for scenes and actuators (#14009)
Jiri Kraus [Tue, 27 Dec 2022 15:08:12 +0000 (16:08 +0100)]
[velux] Updated Discovery instructions for scenes and actuators (#14009)

* Updated Discovery instructions for scenes and actuators

Updated Discovery instructions as after KLF200 is auto discovered and configured discovery of scenes and actuators need to be manually triggered.

* @jirikraus Updated Discovery instructions for scenes and actuators

Formatting update to address comment from @andrewfg.

3 years ago[astro] Added moon phase precision (#14067)
lsiepel [Tue, 27 Dec 2022 11:56:43 +0000 (12:56 +0100)]
[astro] Added moon phase precision (#14067)

* add more precision to MoonPhase.Age

Signed-off-by: lsiepel <leosiepel@gmail.com>
3 years ago[nuvo] Auto update source channel for grouped zones (#14012)
mlobstein [Tue, 27 Dec 2022 11:54:26 +0000 (05:54 -0600)]
[nuvo] Auto update source channel for grouped zones (#14012)

* Auto update source channel for grouped zones

Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
3 years ago[homekit] support Rollershutter items for HoldPosition (#14045)
Cody Cutrer [Tue, 27 Dec 2022 10:55:12 +0000 (03:55 -0700)]
[homekit] support Rollershutter items for HoldPosition (#14045)

* [homekit] support Rollershutter items for HoldPosition

just send STOP to them

* [homekit] log a warning for incompatible HoldPosition items

Signed-off-by: Cody Cutrer <cody@cutrer.us>
3 years agoSkip loading/migrating items with invalid name (#14054)
Jacob Laursen [Tue, 27 Dec 2022 10:41:59 +0000 (11:41 +0100)]
Skip loading/migrating items with invalid name (#14054)

Fixes #14053

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
3 years ago[rrd4j] Improve logging of exceptions thrown by getDB (#14068)
Holger Friedrich [Tue, 27 Dec 2022 09:55:15 +0000 (10:55 +0100)]
[rrd4j] Improve logging of exceptions thrown by getDB (#14068)

Add exception message for better identification of root cause.

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
3 years ago[tplinksmarthome] Document sending raw commands to devices (#14062)
Tim Harper [Tue, 27 Dec 2022 09:25:28 +0000 (02:25 -0700)]
[tplinksmarthome] Document sending raw commands to devices (#14062)

Signed-off-by: Tim Harper <timcharper@gmail.com>
Signed-off-by: Tim Harper <timcharper@gmail.com>
3 years ago[airvisualnode] Add null annotations (#13895)
lsiepel [Mon, 26 Dec 2022 16:00:53 +0000 (17:00 +0100)]
[airvisualnode] Add null annotations (#13895)

* Add null annotation

Signed-off-by: Leo Siepel <leosiepel@gmail.com>
3 years ago[jsscriptingnashorn] JavaScript Scripting Nashorn Automation (#14013)
Wouter Born [Mon, 26 Dec 2022 14:27:03 +0000 (15:27 +0100)]
[jsscriptingnashorn] JavaScript Scripting Nashorn Automation  (#14013)

* [jsscriptingnashorn] JavaScript Scripting Nashorn Automation

This add-on allows you to use your older JavaScript (ECMAScript 5.1) rules on newer Java versions until they are migrated to JavaScript (ECMAScript 2021+).
The add-on uses a standalone [Nashorn Engine](https://github.com/openjdk/nashorn) which was part of Java until it was removed in Java 15.

* Update parent to 3.4.0-SNAPSHOT and nashorn-core to 15.4

For the Nashorn changelog, see:

https://github.com/openjdk/nashorn/blob/main/CHANGELOG.md

* Update parent to 4.0.0-SNAPSHOT
* Remove removeUnsupportedNashornArgs
* Update scriptTypes
* Add CODEOWNERS entry
* Recycle ScriptScopeOSGiTest.java

It got removed in openhab/openhab-core#2994

* Remove redundant new line from pom.xml

Signed-off-by: Wouter Born <github@maindrain.net>
3 years agoSet openHAB to correct version in binding skeleton scripts. (#14061)
Hilbrand Bouwkamp [Mon, 26 Dec 2022 09:17:42 +0000 (10:17 +0100)]
Set openHAB to correct version in binding skeleton scripts. (#14061)

Signed-off-by: Hilbrand Bouwkamp <hilbrand@h72.nl>
3 years ago[nanoleaf] More robust caching of layout (#13998)
Jørgen Austvik [Sun, 25 Dec 2022 19:56:04 +0000 (20:56 +0100)]
[nanoleaf] More robust caching of layout (#13998)

* [nanoleaf] More robust caching of layout

This is a bugfix/enhancement to make sure the caching of the layout
(to save it from being recalculated) works better:
- Only save previous layout if indeed painted
- Only save layout from the layout update, not the display state
- Recalculate anyway if current state is null

* Bugfix: Update colors

When Stefan runs, the getBridge() returns null, when Jørgen runs, is doesn't. But it isn't needed, because we
are already in the handler, so just call own methods.

Improvement: Less draws when updating colors

Instead of drawing the picture for each panel (which gave a cool effect), draw only once when we have parsed all color data.

Signed-off-by: Jørgen Austvik <jaustvik@acm.org>
3 years ago[knx] Fix SAT warnings (#14052)
Holger Friedrich [Sat, 24 Dec 2022 11:11:28 +0000 (12:11 +0100)]
[knx] Fix SAT warnings (#14052)

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
3 years ago[lifx] Handle and provide QuantityType for color-temperature-abs channel (#14025)
Cody Cutrer [Fri, 23 Dec 2022 23:00:57 +0000 (16:00 -0700)]
[lifx] Handle and provide QuantityType for color-temperature-abs channel (#14025)

See https://github.com/openhab/openhab-core/pull/3129

Signed-off-by: Cody Cutrer <cody@cutrer.us>
3 years ago[homekit] Allow configuring secondary services as members of a group (#13879)
Cody Cutrer [Fri, 23 Dec 2022 22:41:44 +0000 (15:41 -0700)]
[homekit] Allow configuring secondary services as members of a group (#13879)

* [homekit] allow configuring secondary services as members of a group

Required introduction of AccessoryGroup to represent the base
AccessoryInformationService for ease of configuring multiple of the
same service.

This is also "breaking" in that someone who previously had HomeKit
accessories nested directly inside of a group that was itself a
HomeKit accessory will now have those items grouped within the Home
app.

* [homekit] combine multiple readme sections on complex accessories

Signed-off-by: Cody Cutrer <cody@cutrer.us>
3 years agoRemove JavaScript Transformation pom.xml (#14048)
Wouter Born [Fri, 23 Dec 2022 13:10:58 +0000 (14:10 +0100)]
Remove JavaScript Transformation pom.xml (#14048)

Everything except for this pom.xml got removed in openhab/openhab-addons#13276

Signed-off-by: Wouter Born <github@maindrain.net>
3 years ago[homekit] implement List-Pairings method (#13982)
Cody Cutrer [Thu, 22 Dec 2022 23:16:55 +0000 (16:16 -0700)]
[homekit] implement List-Pairings method (#13982)

* [homekit] implement List-Pairings method
* [homekit] fix listUsers() method
* [homekit] bump HAP-java to 2.0.5

refs #13949

Signed-off-by: Cody Cutrer <cody@cutrer.us>
3 years agoUse HTTPS in pom.xml where possible (#14044)
Wouter Born [Thu, 22 Dec 2022 23:13:17 +0000 (00:13 +0100)]
Use HTTPS in pom.xml where possible (#14044)

Signed-off-by: Wouter Born <github@maindrain.net>
3 years ago[fineoffsetweatherstation] Fix QuantityType for rain-rate (#14039)
Andreas Berger [Thu, 22 Dec 2022 20:17:07 +0000 (21:17 +0100)]
[fineoffsetweatherstation] Fix QuantityType for rain-rate (#14039)

A community member realized, that the used unit for rain-rate was wrong (https://community.openhab.org/t/fine-offset-weather-station-binding-discussion/134167/153)
Rain rate is measured in mm/h and so it is not a `VolumetricFlowRate` but a `Speed`.

Additionally, I added some details to the doc.

Signed-off-by: Andreas Berger <andreas@berger-freelancer.com>
3 years agoFix "Hello, World!" examples in automation documentation (#14041)
Wouter Born [Thu, 22 Dec 2022 17:21:13 +0000 (18:21 +0100)]
Fix "Hello, World!" examples in automation documentation (#14041)

The documentation states incorrectly that "Hello, World!" is printed when instead "Hello world!" is printed.

Signed-off-by: Wouter Born <github@maindrain.net>
3 years ago[keba] Fix unit in example for power channel (#14031)
lolodomo [Thu, 22 Dec 2022 17:17:15 +0000 (18:17 +0100)]
[keba] Fix unit in example for power channel (#14031)

Related to #12529

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
3 years agonul;l annotations and codestyle (#13980)
lsiepel [Thu, 22 Dec 2022 08:04:50 +0000 (09:04 +0100)]
nul;l annotations and codestyle (#13980)

Signed-off-by: lsiepel <leosiepel@gmail.com>
3 years ago[bluetooth.govee] null annotations (#13978)
lsiepel [Thu, 22 Dec 2022 07:58:12 +0000 (08:58 +0100)]
[bluetooth.govee] null annotations (#13978)

* null annotations and checkstyle
* Fix more warnings

Signed-off-by: lsiepel <leosiepel@gmail.com>
3 years ago[homekit] allow configuring min/max light level (#14034)
Cody Cutrer [Wed, 21 Dec 2022 23:37:26 +0000 (16:37 -0700)]
[homekit] allow configuring min/max light level (#14034)

since the default is weirdly 0.0001, yet my sensors can report a
straight 0.

Signed-off-by: Cody Cutrer <cody@cutrer.us>
3 years ago[homekit] update AuthInfo objects when blockUserDeletion changes (#14017)
Cody Cutrer [Wed, 21 Dec 2022 23:31:05 +0000 (16:31 -0700)]
[homekit] update AuthInfo objects when blockUserDeletion changes (#14017)

* [homekit] update AuthInfo objects when blockUserDeletion changes

Signed-off-by: Cody Cutrer <cody@cutrer.us>
* [homekit] general cleanup of redundant method call and unused local vars

Signed-off-by: Cody Cutrer <cody@cutrer.us>
Signed-off-by: Cody Cutrer <cody@cutrer.us>
3 years ago[nanoleaf] Handle and provide QuantityType for color-temperature-abs channel (#14026)
Cody Cutrer [Wed, 21 Dec 2022 21:43:46 +0000 (14:43 -0700)]
[nanoleaf] Handle and provide QuantityType for color-temperature-abs channel (#14026)

* [nanoleaf] handle and provide QuantityType for color-temperature-abs channel

see https://github.com/openhab/openhab-core/pull/3129

Signed-off-by: Cody Cutrer <cody@cutrer.us>
3 years ago[dali] tweak color temperature abs QuantityType fix (#14029)
Cody Cutrer [Wed, 21 Dec 2022 19:21:53 +0000 (12:21 -0700)]
[dali] tweak color temperature abs QuantityType fix (#14029)

adds an example of usage of the channel to the README, and
simplifies one method call

Signed-off-by: Cody Cutrer <cody@cutrer.us>
3 years ago[hue] Allow handling of QuantityType for color temperature channel (#14024)
Christoph Weitkamp [Wed, 21 Dec 2022 19:10:21 +0000 (20:10 +0100)]
[hue] Allow handling of QuantityType for color temperature channel (#14024)

* Allow handling of QuantityType for color temperature channel
* Fixed log messages and reduce log level.

Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
3 years ago[darksky] Remove DarkSky binding due to EOL of their API (#13037)
Christoph Weitkamp [Wed, 21 Dec 2022 16:24:57 +0000 (17:24 +0100)]
[darksky] Remove DarkSky binding due to EOL of their API (#13037)

* Remove DarkSky binding due to EOL of their API

Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
3 years ago[dali] handle and provide QuantityType for color-temperature-abs channel (#14021)
Cody Cutrer [Tue, 20 Dec 2022 20:15:10 +0000 (13:15 -0700)]
[dali] handle and provide QuantityType for color-temperature-abs channel (#14021)

see openhab/openhab-core#3129

Signed-off-by: Cody Cutrer <cody@cutrer.us>
3 years ago[jsscripting] Minor fixes & improvements (#13960)
Florian Hotze [Tue, 20 Dec 2022 08:15:43 +0000 (09:15 +0100)]
[jsscripting] Minor fixes & improvements (#13960)

* [jsscripting] Correct wrong `createScriptEngine` implementation
* [jsscripting] Also unlock lock on unexpected exceptions (rethrow them)
* [jsscripting] Call super methods from their overrides
* [jsscripting] Move superclass call of `beforeInvocation`

Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
3 years agoFix build / Resolve itests (#14018)
J-N-K [Tue, 20 Dec 2022 07:11:31 +0000 (08:11 +0100)]
Fix build / Resolve itests (#14018)

* Fix build / Resolve itests
* Remove Java 11 from GHA matrix

Also-by: Wouter Born <github@maindrain.net>
Signed-off-by: Jan N. Klug <github@klug.nrw>
3 years agonull annotations (#13976)
lsiepel [Mon, 19 Dec 2022 23:06:52 +0000 (00:06 +0100)]
null annotations (#13976)

Signed-off-by: Leo Siepel <leosiepel@gmail.com>
3 years agonul annotations, checkstyle, forbidden packagel (#13981)
lsiepel [Mon, 19 Dec 2022 23:04:43 +0000 (00:04 +0100)]
nul annotations, checkstyle, forbidden packagel (#13981)

Signed-off-by: lsiepel <leosiepel@gmail.com>
3 years agoVery minor checkstyle (#13973)
lsiepel [Mon, 19 Dec 2022 23:01:50 +0000 (00:01 +0100)]
Very minor checkstyle (#13973)

Signed-off-by: Leo Siepel <leosiepel@gmail.com>
3 years agoUpgrade MySQL Connector/J to 8.0.31 (#13991)
Jacob Laursen [Mon, 19 Dec 2022 22:49:51 +0000 (23:49 +0100)]
Upgrade MySQL Connector/J to 8.0.31 (#13991)

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
3 years ago[rrd4j] Upgrade base library from 3.8.1 to 3.8.2 (#13956)
Holger Friedrich [Mon, 19 Dec 2022 21:58:43 +0000 (22:58 +0100)]
[rrd4j] Upgrade base library from 3.8.1 to 3.8.2 (#13956)

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
3 years ago[knx] Upgrade Calimero library to release 2.5.1 (#14015)
Holger Friedrich [Mon, 19 Dec 2022 21:49:40 +0000 (22:49 +0100)]
[knx] Upgrade Calimero library to release 2.5.1 (#14015)

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
3 years agoRaise minimum JDK version to 17 (#13276)
J-N-K [Mon, 19 Dec 2022 19:39:42 +0000 (20:39 +0100)]
Raise minimum JDK version to 17 (#13276)

Signed-off-by: Jan N. Klug <github@klug.nrw>
3 years agofix spotless after release (#14014)
J-N-K [Mon, 19 Dec 2022 14:22:17 +0000 (15:22 +0100)]
fix spotless after release (#14014)

Signed-off-by: Jan N. Klug <github@klug.nrw>
3 years ago[unleash-maven-plugin] Preparation for next development cycle.
openhab-bot [Mon, 19 Dec 2022 00:55:11 +0000 (00:55 +0000)]
[unleash-maven-plugin] Preparation for next development cycle.

3 years agoFix NullPointerException (#14010)
Jacob Laursen [Sun, 18 Dec 2022 22:22:40 +0000 (23:22 +0100)]
Fix NullPointerException (#14010)

Fixes #13961

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
3 years ago[shelly] Remove broken images (#14007)
Wouter Born [Sun, 18 Dec 2022 18:50:23 +0000 (19:50 +0100)]
[shelly] Remove broken images (#14007)

See also #13993

Signed-off-by: Wouter Born <github@maindrain.net>
3 years ago[shelly] Remove broken images (#14007)
Wouter Born [Sun, 18 Dec 2022 18:49:42 +0000 (19:49 +0100)]
[shelly] Remove broken images (#14007)

See also #13993

Signed-off-by: Wouter Born <github@maindrain.net>
3 years ago[jdbc] Update org.xerial/sqlite-jdbc to 3.40.0.0 (#14003)
Kai Takac [Sun, 18 Dec 2022 18:04:43 +0000 (19:04 +0100)]
[jdbc] Update org.xerial/sqlite-jdbc to 3.40.0.0 (#14003)

* [jdbc] Update org.xerial/sqlite-jdbc to 3.40.0.0

Co-authored-by: Jacob Laursen <jacob-github@vindvejr.dk>
Signed-off-by: Kai Takac <kai.takac@gmail.com>
3 years agotypos: success, successful (#13997)
Дилян Палаузов [Sun, 18 Dec 2022 13:18:24 +0000 (15:18 +0200)]
typos: success, successful (#13997)

3 years agoNew Crowdin updates (#13999)
openhab-bot [Sun, 18 Dec 2022 13:02:15 +0000 (14:02 +0100)]
New Crowdin updates (#13999)

* New translations iCloud.properties (French)

* New translations openwebnet.properties (Italian)

* New translations plugwise.properties (Dutch)

3 years agofixed potential StringIndexOutOfBoundsExceptions (#14000)
MikeTheTux [Sun, 18 Dec 2022 12:35:08 +0000 (13:35 +0100)]
fixed potential StringIndexOutOfBoundsExceptions (#14000)

fixed compiler warnings

Signed-off-by: Michael Weger <weger.michael@gmx.net>
3 years ago[wolfsmartset] Fix link to external documentation (#13996)
Holger Friedrich [Sun, 18 Dec 2022 10:55:59 +0000 (11:55 +0100)]
[wolfsmartset] Fix link to external documentation (#13996)

Update link to current document from Wolf download center.
Fixes #13995.

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
3 years agoFix alignment/indentation (#13994)
Jacob Laursen [Sun, 18 Dec 2022 09:22:07 +0000 (10:22 +0100)]
Fix alignment/indentation (#13994)

Fixes #13882

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
3 years agoShow add-on intros in Main UI (#13992)
Wouter Born [Sat, 17 Dec 2022 22:53:57 +0000 (23:53 +0100)]
Show add-on intros in Main UI (#13992)

Using these Markdown tweaks a small intro will show in Main UI instead of emptyness and a "more" button.

Signed-off-by: Wouter Born <github@maindrain.net>
3 years agoFix Zigbee name stylization (#13954)
Jacob Laursen [Sat, 17 Dec 2022 16:25:38 +0000 (17:25 +0100)]
Fix Zigbee name stylization (#13954)

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
3 years agoNew Crowdin updates (#13990)
openhab-bot [Sat, 17 Dec 2022 15:51:35 +0000 (16:51 +0100)]
New Crowdin updates (#13990)

* New translations tr064.properties (German)
* New translations jsscripting.properties (Danish)
* New translations jsscripting.properties (Italian)

3 years ago[yamaha] README: Recommend correct binding for specific model (#13985)
Florian Hotze [Sat, 17 Dec 2022 14:42:23 +0000 (15:42 +0100)]
[yamaha] README: Recommend correct binding for specific model (#13985)

This doc improvement tries to avoid future issue like #10838.

Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
3 years ago[jsscripting] Update add-on name in default translation (#13984)
Florian Hotze [Sat, 17 Dec 2022 12:40:12 +0000 (13:40 +0100)]
[jsscripting] Update add-on name in default translation (#13984)

Leftover from #13764.

Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
3 years agoNew Crowdin updates (#13971)
openhab-bot [Sat, 17 Dec 2022 11:13:24 +0000 (12:13 +0100)]
New Crowdin updates (#13971)

* New translations knx.properties (German)
* New translations yamahamusiccast.properties (German)
* New translations hdpowerview.properties (Danish)
* New translations jsscripting.properties (Danish)

3 years ago[mapdb] Fix "a" typo and use "-" for bullets in docs (#13966)
Wouter Born [Fri, 16 Dec 2022 10:22:48 +0000 (11:22 +0100)]
[mapdb] Fix "a" typo and use "-" for bullets in docs (#13966)

Signed-off-by: Wouter Born <github@maindrain.net>
3 years ago[hydrawise] fixes null pointer error for some sprinkler controllers (#13965)
Dan Cunningham [Fri, 16 Dec 2022 07:31:02 +0000 (23:31 -0800)]
[hydrawise] fixes null pointer error for some sprinkler controllers (#13965)

Signed-off-by: Dan Cunningham <dan@digitaldan.com>
3 years ago[mapdb] Add some documentation (#13964)
Wouter Born [Thu, 15 Dec 2022 22:39:37 +0000 (23:39 +0100)]
[mapdb] Add some documentation (#13964)

This is based on the original OH1 documentation.

Signed-off-by: Wouter Born <github@maindrain.net>
3 years agoNew Crowdin updates (#13962)
openhab-bot [Thu, 15 Dec 2022 22:36:49 +0000 (23:36 +0100)]
New Crowdin updates (#13962)

* New translations chromecast.properties (Italian)
* New translations sonos.properties (Italian)
* New translations exec.properties (Italian)
* New translations knx.properties (German)
* New translations jsscripting.properties (German)
* New translations yamahamusiccast.properties (German)

3 years ago[wundergroundupdatereceiver] Prevent 😕 showing in documentation (#13963)
Wouter Born [Thu, 15 Dec 2022 21:40:52 +0000 (22:40 +0100)]
[wundergroundupdatereceiver] Prevent 😕 showing in documentation (#13963)

See: https://www.openhab.org/addons/bindings/wundergroundupdatereceiver/

Signed-off-by: Wouter Born <github@maindrain.net>
3 years ago[knx] Minor documentation update (#13918)
Holger Friedrich [Thu, 15 Dec 2022 15:22:43 +0000 (16:22 +0100)]
[knx] Minor documentation update (#13918)

Slightly change wording of docs related to localSourceAddress to avoid
address conflicts during initial setup.
Add remark about knxd.
Fixes #13602.

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
3 years agoPrevent Markdown rendering issues in Main UI (#13958)
Wouter Born [Thu, 15 Dec 2022 11:28:32 +0000 (12:28 +0100)]
Prevent Markdown rendering issues in Main UI (#13958)

Some add-ons use `---` separators which causes issues when rendering the documentation in Main UI.

Fixes #13953

Signed-off-by: Wouter Born <github@maindrain.net>
3 years ago[rrd4j] Error handling for broken rrd4j files (#13955)
Holger Friedrich [Thu, 15 Dec 2022 10:31:20 +0000 (11:31 +0100)]
[rrd4j] Error handling for broken rrd4j files (#13955)

* [rrd4j] Error handling for broken rrd4j files

Catch exceptions thrown by getDB(..) and print the name of the affected
database file. This allows to identify a broken rrd4j file.

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
3 years ago[icloud] Rework authentication to reflect changes in iCloud API (#13691)
Simon Spielmann [Thu, 15 Dec 2022 08:18:11 +0000 (09:18 +0100)]
[icloud] Rework authentication to reflect changes in iCloud API (#13691)

* Implement Authentication (WIP)
* Validation Code accepted
* Refactor session state
* RefreshClient working
* Implement session persistence in openhab store
* Integration in binding
* Remove persistent cookies, which break authentication
* Bugfixing
* Add code configuration to UI
* Improve documentation, error-handling and cleanup
* Rework auth order
* Rework auth process
* Add 2-FA-auth to documentation
* Set bridge to online if data refresh works
* Case-sensitive rename ICloudAPIResponseException
* Include authentication in refresh flow
* Fix regression for data not being updated
* Fix typo in i18n props
* Fix review and checkstyle.
* More javadoc, new RetryException
* Introduce @NonNullByDefault
* Introduce server for RetryException, add NonNullbyDefault, fix warnings
* Rework for contribution, e.g. null checks, ...
* Fix checkstyle
* Move JsonUtils to utilities package
* Async initialize bridge handler.
* Report Device OFFLINE if Bridge is OFFLINE
* Set bridge thing status to UNKOWN in init
* Move refresh init into async init
* Cancel init task in dispose

Also-by: Leo Siepel <leosiepel@gmail.com>
Signed-off-by: Simon Spielmann <simon.spielmann@gmx.de>
3 years ago[jsscripting] Fix broken event object table (#13952)
Wouter Born [Thu, 15 Dec 2022 06:51:22 +0000 (07:51 +0100)]
[jsscripting] Fix broken event object table (#13952)

The table is not properly rendered when reading the documentation in Main UI.

Signed-off-by: Wouter Born <github@maindrain.net>
3 years ago[nanoleaf] Bugfix: Handle non-integer panel ids (#13951)
Jørgen Austvik [Wed, 14 Dec 2022 19:15:47 +0000 (20:15 +0100)]
[nanoleaf] Bugfix: Handle non-integer panel ids (#13951)

Panel ids are sometimes returned as BigInteger

We haven't been able to understand why this happens somewhere and
somewhere not, but this is an sledgehammer attempt to fix it quickly
to unblock users, and then we will try to understand it later.

Discussions:
https://community.openhab.org/t/java-lang-classcastexception-class-java-math-bigdecimal-cannot-be-cast-to-class-java-lang-integer/142035/16
https://community.openhab.org/t/nanoleaf-binding-oh3-stabilization-update/116300/61

Signed-off-by: Jørgen Austvik <jaustvik@acm.org>
3 years ago[jsscripting] Extend synchronization to common ScriptEngine methods (#13924)
Florian Hotze [Wed, 14 Dec 2022 19:12:54 +0000 (20:12 +0100)]
[jsscripting] Extend synchronization to common ScriptEngine methods (#13924)

* [jsscripting] Extend synchronization to common ScriptEngine methods

This extends the multi-thread synchronization to "eval" and "invokeMethod" and moves synchronization for "invokeFunction" to the DelegatingScriptEngineWithInvocableAndAutocloseableAndSynchronization class. Fixes the multi-thread access requested warnings described in the community (https://community.openhab.org/t/openhab-3-4-milestone-discussion/138093/130) and related to https://github.com/openhab/openhab-core/pull/3180.

* Revert "[jsscripting] Extend synchronization to common ScriptEngine methods"

This reverts commit aadd21e45879c10aad29bf279ddbb0afd789b0aa.

* [jsscripting] Extend synchronization to common ScriptEngine methods & Switch to ReentrantLock

This extends the multi-thread synchronization to "eval" and "invokeMethod" and moves synchronization for "invokeFunction" to the InvocationInterceptingScriptEngineWithInvocableAndAutoCloseable class.
The synchronization mechanism changed from using synchronized to using a ReentrantLock together with catch_finally to avoid having deadlocks when an exception is thrown.
Fixes the multi-thread access requested warnings described in the community (https://community.openhab.org/t/openhab-3-4-milestone-discussion/138093/130) and related to https://github.com/openhab/openhab-core/pull/3180.

* [jsscripting] Reduce compiler warnings
* [jsscripting] Replace finally blocks & Wrap returns in afterInvocation
* [jsscripting] Fix deadlock caused by NoSuchMethodException in Invocable interface methods

During testing my latest changes, I noticed that there is a deadlock when invokeFunction or invokeMethod are called on a non-existing method.
This happens because the NoSuchMethodException keeps afterInvocation from running and therefore the lock never gets released.

* [jsscripting] Also rethrow NPE & Fix PMD warnings/errors
* [jsscripting] Wrap and rethrow other exceptions instead of returning them
* [jsscripting] Address review comment from @jpg0

Signed-off-by: Florian Hotze <florianh_dev@icloud.com>