]> git.basschouten.com Git - openhab-addons.git/log
openhab-addons.git
2 years ago[persistence] Use Java 17 features (#15486)
Holger Friedrich [Sat, 26 Aug 2023 06:56:27 +0000 (08:56 +0200)]
[persistence] Use Java 17 features (#15486)

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2 years agoJava 17 features (#15493)
Holger Friedrich [Sat, 26 Aug 2023 06:52:11 +0000 (08:52 +0200)]
Java 17 features (#15493)

- add missing @override
- Java style array syntax
- remove redundant modifiers
- always move String constants to left side in comparisons
- simplify lambda expressions and return statements
- use replace instead of replaceAll w/o regex

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2 years ago[hueemulation] Java 17 features (#15496)
Holger Friedrich [Fri, 25 Aug 2023 15:48:55 +0000 (17:48 +0200)]
[hueemulation] Java 17 features (#15496)

- add missing @override
- Java style array syntax
- remove redundant modifiers
- always move String constants to left side in comparisons
- simplify lambda expressions and return statements

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2 years ago[solax] Initial contribution (#14880)
Konstantin Polihronov [Thu, 24 Aug 2023 12:39:24 +0000 (15:39 +0300)]
[solax] Initial contribution (#14880)

Signed-off-by: Konstantin Polihronov <polychronov@gmail.com>
2 years ago[voice] Make use of Java17 features (#15487)
Holger Friedrich [Thu, 24 Aug 2023 04:46:18 +0000 (06:46 +0200)]
[voice] Make use of Java17 features (#15487)

Use Map/Set/List.of instead of Collections.

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2 years ago[io] Use Java 17 features (#15485)
Holger Friedrich [Thu, 24 Aug 2023 04:44:56 +0000 (06:44 +0200)]
[io] Use Java 17 features (#15485)

* instanceof matching and multiline strings
* use Map/Set/List.of instead of Collections

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2 years ago[transform] Code optimization for Java17: instanceof matching and multiline strings...
Holger Friedrich [Thu, 24 Aug 2023 04:41:36 +0000 (06:41 +0200)]
[transform] Code optimization for Java17: instanceof matching and multiline strings (#15483)

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2 years ago[hue] Fix exception being displayed in bridge status description (#15475)
Jacob Laursen [Thu, 24 Aug 2023 04:39:27 +0000 (06:39 +0200)]
[hue] Fix exception being displayed in bridge status description (#15475)

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2 years agoRemove build server specific timing from dynamodb and ruuvigateway (#15472)
Wouter Born [Wed, 23 Aug 2023 18:54:50 +0000 (20:54 +0200)]
Remove build server specific timing from dynamodb and ruuvigateway (#15472)

* Remove build server specific timing from dynamodb and ruuvigateway

There should be no difference between running tests on your own PC or on a build server.
The ruuvigateway tests always fail for me during parallel builds due to its unrealistic timing.

Signed-off-by: Wouter Born <github@maindrain.net>
2 years ago[automation] Use Java 17 features (#15484)
Holger Friedrich [Wed, 23 Aug 2023 15:27:40 +0000 (17:27 +0200)]
[automation] Use Java 17 features (#15484)

* [automation] Code optimization for Java17: instanceof matching and multiline strings

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
* [automation] Make use of Java17 features

Use Map/Set/List.of instead of Collections.

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
* review comment

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
---------

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2 years agoResolve runbundles for CXF upgrade (#15473)
Wouter Born [Wed, 23 Aug 2023 07:14:15 +0000 (09:14 +0200)]
Resolve runbundles for CXF upgrade (#15473)

* Resolve runbundles for CXF upgrade

Related to openhab/openhab-core#3770

Signed-off-by: Wouter Born <github@maindrain.net>
* Replace Grizzly JAX-RS Client with Jetty HTTP client in hueemulation tests

It seems that the Grizzly JAX-RS Client implementation does not work well with the new CXF dependencies on the classpath.
As we do not use Grizzly anywhere else it is probably best to also stop using the Grizzly HTTP Server in these tests in the future.

Signed-off-by: Wouter Born <github@maindrain.net>
---------

Signed-off-by: Wouter Born <github@maindrain.net>
2 years ago[paradoxalarm] Fix Paradox EVOHD zone parsing fail #10572 (#15441)
Konstantin Polihronov [Tue, 22 Aug 2023 06:47:12 +0000 (09:47 +0300)]
[paradoxalarm] Fix Paradox EVOHD zone parsing fail #10572 (#15441)

* Fix Paradox EVOHD zone parsing fail #10572

* Root cause is that EVOHD and EVO192 have much more zones which are
stored in a different memory map model. They should be treated the same
way. Fix is simple and can be downported to 3.x if decided by the
maintainers

Signed-off-by: Konstantin Polihronov <polychronov@gmail.com>
2 years ago[feed] Upgrade jdom2 to 2.0.6.1 (#15476)
Wouter Born [Tue, 22 Aug 2023 06:31:20 +0000 (08:31 +0200)]
[feed] Upgrade jdom2 to 2.0.6.1 (#15476)

This addresses CVE-2021-33813

See: http://www.jdom.org/news/index.html

Signed-off-by: Wouter Born <github@maindrain.net>
2 years ago[surepetcare] Fix possible timeout bug (#15411)
lsiepel [Mon, 21 Aug 2023 19:36:07 +0000 (21:36 +0200)]
[surepetcare] Fix possible timeout bug (#15411)

Fix #11527

* Minor java 17 refactoring
* Spotless

Signed-off-by: lsiepel <leosiepel@gmail.com>
2 years ago[hue] Fix compiler warnings (#15419)
Jacob Laursen [Mon, 21 Aug 2023 19:14:18 +0000 (21:14 +0200)]
[hue] Fix compiler warnings (#15419)

* Fix compiler warnings
* Fix integration test compiler/SAT warnings

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2 years ago[homekit] Checkstyle cleanup (#15450)
lsiepel [Mon, 21 Aug 2023 18:12:49 +0000 (20:12 +0200)]
[homekit] Checkstyle cleanup (#15450)

* Remove package
* java 17 instanceofpattern
* EqualsAvoidNullCheck
* NoEmptyLineSeparatorCheck
* ConstantNameCheck

Signed-off-by: lsiepel <leosiepel@gmail.com>
2 years agoUpdate Jackson to 2.15.2 (#15471)
Wouter Born [Mon, 21 Aug 2023 12:03:41 +0000 (14:03 +0200)]
Update Jackson to 2.15.2 (#15471)

Related to openhab/openhab-core#3768

Signed-off-by: Wouter Born <github@maindrain.net>
2 years ago[fineoffsetweatherstation] Fix failing tests (#15470)
jimtng [Mon, 21 Aug 2023 04:41:28 +0000 (14:41 +1000)]
[fineoffsetweatherstation] Fix failing tests (#15470)

2 years agoUse SecureRandom instead of Random (#15459)
Holger Friedrich [Sun, 20 Aug 2023 19:29:37 +0000 (21:29 +0200)]
Use SecureRandom instead of Random (#15459)

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>
2 years ago[openuv] Correcting NPE in IconProvider (#15465)
Gaël L'hopital [Sun, 20 Aug 2023 16:06:25 +0000 (18:06 +0200)]
[openuv] Correcting NPE in IconProvider (#15465)

Signed-off-by: Gaël L'hopital <gael@lhopital.org>
2 years ago[jrubyscripting] Fix broken image in README.md (#15435)
jimtng [Sat, 19 Aug 2023 20:41:54 +0000 (06:41 +1000)]
[jrubyscripting] Fix broken image in README.md (#15435)

* [jrubyscripting] Fix broken image in README.md
* [jrubyscripting] Update the base url in the regenerate instructions

Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
2 years ago[chatgpt] Set proper default values for channel configuration (#15451)
Holger Friedrich [Sat, 19 Aug 2023 18:49:37 +0000 (20:49 +0200)]
[chatgpt] Set proper default values for channel configuration (#15451)

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2 years ago[jrubyscripting] Fix config description uri (#15457)
jimtng [Sat, 19 Aug 2023 08:48:31 +0000 (18:48 +1000)]
[jrubyscripting] Fix config description uri (#15457)

This is to match the uri defined in https://github.com/openhab/openhab-addons/pull/15438

Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
2 years agoResolve itests after core changes (#15454)
J-N-K [Sat, 19 Aug 2023 08:18:49 +0000 (10:18 +0200)]
Resolve itests after core changes (#15454)

Signed-off-by: Jan N. Klug <github@klug.nrw>
2 years ago[denonmarantz] Fix NPE on connection problem (#15422)
lsiepel [Fri, 18 Aug 2023 14:33:39 +0000 (16:33 +0200)]
[denonmarantz] Fix NPE on connection problem (#15422)

* Checkstyle cleanup
* Fix #15444

Signed-off-by: lsiepel <leosiepel@gmail.com>
2 years ago[easee] Migrate charger state API endpoint, add channels (#14614)
Alexander Friese [Fri, 18 Aug 2023 11:33:19 +0000 (13:33 +0200)]
[easee] Migrate charger state API endpoint, add channels (#14614)

* reworked the way to retrieve Charger state as API endpoint is now deprecated.
* fixed result processing: removed default handling by bridge handler which caused everything to go offline if a single charger had faulty config.
* additional channels / removed obsolete firmware channel

Signed-off-by: Alexander Friese <af944580@googlemail.com>
2 years agoFix wrong source code URLs in NOTICE files (#15448)
Wouter Born [Thu, 17 Aug 2023 19:49:01 +0000 (21:49 +0200)]
Fix wrong source code URLs in NOTICE files (#15448)

2 years ago[easee] Enable write support for smartCharging channel (#14866)
Alexander Friese [Thu, 17 Aug 2023 15:01:21 +0000 (17:01 +0200)]
[easee] Enable write support for smartCharging channel (#14866)

* this fixes #14863

Signed-off-by: Alexander Friese <af944580@googlemail.com>
2 years ago[jrubyscripting] Allow configuration from add-on page (#15438)
Florian Hotze [Wed, 16 Aug 2023 19:49:20 +0000 (21:49 +0200)]
[jrubyscripting] Allow configuration from add-on page (#15438)

Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
2 years ago[somfytahoma] fix NPE in case that HttpClient fails to start (#15442)
Ondrej Pecta [Wed, 16 Aug 2023 18:15:18 +0000 (20:15 +0200)]
[somfytahoma] fix NPE in case that HttpClient fails to start (#15442)

Signed-off-by: Ondrej Pecta <opecta@gmail.com>
2 years ago[jdbc] Fix null annotation warnings (#15426)
Jacob Laursen [Tue, 15 Aug 2023 11:24:29 +0000 (13:24 +0200)]
[jdbc] Fix null annotation warnings (#15426)

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2 years ago[dscalarm] Fix checkstyle and warning (#15424)
lsiepel [Mon, 14 Aug 2023 20:08:22 +0000 (22:08 +0200)]
[dscalarm] Fix checkstyle and warning (#15424)

Signed-off-by: lsiepel <leosiepel@gmail.com>
2 years ago[volumio] Removing compiler warnings (#15379)
miloit [Mon, 14 Aug 2023 12:14:50 +0000 (14:14 +0200)]
[volumio] Removing compiler warnings (#15379)

Signed-off-by: miloit <MichaelLoercher@web.de>
2 years agoResolve runbundles for workaround (#15421)
Wouter Born [Mon, 14 Aug 2023 08:38:33 +0000 (10:38 +0200)]
Resolve runbundles for workaround (#15421)

* Resolve runbundles for workaround

Related to openhab/openhab-core#3756

Signed-off-by: Wouter Born <github@maindrain.net>
2 years ago[gardena] Fix close all valves command (#15390)
lsiepel [Mon, 14 Aug 2023 06:10:29 +0000 (08:10 +0200)]
[gardena] Fix close all valves command (#15390)

* Fix #15039
* codestyle

Signed-off-by: lsiepel <leosiepel@gmail.com>
2 years agoUpgrade SQLite JDBC driver to 3.42.0.0 (#15412)
Jacob Laursen [Sun, 13 Aug 2023 20:13:18 +0000 (22:13 +0200)]
Upgrade SQLite JDBC driver to 3.42.0.0 (#15412)

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2 years ago[tr064] Fix clearing of auth (results) (#15415)
J-N-K [Sun, 13 Aug 2023 16:55:13 +0000 (18:55 +0200)]
[tr064] Fix clearing of auth (results) (#15415)

* [tr064] Fix clearing of auth (results)

In case of multiple root things the auth store (results and digests) was cleared for all clients instead of only removing the failed auth result or old authentication.

* fix TAM request

Signed-off-by: Jan N. Klug <github@klug.nrw>
2 years agoDisable "Improved ZIP64 Extra Field Validation" in itests (#15389)
Wouter Born [Sun, 13 Aug 2023 16:41:31 +0000 (18:41 +0200)]
Disable "Improved ZIP64 Extra Field Validation" in itests (#15389)

This prevents ZipException stacktraces when running the itests on JDK 17.0.8 or newer.

Related to:

* openhab/openhab-core#3718
* openhab/openhab-core#3747

Signed-off-by: Wouter Born <github@maindrain.net>
2 years agoLink to Java 17 documentation (#15406)
Wouter Born [Sun, 13 Aug 2023 11:44:05 +0000 (13:44 +0200)]
Link to Java 17 documentation (#15406)

This prevents issues because older documentation may not apply to Java 17.

Signed-off-by: Wouter Born <github@maindrain.net>
2 years agoNew Crowdin updates (#15407)
openhab-bot [Sat, 12 Aug 2023 06:09:15 +0000 (08:09 +0200)]
New Crowdin updates (#15407)

* New translations hue.properties (Italian)

* New translations deconz.properties (Italian)

* New translations anel.properties (Italian)

* New translations atlona.properties (Italian)

* New translations electroluxair.properties (Italian)

* New translations groupepsa.properties (Italian)

* New translations somneo.properties (Italian)

* New translations meater.properties (Italian)

* New translations juicenet.properties (Italian)

* New translations volumio.properties (Italian)

* New translations asuswrt.properties (Italian)

2 years ago[hue] Fix bug due to parallel PUT commands (#15324)
Andrew Fiddian-Green [Wed, 9 Aug 2023 15:45:34 +0000 (16:45 +0100)]
[hue] Fix bug due to parallel PUT commands (#15324)

Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2 years ago[microtik] Fix changed date format in firmware v7.10 (#15362)
lsiepel [Sun, 6 Aug 2023 18:00:12 +0000 (20:00 +0200)]
[microtik] Fix changed date format in firmware v7.10 (#15362)

Signed-off-by: lsiepel <leosiepel@gmail.com>
2 years agoFix missing cast (#15356)
voruti [Sun, 6 Aug 2023 08:43:06 +0000 (10:43 +0200)]
Fix missing cast (#15356)

Signed-off-by: Till von Rüden <dev@tillvonrueden.de>
2 years ago[gpstracker] Fix `NumberFormatException` (#15337)
lsiepel [Sat, 5 Aug 2023 20:41:12 +0000 (22:41 +0200)]
[gpstracker] Fix `NumberFormatException` (#15337)

Signed-off-by: lsiepel <leosiepel@gmail.com>
2 years ago[renault] Small logging improvements. (#15368)
Doug Culnane [Fri, 4 Aug 2023 09:34:52 +0000 (11:34 +0200)]
[renault] Small logging improvements. (#15368)

* [renault] HTTP responses to debug not warn.
* [renault] fix logging typo.

---------

Signed-off-by: Doug Culnane <doug@culnane.net>
2 years ago[allplay] Fix issue tracker link in documentation (#15369)
Wouter Born [Fri, 4 Aug 2023 09:32:01 +0000 (11:32 +0200)]
[allplay] Fix issue tracker link in documentation (#15369)

Signed-off-by: Wouter Born <github@maindrain.net>
2 years ago[pulseaudio] For source, default timeout should be disconnection ASAP (#15314)
Gwendal Roulleau [Thu, 3 Aug 2023 09:01:48 +0000 (11:01 +0200)]
[pulseaudio] For source, default timeout should be disconnection ASAP (#15314)

* [pulseaudio] For source,  default timeout should be disconnection ASAP

To avoid weird behaviour, such as pulseaudio server storing audio data between inputstream get/read and then sending the backlog all at once when finally reading, we must disconnect immediately thereafter.

---------

Signed-off-by: Gwendal Roulleau <gwendal.roulleau@gmail.com>
Co-authored-by: Gwendal Roulleau <gwendal.roulleau@gmail.com>
2 years ago[openthermgateway] Remove 'reserved' channels (with invalid channelUIDs) (#15355)
Arjen Korevaar [Wed, 2 Aug 2023 12:51:09 +0000 (14:51 +0200)]
[openthermgateway] Remove 'reserved' channels (with invalid channelUIDs) (#15355)

* Removed invalid characters from channel UIDs
* Removed unused message ids

Signed-off-by: Arjen Korevaar <a.korevaar@mephix.com>
2 years ago[chromecast] Fix STOP command
lsiepel [Tue, 1 Aug 2023 19:22:37 +0000 (21:22 +0200)]
[chromecast] Fix STOP command

Fixes #14516

Signed-off-by: lsiepel <leosiepel@gmail.com>
2 years agoResolve itest runbundles for JUPnP upgrade (#15353)
Jacob Laursen [Tue, 1 Aug 2023 17:47:55 +0000 (19:47 +0200)]
Resolve itest runbundles for JUPnP upgrade (#15353)

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2 years agoNew translations androidtv.properties (Italian) (#15351)
openhab-bot [Tue, 1 Aug 2023 14:43:40 +0000 (16:43 +0200)]
New translations androidtv.properties (Italian) (#15351)

2 years ago[freeboxos] Support randomized MAC addresses by using mDNS name for Wi-Fi hosts ...
Gaël L'hopital [Tue, 1 Aug 2023 10:16:59 +0000 (12:16 +0200)]
[freeboxos] Support randomized MAC addresses by using mDNS name for Wi-Fi hosts (#15299)

* Take care of randomized mac addresses by using mDNS name for wifi hosts.

Signed-off-by: clinique <gael@lhopital.org>
2 years ago[bluetooth.bluez] Fix `NullPointerException` during discovery (#15347)
lsiepel [Tue, 1 Aug 2023 08:24:25 +0000 (10:24 +0200)]
[bluetooth.bluez] Fix `NullPointerException` during discovery (#15347)

Signed-off-by: lsiepel <leosiepel@gmail.com>
2 years ago[androidtv] Adds gtvEnabled Option (#15317)
morph166955 [Mon, 31 Jul 2023 21:37:56 +0000 (16:37 -0500)]
[androidtv] Adds gtvEnabled Option (#15317)

* Adds gtvEnabled

---------

Signed-off-by: Ben Rosenblum <rosenblumb@gmail.com>
2 years ago[myStrom] Add energy consumption since last API call channel for MyStrom Plug (#15294)
Tom Müller [Mon, 31 Jul 2023 21:08:45 +0000 (23:08 +0200)]
[myStrom] Add energy consumption since last API call channel for MyStrom Plug (#15294)

* added missing Ws value for MyStrom Plug

Signed-off-by: Tom Müller <tompetermueller01@gmail.com>
2 years agoNew translations shelly.properties (German) (#15345)
openhab-bot [Mon, 31 Jul 2023 15:29:52 +0000 (17:29 +0200)]
New translations shelly.properties (German) (#15345)

2 years ago[enocean] Fix disposal of running tasks (#15329)
Jacob Laursen [Mon, 31 Jul 2023 15:10:17 +0000 (17:10 +0200)]
[enocean] Fix disposal of running tasks (#15329)

* Fix disposal of running tasks

Fixes #15328

---------

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2 years agoReintroduce LK Wiser dimmer work-around for API v2 (#15316)
Jacob Laursen [Mon, 31 Jul 2023 11:22:58 +0000 (13:22 +0200)]
Reintroduce LK Wiser dimmer work-around for API v2 (#15316)

Fixes #15315

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2 years agoIncrease comm timeout to 30 seconds (#15342)
Arne Seime [Mon, 31 Jul 2023 11:04:00 +0000 (13:04 +0200)]
Increase comm timeout to 30 seconds (#15342)

Signed-off-by: Arne Seime <arne.seime@gmail.com>
2 years agoFixes DTS Typo (#15338)
morph166955 [Mon, 31 Jul 2023 06:43:02 +0000 (01:43 -0500)]
Fixes DTS Typo (#15338)

Signed-off-by: Ben Rosenblum <rosenblumb@gmail.com>
2 years ago[androidtv] Removes unnecessary null checks (#15331)
morph166955 [Sun, 30 Jul 2023 17:23:04 +0000 (12:23 -0500)]
[androidtv] Removes unnecessary null checks (#15331)

* Removes unnecessary null checks
* Moves checks to thing-types.xml
* Fix typo
* Update i18n

Signed-off-by: Ben Rosenblum <rosenblumb@gmail.com>
2 years ago[jsscripting] Upgrade openhab-js to 4.5.1 to fix cached injection (#15336)
Florian Hotze [Sun, 30 Jul 2023 12:47:03 +0000 (14:47 +0200)]
[jsscripting] Upgrade openhab-js to 4.5.1 to fix cached injection (#15336)

It was found out that a recent change to the webpack config for the library injection bundle heavily affected performance of the evaluation of the cached injection.

openhab-js 4.5.1 fixes that regression and one minor bug, see https://github.com/openhab/openhab-js/blob/main/CHANGELOG.md#451.

Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
2 years agoUpdate README.md (#15334)
Z0l [Sun, 30 Jul 2023 07:32:37 +0000 (09:32 +0200)]
Update README.md (#15334)

Removed quotes from the <shieldGreen> statement to make it work with OH4.

Signed-off-by: Z0l <Z0l@users.noreply.github.com>
2 years ago[digitalstrom] Fix StringIndexOutOfBoundsException (#15318) while keeping removal...
Alexander Friese [Sat, 29 Jul 2023 09:17:58 +0000 (11:17 +0200)]
[digitalstrom] Fix StringIndexOutOfBoundsException (#15318) while keeping removal of StringUtils (#15321)

Signed-off-by: Alexander Friese <af944580@googlemail.com>
2 years agoFix ArrayStoreException (#15320)
Jacob Laursen [Fri, 28 Jul 2023 08:01:36 +0000 (10:01 +0200)]
Fix ArrayStoreException (#15320)

Fixes #15313

Partially reverts #13967

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2 years agoFix StringIndexOutOfBoundsException (#15319)
Jacob Laursen [Fri, 28 Jul 2023 08:00:48 +0000 (10:00 +0200)]
Fix StringIndexOutOfBoundsException (#15319)

Fixes #15318

Reverts #14402

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2 years ago[shelly] Fix Plus/Pro Auth support (#15284)
Markus Michels [Thu, 27 Jul 2023 13:41:32 +0000 (15:41 +0200)]
[shelly] Fix Plus/Pro Auth support (#15284)

* Reimplement Auth Digist to return response as http header field instead
of being part of post data; avoid sending Basic Auth for Gen2 and
/shelly

Signed-off-by: Markus Michels <markus7017@gmail.com>
2 years ago[hue] Fix reconnection, parallel commands, trigger channels, and light level formula...
Andrew Fiddian-Green [Thu, 27 Jul 2023 12:55:17 +0000 (13:55 +0100)]
[hue] Fix reconnection, parallel commands, trigger channels, and light level formula (#15169)

* [hue] post merge tweaks

Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
* [hue] abandon internal restart

Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
* [hue] remove externalRestartScheduled flag

Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
* [hue] serialize PUT calls

Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
* [hue] GET requests shall not activate trigger channels

Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
* [hue] fix LightLevel formula

Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
* [hue] fix Button DTO null error

Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
---------

Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2 years agoCorrecting false assumption (#15307)
Gaël L'hopital [Thu, 27 Jul 2023 06:14:27 +0000 (08:14 +0200)]
Correcting false assumption (#15307)

Signed-off-by: clinique <gael@lhopital.org>
2 years ago[plex] Use https for local connections (#15306)
mlobstein [Wed, 26 Jul 2023 21:44:57 +0000 (16:44 -0500)]
[plex] Use https for local connections (#15306)

Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
2 years ago[jsscripting] Fix timerId not returned by JS timer methods (#15308)
Florian Hotze [Wed, 26 Jul 2023 14:28:46 +0000 (16:28 +0200)]
[jsscripting] Fix timerId not returned by JS timer methods (#15308)

Regression from #15193.
Reported on the community, see https://community.openhab.org/t/openhab-4-0-release-discussion/147957/53?u=florian-h05.

Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
2 years ago[enocean] Fix unusable bundle after a refactoring about null annotation (#15302)
Gwendal Roulleau [Wed, 26 Jul 2023 11:21:59 +0000 (13:21 +0200)]
[enocean] Fix unusable bundle after a refactoring about null annotation (#15302)

Fix bundle unusable after #14023 (closes #15181)
Fix a case issue with some directory
Fix trigger channel issue

Signed-off-by: Gwendal Roulleau <gwendal.roulleau@gmail.com>
2 years ago[googletts] Avoid UnsupportedOperationException during dispose (#15305)
lolodomo [Tue, 25 Jul 2023 21:54:31 +0000 (23:54 +0200)]
[googletts] Avoid UnsupportedOperationException during dispose (#15305)

Fix #15303

It is not allowed to clear an unmodified hash set.

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2 years ago[paradoxalarm] Implement zone bypass command and additional zone states (#14557)
Konstantin Polihronov [Tue, 25 Jul 2023 17:53:09 +0000 (20:53 +0300)]
[paradoxalarm] Implement zone bypass command and additional zone states (#14557)

* Reduce warnings 1

Signed-off-by: Konstantin Polihronov <polychronov@gmail.com>
* 2

Signed-off-by: Konstantin Polihronov <polychronov@gmail.com>
* 3

Signed-off-by: Konstantin Polihronov <polychronov@gmail.com>
* Initial files and package refactoring

Signed-off-by: Konstantin Polihronov <polychronov@gmail.com>
* Implemented zone commands without checksum calculation

Signed-off-by: Konstantin Polihronov <polychronov@gmail.com>
* More stuff

* Added the checksum functionality
* Added more examples to the test

Signed-off-by: Konstantin Polihronov <polychronov@gmail.com>
* Implement ZoneCommand and necessary classes

* Refactor the common logic
* Extract interface Command
* CHange the Response class to use Switch/case

Signed-off-by: Konstantin Polihronov <polychronov@gmail.com>
* Fully implement the test for creating zone command payload

Signed-off-by: Konstantin Polihronov <polychronov@gmail.com>
* Fix build / add headers and author to the new files

Signed-off-by: Konstantin Polihronov <polychronov@gmail.com>
* Add command handling to the zone handler

Signed-off-by: Konstantin Polihronov <polychronov@gmail.com>
* Add command channel to the Zone thing

Signed-off-by: Konstantin Polihronov <polychronov@gmail.com>
* Research of zone states and some TODO notes

Signed-off-by: Konstantin Polihronov <polychronov@gmail.com>
* Retrieval of zone special states from the panel

Signed-off-by: Konstantin Polihronov <polychronov@gmail.com>
* Fix build

Signed-off-by: Konstantin Polihronov <polychronov@gmail.com>
* Add the new channels to the metadata file

Signed-off-by: Konstantin Polihronov <polychronov@gmail.com>
* Add new channels to zone handler

Signed-off-by: Konstantin Polihronov <polychronov@gmail.com>
* Fix indexing in memory map and add more logging

Signed-off-by: Konstantin Polihronov <polychronov@gmail.com>
* Refactoring and potential NPE access fixes

Signed-off-by: Konstantin Polihronov <polychronov@gmail.com>
* Add new property "label" to the discovered zones and partitions

Signed-off-by: Konstantin Polihronov <polychronov@gmail.com>
* Fix zone command issues

* Fix checksum creation
* Fix the parse and confirmation of the response

Signed-off-by: Konstantin Polihronov <polychronov@gmail.com>
* Add the new channels to the README.md

Signed-off-by: Konstantin Polihronov <polychronov@gmail.com>
* Fixed issue with not updating new channels in the zones

* A silly copy/paste mistake

Signed-off-by: Konstantin Polihronov <polychronov@gmail.com>
* Change the type of the new channels from contact to switch

As per community discussion this makes more sense and will be more
intuitive - when something is true -> make it ON, when it's false ->
make it OFF. OPEN and CLOSED are not fitting so well here...

Signed-off-by: Konstantin Polihronov <polychronov@gmail.com>
* Fix issue that the channel label is always NULL

* For both zone and partitions

Signed-off-by: Konstantin Polihronov <polychronov@gmail.com>
* Add new types and channels to the i18n

Signed-off-by: Konstantin Polihronov <polychronov@gmail.com>
---------

Signed-off-by: Konstantin Polihronov <polychronov@gmail.com>
2 years ago[nuvo] Include NuvoNet source favorites in zone `favorite` channel (#15292)
mlobstein [Mon, 24 Jul 2023 23:17:49 +0000 (18:17 -0500)]
[nuvo] Include NuvoNet source favorites in zone `favorite` channel (#15292)

* Include NuvoNet source favorites in zone `favorite` channel
* Use existing constants
* VALID_SOURCES to enum list

Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
2 years ago[knx] Refactor manufacturer map (#15297)
J-N-K [Mon, 24 Jul 2023 21:09:46 +0000 (23:09 +0200)]
[knx] Refactor manufacturer map (#15297)

* [knx] Refactor manufacturer map

This makes adding new manufacturers easy.

Signed-off-by: Jan N. Klug <github@klug.nrw>
2 years ago[jrubyscripting] Upgrade to jruby-9.4.3.0 (#15279)
jimtng [Mon, 24 Jul 2023 10:14:22 +0000 (20:14 +1000)]
[jrubyscripting] Upgrade to jruby-9.4.3.0 (#15279)

Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
2 years agoResolve runbundles (#15298)
Wouter Born [Mon, 24 Jul 2023 07:43:41 +0000 (09:43 +0200)]
Resolve runbundles (#15298)

Signed-off-by: Wouter Born <github@maindrain.net>
2 years agoApply spotless
Kai Kreuzer [Sun, 23 Jul 2023 23:20:31 +0000 (01:20 +0200)]
Apply spotless

Signed-off-by: Kai Kreuzer <kai@openhab.org>
2 years ago[unleash-maven-plugin] Preparation for next development cycle.
openhab-bot [Sun, 23 Jul 2023 19:19:01 +0000 (19:19 +0000)]
[unleash-maven-plugin] Preparation for next development cycle.

2 years ago[jsonpath] Fix exception when input string is empty (#15283)
J-N-K [Sun, 23 Jul 2023 15:14:16 +0000 (17:14 +0200)]
[jsonpath] Fix exception when input string is empty (#15283)

Signed-off-by: Jan N. Klug <github@klug.nrw>
2 years agoNew Crowdin updates (#15295)
openhab-bot [Sun, 23 Jul 2023 12:22:06 +0000 (14:22 +0200)]
New Crowdin updates (#15295)

* New translations sonos.properties (German)
* New translations comfoair.properties (German)
* New translations publictransportswitzerland.properties (German)
* New translations watsonstt.properties (German)
* New translations sensorcommunity.properties (German)

2 years agoProvide example in JavaScript (#15286)
Jacob Laursen [Sat, 22 Jul 2023 20:37:48 +0000 (22:37 +0200)]
Provide example in JavaScript (#15286)

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2 years agoUpdates JSON libary. (#15290)
Dan Cunningham [Sat, 22 Jul 2023 20:29:02 +0000 (13:29 -0700)]
Updates JSON libary. (#15290)

Fixes #15221

Signed-off-by: Dan Cunningham <dan@digitaldan.com>
2 years ago[jrubyscripting] Update README (#15287)
jimtng [Sat, 22 Jul 2023 14:16:03 +0000 (00:16 +1000)]
[jrubyscripting] Update README (#15287)

Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
2 years agoNew Crowdin updates (#15281)
openhab-bot [Fri, 21 Jul 2023 10:39:37 +0000 (12:39 +0200)]
New Crowdin updates (#15281)

* New translations miele.properties (Danish)
* New translations miele.properties (German)

2 years ago[mqtt] Dynamically change accepted item-type for Number channels (#15114)
J-N-K [Fri, 21 Jul 2023 09:47:51 +0000 (11:47 +0200)]
[mqtt] Dynamically change accepted item-type for Number channels (#15114)

Signed-off-by: Jan N. Klug <github@klug.nrw>
2 years agoUpdate default translations (#15280)
Jacob Laursen [Fri, 21 Jul 2023 09:34:30 +0000 (11:34 +0200)]
Update default translations (#15280)

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2 years ago[androidtv] Fix log flood when physical device is not online (#15258)
morph166955 [Fri, 21 Jul 2023 06:54:10 +0000 (01:54 -0500)]
[androidtv] Fix log flood when physical device is not online (#15258)

* Fixes log flood when physical device is not online

---------

Signed-off-by: Ben Rosenblum <rosenblumb@gmail.com>
2 years agoFix rrd4j database start time (#15277)
J-N-K [Thu, 20 Jul 2023 19:42:27 +0000 (21:42 +0200)]
Fix rrd4j database start time (#15277)

Signed-off-by: Jan N. Klug <github@klug.nrw>
2 years agoNew translations jruby.properties (Italian) (#15274)
openhab-bot [Wed, 19 Jul 2023 13:06:04 +0000 (15:06 +0200)]
New translations jruby.properties (Italian) (#15274)

2 years ago[openwebnet] Fix broken link in README (#15273)
M Valla [Wed, 19 Jul 2023 08:30:01 +0000 (10:30 +0200)]
[openwebnet] Fix broken link in README (#15273)

* [openwebnet] fix broken link in README, updated description for metedata examples

Signed-off-by: Massimo Valla <mvcode00@gmail.com>
2 years ago[openwebnet] Fix README for Sitemap AUX configuration to the correct mapping (#15257)
Giovanni Fabiani [Wed, 19 Jul 2023 08:18:27 +0000 (10:18 +0200)]
[openwebnet] Fix README for Sitemap AUX configuration  to the correct mapping (#15257)

* [openwebnet] Fix README for Sitemap to the correct mapping of Aux

---------

Signed-off-by: Giovanni Fabiani <fabiani.giovanni@gmail.com>
2 years ago[openwebnet] Fix update of Thermo Central Unit atLeastOneProbeX channels and refactor...
M Valla [Tue, 18 Jul 2023 20:15:33 +0000 (22:15 +0200)]
[openwebnet] Fix update of Thermo Central Unit atLeastOneProbeX channels and refactoring (#15269)

* [openwebnet] Fixes changing and startup value for Weekly/Scenario modes
Fixes #12599
* [openwebnet] Thermo: Fixed CU setpointTemp not restored
Fixes #14449
* [openwebnet] fix update of atLeastOneProbeX channels for CU Fixes #15103
Bumped lib openwebnet4j to 0.10.1

Signed-off-by: Massimo Valla <mvcode00@gmail.com>
2 years ago[jrubyscripting] loosen default gem version constraint (#15266)
Cody Cutrer [Tue, 18 Jul 2023 17:56:30 +0000 (11:56 -0600)]
[jrubyscripting] loosen default gem version constraint (#15266)

so that the helper library compatible with 4.0.0.M3+ will be used

Signed-off-by: Cody Cutrer <cody@cutrer.us>
2 years ago[velbus] Fix multiple channel status in one packet (#15272)
Daniel Rosengarten [Tue, 18 Jul 2023 17:54:20 +0000 (19:54 +0200)]
[velbus] Fix multiple channel status in one packet (#15272)

Fix bug : Manage more than one channel status in the packet.

Signed-off-by: Daniel Rosengarten <github@praetorians.be>
2 years agoNew Crowdin updates (#15271)
openhab-bot [Tue, 18 Jul 2023 17:46:23 +0000 (19:46 +0200)]
New Crowdin updates (#15271)

* New translations sonnen.properties (French)
* New translations openwebnet.properties (Italian)

2 years ago[avmfritz] Fix update instructions (#15261)
J-N-K [Tue, 18 Jul 2023 07:06:47 +0000 (09:06 +0200)]
[avmfritz] Fix update instructions (#15261)

Signed-off-by: Jan N. Klug <github@klug.nrw>
2 years agoUse Eclipse formatter 4.25 with Spotless (#15264)
Wouter Born [Tue, 18 Jul 2023 07:02:05 +0000 (09:02 +0200)]
Use Eclipse formatter 4.25 with Spotless (#15264)

This version still checks test files.

See: openhab/openhab-core#3515

Signed-off-by: Wouter Born <github@maindrain.net>
2 years ago[mqtt.ruuvigateway] Re-enable itests after core change (#15018)
Holger Friedrich [Mon, 17 Jul 2023 19:31:35 +0000 (21:31 +0200)]
[mqtt.ruuvigateway] Re-enable itests after core change (#15018)

Also-by: Jan N. Klug <github@klug.nrw>
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>