Commit Graph

3995 Commits

Author SHA1 Message Date
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
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
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
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
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
Florian Hotze 6e349334e4
[jrubyscripting] Allow configuration from add-on page (#15438)
Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
2023-08-16 21:49:20 +02:00
Ondrej Pecta 39bbaa8c85
[somfytahoma] fix NPE in case that HttpClient fails to start (#15442)
Signed-off-by: Ondrej Pecta <opecta@gmail.com>
2023-08-16 20:15:18 +02:00
Jacob Laursen 7ab04b20a1
[jdbc] Fix null annotation warnings (#15426)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2023-08-15 13:24:29 +02:00
lsiepel c47e833ed9
[dscalarm] Fix checkstyle and warning (#15424)
Signed-off-by: lsiepel <leosiepel@gmail.com>
2023-08-14 22:08:22 +02:00
miloit c465344c01
[volumio] Removing compiler warnings (#15379)
Signed-off-by: miloit <MichaelLoercher@web.de>
2023-08-14 14:14:50 +02:00
lsiepel 6ace1548b8
[gardena] Fix close all valves command (#15390)
* Fix #15039
* codestyle

Signed-off-by: lsiepel <leosiepel@gmail.com>
2023-08-14 08:10:29 +02:00
Jacob Laursen 1fd7280c51
Upgrade SQLite JDBC driver to 3.42.0.0 (#15412)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2023-08-13 22:13:18 +02:00
J-N-K 196d8095bb
[tr064] Fix clearing of auth (results) (#15415)
* [tr064] Fix clearing of auth (results)

In case of multiple root things the auth store (results and digests) was cleared for all clients instead of only removing the failed auth result or old authentication.

* fix TAM request

Signed-off-by: Jan N. Klug <github@klug.nrw>
2023-08-13 18:55:13 +02:00
Wouter Born c71a24f8a1
Link to Java 17 documentation (#15406)
This prevents issues because older documentation may not apply to Java 17.

Signed-off-by: Wouter Born <github@maindrain.net>
2023-08-13 13:44:05 +02:00
openhab-bot 2886175120
New Crowdin updates (#15407)
* New translations hue.properties (Italian)

* New translations deconz.properties (Italian)

* New translations anel.properties (Italian)

* New translations atlona.properties (Italian)

* New translations electroluxair.properties (Italian)

* New translations groupepsa.properties (Italian)

* New translations somneo.properties (Italian)

* New translations meater.properties (Italian)

* New translations juicenet.properties (Italian)

* New translations volumio.properties (Italian)

* New translations asuswrt.properties (Italian)
2023-08-12 08:09:15 +02:00
Andrew Fiddian-Green 297640aa77
[hue] Fix bug due to parallel PUT commands (#15324)
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2023-08-09 17:45:34 +02:00
lsiepel 3b9b0236b4
[microtik] Fix changed date format in firmware v7.10 (#15362)
Signed-off-by: lsiepel <leosiepel@gmail.com>
2023-08-06 20:00:12 +02:00
voruti faceef6fd4
Fix missing cast (#15356)
Signed-off-by: Till von Rüden <dev@tillvonrueden.de>
2023-08-06 10:43:06 +02:00
lsiepel c4d79a7502
[gpstracker] Fix `NumberFormatException` (#15337)
Signed-off-by: lsiepel <leosiepel@gmail.com>
2023-08-05 22:41:12 +02:00
Doug Culnane 7d2d86f244
[renault] Small logging improvements. (#15368)
* [renault] HTTP responses to debug not warn.
* [renault] fix logging typo.

---------

Signed-off-by: Doug Culnane <doug@culnane.net>
2023-08-04 11:34:52 +02:00
Wouter Born 0d9cebe513
[allplay] Fix issue tracker link in documentation (#15369)
Signed-off-by: Wouter Born <github@maindrain.net>
2023-08-04 11:32:01 +02:00
Gwendal Roulleau f98ed3fc22
[pulseaudio] For source, default timeout should be disconnection ASAP (#15314)
* [pulseaudio] For source,  default timeout should be disconnection ASAP

To avoid weird behaviour, such as pulseaudio server storing audio data between inputstream get/read and then sending the backlog all at once when finally reading, we must disconnect immediately thereafter.

---------

Signed-off-by: Gwendal Roulleau <gwendal.roulleau@gmail.com>
Co-authored-by: Gwendal Roulleau <gwendal.roulleau@gmail.com>
2023-08-03 11:01:48 +02:00
Arjen Korevaar e057e79d2a
[openthermgateway] Remove 'reserved' channels (with invalid channelUIDs) (#15355)
* Removed invalid characters from channel UIDs
* Removed unused message ids

Signed-off-by: Arjen Korevaar <a.korevaar@mephix.com>
2023-08-02 14:51:09 +02:00
lsiepel 5a447375a4
[chromecast] Fix STOP command
Fixes #14516

Signed-off-by: lsiepel <leosiepel@gmail.com>
2023-08-01 21:22:37 +02:00
openhab-bot 846e9aa206
New translations androidtv.properties (Italian) (#15351) 2023-08-01 16:43:40 +02:00
Gaël L'hopital e792a92a38
[freeboxos] Support randomized MAC addresses by using mDNS name for Wi-Fi hosts (#15299)
* Take care of randomized mac addresses by using mDNS name for wifi hosts.

Signed-off-by: clinique <gael@lhopital.org>
2023-08-01 12:16:59 +02:00
lsiepel d499f2c777
[bluetooth.bluez] Fix `NullPointerException` during discovery (#15347)
Signed-off-by: lsiepel <leosiepel@gmail.com>
2023-08-01 10:24:25 +02:00
morph166955 3e1686b1f7
[androidtv] Adds gtvEnabled Option (#15317)
* Adds gtvEnabled

---------

Signed-off-by: Ben Rosenblum <rosenblumb@gmail.com>
2023-07-31 23:37:56 +02:00
Tom Müller 27d784a4b1
[myStrom] Add energy consumption since last API call channel for MyStrom Plug (#15294)
* added missing Ws value for MyStrom Plug

Signed-off-by: Tom Müller <tompetermueller01@gmail.com>
2023-07-31 23:08:45 +02:00
openhab-bot edc7761cd6
New translations shelly.properties (German) (#15345) 2023-07-31 17:29:52 +02:00
Jacob Laursen a9d6d805f4
[enocean] Fix disposal of running tasks (#15329)
* Fix disposal of running tasks

Fixes #15328

---------

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2023-07-31 17:10:17 +02:00
Jacob Laursen 92238bcb8b
Reintroduce LK Wiser dimmer work-around for API v2 (#15316)
Fixes #15315

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2023-07-31 13:22:58 +02:00
Arne Seime 3080615262
Increase comm timeout to 30 seconds (#15342)
Signed-off-by: Arne Seime <arne.seime@gmail.com>
2023-07-31 13:04:00 +02:00
morph166955 5dcc5214a6
Fixes DTS Typo (#15338)
Signed-off-by: Ben Rosenblum <rosenblumb@gmail.com>
2023-07-31 08:43:02 +02:00
morph166955 6115cd39a7
[androidtv] Removes unnecessary null checks (#15331)
* Removes unnecessary null checks
* Moves checks to thing-types.xml
* Fix typo
* Update i18n

Signed-off-by: Ben Rosenblum <rosenblumb@gmail.com>
2023-07-30 19:23:04 +02:00
Florian Hotze bf7f24c099
[jsscripting] Upgrade openhab-js to 4.5.1 to fix cached injection (#15336)
It was found out that a recent change to the webpack config for the library injection bundle heavily affected performance of the evaluation of the cached injection.

openhab-js 4.5.1 fixes that regression and one minor bug, see https://github.com/openhab/openhab-js/blob/main/CHANGELOG.md#451.

Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
2023-07-30 14:47:03 +02:00
Z0l 222270472a
Update README.md (#15334)
Removed quotes from the <shieldGreen> statement to make it work with OH4.

Signed-off-by: Z0l <Z0l@users.noreply.github.com>
2023-07-30 09:32:37 +02:00
Alexander Friese f24f0f0251
[digitalstrom] Fix StringIndexOutOfBoundsException (#15318) while keeping removal of StringUtils (#15321)
Signed-off-by: Alexander Friese <af944580@googlemail.com>
2023-07-29 11:17:58 +02:00
Jacob Laursen 9aab0f7d12
Fix ArrayStoreException (#15320)
Fixes #15313

Partially reverts #13967

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2023-07-28 10:01:36 +02:00
Jacob Laursen 5732cca7bb
Fix StringIndexOutOfBoundsException (#15319)
Fixes #15318

Reverts #14402

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2023-07-28 10:00:48 +02:00
Markus Michels f6e750a5ff
[shelly] Fix Plus/Pro Auth support (#15284)
* Reimplement Auth Digist to return response as http header field instead
of being part of post data; avoid sending Basic Auth for Gen2 and
/shelly

Signed-off-by: Markus Michels <markus7017@gmail.com>
2023-07-27 15:41:32 +02:00
Andrew Fiddian-Green ae36108cbd
[hue] Fix reconnection, parallel commands, trigger channels, and light level formula (#15169)
* [hue] post merge tweaks

Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>

* [hue] abandon internal restart

Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>

* [hue] remove externalRestartScheduled flag

Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>

* [hue] serialize PUT calls

Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>

* [hue] GET requests shall not activate trigger channels

Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>

* [hue] fix LightLevel formula

Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>

* [hue] fix Button DTO null error

Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>

---------

Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2023-07-27 14:55:17 +02:00
Gaël L'hopital 4eaba31f57
Correcting false assumption (#15307)
Signed-off-by: clinique <gael@lhopital.org>
2023-07-27 08:14:27 +02:00
mlobstein ca8c843d05
[plex] Use https for local connections (#15306)
Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
2023-07-26 23:44:57 +02:00
Florian Hotze e1c9213cfc
[jsscripting] Fix timerId not returned by JS timer methods (#15308)
Regression from #15193.
Reported on the community, see https://community.openhab.org/t/openhab-4-0-release-discussion/147957/53?u=florian-h05.

Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
2023-07-26 16:28:46 +02:00
Gwendal Roulleau 2961593cfd
[enocean] Fix unusable bundle after a refactoring about null annotation (#15302)
Fix bundle unusable after #14023 (closes #15181)
Fix a case issue with some directory
Fix trigger channel issue

Signed-off-by: Gwendal Roulleau <gwendal.roulleau@gmail.com>
2023-07-26 13:21:59 +02:00
lolodomo 6dccbcb005
[googletts] Avoid UnsupportedOperationException during dispose (#15305)
Fix #15303

It is not allowed to clear an unmodified hash set.

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2023-07-25 23:54:31 +02:00
Konstantin Polihronov 33dd5e7f70
[paradoxalarm] Implement zone bypass command and additional zone states (#14557)
* Reduce warnings 1

Signed-off-by: Konstantin Polihronov <polychronov@gmail.com>

* 2

Signed-off-by: Konstantin Polihronov <polychronov@gmail.com>

* 3

Signed-off-by: Konstantin Polihronov <polychronov@gmail.com>

* Initial files and package refactoring

Signed-off-by: Konstantin Polihronov <polychronov@gmail.com>

* Implemented zone commands without checksum calculation

Signed-off-by: Konstantin Polihronov <polychronov@gmail.com>

* More stuff

* Added the checksum functionality
* Added more examples to the test

Signed-off-by: Konstantin Polihronov <polychronov@gmail.com>

* Implement ZoneCommand and necessary classes

* Refactor the common logic
* Extract interface Command
* CHange the Response class to use Switch/case

Signed-off-by: Konstantin Polihronov <polychronov@gmail.com>

* Fully implement the test for creating zone command payload

Signed-off-by: Konstantin Polihronov <polychronov@gmail.com>

* Fix build / add headers and author to the new files

Signed-off-by: Konstantin Polihronov <polychronov@gmail.com>

* Add command handling to the zone handler

Signed-off-by: Konstantin Polihronov <polychronov@gmail.com>

* Add command channel to the Zone thing

Signed-off-by: Konstantin Polihronov <polychronov@gmail.com>

* Research of zone states and some TODO notes

Signed-off-by: Konstantin Polihronov <polychronov@gmail.com>

* Retrieval of zone special states from the panel

Signed-off-by: Konstantin Polihronov <polychronov@gmail.com>

* Fix build

Signed-off-by: Konstantin Polihronov <polychronov@gmail.com>

* Add the new channels to the metadata file

Signed-off-by: Konstantin Polihronov <polychronov@gmail.com>

* Add new channels to zone handler

Signed-off-by: Konstantin Polihronov <polychronov@gmail.com>

* Fix indexing in memory map and add more logging

Signed-off-by: Konstantin Polihronov <polychronov@gmail.com>

* Refactoring and potential NPE access fixes

Signed-off-by: Konstantin Polihronov <polychronov@gmail.com>

* Add new property "label" to the discovered zones and partitions

Signed-off-by: Konstantin Polihronov <polychronov@gmail.com>

* Fix zone command issues

* Fix checksum creation
* Fix the parse and confirmation of the response

Signed-off-by: Konstantin Polihronov <polychronov@gmail.com>

* Add the new channels to the README.md

Signed-off-by: Konstantin Polihronov <polychronov@gmail.com>

* Fixed issue with not updating new channels in the zones

* A silly copy/paste mistake

Signed-off-by: Konstantin Polihronov <polychronov@gmail.com>

* Change the type of the new channels from contact to switch

As per community discussion this makes more sense and will be more
intuitive - when something is true -> make it ON, when it's false ->
make it OFF. OPEN and CLOSED are not fitting so well here...

Signed-off-by: Konstantin Polihronov <polychronov@gmail.com>

* Fix issue that the channel label is always NULL

* For both zone and partitions

Signed-off-by: Konstantin Polihronov <polychronov@gmail.com>

* Add new types and channels to the i18n

Signed-off-by: Konstantin Polihronov <polychronov@gmail.com>

---------

Signed-off-by: Konstantin Polihronov <polychronov@gmail.com>
2023-07-25 19:53:09 +02:00
mlobstein 51f3bf6b86
[nuvo] Include NuvoNet source favorites in zone `favorite` channel (#15292)
* Include NuvoNet source favorites in zone `favorite` channel
* Use existing constants
* VALID_SOURCES to enum list

Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
2023-07-25 01:17:49 +02:00
J-N-K 4c9f207a38
[knx] Refactor manufacturer map (#15297)
* [knx] Refactor manufacturer map

This makes adding new manufacturers easy.

Signed-off-by: Jan N. Klug <github@klug.nrw>
2023-07-24 23:09:46 +02:00
jimtng 6bc21bd856
[jrubyscripting] Upgrade to jruby-9.4.3.0 (#15279)
Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
2023-07-24 12:14:22 +02:00
Kai Kreuzer 72607d3bee Apply spotless
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2023-07-24 01:20:31 +02:00
openhab-bot 809fceaff3 [unleash-maven-plugin] Preparation for next development cycle. 2023-07-23 19:19:01 +00:00
J-N-K 4afe151108
[jsonpath] Fix exception when input string is empty (#15283)
Signed-off-by: Jan N. Klug <github@klug.nrw>
2023-07-23 17:14:16 +02:00
openhab-bot 36741bf004
New Crowdin updates (#15295)
* New translations sonos.properties (German)
* New translations comfoair.properties (German)
* New translations publictransportswitzerland.properties (German)
* New translations watsonstt.properties (German)
* New translations sensorcommunity.properties (German)
2023-07-23 14:22:06 +02:00
Jacob Laursen 0fe144708c
Provide example in JavaScript (#15286)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2023-07-22 22:37:48 +02:00
Dan Cunningham a6cbf37b75
Updates JSON libary. (#15290)
Fixes #15221

Signed-off-by: Dan Cunningham <dan@digitaldan.com>
2023-07-22 22:29:02 +02:00
jimtng 35be82401d
[jrubyscripting] Update README (#15287)
Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
2023-07-22 16:16:03 +02:00
openhab-bot 37c0e97bff
New Crowdin updates (#15281)
* New translations miele.properties (Danish)
* New translations miele.properties (German)
2023-07-21 12:39:37 +02:00
J-N-K ae146111c1
[mqtt] Dynamically change accepted item-type for Number channels (#15114)
Signed-off-by: Jan N. Klug <github@klug.nrw>
2023-07-21 11:47:51 +02:00
Jacob Laursen 4fcff61a72
Update default translations (#15280)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2023-07-21 11:34:30 +02:00
morph166955 16816e3e7a
[androidtv] Fix log flood when physical device is not online (#15258)
* Fixes log flood when physical device is not online

---------

Signed-off-by: Ben Rosenblum <rosenblumb@gmail.com>
2023-07-21 08:54:10 +02:00
J-N-K 0beaada48c
Fix rrd4j database start time (#15277)
Signed-off-by: Jan N. Klug <github@klug.nrw>
2023-07-20 21:42:27 +02:00
openhab-bot f8968b780a
New translations jruby.properties (Italian) (#15274) 2023-07-19 15:06:04 +02:00
M Valla d756e2e352
[openwebnet] Fix broken link in README (#15273)
* [openwebnet] fix broken link in README, updated description for metedata examples

Signed-off-by: Massimo Valla <mvcode00@gmail.com>
2023-07-19 10:30:01 +02:00
Giovanni Fabiani 74f6b93c75
[openwebnet] Fix README for Sitemap AUX configuration to the correct mapping (#15257)
* [openwebnet] Fix README for Sitemap to the correct mapping of Aux

---------

Signed-off-by: Giovanni Fabiani <fabiani.giovanni@gmail.com>
2023-07-19 10:18:27 +02:00
M Valla 005d594073
[openwebnet] Fix update of Thermo Central Unit atLeastOneProbeX channels and refactoring (#15269)
* [openwebnet] Fixes changing and startup value for Weekly/Scenario modes
Fixes #12599
* [openwebnet] Thermo: Fixed CU setpointTemp not restored
Fixes #14449
* [openwebnet] fix update of atLeastOneProbeX channels for CU Fixes #15103
Bumped lib openwebnet4j to 0.10.1

Signed-off-by: Massimo Valla <mvcode00@gmail.com>
2023-07-18 22:15:33 +02:00