]> git.basschouten.com Git - openhab-addons.git/log
openhab-addons.git
3 years agoTypos a/an (#13819)
Дилян Палаузов [Fri, 2 Dec 2022 12:07:31 +0000 (14:07 +0200)]
Typos a/an (#13819)

3 years agoFix Derby/H2/HSQLDB/SQLite queries for storing timestamps (#13817)
Jacob Laursen [Fri, 2 Dec 2022 07:14:23 +0000 (08:14 +0100)]
Fix Derby/H2/HSQLDB/SQLite queries for storing timestamps (#13817)

Fixes #13816

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
3 years ago[nibeheatpump] Support 16-bit addressing (#13752)
pali [Thu, 1 Dec 2022 22:15:34 +0000 (00:15 +0200)]
[nibeheatpump] Support 16-bit addressing (#13752)

* [nibeheatpump] Support for 16-bit addressing

Signed-off-by: Pauli Anttila <pauli.anttila@gmail.com>
3 years ago[tplinksmarthome] Add support for TP-Link KP401 Smart WiFi Outdoor Plug (#13818)
Øystein Bedin [Thu, 1 Dec 2022 21:50:28 +0000 (14:50 -0700)]
[tplinksmarthome] Add support for TP-Link KP401 Smart WiFi Outdoor Plug (#13818)

* [tplinksmarthome] Adding support for tp-link KP401 Smart WiFi Outdoor Plug

Signed-off-by: Øystein Bedin <oybed78@gmail.com>
3 years ago[wundergroundupdatereceiver] Bugfixes: Regenerate trigger channel with proper type...
Daniel Demus [Thu, 1 Dec 2022 21:47:11 +0000 (22:47 +0100)]
[wundergroundupdatereceiver] Bugfixes: Regenerate trigger channel with proper type and more metadata. Normalize channel names. It might be easiest to delete and allow recreation of channels. (#13327)

* [wundergroundupdatereceiver] LAST_QUERY parameter should not be mapped automatically
* [wundergroundupdatereceiver] All channeltype props need to be applied
Especially the channel kind
* [wundergroundupdatereceiver] Remove illegal characters from channel name

Additionally expand the channel naming test to assert the generated channelUID and test that _ in names isn't inadvertently replaced

* [wundergroundupdatereceiver] Don't default AutoUpdatePolicy on creation
* [wundergroundupdatereceiver] Migrate changed channel to trigger type

Signed-off-by: Daniel Demus <daniel-github@demus.dk>
3 years ago[jdbc] Update PostgreSQL JDBC driver to 42.4.3 (#13770)
dependabot[bot] [Thu, 1 Dec 2022 21:32:55 +0000 (22:32 +0100)]
[jdbc] Update PostgreSQL JDBC driver to 42.4.3 (#13770)

* Bump postgresql in /bundles/org.openhab.persistence.jdbc

Bumps [postgresql](https://github.com/pgjdbc/pgjdbc) from 42.4.1 to 42.4.3.
- [Release notes](https://github.com/pgjdbc/pgjdbc/releases)
- [Changelog](https://github.com/pgjdbc/pgjdbc/blob/master/CHANGELOG.md)
- [Commits](https://github.com/pgjdbc/pgjdbc/compare/REL42.4.1...REL42.4.3)

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

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
3 years agoTypos a/an (#13812)
Дилян Палаузов [Thu, 1 Dec 2022 13:30:50 +0000 (15:30 +0200)]
Typos a/an (#13812)

3 years ago[enocean] Handle messages with MSC RORG (#13786) (#13792)
Zhivka Dimova [Wed, 30 Nov 2022 19:55:36 +0000 (20:55 +0100)]
[enocean] Handle messages with MSC RORG (#13786) (#13792)

Setting senderId for MSC RORG and set rorg to Unknown when there is no
mach with the supported(handled) RORG types.
Fixes #13786

Signed-off-by: Zhivka Dimova <zhivka.dimova@myforest.net>
3 years ago[jsscripting] Refactor dependency tracking (#13756)
J-N-K [Tue, 29 Nov 2022 20:59:58 +0000 (21:59 +0100)]
[jsscripting] Refactor dependency tracking (#13756)

Signed-off-by: Jan N. Klug <github@klug.nrw>
3 years agoNew translations mqtt.properties (Italian) (#13809)
openhab-bot [Tue, 29 Nov 2022 18:35:06 +0000 (19:35 +0100)]
New translations mqtt.properties (Italian) (#13809)

3 years ago[miio] cloud login issues improvement (#13715)
Marcel [Tue, 29 Nov 2022 11:26:38 +0000 (12:26 +0100)]
[miio] cloud login issues improvement (#13715)

* [miio] cloud login issues improvement

* Small change in debug loggin is login issues are expected
* Additional trouble shooting steps in readme
* Fix duplicate name in device list preventing readme maker running
* Catch a json exception in readme maker

close #13611
close #7459

* [miio] fix strange/foreign characters in readme

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
3 years ago[openwebnet] Thermo: zone/CU address set correctly during discovery (#13803)
M Valla [Tue, 29 Nov 2022 11:08:22 +0000 (12:08 +0100)]
[openwebnet] Thermo: zone/CU address set correctly during discovery (#13803)

Fixes #13761

Signed-off-by: Massimo Valla <mvcode00@gmail.com>
3 years ago[mqtt.espmilight] Automatically convert color values to color temp (#13578)
Cody Cutrer [Mon, 28 Nov 2022 23:33:49 +0000 (16:33 -0700)]
[mqtt.espmilight] Automatically convert color values to color temp (#13578)

* [mqtt.espmilight] Automatically convert color values to color temp for RGB+CCT bulbs

Yes, it's lots of math, but references are provided. This supplants
whiteThreshold for RGB+CCT bulbs since it is far more flexible and
accurate.

Signed-off-by: Cody Cutrer <cody@cutrer.us>
3 years ago[jrubyscripting] Allow multiple version specifiers for gems (#13779)
jimtng [Mon, 28 Nov 2022 22:51:19 +0000 (08:51 +1000)]
[jrubyscripting] Allow multiple version specifiers for gems (#13779)

Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
3 years ago[jdbc] Add safety valve for suspicious migrations (#13797)
Jacob Laursen [Mon, 28 Nov 2022 22:38:55 +0000 (23:38 +0100)]
[jdbc] Add safety valve for suspicious migrations (#13797)

* Abort migration from real names when most tables have table name prefix
* Add missing checks for database connection from console commands
* Add additional documentation for check/fix schema

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
3 years ago[homekit] make sure to convert step values to Celsius (#13796)
Cody Cutrer [Mon, 28 Nov 2022 22:11:40 +0000 (15:11 -0700)]
[homekit] make sure to convert step values to Celsius (#13796)

otherwise if your step is 1.0 in fahrenheit, then your
values will get rounded to 1.0 celsius, and you might not
even notice you've lost precision in the Home app.

Signed-off-by: Cody Cutrer <cody@cutrer.us>
3 years ago[evcc] Extend accepted types for commands & Handle quantity types of commands (#13795)
Florian Hotze [Mon, 28 Nov 2022 21:17:26 +0000 (22:17 +0100)]
[evcc] Extend accepted types for commands & Handle quantity types of commands (#13795)

* [evcc] Extend accepted command types
* [evcc] Convert QuantityType commands to required units
* [evcc] Allow evcc URL to end with a slash

Should fix an issue on the forum, where a user sent a command of DecimalType, but the binding expected a QuantityType.
See https://community.openhab.org/t/evcc-binding-electric-vehicle-charging-control/135209/15.
The accepted command types are extended for all channels if possible.

Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
3 years ago[qolsysiq] Fixes ENUM Typo (#13790)
Dan Cunningham [Mon, 28 Nov 2022 00:07:57 +0000 (16:07 -0800)]
[qolsysiq] Fixes ENUM Typo (#13790)

Signed-off-by: Dan Cunningham <dan@digitaldan.com>
Signed-off-by: Dan Cunningham <dan@digitaldan.com>
3 years ago[homekit] support stop for blinds (#13788)
eugen [Sun, 27 Nov 2022 22:39:50 +0000 (23:39 +0100)]
[homekit] support stop for blinds (#13788)

* implement new blinds logic
* fix NPE, improve emulated state

Signed-off-by: Eugen <eugen@relotrust.com>
3 years ago[qolsysiq] Initial contribution of the Qolsys IQ Binding (#13699)
Dan Cunningham [Sun, 27 Nov 2022 18:25:31 +0000 (10:25 -0800)]
[qolsysiq] Initial contribution of the Qolsys IQ Binding (#13699)

* [qolsysiq] Initial contribution of the Qolsys IQ Binding

Signed-off-by: Dan Cunningham <dan@digitaldan.com>
3 years ago[jdbc] Add console command for checking/repairing schema integrity (#13765)
Jacob Laursen [Sun, 27 Nov 2022 18:02:43 +0000 (19:02 +0100)]
[jdbc] Add console command for checking/repairing schema integrity (#13765)

* Add console command for checking schema integrity
* Remove unneeded logging
* Add console command for fixing schema integrity
* Provide documentation
* Try to add support for Derby and PostgreSQL
* Sort alphabetically by item name

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
3 years ago[homekit] add @ccutrer as a codeowner (#13784)
Cody Cutrer [Sat, 26 Nov 2022 20:39:06 +0000 (13:39 -0700)]
[homekit] add @ccutrer as a codeowner (#13784)

Signed-off-by: Cody Cutrer <cody@cutrer.us>
Signed-off-by: Cody Cutrer <cody@cutrer.us>
3 years ago[jrubyscripting] add @ccutrer and @jimtng as CODEOWNERS (#13783)
Cody Cutrer [Sat, 26 Nov 2022 20:38:21 +0000 (13:38 -0700)]
[jrubyscripting] add @ccutrer and @jimtng as CODEOWNERS (#13783)

Signed-off-by: Cody Cutrer <cody@cutrer.us>
Signed-off-by: Cody Cutrer <cody@cutrer.us>
3 years agoFix log and website build (#13781)
Jerome Luckenbach [Sat, 26 Nov 2022 14:05:14 +0000 (15:05 +0100)]
Fix log and website build (#13781)

Signed-off-by: Jerome Luckenbach <github@luckenba.ch>
Signed-off-by: Jerome Luckenbach <github@luckenba.ch>
3 years ago[knx] Remove obsolete public modifier in tests (#13776)
Thomas Traude [Sat, 26 Nov 2022 11:19:43 +0000 (12:19 +0100)]
[knx] Remove obsolete public modifier in tests (#13776)

Since JUnit Jupiter test classes and methods do not need to be `public`.

It is recommended to omit the `public` modifier.
See https://junit.org/junit5/docs/current/user-guide/#writing-tests-classes-and-methods

"Class and method visibility
Test classes, test methods, and lifecycle methods are not required to be
`public`, but they must not be `private`.

It is generally recommended to omit the `public` modifier for test
classes, test methods, and lifecycle methods unless there is a technical
reason for doing so (...)"

Signed-off-by: Thomas Traude <t-riggs@gmx.net>
3 years ago[jrubyscripting] log Ruby stacktrace on exception from JRuby (#13778)
Cody Cutrer [Sat, 26 Nov 2022 07:19:22 +0000 (00:19 -0700)]
[jrubyscripting] log Ruby stacktrace on exception from JRuby (#13778)

Signed-off-by: Cody Cutrer <cody@cutrer.us>
3 years ago[ipcamera] Improve support for newer 2k+ Instar cameras (#13773)
Matthew Skinner [Sat, 26 Nov 2022 07:15:29 +0000 (18:15 +1100)]
[ipcamera] Improve support for newer 2k+ Instar cameras (#13773)

* Fix never ending WARN when HIK camera does not support alarm inputs.
* Streamline code.
* Update Instar support for 2k+ Generation.
* Fix alarm codes.
* Add CHANNEL_LAST_EVENT_DATA

Signed-off-by: Matthew Skinner <matt@pcmus.com>
3 years ago[miio] add support Xiaomi Smart Air Purifier 4 (modelId: zhimi.airp.mb5) (#13717)
Marcel [Sat, 26 Nov 2022 05:59:34 +0000 (06:59 +0100)]
[miio] add support Xiaomi Smart Air Purifier 4 (modelId: zhimi.airp.mb5) (#13717)

* [miio] add support Xiaomi Smart Air Purifier 4 (modelId: zhimi.airp.mb5)

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

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
3 years ago[nuvo] update rules examples in README (#13771)
mlobstein [Fri, 25 Nov 2022 07:08:59 +0000 (01:08 -0600)]
[nuvo] update rules examples in README (#13771)

* update rules examples

Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
3 years ago[jsscripting] Fix add-on name in feature/pom (#13764)
Florian Hotze [Thu, 24 Nov 2022 22:23:19 +0000 (23:23 +0100)]
[jsscripting] Fix add-on name in feature/pom (#13764)

* Update pom.xml
* Update feature.xml
* [jsscripting] Rename from JSScripting to JavaScript Scripting

Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
3 years agoNew translations sensebox.properties (German) (#13774)
openhab-bot [Thu, 24 Nov 2022 12:03:33 +0000 (13:03 +0100)]
New translations sensebox.properties (German) (#13774)

3 years agoUnfortunately I do not have the resources (and equipment) anymore (#13766)
Patrik Gfeller [Wed, 23 Nov 2022 19:05:36 +0000 (20:05 +0100)]
Unfortunately I do not have the resources (and equipment) anymore (#13766)

to act as maintainer of this add-on; and therefore resign from this
role.

3 years agoNew translations sensebox.properties (German) (#13762)
openhab-bot [Tue, 22 Nov 2022 07:15:31 +0000 (08:15 +0100)]
New translations sensebox.properties (German) (#13762)

3 years ago[jdbc] Fix date filter to be inclusive (#13734)
Jacob Laursen [Tue, 22 Nov 2022 06:13:45 +0000 (07:13 +0100)]
[jdbc] Fix date filter to be inclusive (#13734)

Fixes #9906

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
3 years agoSolves issue #11691 (#13758)
Gaël L'hopital [Mon, 21 Nov 2022 19:38:37 +0000 (20:38 +0100)]
Solves issue #11691 (#13758)

Signed-off-by: clinique <gael@lhopital.org>
3 years agoNew translations boschshc.properties (Italian) (#13757)
openhab-bot [Mon, 21 Nov 2022 10:08:49 +0000 (11:08 +0100)]
New translations boschshc.properties (Italian) (#13757)

3 years ago[boschshc] Support smart light bulbs (#13725)
David Pace [Sun, 20 Nov 2022 21:12:49 +0000 (22:12 +0100)]
[boschshc] Support smart light bulbs (#13725)

* [boschshc] Support smart light bulbs (#13707)

* add thing type definition for smart bulbs using system channels
* add constants for thing type and channels
* implement and register handler
* implement binary switch service (to switch on/off)
* implement multi-level switch service (allows to get/set brightness
from 0-100%)
* implement service to get and set colors
* add unit tests for handler and state classes
- update documentation

Signed-off-by: David Pace <dev@davidpace.de>
3 years ago[jsscripting] Reimplement timer creation method of `ScriptExecution` (#13695)
Florian Hotze [Sun, 20 Nov 2022 21:08:19 +0000 (22:08 +0100)]
[jsscripting] Reimplement timer creation method of `ScriptExecution` (#13695)

* [jsscripting] Refactor ThreadsafeTimers to create futures inline instead of in an extra methods
* [jsscripting] Introduce utility class for providing easy access to script services
* [jsscripting] Reimplement timer creation methods from ScriptExecution for thread-safety
* [jsscripting] Add missing JavaDoc for reimplement timer creation methods
* [jsscripting] Remove the future from the map when setTimeout expires
* [jsscripting] Rename `GraalJSScriptServiceUtil` to `JSScriptServiceUtil`
* [jsscripting] Remove the `createTimerWithArgument` method
* [jsscripting] Replace the OSGi workaround of `JSScriptServiceUtil` with an injection mechanism
* [jsscripting] Use constructor to inject `JSScriptServiceUtil` into `GraalJSScriptEngineFactory`
* [jsscripting] Minor improvements by @J-N-K (#1)
* [jsscripting] Minor changes related to last commit to keep flexibility of `JSRuntimeFeatures`
* [jsscripting] Upgrade openhab-js to v2.1.1
* [jsscripting] Remove unused code

Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
Co-authored-by: Jan N. Klug <github@klug.nrw>
3 years ago[pwm] Fix NPE when disabling and improve logging (#13755)
Fabian Wolter [Sun, 20 Nov 2022 19:38:00 +0000 (20:38 +0100)]
[pwm] Fix NPE when disabling and improve logging (#13755)

* [pwm] Fix exception when disabling the module
* Improve logging

Signed-off-by: Fabian Wolter <github@fabian-wolter.de>
3 years ago[jsscripting] Fix the `console.trace` polyfill to log a stack trace & Stringify JS...
Florian Hotze [Sun, 20 Nov 2022 19:30:42 +0000 (20:30 +0100)]
[jsscripting] Fix the `console.trace` polyfill to log a stack trace & Stringify JS `Error` (#13749)

* [jsscripting] Fix the `console.trace` polyfill to log a stack trace & Stringify JS `Error`
* [jsscripting] Add myself to the codeowners

Fixes #12646

Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
3 years ago[homekit] simplify settings page, resize doc images (#13741)
eugen [Sun, 20 Nov 2022 19:07:45 +0000 (20:07 +0100)]
[homekit] simplify settings page, resize doc images (#13741)

* simplify config, resize images

Signed-off-by: Eugen <eugen@relotrust.com>
3 years agoNew translations sensebox.properties (German) (#13748)
openhab-bot [Sun, 20 Nov 2022 16:35:58 +0000 (17:35 +0100)]
New translations sensebox.properties (German) (#13748)

3 years ago[jsscripting] Fix maven build (#13747)
Florian Hotze [Sun, 20 Nov 2022 16:30:23 +0000 (17:30 +0100)]
[jsscripting] Fix maven build (#13747)

This fixed the maven build, that fails because webpack-cli version 5.0.0 doesn’t properly process the given entrypoint.
Instead, webpack tries to use the entrypoint from openhab-js‘ webpack config file.

Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
3 years agoFix PostgreSQL query for storing timestamps (#13745)
Jacob Laursen [Sat, 19 Nov 2022 19:57:51 +0000 (20:57 +0100)]
Fix PostgreSQL query for storing timestamps (#13745)

Fixes #13121

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
3 years agoFix wrong textual format. (#13742)
Matthew Skinner [Sat, 19 Nov 2022 08:22:58 +0000 (19:22 +1100)]
Fix wrong textual format. (#13742)

Signed-off-by: Matthew Skinner <matt@pcmus.com>
3 years ago[dscalarm] Fix broken link in README (#13743)
mlobstein [Sat, 19 Nov 2022 08:18:32 +0000 (02:18 -0600)]
[dscalarm] Fix broken link in README (#13743)

* Update README

Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
3 years agoMake itemsManageTable configurable (#13737)
Jacob Laursen [Fri, 18 Nov 2022 16:34:10 +0000 (17:34 +0100)]
Make itemsManageTable configurable (#13737)

Fixes #9637

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
3 years agoNew translations juicenet.properties (Italian) (#13736)
openhab-bot [Thu, 17 Nov 2022 21:56:36 +0000 (22:56 +0100)]
New translations juicenet.properties (Italian) (#13736)

3 years ago[harmonyhub] Fix reliability issues (#13702)
Jacob Laursen [Thu, 17 Nov 2022 19:48:28 +0000 (20:48 +0100)]
[harmonyhub] Fix reliability issues (#13702)

* Fix compiler info

Unsafe interpretation of method return type as '@NonNull' based on the receiver type 'java.util.Enumeration<java.net.@NonNull NetworkInterface>'. Type 'java.util.Enumeration<E>' doesn't seem to be designed with null type annotations in mind

* Improve robustness of job rescheduling and handler disposal

Handler tried updating thing although the handler was already disposed

Fixes #13701

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
3 years ago[jdbc] Add warning about using tableCaseSensitiveItemNames without dedicated schema...
Jacob Laursen [Thu, 17 Nov 2022 19:05:10 +0000 (20:05 +0100)]
[jdbc] Add warning about using tableCaseSensitiveItemNames without dedicated schema (#13732)

* Add warning about using tableCaseSensitiveItemNames without dedicated schema
* Move warning to extended description
* Rephrase explanation
* Fix commands

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
3 years agoDo not modify index or create tables when uninitialized (#13728)
Jacob Laursen [Thu, 17 Nov 2022 19:00:31 +0000 (20:00 +0100)]
Do not modify index or create tables when uninitialized (#13728)

Fixes #13727

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
3 years agoAdd console command for reloading index/schema (#13733)
Jacob Laursen [Thu, 17 Nov 2022 18:52:54 +0000 (19:52 +0100)]
Add console command for reloading index/schema (#13733)

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
3 years ago[awattar] Fix that allows bridge to be added via UI. (#13730)
Doug Culnane [Thu, 17 Nov 2022 18:46:57 +0000 (19:46 +0100)]
[awattar] Fix that allows bridge to be added via UI. (#13730)

Signed-off-by: Doug Culnane <doug@culnane.net>
3 years agoFix NoSuchElementException when there are no tables (#13731)
Jacob Laursen [Wed, 16 Nov 2022 23:58:14 +0000 (00:58 +0100)]
Fix NoSuchElementException when there are no tables (#13731)

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
3 years ago[miio] Fix dimming channels for several yeelights (#13724)
Marcel [Wed, 16 Nov 2022 12:26:26 +0000 (13:26 +0100)]
[miio] Fix dimming channels for several yeelights (#13724)

The majority of brightness channels were already converted to dimmer.
This PR applies same to the 'other'brightness channels like nightlight
and/or ambient

close: #9936

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
3 years ago[jdbc] Improve error handling safety (#13726)
Jacob Laursen [Wed, 16 Nov 2022 08:28:46 +0000 (09:28 +0100)]
[jdbc] Improve error handling safety (#13726)

* Wrap YankSQLException into checked exception for all Yank calls

* Move files into internal

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
3 years agoAdd missing status (#13729)
mlobstein [Wed, 16 Nov 2022 07:14:10 +0000 (01:14 -0600)]
Add missing status (#13729)

Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
3 years ago[jdbc] Improve error handling (#13719)
Jacob Laursen [Tue, 15 Nov 2022 07:44:12 +0000 (08:44 +0100)]
[jdbc] Improve error handling (#13719)

* Enable wrapped exceptions being thrown by Yank

Fixes #13718

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
* Fix SAT warning about hashCode implementation

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
3 years agofix system_buttonpress not populating (#13721)
mlobstein [Mon, 14 Nov 2022 23:30:34 +0000 (17:30 -0600)]
fix system_buttonpress not populating (#13721)

Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
3 years ago[tesla] Add steering wheel heater command support for Model 3/Y (#13704)
Konstantin Polihronov [Mon, 14 Nov 2022 20:33:21 +0000 (22:33 +0200)]
[tesla] Add steering wheel heater command support for Model 3/Y (#13704)

* Add steering wheel heater channel for Model Y
* Add command for steering wheel heater

Signed-off-by: Konstantin Polihronov <polychronov@gmail.com>
3 years ago[ecobee] Add air quality channels for Ecobee Smart Thermostat Premium (#13705)
robnielsen [Mon, 14 Nov 2022 20:29:34 +0000 (14:29 -0600)]
[ecobee] Add air quality channels for Ecobee Smart Thermostat Premium (#13705)

* [ecobee] Add air quality channels for Ecobee Smart Thermostat Premium

Signed-off-by: Rob Nielsen <rob.nielsen@yahoo.com>
3 years ago[jsscripting] Fix failure on some platforms & JDKs (#13714)
Florian Hotze [Mon, 14 Nov 2022 19:30:44 +0000 (20:30 +0100)]
[jsscripting] Fix failure on some platforms & JDKs (#13714)

* [jsscripting] Downgrade GraalVM to fix issue with armv7l & OpenJDK 11.0.16

The community reported several cases where JS Scripting was not working due to some issue with the injection of the global script.
This issue seems to only occur on armv7l (e.g. Raspberry Pi 32bit) and OpenJDK 11.0.16.
Investigation showed that the occurrence of the problem depends on the GraalJS version.

See https://community.openhab.org/t/js-scripting-all-scripts-stop-working-when-upgrading-to-3-4-0-m4/140837.

* [jsscripting] Add logging for injection of JSRuntimeFeatures
* [jsscripting] Lint `@jsscripting-globals.js` with semistandard
* [jsscripting] Remove ICU4J as it moved to `org.graalvm.truffle`

Reference https://github.com/oracle/graaljs/blob/f5661d46554c5f1dc8651dca2614da20e0326031/CHANGELOG.md#version-2200.

Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
3 years ago[tapocontrol] fixed configuration error (#13677)
Christian Wild [Mon, 14 Nov 2022 09:13:05 +0000 (10:13 +0100)]
[tapocontrol] fixed configuration error (#13677)

* improved response logging and error handling

Signed-off-by: Christian Wild <christian@wildclan.de>
3 years ago[evcc] Fix data type issues in DTO (#13710)
Florian Hotze [Sun, 13 Nov 2022 11:54:00 +0000 (12:54 +0100)]
[evcc] Fix data type issues in DTO (#13710)

* [evcc] Change DTO from double to float as the higher precision is not required
* [evcc] Change DTO from int/long to float
* [evcc] Update JavaDoc & small improvements
* [evcc] `EvccHandler`: Add exception message to the debug log

Fixes https://github.com/openhab/openhab-addons/issues/13646.
Avoids problems with changed data types in the future by generally using float instead of int.

Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
3 years ago[juicenet] Initial contribution (#10768)
jsjames [Sun, 13 Nov 2022 11:27:43 +0000 (03:27 -0800)]
[juicenet] Initial contribution (#10768)

Signed-off-by: Jeff James <jeff@james-online.com>
3 years ago[Nanoleaf] Visualize layout (#13552)
Jørgen Austvik [Sat, 12 Nov 2022 22:00:08 +0000 (23:00 +0100)]
[Nanoleaf] Visualize layout (#13552)

* Visualize Nanoleaf layout
* Only calculate image if channel is linked
* White background image
* Render more shapes

Signed-off-by: Jørgen Austvik <jaustvik@acm.org>
3 years ago[nuvo] Add zone actions for rules (#13658)
mlobstein [Sat, 12 Nov 2022 15:57:22 +0000 (09:57 -0600)]
[nuvo] Add zone actions for rules (#13658)

* Add zone actions for rules
* Don't scan for NuvoNet source messages if openHAB NuvoNet sources are not being used

Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
3 years ago[mqtt.homeassistant] Fix binding crash when home assistant discovery topics update...
Sami Salonen [Sat, 12 Nov 2022 11:46:43 +0000 (13:46 +0200)]
[mqtt.homeassistant] Fix binding crash when home assistant discovery topics update with content (#13518)

* [mqtt.homeassistant] Fix for discovery topics that update with content

Fixes #13517
Possibly resolves #9711 and #12295 as well.

* [mqtt.homeassistant] Sort channels before changing thing
* [mqtt.homeassistant] logging + removed unnecessary synchronization
* Resolve bunch of warnings in homeassistant bundle
* [mqtt.homeassistant] Handling null warnings and unnecessary null checks
* [mqtt.homeassistant] Removing unnecessary null checks

Signed-off-by: Sami Salonen <ssalonen@gmail.com>
Co-Authored-by: @antroids github handle
3 years ago[jdbc] Add console maintenance commands (#13662)
Jacob Laursen [Sat, 12 Nov 2022 11:30:53 +0000 (12:30 +0100)]
[jdbc] Add console maintenance commands (#13662)

* Add console command for listing tables
* Query row counts only when needed and while generating output
* Add cleanup command
* Add documentation

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
3 years agoIf for some reason HP response fails to properly parse, i.e. `java.lang.NumberFormatE...
Boris Krivonog [Sat, 12 Nov 2022 09:44:45 +0000 (10:44 +0100)]
If for some reason HP response fails to properly parse, i.e. `java.lang.NumberFormatException: For input string: "##"` exception is not handled and scheduler is not re-triggered (polling stops).Fixed build warnings. (#13685)

Signed-off-by: Boris Krivonog <boris.krivonog@inova.si>
3 years ago[Systeminfo] Add comment on temperature readings on Windows (#13696)
Mark Herwege [Fri, 11 Nov 2022 22:17:52 +0000 (23:17 +0100)]
[Systeminfo] Add comment on temperature readings on Windows (#13696)

* Add comment on temperature readings on Windows

Signed-off-by: Mark Herwege mark.herwege@telenet.be
3 years ago[avmfritz] Decode alarm state for blinds (#13672)
quidam [Fri, 11 Nov 2022 22:13:05 +0000 (23:13 +0100)]
[avmfritz] Decode alarm state for blinds (#13672)

* [avmfritz] Decode alarm state for blinds
Signed-off-by: Ulrich Mertin <mail@ulrich-mertin.de>
3 years agoNew translations jdbc.properties (German) (#13697)
openhab-bot [Fri, 11 Nov 2022 21:36:39 +0000 (22:36 +0100)]
New translations jdbc.properties (German) (#13697)

3 years ago[monopriceaudio] Update README (#13688)
mlobstein [Fri, 11 Nov 2022 12:07:59 +0000 (06:07 -0600)]
[monopriceaudio] Update README (#13688)

* Update README

Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
3 years ago[lcn] Fix setting of variables (#13690)
Fabian Wolter [Fri, 11 Nov 2022 09:12:32 +0000 (10:12 +0100)]
[lcn] Fix setting of variables (#13690)

Signed-off-by: Fabian Wolter <github@fabian-wolter.de>
3 years ago[boschshc] Support obtaining battery states (#13461) (#13631)
David Pace [Fri, 11 Nov 2022 07:23:48 +0000 (08:23 +0100)]
[boschshc] Support obtaining battery states (#13461) (#13631)

This change adds support for obtaining the battery state for the
following devices:

* Motion Detector
* Thermostat
* Twinguard
* Wall Thermostat
* Window/Door Contact

The following changes were made:

* Add system.battery-level and system.low-battery channels to Motion
Detector, Thermostat, Twinguard, Wall Thermostat and Window/Door Contact
* Add constant for battery-level and low-battery channels in
BoschSHCBindingConstants
* Implement abstract handler and service for battery-powered devices
* Let appropriate devices inherit the abstract implementation
* Add missing super calls in initializeServices() methods
* Rename existing getServiceURL() to getServiceStateURL() in HTTP client
* Add methods to retrieve service states without the suffix "/state" in
the URL
* Rename DeviceStatusUpdate to DeviceServiceData
* Let DeviceServiceData extend BoschSHCServiceState
* Extend DeviceServiceData DTO with model for faults
* Enhance bridge handler: handle updates without state sub-objects,
extract methods to enhance readability
* Add unit tests for all affected devices
* Minor code enhancements
* Update documentation

Signed-off-by: David Pace <dev@davidpace.de>
3 years agoUpdates for breaking API changes (#13680)
Stian Kjoglum [Thu, 10 Nov 2022 19:57:45 +0000 (20:57 +0100)]
Updates for breaking API changes (#13680)

Signed-off-by: kjoglum <stiankj@online.no>
3 years ago[jdbc] Upgrade MariaDB connector to 3.0.8 (#13659)
Jacob Laursen [Wed, 9 Nov 2022 22:01:15 +0000 (23:01 +0100)]
[jdbc] Upgrade MariaDB connector to 3.0.8 (#13659)

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
3 years agoNew translations jdbc.properties (German) (#13686)
openhab-bot [Wed, 9 Nov 2022 09:52:30 +0000 (10:52 +0100)]
New translations jdbc.properties (German) (#13686)

3 years agoNew translations jdbc.properties (German) (#13678)
openhab-bot [Tue, 8 Nov 2022 10:07:37 +0000 (11:07 +0100)]
New translations jdbc.properties (German) (#13678)

3 years ago[vesync] Add author in CODEOWNERS (#13676)
lolodomo [Mon, 7 Nov 2022 17:48:51 +0000 (18:48 +0100)]
[vesync] Add author in CODEOWNERS (#13676)

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
3 years ago[mercedesme] New API Migration (#13670)
Bernd Weymann [Mon, 7 Nov 2022 17:48:48 +0000 (18:48 +0100)]
[mercedesme] New API Migration (#13670)

* adjust servers and scope
* ensure IPv4 address for callback

Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>
3 years ago[mercedesme] Add author in CODEOWNERS (#13675)
lolodomo [Mon, 7 Nov 2022 17:45:19 +0000 (18:45 +0100)]
[mercedesme] Add author in CODEOWNERS (#13675)

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
3 years ago[easee] Add author in CODEOWNERS (#13674)
lolodomo [Mon, 7 Nov 2022 17:44:56 +0000 (18:44 +0100)]
[easee] Add author in CODEOWNERS (#13674)

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
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>