Commit Graph
4533 Commits
Author SHA1 Message Date
joerg1985andGitHub eff44960a4 [rrd4j] Reuse the state for identical values (#16379)
Signed-off-by: Jörg Sautter <joerg.sautter@gmx.net>
2024-02-08 07:49:03 +01:00
MarcelandGitHub 8b2148e121 [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>
2024-02-06 20:33:32 +01:00
Wouter BornandGitHub 7a5802b09a [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>
2024-02-06 17:18:02 +01:00
J-N-KandGitHub 8c0db0a4ee [knx] Fix dimmer channels (#16364)
* [knx] Fix dimmer channels

Signed-off-by: Jan N. Klug <github@klug.nrw>
2024-02-05 23:15:54 +01:00
b316096e29 [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>
2024-02-05 20:49:57 +01:00
Andrew Fiddian-GreenandGitHub 23b94d78d6 [growatt] change battery display channel unit to volt (#16377)
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2024-02-05 19:53:38 +01:00
jimtngandGitHub 8955fa2ac2 [influxdb] Standardize the label for influxdb (#16373)
Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
2024-02-05 19:46:24 +01:00
Markus MichelsandGitHub 970b4d3a8f Fix check to avoid crash (#16371)
Signed-off-by: Markus Michels <markus7017@gmail.com>
2024-02-05 19:35:30 +01:00
M VallaandGitHub 3c53e1f08f [openwebnet] Replace gnu.io dependency with serial transport (#16376)
Signed-off-by: Massimo Valla <mvcode00@gmail.com>
2024-02-05 18:16:03 +01:00
joerg1985andGitHub e3d5e5d999 Improved querying the RRD4jPersistenceService (#16360)
Signed-off-by: Jörg Sautter <joerg.sautter@gmx.net>
2024-02-05 10:38:56 +01:00
PatrickandGitHub f45cff82d1 [boschshc] Add support for Smoke Detector II (#16357)
Signed-off-by: Patrick Gell <patgit023@gmail.com>
2024-02-04 22:31:01 +01:00
GiviMADandGitHub 6f93b03d8d [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>
2024-02-04 22:07:54 +01:00
Stefan TrillerandGitHub 1d3e7c883f [squeezebox] Fix notification sometimes plays last playlist item first (#16368)
Fixes #16367

Signed-off-by: Stefan Triller <github@stefantriller.de>
2024-02-04 20:22:23 +01:00
Markus MichelsandGitHub 3fb5e66eb1 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>
2024-02-04 17:17:59 +01:00
Wouter BornandGitHub dd38c237a8 Remove readme.txt from transformation bundles (#16366)
Signed-off-by: Wouter Born <github@maindrain.net>
2024-02-04 14:56:01 +01:00
Wouter BornandGitHub 3ce7fa326f [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>
2024-02-04 14:55:01 +01:00
Cody CutrerandGitHub 235abce531 [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>
2024-02-04 12:16:18 +01:00
Jacob LaursenandGitHub 3ca7777422 Fix NullPointerException (#16356)
Resolves #16180

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2024-02-04 12:06:14 +01:00
Cody CutrerandGitHub ad34e64437 [jinja] update jinjava (#16348)
Signed-off-by: Cody Cutrer <cody@cutrer.us>
2024-02-04 12:01:52 +01:00
Cody CutrerandGitHub 24f54f5552 [jinja] disable failOnUnknownTokens (#16347)
Home Assistant doesn't enable strict mode, so we shouldn't either

Signed-off-by: Cody Cutrer <cody@cutrer.us>
2024-02-04 11:57:54 +01:00
8d8e1693f5 [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>
2024-02-04 11:48:20 +01:00
Oleg AndreychandGitHub 179e9a997a [groovyscripting] Described a way for code reuse (#16361)
Signed-off-by: Oleg Andreych <kjiec4@gmail.com>
2024-02-04 11:22:02 +01:00
Matthew SkinnerandGitHub 8e48c8b12e Allow ONVIF to come online if they dont support events. (#16332)
Remove commented out code.

Signed-off-by: Matthew Skinner <matt@pcmus.com>
2024-02-04 11:19:24 +01:00
OlivierandGitHub 4591f64a3a enable background discovery (#16328)
Signed-off-by: Olivier Marceau <hollysaiqs@marceau.ovh>
2024-02-04 11:13:47 +01:00
Andrew Fiddian-GreenandGitHub 8d9fe0353e [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>
2024-02-04 11:06:27 +01:00
Rouven SchürchandGitHub ef7e03c1c6 [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>
2024-02-03 00:00:00 +01:00
Kai KreuzerandGitHub 7671f4b9b1 [knx] Correctly support state sub-types for DPTs (#16337)
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2024-02-02 20:13:11 +01:00
Florian HotzeandGitHub c9926ccc47 [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>
2024-02-01 10:22:09 +01:00
55f9e4c168 [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>
2024-02-01 08:12:13 +01:00
David PaceandGitHub d592f66c49 [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>
2024-01-31 23:25:30 +01:00
Cody CutrerandGitHub 6bd0c28894 [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>
2024-01-30 22:37:19 +01:00
openhab-botandGitHub 07e9b4d17c New translations mqtt.properties (Italian) (#16339) 2024-01-30 13:40:34 +01:00
Cody CutrerandGitHub 5da9dda3e6 [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>
2024-01-29 23:05:37 +01:00
Holger FriedrichandGitHub d5fc6950dc [knx] postUpdate for contact-control sends to bus (#16263)
contact-control items need to send to the bus like a switch item,
to trigger a state update in the external device.

* Add a new profile for contact-control items
* Add a profile factory and a profile advisor class
* Handle postUpdate like a command and send message on KNX bus

Fixes #16115.

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2024-01-28 21:44:09 +01:00
Markus MichelsGitHubmarkus7017 <markus7017@gmail..com>
bed592c3a4 [shelly] Add check and ThingStatus for local IP issue (APIPA) (#16306)
* Check for local_ip == 169.254.x.xm, which is the result when DHCP IP
assignment failed. Avoid that the binding passes this address to the
device as part of the callback url.

Signed-off-by: Markus Michels <markus7017@gmail.com>

Co-authored-by: markus7017 <markus7017@gmail..com>
2024-01-27 21:58:44 +01:00
lsiepelandGitHub 1716d41b28 [smartmeter] Prevent NumberFormatException (#16183)
* Fix NumberFormatException
* Fix logger comment

---------

Signed-off-by: Leo Siepel <leosiepel@gmail.com>
2024-01-27 20:48:59 +01:00
Kai KreuzerandGitHub 541b40474b [tesla] Adapt calls to new products API endpoint (#16331)
Signed-off-by: Paul Smedley <paul@smedley.id.au>
2024-01-27 20:11:08 +01:00
Holger FriedrichandGitHub e68897c0a1 [knx] Add support for RGBW represented by HSBType (#16078)
Allow lossy conversion from RGBW to HSBType and back instead
of using separate items for RGB and W.
Select via DPT 251.60600.

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2024-01-26 21:57:17 +01:00
Matthew SkinnerandGitHub 5a29d7eb74 [ipcamera] Add white LED controls for Dahua and also Email and Push for Reolink with v20 command support (#16144)
* New reolink channels
* extra channel for Dahua.
* Reolink NPE fix
* Fix LED modes and auto.
* Handle NVR channels for new channels
* add nvr channels to Dahua.

Signed-off-by: Matthew Skinner <matt@pcmus.com>
2024-01-26 15:07:13 +01:00
OlivierandGitHub 2cd961f442 Remove sentence no longer valid (#16327)
Signed-off-by: Olivier Marceau <hollysaiqs@marceau.ovh>
2024-01-26 12:19:31 +01:00
M VallaandGitHub 721476c029 [openwebnet] fixed 2 dotted links in README (#16326)
Currently the links are broken on binding README rendering for OH website

Signed-off-by: Massimo Valla <mvcode00@gmail.com>
2024-01-26 12:16:58 +01:00
openhab-botandGitHub fda90d1bb2 New translations mqtt.properties (Italian) (#16320) 2024-01-24 22:45:47 +01:00
Jacob LaursenandGitHub 152d864f8c Update tariff filter for Ikast El Net (#16317)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2024-01-23 22:46:40 +01:00
Michael RoederandGitHub 3d1c6baf49 Update README.md (#16309)
update on the units. Measured with CMI, Firmware version 1.38.3

Signed-off-by: Michael Roeder <16511595+roednix@users.noreply.github.com>
2024-01-22 23:15:14 +01:00
Holger FriedrichandGitHub e62bcf5db4 [knx] Allow receiving DPT 235.001 (#16094)
* [knx] Allow receiving DPT 235.001

Composed type not yet supported by Calimero, thus only receiving
data is implemented.
Configure DPT 235.001 to receive ActiveEnergy.
Configure DPT 235.61001 to receive Tariff information.

Fixes #15159

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2024-01-22 22:37:46 +01:00
Cody CutrerandGitHub 3ea1451050 [mqtt.homeassistant] Trigger HA devices to update discovery information (#16143)
* [mqtt.homeassistant] Trigger HA devices to update discovery information

Signed-off-by: Cody Cutrer <cody@cutrer.us>
2024-01-22 22:36:53 +01:00
Cody CutrerandGitHub f99d9777f0 [mqtt.homeassistant] Update config abbreviations (#16246)
Signed-off-by: Cody Cutrer <cody@cutrer.us>
2024-01-22 20:50:44 +01:00
Jacob LaursenandGitHub 81ddef8b94 Update third party licenses (#16311)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2024-01-22 13:29:01 +01:00
Holger FriedrichandGitHub ba35e8d84a [knx] DPT 1 to support Switch and Contact (#16238)
* Allow assigning Switch or Contact to most of the DPT 1 subtypes
(exceptions 1.008 UpDownType, 1.010 StopMoveType, 1.022 DecimalType).
* Tests for all published subtypes for DPT 1.
* Fix sending of DPT 1.022.

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2024-01-21 21:43:21 +01:00
Christian WickeandGitHub 73402f691c reconnect without loosing commands on broken idle connection (#16299)
Signed-off-by: Christian Wicke <github@c.fg9.eu>
2024-01-20 14:28:52 +01:00