Commit Graph

3992 Commits

Author SHA1 Message Date
openhab-bot
7f32499a8a
New Crowdin updates (#15739)
* New translations jpa.properties (Italian)
* New translations inmemory.properties (Italian)
* New translations mapdb.properties (Italian)
* New translations mongodb.properties (Italian)
* New translations rrd4j.properties (Italian)
2023-10-11 21:53:14 +02:00
Andrew Fiddian-Green
2382a557d3
[hue] support new effects (#15732)
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2023-10-10 19:11:36 +02:00
jimtng
b9286b0fce
[jrubyscripting] Inject script context as global (#15618)
Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
2023-10-10 14:11:59 +02:00
Florian Hotze
7e1f4b0e1c
[persistence] Capitalize add-on names (#15378)
Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
2023-10-10 14:04:21 +02:00
Wouter Born
1759058921
[jdbc] Upgrade H2 to 2.2.224 (#15726)
Upgrades H2 database from 1.4.191 to 2.2.224.

Add ';NON_KEYWORDS=VALUE' to the JDBC URL because the add-on uses 'value' (which is also a keyword) as column name.

Also fixes some queries used by the command extension because H2 always uses upper case table names.

For the change log, see:

https://h2database.com/html/changelog.html

For migration notes, see:

https://h2database.com/html/migration-to-v2.html

Fixes #13115

Signed-off-by: Wouter Born <github@maindrain.net>
2023-10-10 13:14:48 +02:00
Marco Müller
06d8e750f2
[knx] Bugfix problem with DPT 251.600 (#15723)
* Fix problem with DPT 251.600.
In the old implementation the datatype was implemented with byte 0-255.
The DPT 251.600 is defined with 0-100%, change this from byte to
PercentType.

Signed-off-by: Marco Mueller <marco@ms.mueller.ch>
2023-10-10 09:58:49 +02:00
Wouter Born
0c3ef0a5f4
[shelly] Always try to stop WebSocketClient (#15721)
If the client is not stopped it will not be garbage collected because the ShutdownThread keeps a reference to the client so it can be stopped on shutdowns.

See: https://github.com/eclipse/jetty.project/blob/jetty-9.4.x/jetty-websocket/websocket-client/src/main/java/org/eclipse/jetty/websocket/client/WebSocketClient.java#L420-L433

Signed-off-by: Wouter Born <github@maindrain.net>
2023-10-10 09:44:37 +02:00
bofakin
f1ccd728a6
Fix openhab#15514: Temperature sensors in JSON from shelly may not be in order (#15530)
Signed-off-by: Anton Hattendorf <anton@hattendoerfer.de>
2023-10-08 22:47:10 +02:00
Wouter Born
756b32d988
[jdbc] Fix logging not working (#15722)
The dependency change in #15659 caused slf4j to be embedded into the bundle.

As a result the bundle no longer uses Pax Logging so it cannot find an SLF4J provider and logs the following when it is installed:

SLF4J: No SLF4J providers were found.
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See https://www.slf4j.org/codes.html#noProviders for further details.

Signed-off-by: Wouter Born <github@maindrain.net>
2023-10-08 19:57:28 +02:00
Jacob Laursen
94f2837fe0
Revert "[shelly] Always try to stop WebSocketClient (#15719)" (#15720)
This reverts commit 72622a1409.

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2023-10-08 13:46:27 +02:00
jimtng
5a5cfc28fb
[jythonscripting] Add a note not to use jython (#15623)
* [jythonscripting] Add a note not to use jython
* [jythonscripting] Mark as deprecated

---------

Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
2023-10-08 12:55:05 +02:00
Wouter Born
72622a1409
[shelly] Always try to stop WebSocketClient (#15719)
If the client is not stopped it will not be garbage collected because the ShutdownThread keeps a reference to the client so it can be stopped on shutdowns.

See: https://github.com/eclipse/jetty.project/blob/jetty-9.4.x/jetty-websocket/websocket-client/src/main/java/org/eclipse/jetty/websocket/client/WebSocketClient.java#L420-L433

Signed-off-by: Wouter Born <github@maindrain.net>
2023-10-08 11:28:10 +02:00
Gaël L'hopital
bef7744c56
[freeboxos] Add websocket connection refresh mechanism (#15543)
* Adding the possibility to disable websocket listening.
This is set up in order to ease debugging of the "Erreur Interne" issue.

* Enhancing websocket work with recurrent deconnection, simplification of listeners handling
* refactored function name
* Fixed the name of the channel where the refresh command is sent.
* Solving SAT issues
* Corrected doc error
* Added properties
* Removed gson 2.10 now that it is included into core.

---------

Signed-off-by: clinique <gael@lhopital.org>
2023-10-08 10:47:08 +02:00
morph166955
58d20839c1
[neeo] Convert to OH jetty HttpClient (#15571)
* Convert to OH jetty HttpClient
* Adds a Stack for HttpClient storage
* Add synchronized to prevent exception
* fix binding
* Stop stack on close
* Resolves exception on registring forward actions
* Reduces client count to 5 to align to expected thread pool limit of 5

---------

Signed-off-by: Ben Rosenblum <rosenblumb@gmail.com>
Co-authored-by: Mark Herwege <mark.herwege@telenet.be>
2023-10-08 10:22:53 +02:00
Gaël L'hopital
7e53167967
[Netatmo] Avoid double refresh of weather channels (#15686)
* Solves issue #15684
* Removing excessive usage of inline typecast

---------

Signed-off-by: clinique <gael@lhopital.org>
2023-10-08 09:35:41 +02:00
Holger Friedrich
f24a4305b8
Improve javadoc for some addons (#15701)
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2023-10-08 00:25:04 +02:00
Jacob Laursen
2ac03fbe36
[sonos] Add support for Move 2 (#15706)
* Add support for Move 2

Resolves #15702

---------

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2023-10-07 16:45:52 +02:00
morph166955
40d5bb38f2
Adds DDPlus20 and an additional ID for DD20 (#15712)
Signed-off-by: Ben Rosenblum <rosenblumb@gmail.com>
2023-10-07 15:19:39 +02:00
Jacob Laursen
e9305c3709
[hue] Cleanup code (#15715)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2023-10-07 15:08:02 +02:00
Felix Schneider
0157ebf28e
[Google TTS] Update README.md (#15637)
* Update README.md

I had some struggles with setting up google TTS, got it to work eventually and now update the README to help users in the future.

This commit includes updating the information, including necessary tips, formatting und some minor details

Signed-off-by: Felix Schneider <fs@felix-schneider.org>
2023-10-06 08:25:15 +02:00
Marcel
b7ff168b18
[miio] new gen vacuums cleaning map and rooms (#15675)
* Room Mapping from cloud
* New history record

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2023-10-06 08:23:23 +02:00
Hakan Tandogan
09501d59c4
[tesla] fix small typo in documentation (#15699)
Signed-off-by: Hakan Tandogan <hakan@tandogan.com>
2023-10-06 08:22:05 +02:00
Hilbrand Bouwkamp
d58d8b068c
[enphase] Add Entrez/JWT support for newer software versions of Envoy (#15077)
Co-authored-by: Joe Inkenbrandt <joe@inkenbrandt.com>
Signed-off-by: Hilbrand Bouwkamp <hilbrand@h72.nl>
2023-10-05 21:29:16 +02:00
Jacob Laursen
75e51119fa
[energidataservice] Fix IllegalStateException (#15693)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2023-10-05 14:54:04 +02:00
openhab-bot
0fec7f07f5
New translations gardena.properties (German) (#15685) 2023-10-05 14:42:15 +02:00
Wouter Born
2bf2246530
[plugwise] Cleanup code (#15688)
The cleanup includes:

* Use lambdas
* Use enhanced switches
* Make abstract class constructors protected
* Fix typos

Signed-off-by: Wouter Born <github@maindrain.net>
2023-10-02 21:43:07 +02:00
Jacob Laursen
86f8bc991d
[energidataservice] Refactor to eliminate code duplication (#15651)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2023-10-02 09:22:15 +02:00
Marcel
54e128fee6
[miio] Add support "Mi Smart Antibacterial Humidifier" (#15676)
Adding support for the following models:
* Xiaomi Smart Humidifier 2 (modelId: deerma.humidifier.jsq2w)

closing #15639

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2023-10-02 09:18:18 +02:00
Jacob Laursen
840277d3b9
Remove Gson 2.10 dependency (#15682)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2023-10-02 08:51:50 +02:00
Jacob Laursen
b275453242
[energidataservice] Remove Gson 2.10 dependency (#15681)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2023-10-02 07:24:41 +02:00
stefan-hoehn
1f0e430506
[Nanoleaf] ipv6 address doc (#15612)
* Nanoleaf codeowners change
* add ipv6 info about nanolead discovery

Signed-off-by: Stefan Höhn <mail@stefanhoehn.com>
2023-10-01 21:51:07 +02:00
GiviMAD
1abb8f267e
[rustpotterks] Upgrade to version 3 (#15556)
* Upgrade to version 3
* Use ThreadPoolManager and add sleep
* Remove pool prefix, already added by thread pool manager

Signed-off-by: Miguel Álvarez <miguelwork92@gmail.com>
2023-10-01 21:15:24 +02:00
jimtng
5a39985420
[jrubyscripting] Update README.md (#15624)
Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
2023-10-01 16:01:13 +02:00
Holger Friedrich
cbf4411034
Improve javadoc for all addons (#15667)
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2023-09-30 21:49:12 +02:00
GiviMAD
0039e391cd
[watsonstt] Upgrade dependencies (#15658)
Signed-off-by: Miguel Álvarez <miguelwork92@gmail.com>
2023-09-30 21:46:02 +02:00
Gaël L'hopital
3f8531cd6f
Adressing issue #15377 (#15664)
There was a forgotten leftover here.

Signed-off-by: clinique <gael@lhopital.org>
2023-09-30 11:55:05 +02:00
Ondrej Pecta
1d50a40476
[somfytahoma] Add support for noise and CO2 sensor (#15671)
Signed-off-by: Ondrej Pecta <opecta@gmail.com>
2023-09-30 11:22:10 +02:00
Gaël L'hopital
903bbd4082
[netatmo] Add a buffer to lower Weather API requests (#15590)
* Add a buffer to lower Weather API requests
* Correcting typo identified in PR #15587 after merge

---------

Signed-off-by: clinique <gael@lhopital.org>
2023-09-30 11:04:47 +02:00
Wouter Born
9d03ec9af5
Upgrade to Karaf 4.4.4 (#15659)
* Resolve itest runbundles
* Fix dependency issues
* Add specs features because Pax Web now depends on "asm"

Signed-off-by: Wouter Born <github@maindrain.net>
2023-09-30 07:38:19 +02:00
openhab-bot
5012381f08
New Crowdin updates (#15653)
* New translations netatmo.properties (Italian)
* New translations danfossairunit.properties (Danish)
* New translations jsscripting.properties (Italian)
2023-09-29 22:19:03 +02:00
Jacob Laursen
142f715a2e
[netatmo] Fix typo in I18N key (#15666)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2023-09-29 08:49:19 +02:00
mlobstein
b0e20007bd
[kaleidescape] Update Play/Pause status to Player channel widget (#15663)
Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
2023-09-28 21:42:41 +02:00
mlobstein
b355fa7578
Update Play/Pause status to Player channel widget (#15662)
Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
2023-09-28 21:38:24 +02:00
tb4jc
fef9680af5
[ipcamera] Fix connection checks with ONVIF cameras with no snapshots (#15119)
* Added connection check via IdleStateHandler events for sent onvif requests.
Also checking connect errors and setting new states connectError or refusedError accordingly.
On connect, only one request is sent to have less parallel actions in case of reconnect, timeout.
Moved GetCapabilities call to GetSystemDateAndTime response handler part.
Added support to disable automatic polling at startup.

* Fixed call of sendOnvifRequest (missed to remove one call of requestBuilder).

---------

Signed-off-by: Thomas Burri <th@thonojato.ch>
Signed-off-by: Matthew Skinner <matt@pcmus.com>
Co-authored-by: Matthew Skinner <matt@pcmus.com>
2023-09-27 08:54:15 +02:00
Florian Hotze
99f0512c73
[jsscripting] Rename library injection parameter & Improve docs (#15547)
* [jsscripting] Rename parameter useIncludedLibrary to injectionCachingEnabled (#4)
* [jsscripting] Improve README for cached library injection
* Remove settings image

Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
2023-09-26 22:59:20 +02:00
Jacob Laursen
afda8c5f47
[danfossairunit] Remove broken link from documentation (#15528)
* Remove broken link and extend description

---------

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2023-09-26 07:13:57 +02:00
Fabian Wolter
47e649eae1
[lcn] Fix processing of logic function "all fulfilled" status message (#15649)
Signed-off-by: Fabian Wolter <github@fabian-wolter.de>
2023-09-25 19:27:26 +02:00
Gaël L'hopital
87bede36db
[netatmo] Take in account errored modules/devices for Security/Energy areas (#15587)
* Netatmo binding has to take in account errored modules/devices provided by HomeStatus api.

---------

Signed-off-by: clinique <gael@lhopital.org>
2023-09-25 19:21:55 +02:00
aviborg
9c22b7b9ed
Fix sensor and device update (#15596)
Signed-off-by: AndreasV <andreas.viborg@gmail.com>
2023-09-25 19:19:57 +02:00
Marcel
4359c732a4
[miio] add DreameBot L10s Ultra (#15582)
Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2023-09-25 14:53:42 +02:00
mueller-ma
480981650c
[surepetcare] Update Readme (#15640)
Feeders seem to be supported as they are mentioned below.
2023-09-25 13:27:43 +02:00
Alexander Friese
66e915409e
fix README (#15647)
Signed-off-by: Alexander Friese <af944580@googlemail.com>
2023-09-25 13:26:15 +02:00
openhab-bot
1844bb2f98
New Crowdin updates (#15642)
* New translations energidataservice.properties (Italian)
* New translations energidataservice.properties (Danish)
2023-09-24 17:26:37 +02:00
lsiepel
3b30d5ab11
[dwdunwetter] Improve server problem handling (#15405)
* Fix #14691
* Add country tag

---------

Signed-off-by: lsiepel <leosiepel@gmail.com>
Signed-off-by: Leo Siepel <leosiepel@gmail.com>
2023-09-23 19:28:59 +02:00
Holger Friedrich
55789bd792
[xmltv] Handle possible XXE injection (#15467)
XMLInputFactory: Disable property IS_SUPPORTING_EXTERNAL_ENTITIES
which allows injecting external entities.

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2023-09-23 19:12:22 +02:00
Jacob Laursen
c9e6417754
Fix NUPnP discovery after firmware change (#15622)
Fixes #15598

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2023-09-23 19:05:32 +02:00
Jacob Laursen
e562c22a2f
Add filter for Aal Elnet (#15621)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2023-09-23 18:50:30 +02:00
Jacob Laursen
a1193d8792
Interpret more states as appliance being switched on (#15620)
Resolves #15619

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2023-09-23 18:47:45 +02:00
Marcel
7a0d05781a
[miio] fix reported brightness for yeelight (#15611)
Fix reported brightness for yeelight when powered off.
This will fix wrong power switch visualization in the OH UI.

related to issue:
https://community.openhab.org/t/miio-and-yeelight-rgb-bulbs-behavior/135788/9

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2023-09-23 18:38:58 +02:00
lsiepel
1da4dca257
Fix checkstyle (#15603)
Signed-off-by: Leo Siepel <leosiepel@gmail.com>
2023-09-23 18:31:27 +02:00
uqs
7802a4a3ff
Remove non-existing power channel (#15570)
Migrating from OH 2.5 I tripped over this, as :power no longer exists and instead one has to send ON/OFF commands to the :color channel instead.

Looks like documentation wasn't fully updated with the code changes.

Signed-off-by: uqs <uqs@FreeBSD.org>
2023-09-23 18:13:41 +02:00
Marcel
d782ac96bc
[miio] add new robo map blocks to map parser (#15591)
* [miio] add new robo map blocks to map parser

Adding new block types in map parser.
close #15068

* [miio] fix history for newer robot models

closes #11001

---------

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2023-09-23 18:12:16 +02:00
Marcel
798119305e
[miio] add support for newer Roborock vacuums (#15586)
Add support for the following models:
roborock.vacuum.a51 = Roborock S8
roborock.vacuum.a64 = Roborock G10S Pure
roborock.vacuum.a65 = Roborock S7 Max Ultra
roborock.vacuum.a66 = Roborock G10 Plus
roborock.vacuum.a69 = Roborock G20
roborock.vacuum.a70 = Roborock S8 Pro Ultra
roborock.vacuum.a72 = Roborock Q5 Pro
roborock.vacuum.a73 = Roborock Q8 Max
roborock.vacuum.a74 = Roborock P10
roborock.vacuum.a75 = Roborock Q Revo
roborock.vacuum.a76 = Roborock G10S Auto

close #15020

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2023-09-23 18:05:02 +02:00
Kai Kreuzer
4059003e9e
Fix config option provider to only become active for chatgpt things (#15578)
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2023-09-23 17:59:40 +02:00
lsiepel
7f56f0579a
Fix SAT (#15428)
Signed-off-by: lsiepel <leosiepel@gmail.com>
Signed-off-by: Leo Siepel <leosiepel@gmail.com>
2023-09-23 17:40:31 +02:00
Jacob Laursen
619dd617aa
[jdbc] Improve conversion of database value to item state (#15434)
* Improve conversion of database value to item state
* Refactor test cases to reduce redundancy
* Refactor for type-safety
* Refactor type cast

Fixes #15433

---------

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2023-09-23 17:34:06 +02:00
lsiepel
e847139f97
[homematic] checkstyle fixes (#15604)
Signed-off-by: Leo Siepel <leosiepel@gmail.com>
2023-09-22 23:25:06 +02:00
Holger Friedrich
1b122a53b9
Java 17 features (T-Z) (#15576)
- add missing @override
- Java style array syntax
- remove redundant modifiers
- always move String constants to left side in comparisons
- simplify lambda expressions and return statements
- use replace instead of replaceAll w/o regex
- instanceof matching and multiline strings
- remove null check before instanceof

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2023-09-21 07:58:53 +02:00
Marcel
bf1aa3deb2
[miio] Java style cleanup (#15610)
Introducing non-breaking improvements from #15520
- Java style array syntax
- remove redundant modifiers
- always move String constants to left side in comparisons
- multiline strings

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
Co-authored-by: Holger Friedrich <mail@holger-friedrich.de>
2023-09-19 22:53:50 +02:00
openhab-bot
14cfeb0996
New Crowdin updates (#15627)
* New translations boschshc.properties (Italian)

* New translations boschindego.properties (Italian)
2023-09-19 18:31:02 +02:00
Holger Friedrich
d0b161aca1
[knx] Adapt to core, temperature differences (#15573)
Special handling for temperature differences in °F and °F/%,
DPT 9.002 and 9.003, needs to be adapted due to change in core.

Refs openhab/openhab-core#3792.

Implementation is valid for 4.0 and 4.x snapshot.

Fixes #15567.

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2023-09-13 20:23:59 +02:00
Cédric Skwar
7da3012134
Update version in create binding skeleton scripts (#15589)
Fixed the bug where you could not compile since the parent openHAB version was wrong in the build conf.

Signed-off-by: Cedric Skwar <cdrc@skwar.me>
2023-09-13 19:34:15 +02:00
Arjan Mels
e2709ba2ca
[groupepsa] Fixed timeouts in tests (#15574)
Signed-off-by: Arjan Mels <github@mels.email>
2023-09-13 08:40:33 +02:00
truidix
1a6cd3446f
[miio] Add support for Roborock Q Revo (#15358)
Signed-off-by: David Kumar <github@truidix.de>
2023-09-13 08:39:32 +02:00
Holger Friedrich
ab58f4ffb4
Java 17 features (N-S) (#15565)
- add missing @override
- Java style array syntax
- remove redundant modifiers
- always move String constants to left side in comparisons
- simplify lambda expressions and return statements
- use replace instead of replaceAll w/o regex
- instanceof matching and multiline strings

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2023-09-13 08:03:31 +02:00
Marcel
641b482551
[miio] Update device names list (#14193)
* [miio] maintenance - update device names list

Update the list with latest device names

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>

* [miio] Update device names list

Update the list with latest device names used by some of the support
tools

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>

---------

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2023-09-13 07:53:58 +02:00
Marc Bartelt
43ed48d34a
[fronius] fix powerflowchannelpakku documentation (#15381)
* [fronius] fix powerflowchannelpakku documentation
fixes openhab#15074

---------

Signed-off-by: Marc Bartelt <github@mleuser.de>
Signed-off-by: Marc Bartelt <marcquark@users.noreply.github.com>
2023-09-10 10:52:12 +02:00
morph166955
2a0971ee0a
[androidtv] Fixes GoogleTV Login Error (#15453)
* Updates protocol examples
* Adjusts flag based on received data

Signed-off-by: Ben Rosenblum <rosenblumb@gmail.com>
2023-09-10 08:55:19 +02:00
openhab-bot
6a31dfaebe
New translations hue.properties (Italian) (#15572) 2023-09-10 07:55:43 +02:00
Ed Martin
edef832a84
[Juicenet] Fix Charging state controls and override functionality (#15566)
* [Juicenet] Fix typos in setOverride()
 Some obvious typos in setOverride() result in the timestamp being
  ignored which causes it to fail

Fixes #15564

* [Juicenet] Allow disabling the override
 - The charger has default settings upon plugin, changing the current state
    sets the overide to Y, this makes override settable only in the N direction
    to remove whatever settings were previously applied

* [Juicenet] Document new writable status of override

---------

Signed-off-by: Ed Martin <edman007@edman007.com>
2023-09-09 15:58:51 +02:00
Holger Friedrich
c775792896
[knx] Disable tests failing due to QuantityType change in core (#15568)
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2023-09-09 15:53:39 +02:00
J-N-K
f24a517a0f
[influxdb] Fix exception handling and improve some type conversions (#15452)
Signed-off-by: Jan N. Klug <github@klug.nrw>
2023-09-09 15:08:58 +02:00
Alexander Friese
f4fed3a800
[easee] simplified determination of start/stop status due to recent API changes (#15538)
* simplified determination of start/stop as the opMode now has new values (7+8) to show missing authentication (before this was included in value "2")
* refactored ChargerOpState to enum

---------

Signed-off-by: Alexander Friese <af944580@googlemail.com>
Signed-off-by: Alexander Friese <alexf2015@users.noreply.github.com>
Co-authored-by: lsiepel <leosiepel@gmail.com>
2023-09-09 14:09:29 +02:00
Ondrej Pecta
c0d66da660
[somfytahoma] Improvements to avoid cloud login throttling (#15489)
* [somfytahoma] Improvements to avoid cloud login throttling
* [somfytahoma] add custom message to status display

---------

Signed-off-by: Ondrej Pecta <opecta@gmail.com>
2023-09-09 12:43:08 +02:00
Jacob Laursen
9bbcb85f59
[hue] Fix and improve error logging and status descriptions for API v2 (#15512)
* Provide detailed error information on failed commands
* Log as info when command succeeds
* Revert collect(Collectors.toList()) refactoring
* Provide exception message in status description

Fixes #15511

---------

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2023-09-09 12:05:38 +02:00
Holger Friedrich
14c3c0cd63
Migrate to java.nio.file.createTempFile (#15469)
Use function from nio package as it uses more restrictive file
permissions.

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2023-09-09 11:10:32 +02:00
Gaël L'hopital
5e7cbea21f
Adding "thingTypeVersion" property at thing creation (#15463)
Signed-off-by: clinique <gael@lhopital.org>
2023-09-09 11:07:26 +02:00
Holger Friedrich
edaf17b345
Java 17 features (H-M) (#15520)
- add missing @override
- Java style array syntax
- remove redundant modifiers
- always move String constants to left side in comparisons
- simplify lambda expressions and return statements
- use replace instead of replaceAll w/o regex
- instanceof matching and multiline strings
- remove null check before instanceof

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2023-09-08 14:36:59 +02:00
Wouter Born
5a803961d0
[nest] Remove WWN support (#15418)
See: https://support.google.com/googlenest/answer/9293712?hl=en

> Starting September 29, 2023, all Works with Nest connections will stop working.

Closes #13525
Closes #14761

Signed-off-by: Wouter Born <github@maindrain.net>
2023-09-06 17:02:55 +02:00
Gaël L'hopital
c5739eccc9
[netatmo] Handle new event types (#15533)
* Adding new Netatmo events
* Changed NAPushType to record.
* Adding impact on WebhookEvent

---------

Signed-off-by: clinique <gael@lhopital.org>
2023-09-06 08:36:58 +02:00
Дилян Палаузов
c21f9d5163
systeminfo: use DataAmount for dataSent and dataReceived in the example (#15495)
as the text above does suggest so.
2023-09-06 08:01:54 +02:00
Holger Friedrich
cf10b3e9c7
Java 17 features (A-G) (#15516)
- add missing @override
- Java style array syntax
- remove redundant modifiers
- always move String constants to left side in comparisons
- simplify lambda expressions and return statements
- use replace instead of replaceAll w/o regex
- instanceof matching and multiline strings

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2023-09-05 22:30:16 +02:00
Fabian Wolter
a0dc5c05f2
[lcn] Fix deprecation warnings, refactor, add test cases (#15545)
Signed-off-by: Fabian Wolter <github@fabian-wolter.de>
2023-09-04 13:57:16 +02:00
andrexp
5e8e097ad4
[LCN] Fixes problems with fingerprint codes which were received in decimal (#15488)
* fixed problems with fingerprint codes which were received in decimal instead of hex

Signed-off-by: Andre Jendrysseck <ajendry@gwdg.de>

* correct format issues

Signed-off-by: Andre Jendrysseck <ajendry@gwdg.de>

* add test file for fingerprint codes

Signed-off-by: Andre Jendrysseck <ajendry@gwdg.de>

* Delete openhab-addons.code-workspace

Signed-off-by: Andre Jendrysseck <ajendry@gwdg.de>

---------

Signed-off-by: Andre Jendrysseck <ajendry@gwdg.de>
Co-authored-by: Andre Jendrysseck <ajendry@gwdg.de>
2023-09-04 08:53:33 +02:00
Kai Kreuzer
5ab172ed1c
[denon] Extend denonmarantz binding to include Denon DRA-100 sources (#15539)
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2023-09-03 21:10:16 +02:00
maniac103
8949d0d7b1
[gardena] Improve and fix UoM support (#15523)
* [gardena] Improve and fix UoM support

Properly convert incoming UoM values for command durations, and output
measurements as UoM values where possible.

* [gardena] Fix signal strength channel value

Previously the binding sent 0..100, but the system expects 0..4 for the
system.signal-strength channel.

* [gardena] Update README
* [gardena] Use actual units in state description where appropriate

Signed-off-by: Danny Baumann <dannybaumann@web.de>
2023-09-02 23:50:58 +02:00
quidam
38d45ca017
[avmfritz] Fix NPE when Fritz!Box sends empty alert state element (<state/>) (#15479)
Signed-off-by: Ulrich Mertin <mail@ulrich-mertin.de>
2023-09-02 19:20:50 +02:00
mlobstein
b9a0e6fa14
Fix Reconnect error race condition (#15536)
Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
2023-09-01 23:16:16 +02:00
Alexander Friese
13fd7380ca
[easee] fix date formatting issues (#15501)
* fix DateTimeException when formatting date out of range (in this case Instant.MIN)

Signed-off-by: Alexander Friese <af944580@googlemail.com>
2023-08-30 20:10:23 +02:00
Wouter Born
8da6f0ad07
Upgrade Maven and plug-ins (#15525)
* Use Maven 3.9.4 with GitHub Actions CI
* Upgrade Maven plug-ins

Signed-off-by: Wouter Born <github@maindrain.net>
2023-08-30 13:28:44 +02:00