Commit Graph

4192 Commits

Author SHA1 Message Date
lsiepel 38df4ac713
[neeo] Remove org.apache.common (#14442)
Signed-off-by: Leo Siepel <leosiepel@gmail.com>
2023-10-21 22:25:29 +02:00
Jacob Laursen 089b4152c0
[pushover] Add support for Expiring Messages (#15289)
* Add support for Expiring Messages
* Add action variants with TTL parameter

Resolves #15288

---------

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2023-10-21 13:34:25 +02:00
lsiepel 7d63504eee
adapt to core StringUtils (#15781)
Signed-off-by: Leo Siepel <leosiepel@gmail.com>
2023-10-21 12:03:26 +02:00
lsiepel bf0cc2ba0f
adapt to core StringUtils (#15785)
Signed-off-by: Leo Siepel <leosiepel@gmail.com>
2023-10-21 11:56:27 +02:00
lsiepel 041c30159d
adapt to core StringUtils (#15787)
Signed-off-by: Leo Siepel <leosiepel@gmail.com>
2023-10-21 11:54:50 +02:00
lsiepel 468a245ab8
cleanup regarding to core StringUtils (#15786)
Signed-off-by: Leo Siepel <leosiepel@gmail.com>
2023-10-21 11:48:38 +02:00
openhab-bot 9ce74b264c
New translations speedtest.properties (Italian) (#15790) 2023-10-20 23:58:27 +02:00
morph166955 e9a2976053
Removes extra NEEO from thread name (#15779)
Signed-off-by: Ben Rosenblum <rosenblumb@gmail.com>
2023-10-20 07:44:56 +02:00
lsiepel 7313415ae0
Set explicit timeout for http request (#15505)
* Bondhome
* chatgpt
* electroluxair
* energidataservice
* freeboxos
* gardena
* generacmobilelink
* hdpowerview
* icalendar
* juicenet
* kostalinverter
* liquidcheck
* mcd
* meater
* miele
* mercedesme
* mybmw
* myq
* ojelectronics
* plex
* radiothermostat
* renault
* semsportal
* sensibo
* tapocontrol
* tellstick
* verisure
* vizio

---------

Signed-off-by: lsiepel <leosiepel@gmail.com>
Signed-off-by: Leo Siepel <leosiepel@gmail.com>
2023-10-19 22:30:41 +02:00
MikeTheTux c7568cb206
[speedtest] Add timestamp and result image channel, update thing description (#15278)
* added timestamp channel, updated thing description
* added resultImage

---------

Signed-off-by: Michael Weger <weger.michael@gmx.net>
2023-10-19 22:22:47 +02:00
lsiepel b8805ba687
adapt to core StringUtils (#15770)
Signed-off-by: Leo Siepel <leosiepel@gmail.com>
2023-10-19 21:48:09 +02:00
lsiepel e798ba9406
adapt to core StringUtils (#15769)
Signed-off-by: Leo Siepel <leosiepel@gmail.com>
2023-10-19 21:46:58 +02:00
lsiepel 11a716dfbe
[ecobee] adapt to core StringUtils (#15762)
* adapt to core StringUtils

---------

Signed-off-by: Leo Siepel <leosiepel@gmail.com>
2023-10-19 21:41:22 +02:00
lsiepel e9431a55bd
[jeelink] adapt to core StringUtils (#15771)
Signed-off-by: Leo Siepel <leosiepel@gmail.com>
2023-10-19 21:41:00 +02:00
lsiepel 5395de2548
adapt to core StringUtils (#15761)
Signed-off-by: Leo Siepel <leosiepel@gmail.com>
2023-10-19 21:32:42 +02:00
jimtng fa94100721
[fronius] Support multiple inverters in powerflow data (#15431)
* [fronius] Support multiple inverters in powerflow data

---------

Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
2023-10-19 18:55:00 +02:00
Konstantin Polihronov 18ae9d46ec
[paradoxalarm] Implement detailed partition state (#14618)
* Implement partition detailed state

---------

Signed-off-by: Konstantin Polihronov <polychronov@gmail.com>
2023-10-19 13:10:20 +02:00
Jacob Laursen b4f367cfd7
Clarify priority message documentation (#15734)
Resolves #15733

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2023-10-19 00:39:17 +02:00
niclas18 d63934bcc5
[homematic] Expansion of virtual data channel for all window/door contacts (#15641)
* make VirtualDatapoint belonging ContactSensor for more devices available

---------

Signed-off-by: niclas18 <87126599+niclas18@users.noreply.github.com>
2023-10-18 22:17:35 +02:00
openhab-bot 8b55f02985
New Crowdin updates (#15775)
* New translations energidataservice.properties (Italian)
* New translations energidataservice.properties (Danish)
* New translations sonos.properties (Italian)
2023-10-18 20:16:10 +02:00
Kai Kreuzer 9a85fca6cb
[ipcamera] Handle empty snapshotUrls and XML encoded characters (#15707)
* [ipcamera] Handle empty snapshotUrls and XML encoded characters
* use unescape method from StringUtils

---------

Signed-off-by: Kai Kreuzer <kai@openhab.org>
2023-10-18 19:00:49 +02:00
Jacob Laursen b92f1a241a
[miele] Rename channel `powerConsumption` to `energyConsumption` and set display unit to litres for `waterConsumption` (#15774)
* Rename channel powerConsumption to energyConsumption and set display unit to litres for waterConsumption

---------

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2023-10-18 12:30:18 +02:00
Jacob Laursen d564eb7bee
Add new channel for reduced electricity tax (#15636)
Resolves #15635

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2023-10-18 08:25:00 +02:00
morph166955 729a19a8da
[roku] Add power, powerState, player, and activeAppName (#15542)
* Adds power and powerState.  Updates refresh to allow 1 second refresh.
* Add activeAppName channel
* Add Player channel for transport control

Signed-off-by: Ben Rosenblum <rosenblumb@gmail.com>
2023-10-18 00:10:17 +02:00
lsiepel 74a9de313a
adapt to core StringUtils (#15772)
Signed-off-by: Leo Siepel <leosiepel@gmail.com>
2023-10-18 00:02:06 +02:00
openhab-bot 5582a9a7ce
New translations chatgpt.properties (Italian) (#15768) 2023-10-17 20:33:45 +02:00
Rosi 76268a76d0
[boschindego] Add note that batteryVoltage is not populated correctly (#15764)
Add a note on how to interpret the `batteryChannel` channel - or rather not to use it at all.
2023-10-17 20:33:16 +02:00
Kai Kreuzer 1e090bddae
[ipcamera] Fix warnings and improve logging (#15703)
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2023-10-17 16:03:25 +02:00
Marcel 7cb94f9238
[miio] Add support Mi Robot Vacuum-Mop 2 Pro (ijai.vacuum.v3) (#14210)
Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2023-10-17 15:57:24 +02:00
Andrew Fiddian-Green a0bc1e0f8b
[hue] Support smart scenes (#15388)
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2023-10-17 14:35:21 +02:00
lsiepel a8c1d0927f
[rme] Remove org.apache.common (#14433)
Signed-off-by: Leo Siepel <leosiepel@gmail.com>
2023-10-17 14:22:05 +02:00
Kai Kreuzer 1fca7bfdc6
[chatgpt] Add support for LocalAI and other compatible services (#15385)
* Add support for LocalAI and other compatible services

--------

Signed-off-by: Kai Kreuzer <kai@openhab.org>
2023-10-17 12:30:52 +02:00
Hakan Tandogan 062f7b13eb
[tesla] regenerate i18n file (#15767)
Signed-off-by: Hakan Tandogan <hakan@tandogan.com>
2023-10-17 09:33:22 +02:00
billfor 118afa31fd
[tesla] Fix update timestamp and null exception for offline state (#15756)
Signed-off-by: Bill Forsyth <git@billforsyth.net>
2023-10-17 07:40:50 +02:00
lsiepel 43f5b216f1
adapt to core StringUtils (#15766)
Signed-off-by: Leo Siepel <leosiepel@gmail.com>
2023-10-16 23:43:00 +02:00
lsiepel 381d8ac93b
[sonos] adapt to core StringUtils (#15765)
* adapt to core StringUtils

---------

Signed-off-by: Leo Siepel <leosiepel@gmail.com>
2023-10-16 23:27:31 +02:00
lsiepel 84db35d656
[exec] Remove org.apache.common (#14443)
Signed-off-by: Leo Siepel <leosiepel@gmail.com>
2023-10-16 22:59:29 +02:00
Jacob Laursen eadfd58cd1
Fix authentication after communication error (#15747)
Fixes #15746

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2023-10-16 20:07:52 +02:00
Timotheos Constambeys d2b3f68d2e
[http] Fix brightness (#15751)
* [http] Fix brightness

---------

Signed-off-by: Timotheos Constambeys <timo0190@gmail.com>
2023-10-15 11:24:18 +02:00
Bernd Weymann 09c596cf7d
State pattern with Percent as default for QuantityType:Dimensionless (#15691)
Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>
2023-10-15 10:48:54 +02:00
Peter Wojciechowski 3c179d3fa7
[lutron] initial submission for RA3 support (#15541)
* [lutron] initial submission for RA3 support
* add parameter to getDevices(), remove getRA3Devices()

---------

Signed-off-by: Peter J Wojciechowski <peterwoj@dwellersoul.com>
2023-10-15 10:41:41 +02:00
Gemertw 57b265574d
Update readme_v2.md (#15656)
Under demo.items the button-last-event channel was of the Number type. I have changed this to String.
In the channels for devices section this was already corrected but is not 'live' yet?

Signed-off-by: Gemertw <59452423+Gemertw@users.noreply.github.com>
2023-10-14 19:35:01 +02:00
Andrew Fiddian-Green 247c0973b6
[hue] Support timed effects (#15408)
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2023-10-14 19:30:15 +02:00
Jacob Laursen 4b0c551065
[hue] Fix channel refresh (API v2) (#15736)
* Fix refresh/initial state request

Fixes #15735

* Fix channel updates when thing comes online
Fixes #15669

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
Also-by: Andrew Fiddian-Green <software@whitebear.ch>
2023-10-14 19:18:52 +02:00
GiviMAD 31101685fc
[jellyfin] Upgrade sdk (#15754)
Signed-off-by: Miguel Álvarez <miguelwork92@gmail.com>
2023-10-14 19:11:25 +02:00
Dan Cunningham e8fd791c38
Fixes broken authentication due to changes in the myq cloud api (#15755)
Signed-off-by: Dan Cunningham <dan@digitaldan.com>
2023-10-14 19:05:47 +02:00
openhab-bot 2d92fda0f2
New translations ahawastecollection.properties (German) (#15742) 2023-10-12 22:53:41 +02:00
Hakan Tandogan 74d55c60e1
[tesla] Add channels for active routing (#15705)
Signed-off-by: Hakan Tandogan <hakan@tandogan.com>
2023-10-12 09:25:00 +02:00
Jacob Laursen bbbc77823b
Add discount tariffs (#15737)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2023-10-12 09:20:52 +02:00
uqs 2797e6f278
[tesla] Remove the minimum 5A charge current limit (#15711)
While the app can't go lower than 5A, the API allows setting values down
to 0A, and at least going to 2-3A can make sense if you want to put
excess solar power into the car without also drawing some from the grid.

Due to the overhead this causes it can be wasteful, so keep logging the
warning about going below 5A.

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

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

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

For the change log, see:

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

For migration notes, see:

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

Fixes #13115

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

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

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

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

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

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

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

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

---------

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

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

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

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

---------

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

---------

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

---------

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

Resolves #15702

---------

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

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

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

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

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

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

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

closing #15639

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

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

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

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

---------

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

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

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

---------

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

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

---------

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

---------

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

---------

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

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

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

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

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

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

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

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

Adding new block types in map parser.
close #15068

* [miio] fix history for newer robot models

closes #11001

---------

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

close #15020

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

Fixes #15433

---------

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

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

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

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

Refs openhab/openhab-core#3792.

Implementation is valid for 4.0 and 4.x snapshot.

Fixes #15567.

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

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

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

Update the list with latest device names

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

* [miio] Update device names list

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

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

---------

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

---------

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

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

Fixes #15564

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

* [Juicenet] Document new writable status of override

---------

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

---------

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

---------

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

Fixes #15511

---------

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

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

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

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

Closes #13525
Closes #14761

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

---------

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

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

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

* correct format issues

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

* add test file for fingerprint codes

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

* Delete openhab-addons.code-workspace

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

---------

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

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

* [gardena] Fix signal strength channel value

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

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

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

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

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