Commit Graph

4086 Commits

Author SHA1 Message Date
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
Wouter Born e254cb785c
Resolve runbundles for directory-watcher upgrade (#15526)
Related to openhab/openhab-core#3790

Signed-off-by: Wouter Born <github@maindrain.net>
2023-08-30 22:53: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
mlobstein 8e18726399
[radiothermostat] Disable Remote Temp and Message Area on shutdown (#15492)
Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
2023-08-29 18:51:44 +02:00
Holger Friedrich d3c07344d3
[dwdunwetter] Handle possible XXE injection (#15466)
XMLInputFactory: Disable properties IS_SUPPORTING_EXTERNAL_ENTITIES and
SUPPORT_DTD which allow injecting external entities.

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2023-08-29 18:50:13 +02:00
jimtng 5e1f24c54f
[daikin] Support BRP069A81 adapter (#15456)
* [daikin] Support BRP069A81 adapter auto mode=1
* [daikin] Support Auto mode=7

Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
2023-08-29 18:37:01 +02:00
Matt 67c0039cfd
Missing break statement bug fix (#15515)
Signed-off-by: Matt Myers <mmyers75@icloud.com>
2023-08-29 07:55:19 +02:00
Daniel Weber b9b9bbb74c
[enocean] Fix humidity and temperature readings for EEP family A5_10 (#15506)
* Updated A5-10 EEP family (corrected readings, added new channels)
 * Changed fanSpeedStage channel to type Number and added new options to it
 * Added dayNightModeState channel

Fixes #15458

Signed-off-by: Daniel Weber <uni@fruggy.de>
2023-08-28 22:49:20 +02:00
lsiepel 5cc5ee6f7b
[yamahareceiver] Show correct status detail on failure (#15510)
* Partial fix #7667
* java 17 instanceof
* Checkstyle

Signed-off-by: Leo Siepel <leosiepel@gmail.com>
2023-08-27 23:53:02 +02:00
lsiepel d9235da5db
[bticinosmarter] Fix activationdate parsing (#15474)
* Fix DateTime format
* Switch to TimeZoneProvider

Signed-off-by: lsiepel <leosiepel@gmail.com>
2023-08-27 16:11:33 +02:00
Wouter Born d1a691498a
Fix compilerArguments deprecation warnings (#15504)
This fixes the following warnings:

```
[WARNING] Parameter 'compilerArguments' is deprecated: use {@link #compilerArgs} instead.
```

Related to openhab/openhab-core#3512

Signed-off-by: Wouter Born <github@maindrain.net>
2023-08-27 13:45:36 +02:00
lsiepel 7f389f8ce9
[autelis] Fix checkstyle en warnings (#15423)
Signed-off-by: lsiepel <leosiepel@gmail.com>
2023-08-27 07:27:00 +02:00
Andrew Fiddian-Green 7fb9efc885
[hue] Improve connection stability (#15477)
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2023-08-26 17:19:37 +02:00
Holger Friedrich 1cf57e7dfe
[persistence] Use Java 17 features (#15486)
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2023-08-26 08:56:27 +02:00
Holger Friedrich 5b42c4b071
Java 17 features (#15493)
- 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

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2023-08-26 08:52:11 +02:00
Holger Friedrich d36833feef
[hueemulation] Java 17 features (#15496)
- 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

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2023-08-25 17:48:55 +02:00
Konstantin Polihronov 17978b8625
[solax] Initial contribution (#14880)
Signed-off-by: Konstantin Polihronov <polychronov@gmail.com>
2023-08-24 14:39:24 +02:00
Holger Friedrich ab135421a0
[voice] Make use of Java17 features (#15487)
Use Map/Set/List.of instead of Collections.

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2023-08-24 06:46:18 +02:00
Holger Friedrich 56e7daf898
[io] Use Java 17 features (#15485)
* instanceof matching and multiline strings
* use Map/Set/List.of instead of Collections

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2023-08-24 06:44:56 +02:00
Holger Friedrich 6e49c6e6ec
[transform] Code optimization for Java17: instanceof matching and multiline strings (#15483)
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2023-08-24 06:41:36 +02:00
Jacob Laursen db651f9e92
[hue] Fix exception being displayed in bridge status description (#15475)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2023-08-24 06:39:27 +02:00
Wouter Born fef05c3322
Remove build server specific timing from dynamodb and ruuvigateway (#15472)
* Remove build server specific timing from dynamodb and ruuvigateway

There should be no difference between running tests on your own PC or on a build server.
The ruuvigateway tests always fail for me during parallel builds due to its unrealistic timing.

Signed-off-by: Wouter Born <github@maindrain.net>
2023-08-23 20:54:50 +02:00
Holger Friedrich 7b90fbe162
[automation] Use Java 17 features (#15484)
* [automation] Code optimization for Java17: instanceof matching and multiline strings

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>

* [automation] Make use of Java17 features

Use Map/Set/List.of instead of Collections.

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>

* review comment

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>

---------

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2023-08-23 17:27:40 +02:00
Wouter Born 626c6bde4a
Resolve runbundles for CXF upgrade (#15473)
* Resolve runbundles for CXF upgrade

Related to openhab/openhab-core#3770

Signed-off-by: Wouter Born <github@maindrain.net>

* Replace Grizzly JAX-RS Client with Jetty HTTP client in hueemulation tests

It seems that the Grizzly JAX-RS Client implementation does not work well with the new CXF dependencies on the classpath.
As we do not use Grizzly anywhere else it is probably best to also stop using the Grizzly HTTP Server in these tests in the future.

Signed-off-by: Wouter Born <github@maindrain.net>

---------

Signed-off-by: Wouter Born <github@maindrain.net>
2023-08-23 09:14:15 +02:00
Konstantin Polihronov 5f31eeb506
[paradoxalarm] Fix Paradox EVOHD zone parsing fail #10572 (#15441)
* Fix Paradox EVOHD zone parsing fail #10572

* Root cause is that EVOHD and EVO192 have much more zones which are
stored in a different memory map model. They should be treated the same
way. Fix is simple and can be downported to 3.x if decided by the
maintainers

Signed-off-by: Konstantin Polihronov <polychronov@gmail.com>
2023-08-22 08:47:12 +02:00
Wouter Born 42ba975660
[feed] Upgrade jdom2 to 2.0.6.1 (#15476)
This addresses CVE-2021-33813

See: http://www.jdom.org/news/index.html

Signed-off-by: Wouter Born <github@maindrain.net>
2023-08-22 08:31:20 +02:00
lsiepel f2fc0560fd
[surepetcare] Fix possible timeout bug (#15411)
Fix #11527

* Minor java 17 refactoring
* Spotless

Signed-off-by: lsiepel <leosiepel@gmail.com>
2023-08-21 21:36:07 +02:00
Jacob Laursen bf892b6b96
[hue] Fix compiler warnings (#15419)
* Fix compiler warnings
* Fix integration test compiler/SAT warnings

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2023-08-21 21:14:18 +02:00
lsiepel a1b79b6b7b
[homekit] Checkstyle cleanup (#15450)
* Remove package
* java 17 instanceofpattern
* EqualsAvoidNullCheck
* NoEmptyLineSeparatorCheck
* ConstantNameCheck

Signed-off-by: lsiepel <leosiepel@gmail.com>
2023-08-21 20:12:49 +02:00
Wouter Born 24fa966dc3
Update Jackson to 2.15.2 (#15471)
Related to openhab/openhab-core#3768

Signed-off-by: Wouter Born <github@maindrain.net>
2023-08-21 14:03:41 +02:00
jimtng 261456badc
[fineoffsetweatherstation] Fix failing tests (#15470) 2023-08-21 06:41:28 +02:00
Holger Friedrich 95ac2eb80b
Use SecureRandom instead of Random (#15459)
Make sure that SecureRadom is used whenever the random number
is used for cryptographic operations, e.g. as nonce/salt.

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2023-08-20 21:29:37 +02:00
Gaël L'hopital e86998000e
[openuv] Correcting NPE in IconProvider (#15465)
Signed-off-by: Gaël L'hopital <gael@lhopital.org>
2023-08-20 18:06:25 +02:00
jimtng 78381e8b6d
[jrubyscripting] Fix broken image in README.md (#15435)
* [jrubyscripting] Fix broken image in README.md
* [jrubyscripting] Update the base url in the regenerate instructions

Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
2023-08-19 22:41:54 +02:00
Holger Friedrich 52c657ff41
[chatgpt] Set proper default values for channel configuration (#15451)
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2023-08-19 20:49:37 +02:00
jimtng a293fc8fd9
[jrubyscripting] Fix config description uri (#15457)
This is to match the uri defined in https://github.com/openhab/openhab-addons/pull/15438

Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
2023-08-19 10:48:31 +02:00
J-N-K 3ce02971ae
Resolve itests after core changes (#15454)
Signed-off-by: Jan N. Klug <github@klug.nrw>
2023-08-19 10:18:49 +02:00
lsiepel 5c6fabbb62
[denonmarantz] Fix NPE on connection problem (#15422)
* Checkstyle cleanup
* Fix #15444

Signed-off-by: lsiepel <leosiepel@gmail.com>
2023-08-18 16:33:39 +02:00
Alexander Friese a435ed2cd0
[easee] Migrate charger state API endpoint, add channels (#14614)
* reworked the way to retrieve Charger state as API endpoint is now deprecated.
* fixed result processing: removed default handling by bridge handler which caused everything to go offline if a single charger had faulty config.
* additional channels / removed obsolete firmware channel

Signed-off-by: Alexander Friese <af944580@googlemail.com>
2023-08-18 13:33:19 +02:00
Wouter Born 79ecb2e4d0
Fix wrong source code URLs in NOTICE files (#15448) 2023-08-17 21:49:01 +02:00
Alexander Friese e87824d7e8
[easee] Enable write support for smartCharging channel (#14866)
* this fixes #14863

Signed-off-by: Alexander Friese <af944580@googlemail.com>
2023-08-17 17:01:21 +02:00