Commit Graph

3965 Commits

Author SHA1 Message Date
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
Cody Cutrer 6b4ec31348
[jrubyscripting] loosen default gem version constraint (#15266)
so that the helper library compatible with 4.0.0.M3+ will be used

Signed-off-by: Cody Cutrer <cody@cutrer.us>
2023-07-18 19:56:30 +02:00
Daniel Rosengarten b650454d94
[velbus] Fix multiple channel status in one packet (#15272)
Fix bug : Manage more than one channel status in the packet.

Signed-off-by: Daniel Rosengarten <github@praetorians.be>
2023-07-18 19:54:20 +02:00
openhab-bot 2f5f37e136
New Crowdin updates (#15271)
* New translations sonnen.properties (French)
* New translations openwebnet.properties (Italian)
2023-07-18 19:46:23 +02:00
J-N-K eb059b50dc
[avmfritz] Fix update instructions (#15261)
Signed-off-by: Jan N. Klug <github@klug.nrw>
2023-07-18 09:06:47 +02:00
Wouter Born 0c3934f3c8
Use Eclipse formatter 4.25 with Spotless (#15264)
This version still checks test files.

See: openhab/openhab-core#3515

Signed-off-by: Wouter Born <github@maindrain.net>
2023-07-18 09:02:05 +02:00
M Valla 04e7f2f74e
[openwebnet] Binding documentation update for OH4 release (#15250)
Updated: README, `where` parameter description for Things and channels descriptions.
Added `AUTO` option for mode channel-type.
Added `OFF` option for speedFanCoil channel-type.
Updated default translations.

Signed-off-by: Massimo Valla <mvcode00@gmail.com>
2023-07-17 17:40:37 +02:00
joke24 85424d2d9d
Update README.md (#15209)
Added sample to play Web Radio URI.
I had to do a lot of searching to find out, that you have to put "x-rincon-mp3radio://" before the Stream-URL url. Hope this helps someone.

Signed-off-by: joke24 <info@jonaskemmer.de>
2023-07-17 17:27:20 +02:00
Jacob Laursen 3235d6d224
Fix NullPointerException (#15259)
Fixes #15256

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2023-07-17 17:04:04 +02:00
openhab-bot 1bcc89afca
New Crowdin updates (#15253)
* New translations mail.properties (French)

* New translations renault.properties (French)

* New translations netatmo.properties (French)

* New translations bluetooth.properties (French)

* New translations anthem.properties (French)

* New translations plex.properties (French)

* New translations openwebnet.properties (Italian)

* New translations energidataservice.properties (Italian)

* New translations androidtv.properties (Italian)

* New translations netatmo.properties (French)
2023-07-17 14:05:01 +02:00
M Valla d857fd323a
[openwebnet] Backward support for CU configurations with where="0" (updated) (#15251)
* [openwebnet] Backward support for CU configurations with where="0"
* [openwebnet] fix send in handleSetProgramNumber()

---------

Signed-off-by: Massimo Valla <mvcode00@gmail.com>
2023-07-17 12:36:13 +02:00
morph166955 ca4d332acd
Fixes log flooding from protocol error (#15252)
Signed-off-by: Ben Rosenblum <rosenblumb@gmail.com>
2023-07-17 12:34:34 +02:00
openhab-bot 075592f4df
New Crowdin updates (#15249)
* New translations pollytts.properties (French)
* New translations energidataservice.properties (Danish)
* New translations pollytts.properties (German)
2023-07-16 14:59:07 +02:00
M Valla a7ab2afbb3
[openwebnet] Backward support for CU configurations with where="0" (#15248)
Signed-off-by: Massimo Valla <mvcode00@gmail.com>
2023-07-16 14:48:13 +02:00
Markus Michels 00da6457f0
fix relay id for devices with more than 1 power meter, fix (#15247)
initialization if device doesn't support scripts (Pro4); fix resetMeter
for EM50 (has 2 power meters); removed channel sensors#open; removed
device#voltage updates for Plus/Pro, needs to be verified

Signed-off-by: Markus Michels <markus7017@gmail.com>
2023-07-16 14:38:40 +02:00
Jacob Laursen 4c3b398398
Extend and simplify date query offset support (#15246)
Fixes #15245

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2023-07-16 14:36:32 +02:00
Matthew Skinner 8701b86a37
[ipcamera] FIX: TAPO branded cameras require xAddr port to be different (#15073)
* FIX TAPO branded cameras require xAddr port to be different from the
main ONVIF PORT
* Fix for old API instar cameras.

---------

Signed-off-by: Matthew Skinner <matt@pcmus.com>
2023-07-16 13:32:40 +02:00
Jacob Laursen 6e85021f6b
Update tariff filter for Nord Energi Net (#15244)
Fixes #15243

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2023-07-16 13:05:16 +02:00
M Valla c04c00cb63
[openwebnet] Thermo: add support for 4-zones CU (#15111)
* [openwebnet] support for thermo cu discovery
* [openwebnet] fixed discovery for 4-zones CU and support in ThermoHandler
* [openwebnet] updated openwebnet.properties#cu.where.description
* [openwebnet] updated OwnIdTest with CU-4 test
* [openwebnet] Fix ownId for CU 4-zone case. Update README

---------

Signed-off-by: Massimo Valla <mvcode00@gmail.com>
2023-07-16 13:04:25 +02:00
Dominique Lasserre d449fb8c48
Support processing of Telegram channel messages (#15104)
Signed-off-by: Dominique Lasserre <lasserre.d@gmail.com>
2023-07-16 12:50:10 +02:00
M Valla 3e0099d6d1
[openwebnet] add date time synchronization feature for bus_gateway Things (#15115)
* [openwebnet] fist commit DateTime synch


---------

Signed-off-by: Massimo Valla <mvcode00@gmail.com>
2023-07-16 12:42:52 +02:00
Gwendal Roulleau 59ebd37a88
[pollyTTS] Replace custom TTS cache with common TTS cache (#15228)
* [pollyTTS] Replace custom TTS cache with common TTS cache

---------

Signed-off-by: Gwendal Roulleau <gwendal.roulleau@gmail.com>
2023-07-16 12:24:20 +02:00
morph166955 2a70a2dda8
[sonos] Add DTS Surround 5.1 (#15238)
* Adds DTS Surround 5.1

---------

Signed-off-by: Ben Rosenblum <rosenblumb@gmail.com>
2023-07-16 12:19:38 +02:00
GiviMAD abb9020be8
[rustpotterks] Upgrade library, fixes gain normalizer (#15239)
Signed-off-by: Miguel Álvarez <miguelwork92@gmail.com>
2023-07-16 10:22:53 +02:00
openhab-bot bf9b06de03
New translations shelly.properties (German) (#15240) 2023-07-15 18:11:29 +02:00
Christian Wild d2f4e05295
[asuswrt] Initial contribution (#13815)
Signed-off-by: Christian Wild <christian@wildclan.de>
2023-07-15 14:07:51 +02:00
morph166955 ee687aa1cd
[androidtv] Moves Shim PKI to AndroidTVPKI and adds Trusted CA Certificate functions (#15174)
Signed-off-by: Ben Rosenblum <rosenblumb@gmail.com>
2023-07-15 09:40:41 +02:00
morph166955 cad86bc83b
[androidtv] Adds additional i18n support to ConnectionManagers (#15184)
Signed-off-by: Ben Rosenblum <rosenblumb@gmail.com>
2023-07-15 09:39:45 +02:00
morph166955 4edad54e83
[androidtv] Adds CLI Interface (#15146)
Signed-off-by: Ben Rosenblum <rosenblumb@gmail.com>
2023-07-15 09:38:18 +02:00
Markus Michels bfbbf3504f
[shelly] Add support for Shelly Plus Mini series, Pro EM-50 and various bug fixes (#15205)
* Shelly BLU support, various fixes
* Shelly Dimmer US added
* Reference to org.eclipse.jetty.websocket updated to 9.4.50.v20221201
* Support for Shelly Wall Display added
* Fixed #15052: channel totalKWH and totalRetruned: correct value is kw/h
(API value needs to be converted from Watt/Min to kw/h)
* Regular power meter returns Watt/Min, the EM/3EM meter returns W/h; this
needs to be handled differently
* Gen2 power meter returns Watt, which needs to be converted to W/h
(and then gets converted to kw&/h for the channel update)
* bug fixes around channel creation, some xml channel declarations fixed
* Support for 1Mini, 1PM Mini and PM Mini added
* Avoid NPE for devices having relay(s), but no meter (like Pro 2); README
updated
* Shelly Pro 3EM-50 added; fixes #15151, #15152 and more
* fix #15218 (only 1 device#resetTotals channel)
* Fix Pro EM50 (it's not a 3EM-50): thing type name is now shellyproem50,
use EM1DataDeleteAllData method rather then EMDataDeleteAllData
* <connection>local</connection> added to addon.xml
* channel group names for i4 fixed, Plus-Roller now has voltage

Signed-off-by: Markus Michels <markus7017@gmail.com>
2023-07-14 21:59:45 +02:00
openhab-bot b9bd454b8d
New Crowdin updates (#15235)
* New translations lgwebos.properties (French)
* New translations openuv.properties (French)
* New translations exec.properties (French)
* New translations electroluxair.properties (French)
* New translations rollershutter.properties (French)
* New translations vat.properties (French)
* New translations chatgpt.properties (French)
2023-07-14 16:57:03 +02:00