]> git.basschouten.com Git - openhab-addons.git/log
openhab-addons.git
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>
3 years ago[Documentation] Markdown improvements n to s (#13948)
Jerome Luckenbach [Wed, 14 Dec 2022 15:52:43 +0000 (16:52 +0100)]
[Documentation] Markdown improvements n to s (#13948)

Signed-off-by: Jerome Luckenbach <github@luckenba.ch>
3 years ago[mqtt.generic] Change color example (#13861)
Udo Hartmann [Wed, 14 Dec 2022 07:21:34 +0000 (08:21 +0100)]
[mqtt.generic] Change color example (#13861)

Change color example to fit to the real parameters.

3 years ago[jrubyscripting] remove some development logging that crept in (#13947)
Cody Cutrer [Tue, 13 Dec 2022 22:28:55 +0000 (15:28 -0700)]
[jrubyscripting] remove some development logging that crept in (#13947)

Signed-off-by: Cody Cutrer <cody@cutrer.us>
3 years ago[mielecloud] Fix integration tests (#13935)
lolodomo [Tue, 13 Dec 2022 08:04:16 +0000 (09:04 +0100)]
[mielecloud] Fix integration tests (#13935)

Code change provided by @BjoernLange

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
3 years ago[airq] fix table in readme that broke rendering markup (#13937)
Hilbrand Bouwkamp [Tue, 13 Dec 2022 07:40:10 +0000 (08:40 +0100)]
[airq] fix table in readme that broke rendering markup (#13937)

Signed-off-by: Hilbrand Bouwkamp <hilbrand@h72.nl>
3 years agoNew Crowdin updates (#13932)
openhab-bot [Tue, 13 Dec 2022 06:27:26 +0000 (07:27 +0100)]
New Crowdin updates (#13932)

* New translations boschshc.properties (Italian)

* New translations ecowatt.properties (French)

* New translations nikohomecontrol.properties (Dutch)

* New translations systeminfo.properties (Dutch)

* New translations upnpcontrol.properties (Dutch)

3 years agoFix examples after migration of time channels (#13933)
Jacob Laursen [Mon, 12 Dec 2022 21:55:38 +0000 (22:55 +0100)]
Fix examples after migration of time channels (#13933)

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
3 years ago[nest] Add missing enable SDM API configuration step to README.md (#13931)
Wouter Born [Mon, 12 Dec 2022 21:12:24 +0000 (22:12 +0100)]
[nest] Add missing enable SDM API configuration step to README.md (#13931)

Fixes #11814

Signed-off-by: Wouter Born <github@maindrain.net>
3 years agoFix dimension for powerConsumption channel (#13930)
Jacob Laursen [Mon, 12 Dec 2022 21:10:48 +0000 (22:10 +0100)]
Fix dimension for powerConsumption channel (#13930)

Fixes #13929

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
3 years ago[goecharger] Consider correct channel ID (maxCurrentTemp) (#13927)
lolodomo [Mon, 12 Dec 2022 19:28:59 +0000 (20:28 +0100)]
[goecharger] Consider correct channel ID (maxCurrentTemp) (#13927)

Fix #13891

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
3 years ago[somfytahoma] fix the smoke sensor documentation (#13919)
Ondrej Pecta [Sun, 11 Dec 2022 22:17:52 +0000 (23:17 +0100)]
[somfytahoma] fix the smoke sensor documentation (#13919)

Signed-off-by: Ondrej Pecta <opecta@gmail.com>
3 years agoFix console command 'tables clean' (#13916)
Jacob Laursen [Sun, 11 Dec 2022 21:47:37 +0000 (22:47 +0100)]
Fix console command 'tables clean' (#13916)

NullPointerException was thrown because index table was not provided

Fixes #13911

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
3 years agoFix wrong image and website build. (#13917)
Jerome Luckenbach [Sun, 11 Dec 2022 20:43:42 +0000 (21:43 +0100)]
Fix wrong image and website build. (#13917)

Signed-off-by: Jerome Luckenbach <github@luckenba.ch>
3 years agoGitHub Actions workflow upgrades (#13915)
Wouter Born [Sun, 11 Dec 2022 16:38:47 +0000 (17:38 +0100)]
GitHub Actions workflow upgrades (#13915)

* Upgrade actions to fix deprecation warnings
* Use ubuntu-22.04 for builds

Signed-off-by: Wouter Born <github@maindrain.net>
3 years ago[homekit] Simplify start level handling (#13914)
Kai Kreuzer [Sun, 11 Dec 2022 16:09:31 +0000 (17:09 +0100)]
[homekit] Simplify start level handling (#13914)

Signed-off-by: Kai Kreuzer <kai@openhab.org>
3 years ago[siemensrds] Update to documentation (#13913)
Andrew Fiddian-Green [Sun, 11 Dec 2022 15:21:25 +0000 (15:21 +0000)]
[siemensrds] Update to documentation (#13913)

* [siemensrds] resolve issue #13906
* [siemensrds] add chapter to readme

Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
3 years ago[nanoleaf] More color for less network calls (#13893)
Jørgen Austvik [Sun, 11 Dec 2022 15:09:53 +0000 (16:09 +0100)]
[nanoleaf] More color for less network calls (#13893)

* [nanoleaf] More color for less network calls

This is a refactoring that moves the "get panel color" out of the
panel handler and into a separate class, with callbacks.

This makes us do only one REST call to get colors instead of one per
panel that is a thing. It also lets us retrieve colors for all panels -
 also those that doesn't have a thing in OpenHAB,

While testing this out, I found a bug where solid colors set in the app
wasn't reflected in neither the controller nor panel channels, and that
should also be fixed now.

Signed-off-by: Jørgen Austvik <jaustvik@acm.org>
3 years ago[homekit] delay starting until a particular StartLevel (#13877)
Cody Cutrer [Sun, 11 Dec 2022 14:54:10 +0000 (07:54 -0700)]
[homekit] delay starting until a particular StartLevel (#13877)

* [homekit] delay starting until a particular StartLevel

instead of a blind "delay by seconds", the new default won't even
attempt to start until items are loaded (both file-based and UI-based),
with an additional config to let the user delay it any further (in
case they have items coming from JSR223 scripts that can't run until
at least SL20 anyway).

Signed-off-by: Cody Cutrer <cody@cutrer.us>
3 years ago[jsscripting] Upgrade openhab-js & Remove SharedCache (#13908)
Florian Hotze [Sun, 11 Dec 2022 14:25:39 +0000 (15:25 +0100)]
[jsscripting] Upgrade openhab-js & Remove SharedCache (#13908)

Upgrades the included openhab-js version to 3.1.0, which uses the new
caches from core (introduced in
https://github.com/openhab/openhab-core/pull/2887) and provides many
doc improvements.

Removes the SharedCache from the addon because this functionality is
now provided by core (see
https://github.com/openhab/openhab-core/pull/2887).

Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
3 years ago[knx] Improve handling of serial gateways (#13897)
Holger Friedrich [Sun, 11 Dec 2022 11:47:55 +0000 (12:47 +0100)]
[knx] Improve handling of serial gateways (#13897)

* [knx] Improve handling of serial gateways

Take over initialization logic from KNX IP gateway for serial gateway.
Properly re-initialize serial gateway after configuration changes done in UI.
Fixes #13892.

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
3 years ago[somfytahoma] added support for the control over the LAN (local mode) (#13411)
Ondrej Pecta [Sun, 11 Dec 2022 11:07:25 +0000 (12:07 +0100)]
[somfytahoma] added support for the control over the LAN (local mode) (#13411)

* [somfytahoma] added support for the control over the LAN (local mode)

Signed-off-by: Ondrej Pecta <opecta@gmail.com>
3 years ago[jrubyscripting] Reverses order of class imports and ScriptEngine puts calls to fix...
boc-tothefuture [Sun, 11 Dec 2022 10:00:13 +0000 (05:00 -0500)]
[jrubyscripting] Reverses order of class imports and ScriptEngine puts calls to fix incompatability introduced after M5 (#13904)

Signed-off-by: Brian OConnell <broconne@gmail.com>
3 years ago[transform/scale] Make unit tests compatible with Windows (#13910)
lolodomo [Sun, 11 Dec 2022 09:57:57 +0000 (10:57 +0100)]
[transform/scale] Make unit tests compatible with Windows (#13910)

Fix #13900

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
3 years agoDont set read only temp file (#13905)
Jørgen Austvik [Sun, 11 Dec 2022 09:10:37 +0000 (10:10 +0100)]
Dont set read only temp file (#13905)

Because it breaks windows builds

Signed-off-by: Jørgen Austvik <jaustvik@acm.org>
3 years ago[systeminfo] QuantityTypes and state descriptions cleanup (#13804)
Mark Herwege [Sat, 10 Dec 2022 22:32:25 +0000 (23:32 +0100)]
[systeminfo] QuantityTypes and state descriptions cleanup (#13804)

* State descriptions cleanup
* Converted channels to QuantityType, adjusted default translations
* Channel definitions and percent to QuanityType
* Changed default state descriptions from MB to MiB

Signed-off-by: Mark Herwege <mark.herwege@telenet.be>
3 years agoMigrate time channels from DateTime to Number:Time (#13841)
Jacob Laursen [Sat, 10 Dec 2022 22:05:59 +0000 (23:05 +0100)]
Migrate time channels from DateTime to Number:Time (#13841)

Fixes #13840

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

* New translations boschshc.properties (Italian)

* New translations ecowatt.properties (French)

3 years ago[tapocontrol] add L610, L630 Spot and L930 LightStrip (#13814)
Christian Wild [Sat, 10 Dec 2022 15:53:30 +0000 (16:53 +0100)]
[tapocontrol] add L610, L630 Spot and L930 LightStrip (#13814)

* fix color change bug*

Signed-off-by: Christian Wild <christian@wildclan.de>
3 years agoNew translations boschshc.properties (Italian) (#13899)
openhab-bot [Sat, 10 Dec 2022 13:51:09 +0000 (14:51 +0100)]
New translations boschshc.properties (Italian) (#13899)

3 years ago[vitotronic] Fix few thing/channel labels/descriptions (#13898)
lolodomo [Sat, 10 Dec 2022 13:29:53 +0000 (14:29 +0100)]
[vitotronic] Fix few thing/channel labels/descriptions (#13898)

Follow-up #13739

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
3 years ago[ipcamera] Add a check to see if FFmpeg is frozen for mjpeg creation (#13896)
Matthew Skinner [Sat, 10 Dec 2022 12:54:22 +0000 (23:54 +1100)]
[ipcamera] Add a check to see if FFmpeg is frozen for mjpeg creation (#13896)

* check if ffmpegMjpeg is frozen

Signed-off-by: Matthew Skinner <matt@pcmus.com>
3 years ago[vitotronic] Add channel "currentmode" to thing "circuit" (#13739)
Fejitatete [Sat, 10 Dec 2022 12:08:41 +0000 (13:08 +0100)]
[vitotronic] Add channel "currentmode" to thing "circuit" (#13739)

* [vitotronic] Add channel "currentmode" to thing "circuit"

Signed-off-by: Fejitatete <fejitatete@msn.com>
3 years ago[boschshc] Support smoke detector (#13760)
Gerd Zanker [Sat, 10 Dec 2022 10:18:13 +0000 (11:18 +0100)]
[boschshc] Support smoke detector (#13760)

* Add smoke detector service and add it to twinguard handler
* Add handler for smoke detector
* Support for smoke detector

added smoke detector device with SmokeDetectorCheckService
added SmokeDetectorCheckService to TwinguardHandler

added tests for smoke detector code
updated smoke detector code to latest boschshc version after cherry-picks of initial code from Christian Oeing

* re-generate i18n file, refactoring of smoke detector code to use abstract base classes
* Fix typos
* Add unit test for PlayPauseType commands
* Add unit test for SmokeDetectorCheckState
* Re-add null annotation
* Fix warning

Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
Signed-off-by: Gerd Zanker <gerd.zanker@web.de>
Signed-off-by: David Pace <dev@davidpace.de>
3 years ago[bosesoundtouch] Improve SAT errors and remove dependency (#13842)
lsiepel [Sat, 10 Dec 2022 08:42:09 +0000 (09:42 +0100)]
[bosesoundtouch] Improve SAT errors and remove dependency (#13842)

Signed-off-by: Leo Siepel <leosiepel@gmail.com>
3 years ago[mielecloud] Remove things after each integration test (#13875)
Björn Lange [Sat, 10 Dec 2022 08:40:50 +0000 (09:40 +0100)]
[mielecloud] Remove things after each integration test (#13875)

Signed-off-by: Björn Lange <bjoern.lange@itemis.de>
3 years ago[siemensrds] Binding no longer fails if thermostat does not use optional features...
Andrew Fiddian-Green [Sat, 10 Dec 2022 08:02:11 +0000 (08:02 +0000)]
[siemensrds] Binding no longer fails if thermostat does not use optional features (#13888)

* [siemensrds] fix charset; ansi => utf-8
* [siemensrds] refactor class so CI build runs tests w/o errors
* [siemensrds] add missing UoM; fix compiler error
* [siemensrds] fix issue #13887

Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
3 years ago[TR064] Fix pattern excluding some valid ip-addresses (#13894)
lsiepel [Sat, 10 Dec 2022 07:48:33 +0000 (08:48 +0100)]
[TR064] Fix pattern excluding some valid ip-addresses (#13894)

* Improve logging and adjusted timeout
* Fix wanBlockIPs regex

Signed-off-by: Leo Siepel <leosiepel@gmail.com>
3 years agoUpgrade bnd to 6.4.0 (#13890)
J-N-K [Fri, 9 Dec 2022 20:23:53 +0000 (21:23 +0100)]
Upgrade bnd to 6.4.0 (#13890)

* Upgrade bnd to 6.4.0

Signed-off-by: Jan N. Klug <github@klug.nrw>
3 years agoAdd channel return temp (#13833)
lsiepel [Fri, 9 Dec 2022 18:30:08 +0000 (19:30 +0100)]
Add channel return temp (#13833)

Signed-off-by: Leo Siepel <leosiepel@gmail.com>
3 years ago[homekit] add BasicFan accessory (#13564)
Cody Cutrer [Fri, 9 Dec 2022 18:17:51 +0000 (11:17 -0700)]
[homekit] add BasicFan accessory (#13564)

* [homekit] add BasicFan accessory

This is Fan v1. It's a subset of FanV2, except that Home allows you
to customize the icon to show a ceiling fan.

Signed-off-by: Cody Cutrer <cody@cutrer.us>
3 years ago[plugwiseha] Fix set the scene for a zone (#13832)
lsiepel [Fri, 9 Dec 2022 18:08:41 +0000 (19:08 +0100)]
[plugwiseha] Fix set the scene for a zone (#13832)

* Fix request body

Signed-off-by: Leo Siepel <leosiepel@gmail.com>
3 years agoUpdate README (#13868)
mlobstein [Fri, 9 Dec 2022 11:32:47 +0000 (05:32 -0600)]
Update README (#13868)

Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
3 years ago[astro] Fix IllegalArgumentException in debug message (#13884)
Hilbrand Bouwkamp [Fri, 9 Dec 2022 11:31:49 +0000 (12:31 +0100)]
[astro] Fix IllegalArgumentException in debug message (#13884)

Formatter should get Date object.

Closes #13871

Signed-off-by: Hilbrand Bouwkamp <hilbrand@h72.nl>
3 years ago[livisismarthome] Fix checkstyle (#13883)
lsiepel [Fri, 9 Dec 2022 08:57:17 +0000 (09:57 +0100)]
[livisismarthome] Fix checkstyle (#13883)

* Minor fixes and refactoring
* Fix checkstyle warnings
* Fix new ConcurrentHashMap

Signed-off-by: Leo Siepel <leosiepel@gmail.com>
3 years ago[homekit] implement basic command completion (#13878)
Cody Cutrer [Fri, 9 Dec 2022 07:56:27 +0000 (00:56 -0700)]
[homekit] implement basic command completion (#13878)

just the sub-commands.

since the show command is already a "search", I didn't feel it's super
important to implement on that

Signed-off-by: Cody Cutrer <cody@cutrer.us>
3 years ago[TR064] Fix SAT warnings (#13873)
lsiepel [Thu, 8 Dec 2022 21:44:44 +0000 (22:44 +0100)]
[TR064] Fix SAT warnings (#13873)

* Fix SAT warnings
* Fix markdown
* Properly annotate PhonebookProfileTest

Also-by: Wouter Born <github@maindrain.net>
Signed-off-by: Leo Siepel <leosiepel@gmail.com>
3 years ago[Nanoleaf] Support lines (#13881)
Jørgen Austvik [Thu, 8 Dec 2022 21:39:45 +0000 (22:39 +0100)]
[Nanoleaf] Support lines (#13881)

Lines is a Nanoleaf shape we haven't been able to test earlier.

Now we have tested them, and added support for painting them as well.

They do unfortunately not support touch gestures.

Signed-off-by: Jørgen Austvik <jaustvik@acm.org>
3 years ago[Documentation] Markdown improvements f to m (#13866)
Jerome Luckenbach [Thu, 8 Dec 2022 20:36:05 +0000 (21:36 +0100)]
[Documentation] Markdown improvements f to m (#13866)

Signed-off-by: Jerome Luckenbach <github@luckenba.ch>
3 years ago[insteon] Binding Documentation: Updated I/O Linc Section (#13811)
Hawkinzw [Thu, 8 Dec 2022 20:17:45 +0000 (14:17 -0600)]
[insteon] Binding Documentation: Updated I/O Linc Section (#13811)

* Update I/O Linc Documentation

The I/O Linc has a feature to match or invert the status of the contact with its control messages. The binding was written expecting the messages to be inverted. This is the opposite of how insteon recommends setting up the garage kit, and not described well by the original "Note" at the bottom of the section. Updated the instructions to specify the input is OFF when linking, and changed the note to better describe what happens if you don't. All based off of my own experience with the sensor: https://community.openhab.org/t/insteon-io-linc-garage-door-contact-slow-update/141469

3 years agoTypos a/an (#13876)
Дилян Палаузов [Thu, 8 Dec 2022 20:12:49 +0000 (22:12 +0200)]
Typos a/an (#13876)

3 years ago[Nanolaef] Visual State Bugfix (#13880)
Jørgen Austvik [Thu, 8 Dec 2022 20:00:11 +0000 (21:00 +0100)]
[Nanolaef] Visual State Bugfix (#13880)

* Nanoleaf Visual State fix

Fix the visual state channel name.

Also:
- Better name (from state to visual state) of the (new) channel
- Better logs which has helped us debug the problem
- Some more information on when it will work in the README

Signed-off-by: Jørgen Austvik <jaustvik@acm.org>
3 years ago[homekit] persist all known accessories, to prevent loss of homekit information ...
Cody Cutrer [Thu, 8 Dec 2022 12:52:30 +0000 (05:52 -0700)]
[homekit] persist all known accessories, to prevent loss of homekit information (#13484)

* [homekit] persist all known accessories, to prevent loss of homekit information

See the readme for more details, but basically this keeps track of every
accessory we've ever created, and if it no longer exists, presents a dummy
accessory instead. If the accessory comes back, nothing is lost in the Home
app; if you meant to prune it permanently, you have to run a console command.

there are also several fixes to prevent presenting the device with missing data -
such as when the bundle stops, _don't_ explicitly remove the accessories until
the server has stopped.

we also don't increment the configuration version unless the configuration
has _actually_ changed (so removing and re-adding the exact same thing
won't trigger the device to reconnect). this even works across restarts
of the bundle, because we're persisting all the accessory information
for dummy information anyway.

* [homekit] Address review comments for accessory persistence

* update hap-java to 2.0.4
* remove unused local variable
* [homekit] ensure accessories are replaced in a batch

so that HAP-Java can maintain subscriptions with the new objects

* [homekit] log individual dummy accessories up to 5
* [homekit] Tweak readme for dummy accessories slightly.

 * Be consistent with proper usage of useDummyAccessories.
 * Make the sentence more clear about the effects of having dummy accessories.

Signed-off-by: Cody Cutrer <cody@cutrer.us>
3 years agoUpgrade commons-net to 3.9.0 (#13869)
Wouter Born [Thu, 8 Dec 2022 06:09:46 +0000 (07:09 +0100)]
Upgrade commons-net to 3.9.0 (#13869)

Related to openhab-core#3200

Signed-off-by: Wouter Born <github@maindrain.net>
Signed-off-by: Wouter Born <github@maindrain.net>
3 years ago[atlona] Update README (#13867)
mlobstein [Wed, 7 Dec 2022 20:33:00 +0000 (14:33 -0600)]
[atlona] Update README (#13867)

Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
3 years ago[Documentation] Markdown improvements for bindings a to e (#13859)
Jerome Luckenbach [Wed, 7 Dec 2022 20:09:32 +0000 (21:09 +0100)]
[Documentation] Markdown improvements for bindings a to e (#13859)

Signed-off-by: Jerome Luckenbach <github@luckenba.ch>