]> git.basschouten.com Git - openhab-addons.git/log
openhab-addons.git
3 years ago[miio] add support Xiaomi Smart Air Purifier 4 Pro zhimi.airp.vb4 (#13941)
Marcel [Sat, 7 Jan 2023 10:19:12 +0000 (11:19 +0100)]
[miio] add support Xiaomi Smart Air Purifier 4 Pro zhimi.airp.vb4 (#13941)

* [miio] add support Xiaomi Smart Air Purifier 4 Pro zhimi.airp.vb4

Adding support for the following models:
* Xiaomi Smart Air Purifier 4 Pro (modelId: zhimi.airp.vb4)
close

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
3 years ago[chromecast] Fix thing go offline after stop command (#14158)
lsiepel [Sat, 7 Jan 2023 08:51:20 +0000 (09:51 +0100)]
[chromecast] Fix thing go offline after stop command (#14158)

* Restructure commander
* Improve thing status handling on error

Signed-off-by: lsiepel <leosiepel@gmail.com>
3 years agoFix incorrectly formatted license headers (#14171)
Jacob Laursen [Fri, 6 Jan 2023 23:01:27 +0000 (00:01 +0100)]
Fix incorrectly formatted license headers (#14171)

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
3 years agoFix namespaces for tests (#14156)
Jacob Laursen [Fri, 6 Jan 2023 17:56:53 +0000 (18:56 +0100)]
Fix namespaces for tests (#14156)

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
3 years ago[sonos] Correct identification of tuneIn started from Alexa (#14164)
lolodomo [Fri, 6 Jan 2023 15:28:38 +0000 (16:28 +0100)]
[sonos] Correct identification of tuneIn started from Alexa (#14164)

Contained URL is now HTTPS instead of HTTP before.

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
3 years ago[homekit] properly expose services from dummy accessories (#14169)
Cody Cutrer [Fri, 6 Jan 2023 15:25:42 +0000 (08:25 -0700)]
[homekit] properly expose services from dummy accessories (#14169)

Signed-off-by: Cody Cutrer <cody@cutrer.us>
3 years agoMake more channels advanced (#14168)
Mark Hilbush [Fri, 6 Jan 2023 11:49:30 +0000 (06:49 -0500)]
Make more channels advanced (#14168)

Signed-off-by: Mark Hilbush <mark@hilbush.com>
3 years agoUpdate license headers to 2023 (#14154)
Jacob Laursen [Fri, 6 Jan 2023 08:49:54 +0000 (09:49 +0100)]
Update license headers to 2023 (#14154)

* Update copyright year in configuration
* Update license headers

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
3 years agoExclude 3rdparty directories from license header generation (#14165)
Jacob Laursen [Fri, 6 Jan 2023 08:44:20 +0000 (09:44 +0100)]
Exclude 3rdparty directories from license header generation (#14165)

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
3 years ago[renault] Add new channels 'batterystatusupdated' and 'locked' (#14076)
Doug Culnane [Thu, 5 Jan 2023 22:55:38 +0000 (23:55 +0100)]
[renault] Add new channels 'batterystatusupdated' and 'locked' (#14076)

Signed-off-by: Doug Culnane <doug@culnane.net>
3 years ago[bigassfan] Null annotations (#13903)
lsiepel [Thu, 5 Jan 2023 22:08:07 +0000 (23:08 +0100)]
[bigassfan] Null annotations (#13903)

* Null annotations and some refactoring
* Fix synchronized block
* Fix remaining warnings

Signed-off-by: Leo Siepel <leosiepel@gmail.com>
3 years ago[jsscripting] Update docs for code caching (#14166)
Florian Hotze [Thu, 5 Jan 2023 22:04:07 +0000 (23:04 +0100)]
[jsscripting] Update docs for code caching (#14166)

... and fix the table of contents.

Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
3 years ago[hueemulation] Fix tests after core change (#14161)
Florian Hotze [Thu, 5 Jan 2023 12:28:28 +0000 (13:28 +0100)]
[hueemulation] Fix tests after core change (#14161)

Fixes #14153.
This fixes the Hue Emulation tests (and in consequence the full addons build) after core change https://github.com/openhab/openhab-core/pull/3298.

Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
3 years ago[homekit] Add additional troubleshooting steps for homekit (#14046)
Tim Harper [Wed, 4 Jan 2023 19:32:29 +0000 (12:32 -0700)]
[homekit] Add additional troubleshooting steps for homekit (#14046)

* [homekit] Add additional troubleshooting steps for homekit

Signed-off-by: Tim Harper <timcharper@gmail.com>
3 years ago[neohub] Recover faster if NeoHub produces empty responses (#13889)
Andrew Fiddian-Green [Wed, 4 Jan 2023 06:26:22 +0000 (06:26 +0000)]
[neohub] Recover faster if NeoHub produces empty responses (#13889)

* [neohub] resolve issue #13829
* [neohub] harmonise exceptions and logging
* [neohub] improve field name, and log messages

Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
3 years agoImplement missing 'Light' device type (#14150)
mlobstein [Wed, 4 Jan 2023 06:25:14 +0000 (00:25 -0600)]
Implement missing 'Light' device type (#14150)

Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
3 years ago[homekit] Improve multiple instance management (#14016)
Cody Cutrer [Tue, 3 Jan 2023 22:10:42 +0000 (15:10 -0700)]
[homekit] Improve multiple instance management (#14016)

* [homekit] improve instance management

 * allow addressing individual instances for most console commands
 * don't restart all instances if simply adding/removing instances on
   config change
 * clear stored info when removing instances

* [homekit] reset instance identity when clearing pairings
* [homekit] log the actual interface we looked up

Signed-off-by: Cody Cutrer <cody@cutrer.us>
3 years ago[jsscripting] Fix regressions from #14135 & Log stack on `IllegalArgumentException...
Florian Hotze [Tue, 3 Jan 2023 19:45:23 +0000 (20:45 +0100)]
[jsscripting] Fix regressions from #14135 & Log stack on `IllegalArgumentException` (#14142)

* [jsscripting] Fix bundling of global script & regression from #14135

Fixes the regression from https://github.com/openhab/openhab-addons/pull/14135#issuecomment-1369231126.

While working on this, I also noticed that the cache openhab-js does not work because of wrong webpack commandline args in the pom (wrong entrypoint).

* [jsscripting] Enable stack logging for IllegalArgumentExceptions
* [jsscripting] Upgrade openhab-js to 3.2.4
* [jsscripting] Update README for recent PR

Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
3 years agofix typo (#14146)
Johannes Velde [Tue, 3 Jan 2023 17:58:19 +0000 (18:58 +0100)]
fix typo (#14146)

Signed-off-by: veldhaenchen <jo.velde@gmx.de>
3 years ago[ism8] Fix SAT warnings (#14141)
Holger Friedrich [Tue, 3 Jan 2023 07:47:51 +0000 (08:47 +0100)]
[ism8] Fix SAT warnings (#14141)

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
3 years ago[homematic] Add hints about using docker (#14121)
Moritz 'Morty' Strübe [Mon, 2 Jan 2023 19:51:22 +0000 (20:51 +0100)]
[homematic] Add hints about using docker (#14121)

Signed-off-by: Moritz 'Morty' Strübe <morty@gmx.net>
3 years ago[jsscripting] Cache openhab-js injection to improve performance (#14135)
Florian Hotze [Mon, 2 Jan 2023 19:41:35 +0000 (20:41 +0100)]
[jsscripting] Cache openhab-js injection to improve performance (#14135)

* [jsscripting] Extend comments for wraprequire
* [jsscripting] Enable openhab-js caching to improve performance

On my dev system (which I guess is much more powerful than most openHAB servers), cached openhab-js injection takes 100-200 ms.
openhab-js injection from file system takes about 1000 ms.

* [jsscripting] Update configuration language
* [jsscripting] Upgrade openhab-js version to 3.2.1 for required webpack changes

Documentation updates will follow in another PR to keep this one clean.

Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
3 years ago[chromecast] Improve documentation (#14136)
lsiepel [Mon, 2 Jan 2023 18:53:42 +0000 (19:53 +0100)]
[chromecast] Improve documentation (#14136)

Signed-off-by: lsiepel <leosiepel@gmail.com>
3 years agoPushing PR #14123 to OH4 (#14140)
Gaël L'hopital [Mon, 2 Jan 2023 18:06:24 +0000 (19:06 +0100)]
Pushing PR #14123 to OH4 (#14140)

Signed-off-by: clinique <gael@lhopital.org>
3 years agoUpdate URL to Loxwiki (#14131)
Norbert Klasen [Sun, 1 Jan 2023 20:11:42 +0000 (21:11 +0100)]
Update URL to Loxwiki (#14131)

Loxwiki has moved into the Atlassian cloud: https://loxwiki.atlassian.net/wiki/spaces/LOX/pages/1622769957/Planung+bersiedelung+zu+loxwiki.atlassian.net

3 years agoNew Crowdin updates (#14130)
openhab-bot [Sun, 1 Jan 2023 13:50:12 +0000 (14:50 +0100)]
New Crowdin updates (#14130)

* New translations deconz.properties (Italian)
* New translations atlona.properties (Italian)

3 years agoSynchronize access to account to avoid concurrency issues (#14128)
Kai Kreuzer [Sun, 1 Jan 2023 11:02:15 +0000 (12:02 +0100)]
Synchronize access to account to avoid concurrency issues (#14128)

Signed-off-by: Kai Kreuzer <kai@openhab.org>
3 years ago[velbus] Add modules VMBKP, VMBIN, VMB4PB (#13939)
Daniel Rosengarten [Sat, 31 Dec 2022 16:25:03 +0000 (17:25 +0100)]
[velbus] Add modules VMBKP, VMBIN, VMB4PB (#13939)

* [velbus] Add new functionality PRESSED and LONG PRESSED and fix bug

New functionnality :
Add the the possibility to simulate the PRESSED and LONG PRESSED message of an input.

Module supported with button simulation :
VMB1RYS (button : CH6)
VMB6IN (buttons : CH1 ... CH6)
VMB2PBN, VMB6PBN, VMB7IN, VMB8IR, VMB8PB, VMB8PBU, VMBEL1, VMBEL2, VMBEL4, VMBGP1, VMBGP1-2, VMBGP2, VMBGP2-2, VMBGP4, VMBGP4-2, VMBGP4PIR, VMBGP4PIR-2 (buttons : CH1 ... CH8)
VMBELO, VMBGPOD, VMBGPOD-2 (buttons : CH1 ... CH32)

Fix bug :

The channels names were not correctly assigned to the thing properties. The last channel had the default name, not the one retrieved from the module.

Signed-off-by: Daniel Rosengarten <github@praetorians.be>
* Update bundles/org.openhab.binding.velbus/README.md

Co-authored-by: cedricboon <cedric.boon@hotmail.com>
Signed-off-by: Daniel Rosengarten <github@praetorians.be>
* Update bundles/org.openhab.binding.velbus/README.md

Co-authored-by: cedricboon <cedric.boon@hotmail.com>
Signed-off-by: Daniel Rosengarten <github@praetorians.be>
* Update bundles/org.openhab.binding.velbus/README.md

Co-authored-by: cedricboon <cedric.boon@hotmail.com>
Signed-off-by: Daniel Rosengarten <github@praetorians.be>
* Add trigger on channel when using button simulation

Remove uneeded  Thread.sleep in code.
Trigger the events PRESSED, LONG_PRESSED, RELEASED on the linked trigger channel when using the button simulation.

Signed-off-by: Daniel Rosengarten <github@praetorians.be>
* Fix redundant superinterface DiscoveryService

Redundant superinterface DiscoveryService for the type VelbusThingDiscoveryService, already defined by AbstractDiscoveryService.

Signed-off-by: Daniel Rosengarten <github@praetorians.be>
* Fix bug #11521

Typo in the Counter Channel name for VMB7IN.

Signed-off-by: Daniel Rosengarten <github@praetorians.be>
* [velbus] Add VMBELPIR module

Add the module VMBELPIR

Signed-off-by: Daniel Rosengarten <github@praetorians.be>
* [velbus] VMBELPIR added to discovery service

Forgot to add the module VMBELPIR in the discovery service.

Signed-off-by: Daniel Rosengarten <github@praetorians.be>
* [velbus] Updates clock alarms management

Changes the clocks alarm management :
- Global alarms are now set from the bridge thing.
- Local alarms are still set from the module thing, but the alarm type channels on modules are now readonly.

Reduces the flooding of the bus by adding a delay of 10 seconds before sending the update on the bus :
- Removes the send on the bus after each update of a clock alarm value.
- Sends only the values of the last update after 10 seconds.

Signed-off-by: Daniel Rosengarten <github@praetorians.be>
* [velbus] PR modifications

Modifications asked in PR review.

Signed-off-by: Daniel Rosengarten <github@praetorians.be>
* [velbus] PR modifications 2

Modifications asked in PR review 2.

Signed-off-by: Daniel Rosengarten <github@praetorians.be>
* [velbus] Add modules VMBKP, VMBIN, VMB4PB

New functionnality : Add the support of the modules VMBKP, VMBIN, VMB4PB

Signed-off-by: Daniel Rosengarten <github@praetorians.be>
* [velbus] Fix code style error

Fix code style error in VelbusSensorWithAlarmClockHandler.java

Signed-off-by: Daniel Rosengarten <github@praetorians.be>
Signed-off-by: Daniel Rosengarten <github@praetorians.be>
Co-authored-by: cedricboon <cedric.boon@hotmail.com>
3 years ago[miio] add support ROIDMI EVA - roidmi.vacuum.v66 (#13940)
Marcel [Sat, 31 Dec 2022 16:15:16 +0000 (17:15 +0100)]
[miio] add support ROIDMI EVA - roidmi.vacuum.v66 (#13940)

Adding support for the following models:
* ROIDMI EVA (modelId: roidmi.vacuum.v66)

close #13813

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
3 years agoSimplify name to deCONZ (#14125)
Jacob Laursen [Sat, 31 Dec 2022 15:42:22 +0000 (16:42 +0100)]
Simplify name to deCONZ (#14125)

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
3 years ago[astro] Fix returning wrong sun phase name (#14078)
lsiepel [Sat, 31 Dec 2022 14:04:06 +0000 (15:04 +0100)]
[astro] Fix returning wrong sun phase name (#14078)

* Add tests and fix very minor bug
* Correct wrong test
* Update tests and fix sorting
* Some checkstyle improvements

Signed-off-by: lsiepel <leosiepel@gmail.com>
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>