Commit Graph

4063 Commits

Author SHA1 Message Date
Gaël L'hopital
c7275c8946
Pushing PR #14123 to OH4 (#14140)
Signed-off-by: clinique <gael@lhopital.org>
2023-01-02 19:06:24 +01:00
Norbert Klasen
ce6b331518
Update URL to Loxwiki (#14131)
Loxwiki has moved into the Atlassian cloud: https://loxwiki.atlassian.net/wiki/spaces/LOX/pages/1622769957/Planung+bersiedelung+zu+loxwiki.atlassian.net
2023-01-01 21:11:42 +01:00
openhab-bot
ba68881995
New Crowdin updates (#14130)
* New translations deconz.properties (Italian)
* New translations atlona.properties (Italian)
2023-01-01 14:50:12 +01:00
Kai Kreuzer
f588c07f3a
Synchronize access to account to avoid concurrency issues (#14128)
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2023-01-01 12:02:15 +01:00
Daniel Rosengarten
377dc86452
[velbus] Add modules VMBKP, VMBIN, VMB4PB (#13939)
* [velbus] Add new functionality PRESSED and LONG PRESSED and fix bug

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

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

Fix bug :

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

Signed-off-by: Daniel Rosengarten <github@praetorians.be>

* Update bundles/org.openhab.binding.velbus/README.md

Co-authored-by: cedricboon <cedric.boon@hotmail.com>
Signed-off-by: Daniel Rosengarten <github@praetorians.be>

* Update bundles/org.openhab.binding.velbus/README.md

Co-authored-by: cedricboon <cedric.boon@hotmail.com>
Signed-off-by: Daniel Rosengarten <github@praetorians.be>

* Update bundles/org.openhab.binding.velbus/README.md

Co-authored-by: cedricboon <cedric.boon@hotmail.com>
Signed-off-by: Daniel Rosengarten <github@praetorians.be>

* Add trigger on channel when using button simulation

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

Signed-off-by: Daniel Rosengarten <github@praetorians.be>

* Fix redundant superinterface DiscoveryService

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

Signed-off-by: Daniel Rosengarten <github@praetorians.be>

* Fix bug #11521

Typo in the Counter Channel name for VMB7IN.

Signed-off-by: Daniel Rosengarten <github@praetorians.be>

* [velbus] Add VMBELPIR module

Add the module VMBELPIR

Signed-off-by: Daniel Rosengarten <github@praetorians.be>

* [velbus] VMBELPIR added to discovery service

Forgot to add the module VMBELPIR in the discovery service.

Signed-off-by: Daniel Rosengarten <github@praetorians.be>

* [velbus] Updates clock alarms management

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

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

Signed-off-by: Daniel Rosengarten <github@praetorians.be>

* [velbus] PR modifications

Modifications asked in PR review.

Signed-off-by: Daniel Rosengarten <github@praetorians.be>

* [velbus] PR modifications 2

Modifications asked in PR review 2.

Signed-off-by: Daniel Rosengarten <github@praetorians.be>

* [velbus] Add modules VMBKP, VMBIN, VMB4PB

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

Signed-off-by: Daniel Rosengarten <github@praetorians.be>

* [velbus] Fix code style error

Fix code style error in VelbusSensorWithAlarmClockHandler.java

Signed-off-by: Daniel Rosengarten <github@praetorians.be>

Signed-off-by: Daniel Rosengarten <github@praetorians.be>
Co-authored-by: cedricboon <cedric.boon@hotmail.com>
2022-12-31 17:25:03 +01:00
Marcel
d0d3005b34
[miio] add support ROIDMI EVA - roidmi.vacuum.v66 (#13940)
Adding support for the following models:
* ROIDMI EVA (modelId: roidmi.vacuum.v66)

close #13813

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2022-12-31 17:15:16 +01:00
Jacob Laursen
a6e4ab130d
Simplify name to deCONZ (#14125)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-12-31 16:42:22 +01:00
lsiepel
71ef3d9f4e
[astro] Fix returning wrong sun phase name (#14078)
* Add tests and fix very minor bug
* Correct wrong test
* Update tests and fix sorting
* Some checkstyle improvements

Signed-off-by: lsiepel <leosiepel@gmail.com>
2022-12-31 15:04:06 +01:00
Jacob Laursen
7de25352ef
[miele] Add categories and semantic tags (#14086)
* Add categories and tags

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-12-31 15:01:58 +01:00
Jacob Laursen
470ada241a
[miele] Add categories and semantic tags (#14086)
* Add categories and tags

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-12-31 15:01:11 +01:00
Hilbrand Bouwkamp
202a8647e0
[unifi] Fix bug with combination of other data/ports (#14060)
- It seems to throw an exception when updating internal cache. It can happen if you have a switch that has both PoE ports and other PoE ports or data in the port override.
- Fixed logout, should be POST instead of GET.
- Fixed typo in channel-type.config.unifi.poeEnable.mode.option.pasv24 should be without appending v.
- Removed compiler warnings.

Signed-off-by: Hilbrand Bouwkamp <hilbrand@h72.nl>
2022-12-31 11:03:56 +01:00
Kai Kreuzer
2d5402656e
[tesla] Fix discovery of Tesla vehicles from account (#14070)
* Fix discovery of Tesla vehicles from account

Signed-off-by: Kai Kreuzer <kai@openhab.org>
2022-12-31 10:22:39 +01:00
mlobstein
139aeed3ec
[atlona] Add support for AT-PRO3HD44M (#14080)
* Add support for AT-PRO3HD44M

Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
2022-12-31 10:18:03 +01:00
Florian Hotze
23cfec7684
[jsscripting] Improve performance & reduce memory usage (#14113)
* [jsscripting] Share org.graalvm.polyglot.Engine across all OpenhabGraalJSScriptEngine instances

See https://github.com/oracle/graaljs/issues/121#issuecomment-880056648, it is not required to have one engine per GraalJSScriptEngine.

This might improve performance a bit on less powerful systems (Raspberry Pi) and decreases heap usage:
With 5 GraalJS UI scripts, heap usage is now below 100 MB. Before this change, it was over 100 MB.

* [jsscripting] Extend debug logging
* [jsscripting] Cache `@jsscripting-globals.js` across all engines

Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
2022-12-30 23:34:35 +01:00
Florian Hotze
931f004ab8
[jsscripting] Upgrade to ECMAScript 2022 & Dependency improvements (#14093)
* [jsscripting] Remove asm from dependencies in pom

GraalJS >= 20.3.0 doesn't require org.ow2.asm as compile dependency anymore, see https://mvnrepository.com/artifact/org.graalvm.js/js/20.3.0.

* [jsscripting] Remove dependency org.graalvm.js/js-launcher as it is not required

js-launcher is GraalVM's JavaScript command line interpreter and not required in the addon.
See https://www.graalvm.org/22.1/reference-manual/js/RunOnJDK/.

* [jsscripting] Add missing com.ibm.icu dependency

GraalJS changelog says that it is not required for GraalJS >= 22.0.0 (see 685e5873af/CHANGELOG.md (version-2200)).
But GraalJS 22.3.0 attempts to load classes from it during runtime.

* [jsscripting] Update GraalJS engine options

Compat, as its additional functionality is not used by openhab-js and user code is not expected to use it.

* [jsscripting] Remove com.ibm.icu/icu4j dependency
* [jsscripting] Don't disable Nashorn compat mode as openhab-js requires it for accessors

Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
2022-12-30 23:04:43 +01:00
Wouter Born
6e6bd3701c
Update Jackson version to 2.14.1 (#14116)
This is the version used in the feature provided by openhab-core.

Signed-off-by: Wouter Born <github@maindrain.net>
2022-12-30 22:48:12 +01:00
Michael Geramb
256bc81feb
[knx] add color channel to knx binding docu (#14114)
add color channel to knx binding docu
2022-12-30 19:46:58 +01:00
lsiepel
5881cf0cbe
[bosesoundtouch] Fix regression and add tests (#14097)
* Fix regression and add tests

Signed-off-by: lsiepel <leosiepel@gmail.com>
2022-12-30 13:58:27 +01:00
jimtng
8904f92e7b
Fix MQTT shutdownRetain default value (#14099)
Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
2022-12-30 09:34:13 +01:00
mlobstein
dd8eb4701e
[bondhome] Fix fatal Null Pointer errors (#14103)
* Fix fatal Null Pointer errors

Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
2022-12-30 09:23:45 +01:00
Wouter Born
dbaf081daa
[groovyscripting] Update Groovy to 4.0.7 (#14115)
Updates Groovy from 3.0.13 to 4.0.7.

For Groovy 4.0 release notes, see:

https://groovy-lang.org/releasenotes/groovy-4.0.html#releasenotes

Signed-off-by: Wouter Born <github@maindrain.net>
2022-12-29 21:59:12 +01:00
Florian Hotze
895defda8e
[jsscripting] Use application/javascript as MIME type (#14096)
Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
2022-12-29 21:01:22 +01:00
Jacob Laursen
93cbd7e647
[influxdb] Upgrade Gson to 2.9.1 (#14090)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-12-29 20:59:10 +01:00
Jacob Laursen
ddd58cf4b0
[dbquery] Upgrade Gson to 2.9.1 (#14089)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-12-29 20:58:24 +01:00
Jacob Laursen
1d54e9c078
[bluetooth.generic] Upgrade Gson to 2.9.1 (#14092)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-12-29 20:57:41 +01:00
Jacob Laursen
f8610bddb6
[watsonstt] Upgrade Gson to 2.9.1 (#14091)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-12-29 20:57:03 +01:00
Jacob Laursen
68ecfa724e
Rename handler to fix case and make consistent with corresponding channel selector (#14095)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-12-29 20:07:31 +01:00
Wouter Born
026ac92023
Add Stale configuration (#14109)
Similar to openhab/openhab-core#2974

See also: https://github.com/marketplace/stale

Signed-off-by: Wouter Born <github@maindrain.net>
2022-12-29 19:32:45 +01:00
lsiepel
15c610032e
[daikin] Add support for Alira X (#14108)
* Add support for Alira X
* Fix checkstyle
* Move changes AirbaseControlInfo =>  ControlInfo
* Send seperated values conditionally

Signed-off-by: lsiepel <leosiepel@gmail.com>
2022-12-29 18:41:17 +01:00
jimtng
f87ff2f9ce
[chromecast] Fix constant disconnections (#14105)
When ipv6 is configured on the network, Chromecast devices will randomly
return ipv4 and/or multiple ipv6 addresses during mdns discovery.
This would trigger a thingUpdated call which will call dispose/initialize,
causing the thing to go offline/online.

Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
2022-12-29 11:52:25 +01:00
openhab-bot
3bf6f5219b
New translations danfossairunit.properties (Danish) (#14098) 2022-12-29 00:59:57 +01:00
lsiepel
1e7ec9bde9
[bondhome] compile warnings and sat (#13986)
* fix some compile warnings and checkstyle
* replace deprecated gson calls
* Refactor config init

Signed-off-by: lsiepel <leosiepel@gmail.com>
2022-12-28 19:40:19 +01:00
Jacob Laursen
3a4a387931
Remove deprecated channel (#14030)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-12-28 19:20:29 +01:00
openhab-bot
fa69340f34
New translations hdpowerview.properties (Danish) (#14079) 2022-12-28 01:03:31 +01:00
Holger Friedrich
9ac4af98f1
Update i18n command version number (#14077)
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2022-12-27 22:53:03 +01:00
lsiepel
697373801b
[bluetooth.daikinmadoka] null annotations (#13975)
* null annotations - sat warnings
* refactor handleResponses

Signed-off-by: Leo Siepel <leosiepel@gmail.com>
2022-12-27 17:12:58 +01:00
Mike Major
a4a8d5d85f
[hueemulation] Fix for Alexa failing to discover all devices. (#13923)
* Fix for Alexa failing to discover all devices.

Signed-off-by: Mike Major <mike_j_major@hotmail.com>
2022-12-27 16:58:37 +01:00
Jacob Laursen
436e7c39ba
Remove deprecated channels (#14033)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-12-27 16:50:38 +01:00
lsiepel
1df693a6e9
[bluetooth.am43] null annotations (#13972)
* null annotations forbidden package
* improve createChecksum
* spotless + typo

Signed-off-by: lsiepel <leosiepel@gmail.com>
2022-12-27 16:27:19 +01:00
lsiepel
8b1d0fccef
null annotations - checkstyle (#13979)
Signed-off-by: Leo Siepel <leosiepel@gmail.com>
2022-12-27 16:16:55 +01:00
lsiepel
df6454e374
minro checkstyle (#13977)
Signed-off-by: Leo Siepel <leosiepel@gmail.com>
2022-12-27 16:13:12 +01:00
Jiri Kraus
9687c3da0a
[velux] Updated Discovery instructions for scenes and actuators (#14009)
* Updated Discovery instructions for scenes and actuators

Updated Discovery instructions as after KLF200 is auto discovered and configured discovery of scenes and actuators need to be manually triggered.

* @jirikraus Updated Discovery instructions for scenes and actuators

Formatting update to address comment from @andrewfg.
2022-12-27 16:08:12 +01:00
lsiepel
35e930c12f
[astro] Added moon phase precision (#14067)
* add more precision to MoonPhase.Age

Signed-off-by: lsiepel <leosiepel@gmail.com>
2022-12-27 12:56:43 +01:00
mlobstein
4a982957c3
[nuvo] Auto update source channel for grouped zones (#14012)
* Auto update source channel for grouped zones

Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
2022-12-27 12:54:26 +01:00
Cody Cutrer
e39e69144b
[homekit] support Rollershutter items for HoldPosition (#14045)
* [homekit] support Rollershutter items for HoldPosition

just send STOP to them

* [homekit] log a warning for incompatible HoldPosition items

Signed-off-by: Cody Cutrer <cody@cutrer.us>
2022-12-27 11:55:12 +01:00
Jacob Laursen
0b59be62b6
Skip loading/migrating items with invalid name (#14054)
Fixes #14053

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-12-27 11:41:59 +01:00
Holger Friedrich
e7938ae357
[rrd4j] Improve logging of exceptions thrown by getDB (#14068)
Add exception message for better identification of root cause.

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2022-12-27 10:55:15 +01:00
Tim Harper
e5f30b1f18
[tplinksmarthome] Document sending raw commands to devices (#14062)
Signed-off-by: Tim Harper <timcharper@gmail.com>

Signed-off-by: Tim Harper <timcharper@gmail.com>
2022-12-27 10:25:28 +01:00
lsiepel
1c5b794145
[airvisualnode] Add null annotations (#13895)
* Add null annotation

Signed-off-by: Leo Siepel <leosiepel@gmail.com>
2022-12-26 17:00:53 +01:00
Wouter Born
88c0b720c6
[jsscriptingnashorn] JavaScript Scripting Nashorn Automation (#14013)
* [jsscriptingnashorn] JavaScript Scripting Nashorn Automation

This add-on allows you to use your older JavaScript (ECMAScript 5.1) rules on newer Java versions until they are migrated to JavaScript (ECMAScript 2021+).
The add-on uses a standalone [Nashorn Engine](https://github.com/openjdk/nashorn) which was part of Java until it was removed in Java 15.

* Update parent to 3.4.0-SNAPSHOT and nashorn-core to 15.4

For the Nashorn changelog, see:

https://github.com/openjdk/nashorn/blob/main/CHANGELOG.md

* Update parent to 4.0.0-SNAPSHOT
* Remove removeUnsupportedNashornArgs
* Update scriptTypes
* Add CODEOWNERS entry
* Recycle ScriptScopeOSGiTest.java

It got removed in openhab/openhab-core#2994

* Remove redundant new line from pom.xml

Signed-off-by: Wouter Born <github@maindrain.net>
2022-12-26 15:27:03 +01:00