Commit Graph

4553 Commits

Author SHA1 Message Date
Florian Hotze
15ac04e5cc [openweathermap] Code clean-up (#16369)
* [openweathermap] Remove UV Index Thing

The UV Index API has been retired on 1st April 2021 and replaced by OneCall API 3.0.
Therefore, this Thing is not working anymore and can be removed from the source code.

* [openweathermap] Clean-Up DTOs

- Improve class JavaDoc.
- Remove setters as they are not needed. (All OWM APIs get required the data as query params.)

Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
Signed-off-by: Ciprian Pascu <contact@ciprianpascu.ro>
2025-01-02 09:48:34 +02:00
mlobstein
267063cffe [nuvo] Display album art from MPS4 (#16068)
* Display album art from MPS4
* Display album art from MPS4

---------

Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
Signed-off-by: Ciprian Pascu <contact@ciprianpascu.ro>
2025-01-02 09:48:34 +02:00
Holger Friedrich
207f5ca038 [knx] Fix scale when sending DPT 7.002 or DPT 7.003 (#16395)
* [knx] Fix scale when sending DPT 7.002 or DPT 7.003

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
Signed-off-by: Ciprian Pascu <contact@ciprianpascu.ro>
2025-01-02 09:48:33 +02:00
Holger Friedrich
e96b68d831 [knx] Fix warnings and remove TODOs (#16394)
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
Signed-off-by: Ciprian Pascu <contact@ciprianpascu.ro>
2025-01-02 09:48:33 +02:00
Konstantin Polihronov
0f6ae6506e [solax] Cloud connection support (#16124)
* Initial rearrangement of classes and cloud response in test

Signed-off-by: Konstantin Polihronov <polychronov@gmail.com>
Signed-off-by: Ciprian Pascu <contact@ciprianpascu.ro>
2025-01-02 09:48:33 +02:00
Holger Friedrich
6982f7a058 [knx] Add tests for DPT 9 and DPT 14 (#16402)
* [knx] Add tests for DPT 9 and DPT 14

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

* remove import

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

---------

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
Signed-off-by: Ciprian Pascu <contact@ciprianpascu.ro>
2025-01-02 09:48:33 +02:00
openhab-bot
4ec8ec0973 New translations dolbycp.properties (Italian) (#16401)
Signed-off-by: Ciprian Pascu <contact@ciprianpascu.ro>
2025-01-02 09:48:33 +02:00
Alexander Falkenstern
7af2f56734 Remove duplicated code. (#16393)
Signed-off-by: Alexander Falkenstern <alexander.falkenstern@gmail.com>
Signed-off-by: Ciprian Pascu <contact@ciprianpascu.ro>
2025-01-02 09:48:33 +02:00
Holger Friedrich
6967a7ba71 [knx] Add tests for DPT 5, DPT 6, DPT 8, DPT 13 (#16396)
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
Signed-off-by: Ciprian Pascu <contact@ciprianpascu.ro>
2025-01-02 09:48:33 +02:00
Roland Tapken
1ed690d27b [dolbycp] Initial Contribution (#16216)
* Added new binding dolbycp

Signed-off-by: Roland Tapken <dev@cybso.de>
Signed-off-by: Ciprian Pascu <contact@ciprianpascu.ro>
2025-01-02 09:48:33 +02:00
Chiuaua79
7eb8030659 [Meteostick] Add windvane calibration (#16270)
* [Meteostick] Add windvane calibration
* [Meteostick] Added daily rain accumulation

Signed-off-by: Cor Hoogendoorn <chiuaua@hotmail.com>
Signed-off-by: Ciprian Pascu <contact@ciprianpascu.ro>
2025-01-02 09:48:33 +02:00
Henrik Tóth
c46c4ade31 [solax] Add support for Solax X3MIC / G2 inverter and workmode channel (#16248)
* Support for Solax X3MIC / G2 inverter, and workmode channel for the existing X1, X3 also
* Add update instructions and make raise the target version to 1
* Refactor the workmode to be enum instead of string constants

Signed-off-by: Henrik Tóth <realthk@gmail.com>
Signed-off-by: Konstantin Polihronov <polychronov@gmail.com>
Signed-off-by: Leo Siepel <leosiepel@gmail.com>
Signed-off-by: Ciprian Pascu <contact@ciprianpascu.ro>
2025-01-02 09:48:33 +02:00
openhab-bot
c165596722 New translations androidtv.properties (Italian) (#16390)
Signed-off-by: Ciprian Pascu <contact@ciprianpascu.ro>
2025-01-02 09:48:33 +02:00
Markus Michels
a47f5fd0fc Re-adding missing Plus10V to list of supported things (#16391)
Signed-off-by: Markus Michels <markus7017@gmail.com>
Signed-off-by: Ciprian Pascu <contact@ciprianpascu.ro>
2025-01-02 09:48:33 +02:00
morph166955
7327d56adc [androidtv] Add PhilipsTV protocol
Signed-off-by: Ben Rosenblum <rosenblumb@gmail.com>
Signed-off-by: morph166955 <53797132+morph166955@users.noreply.github.com>
Signed-off-by: Ciprian Pascu <contact@ciprianpascu.ro>
2025-01-02 09:48:33 +02:00
Marcel
8fff2d15c1 [miio] Fix last cleaning details end missing (#16388)
Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
Signed-off-by: Ciprian Pascu <contact@ciprianpascu.ro>
2025-01-02 09:48:32 +02:00
Marcel
4d286438c8 [miio] Fix emtpy command sending for feature channels (#16384)
closes #15994

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
Signed-off-by: Ciprian Pascu <contact@ciprianpascu.ro>
2025-01-02 09:48:32 +02:00
joerg1985
3507b77ca9 [rrd4j] Reuse the state for identical values (#16379)
Signed-off-by: Jörg Sautter <joerg.sautter@gmx.net>
Signed-off-by: Ciprian Pascu <contact@ciprianpascu.ro>
2025-01-02 09:48:32 +02:00
Marcel
56a4ca07e7 [miio] Fix date parsing issue last cleaning details (#16380)
https://community.openhab.org/t/miio-binding-roborock-s4max-no-longer-getting-last-cleaning-details/153260/3

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
Signed-off-by: Ciprian Pascu <contact@ciprianpascu.ro>
2025-01-02 09:48:32 +02:00
Wouter Born
3c88bd1a33 [network] Improve threading (#16315)
* [network] Improve threading

* Use timeouts with CompletableFutures
* Use seperate executor when waiting for results
* Catch exceptions when joining CompletableFutures
* Stop previous detection when starting a new one

Fixes #16305

Signed-off-by: Wouter Born <github@maindrain.net>
Signed-off-by: Ciprian Pascu <contact@ciprianpascu.ro>
2025-01-02 09:48:32 +02:00
J-N-K
15fa99e138 [knx] Fix dimmer channels (#16364)
* [knx] Fix dimmer channels

Signed-off-by: Jan N. Klug <github@klug.nrw>
Signed-off-by: Ciprian Pascu <contact@ciprianpascu.ro>
2025-01-02 09:48:32 +02:00
lucaarn
1521e25ab9 [evcc] Adjust to evcc version 0.123.1 (#16114)
* updated url of setTargetEnergy and setTargetSoC to match evcc version 0.123.1
* removed minSoc from Loadpoint (since evcc 0.123.0 part of vehicle)
* renamed from targetEnergy to limitEnergy to match new evcc version
* renamed from targetSoC to limitSoC to match new evcc version
* plementation of vehicle object to match new evcc version 0.123.1 -> new implementation of minSoC and plans (served by new api)

Signed-off-by: Luca Arnecke <luca@arnecke.name>
Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
Signed-off-by: Michael Weger <weger.michael@gmx.net>
Co-authored-by: Florian Hotze <florianh_dev@icloud.com>
Co-authored-by: Michael Weger <weger.michael@gmx.net>
Signed-off-by: Ciprian Pascu <contact@ciprianpascu.ro>
2025-01-02 09:48:32 +02:00
Andrew Fiddian-Green
bd97a633f9 [growatt] change battery display channel unit to volt (#16377)
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
Signed-off-by: Ciprian Pascu <contact@ciprianpascu.ro>
2025-01-02 09:48:32 +02:00
jimtng
737b9ceebc [influxdb] Standardize the label for influxdb (#16373)
Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
Signed-off-by: Ciprian Pascu <contact@ciprianpascu.ro>
2025-01-02 09:48:32 +02:00
Markus Michels
b729f443ff Fix check to avoid crash (#16371)
Signed-off-by: Markus Michels <markus7017@gmail.com>
Signed-off-by: Ciprian Pascu <contact@ciprianpascu.ro>
2025-01-02 09:48:32 +02:00
M Valla
17f5a069a7 [openwebnet] Replace gnu.io dependency with serial transport (#16376)
Signed-off-by: Massimo Valla <mvcode00@gmail.com>
Signed-off-by: Ciprian Pascu <contact@ciprianpascu.ro>
2025-01-02 09:48:32 +02:00
joerg1985
b2737becd6 Improved querying the RRD4jPersistenceService (#16360)
Signed-off-by: Jörg Sautter <joerg.sautter@gmx.net>
Signed-off-by: Ciprian Pascu <contact@ciprianpascu.ro>
2025-01-02 09:48:32 +02:00
Patrick
9470d21550 [boschshc] Add support for Smoke Detector II (#16357)
Signed-off-by: Patrick Gell <patgit023@gmail.com>
Signed-off-by: Ciprian Pascu <contact@ciprianpascu.ro>
2025-01-02 09:48:32 +02:00
GiviMAD
3d0d115260 [Audio] Fix PCM format and use PipedAudioStream in sources (#16111)
* [Audio] Fix pcm format and use PipedAudioStream
* fix rustpotter format changes

---------

Signed-off-by: Miguel Álvarez <miguelwork92@gmail.com>
Signed-off-by: Ciprian Pascu <contact@ciprianpascu.ro>
2025-01-02 09:48:32 +02:00
Stefan Triller
999a1f9a1c [squeezebox] Fix notification sometimes plays last playlist item first (#16368)
Fixes #16367

Signed-off-by: Stefan Triller <github@stefantriller.de>
Signed-off-by: Ciprian Pascu <contact@ciprianpascu.ro>
2025-01-02 09:48:31 +02:00
Markus Michels
4a5df24381 Support for Shelly Plus Mini Gen 3 series of devices, Shelly Plus UNI (#16335)
and Shelly BLU Gateway.

Signed-off-by: Markus Michels <markus7017@gmail.com>
Signed-off-by: Ciprian Pascu <contact@ciprianpascu.ro>
2025-01-02 09:48:31 +02:00
Wouter Born
23d2712832 Remove readme.txt from transformation bundles (#16366)
Signed-off-by: Wouter Born <github@maindrain.net>
Signed-off-by: Ciprian Pascu <contact@ciprianpascu.ro>
2025-01-02 09:48:31 +02:00
Wouter Born
b319a82cf9 [jsonpath] Upgrade dependencies and some cleanup (#16365)
* Upgrade json-path from 2.5.0 to 2.9.0
* Cleanup code
* Fix all SAT findings

Fixes CVE-2023-1370 and CVE-2023-51074

For json-path release notes, see:

https://github.com/json-path/JsonPath/releases

Signed-off-by: Wouter Born <github@maindrain.net>
Signed-off-by: Ciprian Pascu <contact@ciprianpascu.ro>
2025-01-02 09:48:31 +02:00
Cody Cutrer
c53e09cf68 [mqtt.generic] default STOP to null for rollershutter channel (#16345)
Closes #16276

This is how it mostly works already anyway

Signed-off-by: Cody Cutrer <cody@cutrer.us>
Signed-off-by: Ciprian Pascu <contact@ciprianpascu.ro>
2025-01-02 09:48:31 +02:00
Jacob Laursen
509f7acf64 Fix NullPointerException (#16356)
Resolves #16180

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
Signed-off-by: Ciprian Pascu <contact@ciprianpascu.ro>
2025-01-02 09:48:31 +02:00
Cody Cutrer
2813c60acc [jinja] update jinjava (#16348)
Signed-off-by: Cody Cutrer <cody@cutrer.us>
Signed-off-by: Ciprian Pascu <contact@ciprianpascu.ro>
2025-01-02 09:48:31 +02:00
Cody Cutrer
2c5d803489 [jinja] disable failOnUnknownTokens (#16347)
Home Assistant doesn't enable strict mode, so we shouldn't either

Signed-off-by: Cody Cutrer <cody@cutrer.us>
Signed-off-by: Ciprian Pascu <contact@ciprianpascu.ro>
2025-01-02 09:48:31 +02:00
Cody Cutrer
1e35a90c09 [plex] add ratingKey channels (#16343)
* [plex] add ratingKey channels

useful for automations related to exactly what's playing, to avoid
having to lookup based on title (which may not be unique)

---------

Signed-off-by: Cody Cutrer <cody@cutrer.us>
Co-authored-by: mlobstein <github@lobstein.org>
Signed-off-by: Ciprian Pascu <contact@ciprianpascu.ro>
2025-01-02 09:48:31 +02:00
Oleg Andreych
68fa26ce5d [groovyscripting] Described a way for code reuse (#16361)
Signed-off-by: Oleg Andreych <kjiec4@gmail.com>
Signed-off-by: Ciprian Pascu <contact@ciprianpascu.ro>
2025-01-02 09:48:31 +02:00
Matthew Skinner
0c2b95e48f Allow ONVIF to come online if they dont support events. (#16332)
Remove commented out code.

Signed-off-by: Matthew Skinner <matt@pcmus.com>
Signed-off-by: Ciprian Pascu <contact@ciprianpascu.ro>
2025-01-02 09:48:31 +02:00
Olivier
769e3c44c0 enable background discovery (#16328)
Signed-off-by: Olivier Marceau <hollysaiqs@marceau.ovh>
Signed-off-by: Ciprian Pascu <contact@ciprianpascu.ro>
2025-01-02 09:48:31 +02:00
Andrew Fiddian-Green
8e7881954b [growatt] Suggest addon to be installed (#16319)
* [growatt] Suggest addon
* [growatt] fix read me formatting errors

---------

Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
Signed-off-by: Ciprian Pascu <contact@ciprianpascu.ro>
2025-01-02 09:48:30 +02:00
Rouven Schürch
55f02c6595 [digitalstrom] Fix initialization of temperature control devices (#16352)
* Fix UnsupportedOperation thrown when adding an element to a fixed-size list. Fixes #10649
* removed static modifier on SUPPORTED_EVENTS and made the field a normal member

Signed-off-by: Rouven Schürch <r.schuerch@gmx.ch>
Signed-off-by: Ciprian Pascu <contact@ciprianpascu.ro>
2025-01-02 09:48:30 +02:00
Kai Kreuzer
f25c6f17b8 [knx] Correctly support state sub-types for DPTs (#16337)
Signed-off-by: Kai Kreuzer <kai@openhab.org>
Signed-off-by: Ciprian Pascu <contact@ciprianpascu.ro>
2025-01-02 09:48:30 +02:00
Florian Hotze
712edea9fc [jsscripting] Upgrade openhab-js to 4.8.1 (#16353)
* [jsscripting] Upgrade openhab-js to 4.8.0

Changelog: https://github.com/openhab/openhab-js/blob/main/CHANGELOG.md#480

Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
Signed-off-by: Ciprian Pascu <contact@ciprianpascu.ro>
2025-01-02 09:48:30 +02:00
Thomas Karl Pietrowski
1f63d0f21a [modbus.studer] Some little markdown and grammar corrections (#16324)
* modbus.studer: Some little markdown and grammar corrections

Signed-off-by: Thomas Karl Pietrowski <thopiekar@gmail.com>

Co-authored-by: lsiepel <leosiepel@gmail.com>
Signed-off-by: Thomas Karl Pietrowski <thopiekar@gmail.com>
Signed-off-by: Ciprian Pascu <contact@ciprianpascu.ro>
2025-01-02 09:48:30 +02:00
David Pace
5148f78829 [boschshc] fix wrong config description references (#16342)
wrong references were introduced during copy & paste from the previous
thing type definition

Signed-off-by: David Pace <dev@davidpace.de>
Signed-off-by: Ciprian Pascu <contact@ciprianpascu.ro>
2025-01-02 09:48:30 +02:00
Cody Cutrer
4208400baf [jpa] Do not log failure to persist item with duplicate timestamp as error (#15978)
* [jpa] ignore EntityExistsException

in case the user manually added a UNIQUE constraint to the database,
openHAB might send duplicate timestamps.

effectively this means the first attempt is kept, while others are
dropped. as long as you're using sub-second timestamps, this shouldn't
be an issue - the state updates truly should be duplicates

Signed-off-by: Cody Cutrer <cody@cutrer.us>
Signed-off-by: Ciprian Pascu <contact@ciprianpascu.ro>
2025-01-02 09:48:30 +02:00
openhab-bot
ba3c98438d New translations mqtt.properties (Italian) (#16339)
Signed-off-by: Ciprian Pascu <contact@ciprianpascu.ro>
2025-01-02 09:48:30 +02:00
Cody Cutrer
c001db5c78 [mqtt] Treat incoming empty string as NULL for most types (#16307)
* [mqtt] Treat incoming empty string as NULL for most types

Empty strings are often received when deleting retained topics when a device
goes offline, or as the result of a transformation that is missing
a value (such as a "scene" event from zwave-js-ui, which sends JSON with
a timestamp and the scene value, then immediately sends a value to the topic
with only a timestamp).

For string channels, add a configuration value to allow setting a specific
string for treating as NULL, since empty string can make sense for that
type.

Signed-off-by: Cody Cutrer <cody@cutrer.us>
Signed-off-by: Ciprian Pascu <contact@ciprianpascu.ro>
2025-01-02 09:48:30 +02:00