]> git.basschouten.com Git - openhab-addons.git/log
openhab-addons.git
3 years agoNew Crowdin updates (#13671)
openhab-bot [Mon, 7 Nov 2022 12:25:06 +0000 (13:25 +0100)]
New Crowdin updates (#13671)

* New translations meater.properties (Danish)

3 years agoFix bridge initialization when parameter quoteList is not configured (#13667)
Jacob Laursen [Mon, 7 Nov 2022 08:20:20 +0000 (09:20 +0100)]
Fix bridge initialization when parameter quoteList is not configured (#13667)

Fixes #13666

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
3 years ago[kodi] Fix bridge initialization when parameter group is not configured (#13669)
Jacob Laursen [Mon, 7 Nov 2022 05:49:05 +0000 (06:49 +0100)]
[kodi] Fix bridge initialization when parameter group is not configured (#13669)

Fixes #13668

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
3 years ago[groheondus] Upgrade dependencies (#13665)
Wouter Born [Sun, 6 Nov 2022 19:22:08 +0000 (20:22 +0100)]
[groheondus] Upgrade dependencies (#13665)

* Upgrade commons-text to 1.10.0 (prevents CVE-2022-42889)
* Upgrade commons-lang3 to 3.12.0
* Remove commons-text, wrap from feature because it is embedded into the bundle

Signed-off-by: Wouter Born <github@maindrain.net>
3 years ago[jsscripting] Update openhab-js version to 2.1.0 (#13664)
Florian Hotze [Sun, 6 Nov 2022 19:15:10 +0000 (20:15 +0100)]
[jsscripting] Update openhab-js version to 2.1.0 (#13664)

Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
3 years ago[miio] Fix warning messages and discovery on newer robots (#13111)
Marcel [Sun, 6 Nov 2022 09:03:51 +0000 (10:03 +0100)]
[miio] Fix warning messages and discovery on newer robots (#13111)

also includes update to latest devicenames list

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
3 years ago[jdbc] Fix MySQL deprecation notice on startup (#13660)
Jacob Laursen [Sat, 5 Nov 2022 19:27:38 +0000 (20:27 +0100)]
[jdbc] Fix MySQL deprecation notice on startup (#13660)

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
3 years ago[mqtt.homeassistant] support non-RGB lights (#13413)
Cody Cutrer [Sat, 5 Nov 2022 15:57:06 +0000 (09:57 -0600)]
[mqtt.homeassistant] support non-RGB lights (#13413)

* [mqtt.homeassistant] support non-RGB lights

dynamically decide which type of channel to expose. also send "down-typed"
commands to the proper topic. this also sets the groundwork for supporting
template and JSON schemas

Signed-off-by: Cody Cutrer <cody@cutrer.us>
3 years ago[tellstick] Avoid updates duplication after communication errors (#13479)
lolodomo [Sat, 5 Nov 2022 15:11:06 +0000 (16:11 +0100)]
[tellstick] Avoid updates duplication after communication errors (#13479)

* [tellstick] Avoid updates duplication after communication errors

Fix #13453

Do not register the same device handler many times as listener in the bridge handler
Unregister the device handler from the bridge handler when disposing device handler

HTTP timeout set to 15s
Remove the retry mechanism related to the timeout
Check HTTP status code
Fix discovery service unregistration
Log statistics about request/refresh durations and number of timeouts/errors
Change logging in case of exception
Also change few logs level (remove usage of logger.error)
Execute one refresh at bridge initialization and not 2
Small enhancement of the bridge/things status management
implement discovery service unregistration
Fix few code analysis findings

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
* Use a set for deviceStatusListeners to avoid duplications

Review comment: @NonNullByDefault for TellstickHandlerFactory

Review comment: use ThingStatusDetail.CONFIGURATION_ERROR if no bridge
is defined

Review comment: use 1_000_000 instead of 1000000

Review comment: use Instant instead of LocalDateTime

Review comment: Thread.currentThread().interrupt()

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
3 years ago[jsscripting] Reimplement timer polyfills to conform standard JS (#13623)
Florian Hotze [Sat, 5 Nov 2022 14:26:46 +0000 (15:26 +0100)]
[jsscripting] Reimplement timer polyfills to conform standard JS (#13623)

* [jsscripting] Reimplement timers to conform standard JS
* [jsscripting] Name scheduled jobs by loggerName + id
* [jsscripting] Update timer identifiers
* [jsscripting] Update identifiers for scheduled jobs
* [jsscripting] Synchronize method that is called when the script is reloaded
* [jsscripting] Cancel all scheduled jobs when the engine is closed
* [jsscripting] Ensure that a timerId is never reused by a subsequent call & Use long primitive type instead of Integer
* [jsscripting] Use an abstraction class to inject features into the JS runtime
* [jsscripting] Make ThreadsafeTimers threadsafe for concurrent access to the class itself
* [jsscripting] Move the locking for `invokeFunction` to `OpenhabGraalJSScriptEngine`

Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
3 years ago[jrubyscripting] don't manually filter presets. (#13548)
Cody Cutrer [Sat, 5 Nov 2022 14:23:02 +0000 (08:23 -0600)]
[jrubyscripting] don't manually filter presets. (#13548)

simply just don't overwrite any constants that already exist

refs https://github.com/openhab/openhab-core/pull/3113

Signed-off-by: Cody Cutrer <cody@cutrer.us>
3 years ago[verisure] Avoid updates duplication after communication errors (#13652)
lolodomo [Sat, 5 Nov 2022 13:42:01 +0000 (14:42 +0100)]
[verisure] Avoid updates duplication after communication errors (#13652)

Avoid registering several times the same device status listener.
It is called by the thing handler each time the bridge status changed to ONLINE.

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
3 years ago[kostalinverter] Fix for the Kostal inverter binding to work with different firmware...
basse04 [Sat, 5 Nov 2022 12:50:49 +0000 (13:50 +0100)]
[kostalinverter] Fix for the Kostal inverter binding to work with different firmware releases regarded to PIKO 10-20 V. 221004 (#13490)

* [kostalinverter] Fix for the Kostal inverter binding to work with
different firmware releases regarded to PIKO 10-20 Version 221004

This is the next version regarded to Closed PR #13464

* [kostalinverter] Changes done 20221019
Regarded to Thread.....

* Proper handling of InterruptedException

Also removbe a useless call to return

Signed-off-by: Örjan Backsell <orjan.backsell@gmail.com>
Co-authored-by: Laurent Garnier <lg.hc@free.fr>
3 years agoAdd support for Dreame L10 Pro (#12803)
Leif Bladt [Sat, 5 Nov 2022 12:10:08 +0000 (13:10 +0100)]
Add support for Dreame L10 Pro (#12803)

Signed-off-by: Leif Bladt <leif.bladt@gmx.de>
3 years ago[jdbc] Add support for case sensitive table names reflecting item names 1:1 (#13544)
Jacob Laursen [Sat, 5 Nov 2022 09:41:31 +0000 (10:41 +0100)]
[jdbc] Add support for case sensitive table names reflecting item names 1:1 (#13544)

* Do not append number when using real item names
* Extract getTableName to separate class
* Add initial test coverage
* Extract migration logic to separate class
* Support migration from real names back to numbered
* Simplify zero-padding
* Fix NullPointerException
* Fix MySQL compatibility when CLIENT_MULTI_STATEMENTS option is not set
* Add option for case sensitive table names
* Add real name with suffix mode for backwards compatibility
* Remove real name in lower case without suffix mode
* Map directly from item name to table name
* Fix ambiguous table name scenario
* Add additional testcase
* Add migration path for changed table prefix
* Drop items table when using direct mapping
* Add configuration note
* Fix table alignment
* Extend description as more migration paths are now supported
* Do not stop halfway through a migration
* For clarity, do not use abbreviation for operating system

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
3 years agoadopted date parser due to changes in EASEE API (#13654)
alexf2015 [Fri, 4 Nov 2022 18:56:30 +0000 (19:56 +0100)]
adopted date parser due to changes in EASEE API (#13654)

Signed-off-by: Alexander Friese <af944580@googlemail.com>
3 years ago[paradoxalarm] Handle multiple panels (#13641)
Silviu Chingaru [Fri, 4 Nov 2022 18:01:39 +0000 (20:01 +0200)]
[paradoxalarm] Handle multiple panels (#13641)

* Fixes #13640

Working with multiple Paradox panels

Tested with:
- rename things files;
- thing disable / enable on same instance of OpenHab;
- disable on one OpenHab instance > enable on other;

Everything works as espected.
All test passed even if no Login/Logout commands were sent to IP module

Signed-off-by: Silviu Chingaru <silviuchingaru@yahoo.com>
3 years ago[homeconnect] Fix login for simulator environment (#13653)
bruestel [Fri, 4 Nov 2022 17:28:40 +0000 (18:28 +0100)]
[homeconnect] Fix login for simulator environment (#13653)

* Add redirect URI to oAuth request

Signed-off-by: Jonas Brüstel <jonas@bruestel.net>
3 years ago[hdpowerview] Restructure DTO classes (#13630)
Jacob Laursen [Fri, 4 Nov 2022 17:24:39 +0000 (18:24 +0100)]
[hdpowerview] Restructure DTO classes (#13630)

* Extract nested DTO's to separate classes
* Rename api to dto
* Move test classes into internal
* Finish moving of files and fix namespaces

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
3 years ago[systeminfo] dynamic channels (#13562)
Mark Herwege [Fri, 4 Nov 2022 12:28:27 +0000 (13:28 +0100)]
[systeminfo] dynamic channels (#13562)

* Dynamic channels
* Status messages i8n
* Format fix
* Cache process load values
* Restore channel configs
* Fix test
* Stabilize tests
* Fix CpuLoad1-5-15 update
* Fix test bndrun
* String equals cleanup
* Fix potential null pointer in test

Signed-off-by: Mark Herwege <mark.herwege@telenet.be>
3 years ago[mercedesme] Fix unstable ConfigurationTest (#13650)
Wouter Born [Thu, 3 Nov 2022 21:16:07 +0000 (22:16 +0100)]
[mercedesme] Fix unstable ConfigurationTest (#13650)

* Make sure IPv4 is used with default callback URL
* Use a more reasonable timeout

Fixes #13531

Signed-off-by: Wouter Born <github@maindrain.net>
3 years agoSome HM devices are using relative humidity (% rH/rF) as units (#13626)
Martin Herbst [Thu, 3 Nov 2022 18:21:13 +0000 (19:21 +0100)]
Some HM devices are using relative humidity (% rH/rF) as units (#13626)

Fix #13553

Signed-off-by: Martin Herbst <develop@mherbst.de>
3 years agoUpdate README.md (#13642)
Andrea Cioni [Wed, 2 Nov 2022 07:20:58 +0000 (08:20 +0100)]
Update README.md (#13642)

`color_mode` is not recognized as a channel parameter, instead, `colorMode` is

3 years ago[netatmo] eventBuffer in SecurityCapability should not be static (#13636)
lolodomo [Wed, 2 Nov 2022 07:16:25 +0000 (08:16 +0100)]
[netatmo] eventBuffer in SecurityCapability should not be static (#13636)

Also fix few findings by code analysis

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
3 years ago[sagercaster] Fix all code analysis findings (#13637)
lolodomo [Tue, 1 Nov 2022 14:33:54 +0000 (15:33 +0100)]
[sagercaster] Fix all code analysis findings (#13637)

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
3 years ago[lifx] Fix all code analysis findings (#13638)
lolodomo [Tue, 1 Nov 2022 14:31:37 +0000 (15:31 +0100)]
[lifx] Fix all code analysis findings (#13638)

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
3 years ago[vigicrues] Fix few code analysis findings (#13639)
lolodomo [Tue, 1 Nov 2022 14:30:29 +0000 (15:30 +0100)]
[vigicrues] Fix few code analysis findings (#13639)

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
3 years ago[linuxinput] handle keys not known by libevdev (#13632)
Thomas Weißschuh [Tue, 1 Nov 2022 13:06:58 +0000 (08:06 -0500)]
[linuxinput] handle keys not known by libevdev (#13632)

* [linuxinput] handle keys not known by libevdev

Previously if libevdev could not resolve a numeric event code to a
symbolic name the name "null" was used.
This is useless for the user and may lead to duplicate-channel errors if
multiple unknown keys are encountered.

Instead use the numeric code itself as channel name if no symbolic code
could be determined.

Reported-in: https://community.openhab.org/t/linuxinput-binding-and-mouse-capture/122612/8
Signed-off-by: Thomas Weißschuh <thomas@t-8ch.de>
* [linuxinput] add channel description

Signed-off-by: Thomas Weißschuh <thomas@t-8ch.de>
3 years agoNew Crowdin updates (#13635)
openhab-bot [Tue, 1 Nov 2022 13:03:15 +0000 (14:03 +0100)]
New Crowdin updates (#13635)

* New translations hue.properties (French)

* New translations lgwebos.properties (French)

* New translations lgwebos.properties (French)

3 years agoNew translations hue.properties (German) (#13634)
openhab-bot [Tue, 1 Nov 2022 09:55:11 +0000 (10:55 +0100)]
New translations hue.properties (German) (#13634)

3 years ago[netatmo] No restriction on max value for rain quantity (#13620)
lolodomo [Mon, 31 Oct 2022 19:55:26 +0000 (20:55 +0100)]
[netatmo] No restriction on max value for rain quantity (#13620)

* [netatmo] No max value for rain quantity

Fix #13619

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
3 years ago[lgwebos] Actions: sendButton updated, sendRCButton removed, sendKeyboard added ...
lolodomo [Mon, 31 Oct 2022 18:57:46 +0000 (19:57 +0100)]
[lgwebos] Actions: sendButton updated, sendRCButton removed, sendKeyboard added (#13618)

* README: make the list of remote control buttons less specific to a model

Fix #13600

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
3 years agoFixes #13628 (#13629)
Konstantin Polihronov [Mon, 31 Oct 2022 17:11:15 +0000 (19:11 +0200)]
Fixes #13628 (#13629)

* Change static config in bridge handler to non-static (fixes #13628)

Signed-off-by: Konstantin Polihronov <polychronov@gmail.com>
3 years ago[boschshc] Support for Compact Smart Plugs (#13528) (#13533)
David Pace [Mon, 31 Oct 2022 16:21:25 +0000 (17:21 +0100)]
[boschshc] Support for Compact Smart Plugs (#13528) (#13533)

* add thing definition with ID "smart-plug-compact"
* add constant for thing type UID
* extract abstract implementation for devices with power switch and
energy monitoring
* let in-wall switch handler and smart plug handler extend the abstract
implementation
* register new handler
* add method with boolean parameter to fetch initial state actively
* make BoschSHCDeviceHandler abstract
* add documentation
* add unit tests

closes #13528

Signed-off-by: David Pace <dev@davidpace.de>
3 years agoNew translations hue.properties (Italian) (#13627)
openhab-bot [Mon, 31 Oct 2022 08:22:35 +0000 (09:22 +0100)]
New translations hue.properties (Italian) (#13627)

3 years ago[miio] Update yeelink.light.light15.json (#13554)
Michi [Sun, 30 Oct 2022 19:41:13 +0000 (20:41 +0100)]
[miio] Update yeelink.light.light15.json (#13554)

* Update yeelink.light.light15.json

changed Datatype form "Number" to "Dimmer" at channel "ambientBrightness"
same issue openhab#9936 (but already fixed)

Signed-off-by: Michi <michael.schmidts@online.de>
3 years ago[hue] Check HTTPS connection (download of PEM certificate) (#13617)
lolodomo [Sun, 30 Oct 2022 12:04:09 +0000 (13:04 +0100)]
[hue] Check HTTPS connection (download of PEM certificate) (#13617)

* [hue] Check HTTPS connection (download of PEM certificate)

Fix #13586

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
3 years ago[kaleidescape] update README (#13593)
mlobstein [Sat, 29 Oct 2022 08:43:32 +0000 (03:43 -0500)]
[kaleidescape] update README (#13593)

* update README

Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
3 years agoAdd console extension for showing IDs (#13615)
Jacob Laursen [Fri, 28 Oct 2022 17:11:24 +0000 (19:11 +0200)]
Add console extension for showing IDs (#13615)

Fixes #13614

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
3 years agoFix missing web resource unregistration (#13613)
Björn Lange [Fri, 28 Oct 2022 10:58:16 +0000 (12:58 +0200)]
Fix missing web resource unregistration (#13613)

Signed-off-by: Björn Lange <bjoern.lange@itemis.de>
3 years ago[groheondus] Fix missing automatic refresh ++ (#11955)
Arne Seime [Thu, 27 Oct 2022 07:03:17 +0000 (09:03 +0200)]
[groheondus] Fix missing automatic refresh ++ (#11955)

* Fix scheduling of thing and token update, tries to avoid service rate limiting. Added more logging. Added some missing null checks. Ensure recent data is fetched, not data from yesterday

Signed-off-by: Arne Seime <arne.seime@gmail.com>
* Updated to latest versio of API lib

Signed-off-by: Arne Seime <arne.seime@gmail.com>
* Added new channel waterconsumption_since_midnight that sums todays water consumption (same as in the Grohe app)

Signed-off-by: Arne Seime <arne.seime@gmail.com>
* Add more debug logging

Signed-off-by: Arne Seime <arne.seime@gmail.com>
* More null checks, also set channels to Undef if a value is missing

Signed-off-by: Arne Seime <arne.seime@gmail.com>
* Fixed missing embedding of commons-text as it is a dependency of the api lib

Signed-off-by: Arne Seime <arne.seime@gmail.com>
* Refresh token 1 hour before expiry

Signed-off-by: Arne Seime <arne.seime@gmail.com>
* Re-login in case token refresh fails

Signed-off-by: Arne Seime <arne.seime@gmail.com>
* Factor in timezone when calculating consum since midnight

Signed-off-by: Arne Seime <arne.seime@gmail.com>
* Use QuantityType<Volume> for water consumption

Signed-off-by: Arne Seime <arne.seime@gmail.com>
* Minor

Signed-off-by: Arne Seime <arne.seime@gmail.com>
* i18n of dynamic error messages

Signed-off-by: Arne Seime <arne.seime@gmail.com>
* More i18n. Plus retry of failed refresh token - with a delay to possibly avoid rate limiting

Signed-off-by: Arne Seime <arne.seime@gmail.com>
* Adjust refresh token timeout to 5 minutes before expire. Also retry with username/pwd login if token login fails (could be an expired token)

Signed-off-by: Arne Seime <arne.seime@gmail.com>
* Clear old discovery results

Signed-off-by: Arne Seime <arne.seime@gmail.com>
* Fetch data further back to ensure battery device has been online

Signed-off-by: Arne Seime <arne.seime@gmail.com>
* Updated README with old data warning

Signed-off-by: Arne Seime <arne.seime@gmail.com>
* Typo

Signed-off-by: Arne Seime <arne.seime@gmail.com>
* Do not allow polling interval less than 900 as rate limiting most likely will block the calls

Signed-off-by: Arne Seime <arne.seime@gmail.com>
* Fix failed token refresh giving up

Signed-off-by: Arne Seime <arne.seime@gmail.com>
* Removed refresh token login webpage. Another attempt at handling token refresh

Signed-off-by: Arne Seime <arne.seime@gmail.com>
* Fix status detail

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
* Restore formatting

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
* Fix newly introduced warnings

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
* Remove redundant logging

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
Signed-off-by: Arne Seime <arne.seime@gmail.com>
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
Co-authored-by: Jacob Laursen <jacob-github@vindvejr.dk>
3 years ago[mqtt] set the proper unit in the state description (#13604)
Cody Cutrer [Thu, 27 Oct 2022 06:34:50 +0000 (00:34 -0600)]
[mqtt] set the proper unit in the state description (#13604)

So that other pieces of openhab can know what unit it's going to be,
without it having a value yet. Importantly, any necessary conversion
that need to be applied to the other portion of the state description -
min, max, and step.

See also https://github.com/openhab/openhab-core/pull/3132

Signed-off-by: Cody Cutrer <cody@cutrer.us>
3 years ago[ipcamera] Fix multiple WARNs when HIK camera does not support alarm inputs (#13606)
Matthew Skinner [Thu, 27 Oct 2022 06:28:27 +0000 (17:28 +1100)]
[ipcamera] Fix multiple WARNs when HIK camera does not support alarm inputs (#13606)

* Fix never ending WARN when HIK camera does not support alarm inputs.
* Streamline code.

Signed-off-by: Matthew Skinner <matt@pcmus.com>
3 years ago[jrubyscripting] Update to JRuby 9.3.9.0 (#13605)
jimtng [Wed, 26 Oct 2022 12:30:10 +0000 (22:30 +1000)]
[jrubyscripting] Update to JRuby 9.3.9.0 (#13605)

Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
3 years ago[freebox] Console command completion (#13591)
lolodomo [Tue, 25 Oct 2022 07:32:34 +0000 (09:32 +0200)]
[freebox] Console command completion (#13591)

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
3 years ago[lgwebos] Console command completion (#13590)
lolodomo [Tue, 25 Oct 2022 07:31:09 +0000 (09:31 +0200)]
[lgwebos] Console command completion (#13590)

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
3 years ago[linky] Console command completion (#13589)
lolodomo [Tue, 25 Oct 2022 07:29:58 +0000 (09:29 +0200)]
[linky] Console command completion (#13589)

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
3 years ago[hue] Console command completion (#13597)
lolodomo [Tue, 25 Oct 2022 07:29:12 +0000 (09:29 +0200)]
[hue] Console command completion (#13597)

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
3 years ago[powermax] Console command completion (#13588)
lolodomo [Tue, 25 Oct 2022 07:27:28 +0000 (09:27 +0200)]
[powermax] Console command completion (#13588)

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
3 years ago[somfytahoma] Console command completion (#13598)
lolodomo [Tue, 25 Oct 2022 07:25:40 +0000 (09:25 +0200)]
[somfytahoma] Console command completion (#13598)

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
3 years ago[jsscripting] Name timers created by polyfills (#13576)
Florian Hotze [Mon, 24 Oct 2022 21:40:44 +0000 (23:40 +0200)]
[jsscripting] Name timers created by polyfills (#13576)

* [jsscripting] Name timers created by polyfills

Fixes #13478.

Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
3 years ago[netatmo] Console command completion (#13587)
lolodomo [Mon, 24 Oct 2022 21:34:32 +0000 (23:34 +0200)]
[netatmo] Console command completion (#13587)

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
3 years ago[meater] Add console extension for showing IDs (#13601)
Jacob Laursen [Mon, 24 Oct 2022 21:27:33 +0000 (23:27 +0200)]
[meater] Add console extension for showing IDs (#13601)

* Add console extension for showing IDs

Fixes #13599

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
3 years ago[jsscripting] Fix multi-thread access (#13582)
Florian Hotze [Mon, 24 Oct 2022 11:35:33 +0000 (13:35 +0200)]
[jsscripting] Fix multi-thread access (#13582)

* [jsscripting] Share the lock mechanism that was used only for rules
This change moves the lock object that was originally created for ThreadsafeSimpleRuleDelegate to OpenhabGraalJSScriptEngine to make share it across the whole engine.

* [jsscripting] Inject the lock object into the JS runtime
* [jsscripting] Update `setTimeout` & `setInterval` polyfills to enable threadsafety
* [jsscripting] Upgrade GraalJS from 21.3.0 to 22.3.0
* [jsscripting] Reduce compiler warnings
* [jsscripting] Update node version of frontend-maven-plugin

Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
3 years agoReinitialize properties after configuration change (#13592)
Jacob Laursen [Sun, 23 Oct 2022 20:07:14 +0000 (22:07 +0200)]
Reinitialize properties after configuration change (#13592)

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
3 years agoNew Crowdin updates (#13585)
openhab-bot [Sat, 22 Oct 2022 21:41:33 +0000 (23:41 +0200)]
New Crowdin updates (#13585)

* New translations exec.properties (French)
* New translations watsonstt.properties (French)

3 years ago[hue] Changed discovery to mDNS; added HTTPS handling; refactor HTTPClient to use...
Christoph Weitkamp [Sat, 22 Oct 2022 21:39:51 +0000 (23:39 +0200)]
[hue] Changed discovery to mDNS; added HTTPS handling; refactor HTTPClient to use jetty shared client (#11842)

* Changed discovery to MDNS; added HTTPS handling; refactor HTTPClient to use jetty shared client

Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
3 years agoNew translations rotel.properties (French) (#13584)
openhab-bot [Sat, 22 Oct 2022 19:21:45 +0000 (21:21 +0200)]
New translations rotel.properties (French) (#13584)

3 years ago[homekit] increase flexibility of ColorTemperature (#13538)
Cody Cutrer [Sat, 22 Oct 2022 18:24:51 +0000 (12:24 -0600)]
[homekit] increase flexibility of ColorTemperature (#13538)

* [homekit] increase flexibility of ColorTemperature

allow Number or Dimmer items, and mired or Kelvin units.

Signed-off-by: Cody Cutrer <cody@cutrer.us>
3 years agoNew translations rotel.properties (French) (#13583)
openhab-bot [Sat, 22 Oct 2022 18:24:19 +0000 (20:24 +0200)]
New translations rotel.properties (French) (#13583)

3 years ago[mqtt] support mired<->Kelvin unit conversion (#13575)
Cody Cutrer [Sat, 22 Oct 2022 18:07:33 +0000 (12:07 -0600)]
[mqtt] support mired<->Kelvin unit conversion (#13575)

Just have to use the newer toInvertibleUnit method that allows
the dimension to change.

Signed-off-by: Cody Cutrer <cody@cutrer.us>
3 years agoNew Crowdin updates (#13580)
openhab-bot [Sat, 22 Oct 2022 12:18:31 +0000 (14:18 +0200)]
New Crowdin updates (#13580)

* New translations tplinkrouter.properties (French)

* New translations meater.properties (French)

3 years agoNew Crowdin updates (#13579)
openhab-bot [Sat, 22 Oct 2022 10:15:52 +0000 (12:15 +0200)]
New Crowdin updates (#13579)

* New translations amplipi.properties (Italian)

* New translations anel.properties (Italian)

3 years ago[netatmo] Extend example with things for energy stuff (#13568)
lolodomo [Thu, 20 Oct 2022 20:51:03 +0000 (22:51 +0200)]
[netatmo] Extend example with things for energy stuff (#13568)

* [netatmo] Extend example with things for energy stuff

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
3 years ago[hdpowerview] add duette/applause skylift shades (#13574)
Andrew Fiddian-Green [Thu, 20 Oct 2022 10:49:23 +0000 (11:49 +0100)]
[hdpowerview] add duette/applause skylift shades (#13574)

Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
3 years ago[jellyfin] upgrade sdk, fixes json parse error (#13572)
GiviMAD [Thu, 20 Oct 2022 05:26:39 +0000 (07:26 +0200)]
[jellyfin] upgrade sdk, fixes json parse error (#13572)

Signed-off-by: Miguel Álvarez <miguelwork92@gmail.com>
3 years ago[hdpowerview] support for shade types 26,27,28 (#13571)
Andrew Fiddian-Green [Wed, 19 Oct 2022 19:19:55 +0000 (20:19 +0100)]
[hdpowerview] support for shade types 26,27,28 (#13571)

Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
3 years ago[homekit] Improve output of console's `homekit show` command (#13569)
Cody Cutrer [Wed, 19 Oct 2022 18:17:55 +0000 (12:17 -0600)]
[homekit] Improve output of console's `homekit show` command (#13569)

* [homekit] Improve output of console's `homekit show` command

 * include the full JSON from all the characteristics, so you can confirm
   everything is configured correctly.
 * only use simple class names; the fully qualified package is just a
   distraction.
 * show linked services if they exist
 * include the class name of services, not just the GUID

Signed-off-by: Cody Cutrer <cody@cutrer.us>
3 years ago[homekit] improve bundle deactivation time (#13566)
Cody Cutrer [Wed, 19 Oct 2022 09:18:02 +0000 (03:18 -0600)]
[homekit] improve bundle deactivation time (#13566)

If you have many instances, it can take a while. So stop all the
instances in parallel. Also, fix a race condition where the update
debouncer might get called again after being stopped, because the
change listener was deregistered _after_ the debouncer was stopped.

Signed-off-by: Cody Cutrer <cody@cutrer.us>
3 years ago[netatmo] Console command to show all devices/modules ids (#13555)
lolodomo [Wed, 19 Oct 2022 06:47:04 +0000 (08:47 +0200)]
[netatmo] Console command to show all devices/modules ids (#13555)

* [netatmo] Console command to show all devices/modules ids

Fix #13091

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
3 years ago[netatmo] more precision in doc where to find the refresh token (#13567)
lolodomo [Wed, 19 Oct 2022 06:24:25 +0000 (08:24 +0200)]
[netatmo] more precision in doc where to find the refresh token (#13567)

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
3 years ago[jsscripting] Upgrade openhab-js to 2.0.4 (#13565)
Florian Hotze [Tue, 18 Oct 2022 20:34:33 +0000 (22:34 +0200)]
[jsscripting] Upgrade openhab-js to 2.0.4 (#13565)

Fixes #13563.

Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
3 years ago[voskstt] Fix load on linux arm (#13556)
GiviMAD [Tue, 18 Oct 2022 17:29:15 +0000 (19:29 +0200)]
[voskstt] Fix load on linux arm (#13556)

Signed-off-by: Miguel Álvarez <miguelwork92@gmail.com>
3 years agoNew translations allplay.properties (Italian) (#13561)
openhab-bot [Mon, 17 Oct 2022 19:06:45 +0000 (21:06 +0200)]
New translations allplay.properties (Italian) (#13561)

3 years ago[MAP] Adds fallback to original value when input not found (#13560)
Gaël L'hopital [Mon, 17 Oct 2022 17:43:12 +0000 (19:43 +0200)]
[MAP] Adds fallback to original value when input not found (#13560)

* [MAP] Adding fallback to original value
Solves #10092

Signed-off-by: clinique <gael@lhopital.org>
3 years ago[openhabcloud] Removing content encoding when proxing. (#13559)
Dan Cunningham [Mon, 17 Oct 2022 06:06:08 +0000 (23:06 -0700)]
[openhabcloud] Removing content encoding when proxing. (#13559)

Signed-off-by: Dan Cunningham <dan@digitaldan.com>
3 years agoNew Crowdin updates (#13558)
openhab-bot [Sun, 16 Oct 2022 23:05:00 +0000 (01:05 +0200)]
New Crowdin updates (#13558)

* New translations meater.properties (Italian)
* New translations tplinkrouter.properties (Italian)

3 years ago[broadlinkthermostat] Aesthetic rename and add RM Mini (#13412)
GiviMAD [Sun, 16 Oct 2022 21:13:12 +0000 (23:13 +0200)]
[broadlinkthermostat] Aesthetic rename and add RM Mini  (#13412)

* [broadlinkthermostat] Aesthetic rename and add RM Mini

Signed-off-by: Miguel Álvarez <miguelwork92@gmail.com>
3 years ago[meater] Initial contribution (#13400)
Jan Gustafsson [Sun, 16 Oct 2022 08:13:18 +0000 (10:13 +0200)]
[meater] Initial contribution (#13400)

* First version.

Signed-off-by: Jan Gustafsson <jannegpriv@gmail.com>
3 years ago[tplinkrouter] Initial contribution (#13369)
Olivier [Sat, 15 Oct 2022 19:52:33 +0000 (21:52 +0200)]
[tplinkrouter] Initial contribution (#13369)

* Initial commit

Signed-off-by: Olivier Marceau <hollysaiqs@marceau.ovh>
3 years ago[influxdb] Update README.md (#13541)
Wikibear [Sat, 15 Oct 2022 14:29:01 +0000 (16:29 +0200)]
[influxdb] Update README.md (#13541)

* Update README.md

At a link for further information what to do in a persist file.

3 years ago[tesla] Options to control polling frequency and sleep (#13337)
billfor [Sat, 15 Oct 2022 12:25:29 +0000 (08:25 -0400)]
[tesla] Options to control polling frequency and sleep (#13337)

* Options to control polling frequency and sleep mode
* Update documentation
* Fix request token expiration calculation and additional logging for tokens

Signed-off-by: Bill Forsyth <git@billforsyth.net>
3 years ago[sonos] New codec id 61 for Dolby Atmos (#13551)
lolodomo [Sat, 15 Oct 2022 09:48:20 +0000 (11:48 +0200)]
[sonos] New codec id 61 for Dolby Atmos (#13551)

Fix #13540

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
3 years agoIgnore NuvoNet events for sources not managed by openHAB (#13535)
mlobstein [Sat, 15 Oct 2022 08:27:37 +0000 (03:27 -0500)]
Ignore NuvoNet events for sources not managed by openHAB (#13535)

Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
3 years agoBug Fix - Websocket reconnect after server failure (#13537)
Stian Kjoglum [Sat, 15 Oct 2022 08:22:58 +0000 (10:22 +0200)]
Bug Fix - Websocket reconnect after server failure (#13537)

Signed-off-by: kjoglum <stiankj@online.no>
3 years agoFix indexing of presets and playlists. (#13543)
Matthew Skinner [Sat, 15 Oct 2022 08:07:49 +0000 (19:07 +1100)]
Fix indexing of presets and playlists. (#13543)

Signed-off-by: Matthew Skinner <matt@pcmus.com>
3 years ago[gce] File based items are not updated (#13545)
Gaël L'hopital [Sat, 15 Oct 2022 08:02:01 +0000 (10:02 +0200)]
[gce] File based items are not updated (#13545)

* [gce] Correcting non updated input channels

Signed-off-by: clinique <gael@lhopital.org>
3 years ago[epsonprojector] Log invalid number when expecting numeric response from projector...
mlobstein [Sat, 15 Oct 2022 07:35:14 +0000 (02:35 -0500)]
[epsonprojector] Log invalid number when expecting numeric response from projector (#13550)

* Log invalid number when expecting numeric response from projector

Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
3 years agoLog invalid number when expecting numeric response from projector (#13549)
mlobstein [Sat, 15 Oct 2022 07:33:12 +0000 (02:33 -0500)]
Log invalid number when expecting numeric response from projector (#13549)

Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
3 years agoNew Crowdin updates (#13546)
openhab-bot [Fri, 14 Oct 2022 11:57:49 +0000 (13:57 +0200)]
New Crowdin updates (#13546)

* New translations airquality.properties (Italian)
* New translations airq.properties (Italian)
* New translations airvisualnode.properties (Italian)
* New translations androiddebugbridge.properties (Italian)

3 years ago[jinja] Upgrade jsoup from 1.14.3 to 1.15.3 (#13344)
dependabot[bot] [Fri, 14 Oct 2022 06:58:00 +0000 (08:58 +0200)]
[jinja] Upgrade jsoup from 1.14.3 to 1.15.3 (#13344)

* Bump jsoup from 1.14.3 to 1.15.3 in /bundles/org.openhab.transform.jinja

Bumps [jsoup](https://github.com/jhy/jsoup) from 1.14.3 to 1.15.3.
- [Release notes](https://github.com/jhy/jsoup/releases)
- [Changelog](https://github.com/jhy/jsoup/blob/master/CHANGES)
- [Commits](https://github.com/jhy/jsoup/compare/jsoup-1.14.3...jsoup-1.15.3)

---
updated-dependencies:
- dependency-name: org.jsoup:jsoup
  dependency-type: direct:production
...

Also-by: Wouter Born <github@maindrain.net>
Signed-off-by: dependabot[bot] <support@github.com>
3 years ago[ipobserver] Upgrade jsoup from 1.14.3 to 1.15.3 (#13343)
dependabot[bot] [Fri, 14 Oct 2022 06:57:21 +0000 (08:57 +0200)]
[ipobserver] Upgrade jsoup from 1.14.3 to 1.15.3 (#13343)

* Bump jsoup in /bundles/org.openhab.binding.ipobserver

Bumps [jsoup](https://github.com/jhy/jsoup) from 1.14.3 to 1.15.3.
- [Release notes](https://github.com/jhy/jsoup/releases)
- [Changelog](https://github.com/jhy/jsoup/blob/master/CHANGES)
- [Commits](https://github.com/jhy/jsoup/compare/jsoup-1.14.3...jsoup-1.15.3)

---
updated-dependencies:
- dependency-name: org.jsoup:jsoup
  dependency-type: direct:production
...

Also-by: Wouter Born <github@maindrain.net>
Signed-off-by: dependabot[bot] <support@github.com>
3 years ago[ahawastecollection] Upgrade jsoup from 1.14.3 to 1.15.3 (#13342)
dependabot[bot] [Thu, 13 Oct 2022 16:25:22 +0000 (18:25 +0200)]
[ahawastecollection] Upgrade jsoup from 1.14.3 to 1.15.3 (#13342)

* Bump jsoup in /bundles/org.openhab.binding.ahawastecollection

Bumps [jsoup](https://github.com/jhy/jsoup) from 1.14.3 to 1.15.3.
- [Release notes](https://github.com/jhy/jsoup/releases)
- [Changelog](https://github.com/jhy/jsoup/blob/master/CHANGES)
- [Commits](https://github.com/jhy/jsoup/compare/jsoup-1.14.3...jsoup-1.15.3)

---
updated-dependencies:
- dependency-name: org.jsoup:jsoup
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
* Update feature.xml too

Signed-off-by: Wouter Born <github@maindrain.net>
Also-by: Wouter Born <github@maindrain.net>
Signed-off-by: dependabot[bot] <support@github.com>
3 years agoNew Crowdin updates (#13542)
openhab-bot [Thu, 13 Oct 2022 12:35:26 +0000 (14:35 +0200)]
New Crowdin updates (#13542)

* New translations adorne.properties (Italian)
* New translations knx.properties (German)
* New translations jsscripting.properties (Italian)

3 years ago[unifi] Fix PoE port mode for 24V (#13539)
Hilbrand Bouwkamp [Thu, 13 Oct 2022 12:34:28 +0000 (14:34 +0200)]
[unifi] Fix PoE port mode for 24V (#13539)

* [unifi] Fix PoE port mode for 24V

The value UniFi expects is actually pasv24. Tested with different UniFi controller versions.

* [unifi] Added Hilbrand as codeowner to UniFi binding

Signed-off-by: Hilbrand Bouwkamp <hilbrand@h72.nl>
3 years ago[tibber] Add channel for tomorrows prices and timestamps as JSON array (#13416)
Arne Seime [Tue, 11 Oct 2022 20:14:19 +0000 (22:14 +0200)]
[tibber] Add channel for tomorrows prices and timestamps as JSON array (#13416)

Signed-off-by: Arne Seime <arne.seime@gmail.com>
3 years ago[jdbc] Upgrade derby from 10.12.1.1 to 10.14.2.0 (#13038)
dependabot[bot] [Tue, 11 Oct 2022 19:54:19 +0000 (21:54 +0200)]
[jdbc] Upgrade derby from 10.12.1.1 to 10.14.2.0 (#13038)

* Use derby instead of derbyclient, fix bnd optional package imports
* Update versions add dynamic package import for custom JDBC drivers
* Prevent redundant null check warnings

Signed-off-by: Wouter Born <github@maindrain.net>
3 years ago[knx] Improve localization (#13293)
Holger Friedrich [Tue, 11 Oct 2022 19:18:17 +0000 (21:18 +0200)]
[knx] Improve localization (#13293)

* [knx] Improve localization

- introduce localization of error messages
- add new strings for common exceptions
- provide helper functions for translation
- add test cases

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
3 years agoNew translations shelly.properties (German) (#13534)
openhab-bot [Mon, 10 Oct 2022 18:14:16 +0000 (20:14 +0200)]
New translations shelly.properties (German) (#13534)

3 years ago[gce] Avoid conflicts with things file defined (#13526)
Gaël L'hopital [Mon, 10 Oct 2022 16:42:49 +0000 (18:42 +0200)]
[gce] Avoid conflicts with things file defined (#13526)

* Avoiding dynamic creation of channels when channels already exists

Signed-off-by: clinique <gael@lhopital.org>