Commit Graph

4518 Commits

Author SHA1 Message Date
Wouter Born
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 Cutrer
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 Laursen
3ca7777422
Fix NullPointerException (#16356)
Resolves #16180

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2024-02-04 12:06:14 +01:00
Cody Cutrer
ad34e64437
[jinja] update jinjava (#16348)
Signed-off-by: Cody Cutrer <cody@cutrer.us>
2024-02-04 12:01:52 +01:00
Cody Cutrer
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
Cody Cutrer
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 Andreych
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 Skinner
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
Olivier
4591f64a3a
enable background discovery (#16328)
Signed-off-by: Olivier Marceau <hollysaiqs@marceau.ovh>
2024-02-04 11:13:47 +01:00
Andrew Fiddian-Green
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ürch
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 Kreuzer
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 Hotze
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
Thomas Karl Pietrowski
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 Pace
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 Cutrer
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-bot
07e9b4d17c
New translations mqtt.properties (Italian) (#16339) 2024-01-30 13:40:34 +01:00
Cody Cutrer
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 Friedrich
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 Michels
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
lsiepel
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 Kreuzer
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 Friedrich
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 Skinner
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
Olivier
2cd961f442
Remove sentence no longer valid (#16327)
Signed-off-by: Olivier Marceau <hollysaiqs@marceau.ovh>
2024-01-26 12:19:31 +01:00
M Valla
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-bot
fda90d1bb2
New translations mqtt.properties (Italian) (#16320) 2024-01-24 22:45:47 +01:00
Jacob Laursen
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 Roeder
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 Friedrich
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 Cutrer
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 Cutrer
f99d9777f0
[mqtt.homeassistant] Update config abbreviations (#16246)
Signed-off-by: Cody Cutrer <cody@cutrer.us>
2024-01-22 20:50:44 +01:00
Jacob Laursen
81ddef8b94
Update third party licenses (#16311)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2024-01-22 13:29:01 +01:00
Holger Friedrich
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 Wicke
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
Andrew Fiddian-Green
6f7b5b5f31
[growatt] Binding for Growatt solar inverters (#15120)
* [growatt] initial contribution

Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2024-01-20 14:25:07 +01:00
Markus Michels
9e1f87db86
[shelly] improved logging on WebSocket connection problems (#16303)
* Improve logging on WebSocket connection problems

Signed-off-by: Markus Michels <markus7017@gmail.com>
2024-01-19 21:58:18 +01:00
Florian Hotze
4870083c76
[yamahamusiccast] Add discovery information (#16231)
* [yamahamusiccast] Add discovery information

Seems like Yamaha is using uppercase `YAMAHA CORPORATION` for the manufacturer info of non-MusicCast devices and normal case `Yamaha Corporation` for MusicCast devices.

* [yamaha] Fix REGEXes for Yamaha binding suggestion and improve description

---------

Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
2024-01-19 19:39:12 +01:00
Markus Michels
511244ea2b
make blu gw script more rebust on startup (#16304)
Signed-off-by: Markus Michels <markus7017@gmail.com>
Co-authored-by: markus7017 <markus7017@gmail..com>
2024-01-19 10:53:46 +01:00
David Pace
15642af6b0
[boschshc] Support for Universal Switch I + II (#16274)
* [boschshc] Support for Universal Switch I + II

- add thing type and channel type definitions
- re-generate i18n file
- add constants
- add model classes and enums
- implement service and handlers
- register handlers in factory
- register devices in discovery

closes #16244

Signed-off-by: David Pace <dev@davidpace.de>
2024-01-18 22:43:44 +01:00
stefan-hoehn
bcdb664057
Readme updates for Nanoleaf and Govee (#16292)
* Readme updates for Nanoleaf and Govee

Signed-off-by: Stefan Höhn <mail@stefanhoehn.com>
2024-01-18 22:36:36 +01:00
Markus Michels
a6f9adf6ec
Fix stack overflow when an unknown CoAP Id is detected; Fix innerTemp (#16240)
channel creation for Gen2 devices not having this; Fix sensor
initialization on wakeup; Fix missingf temperature5 description; add
missing relay definition for shellywalldisplay; Some README fixes
2024-01-18 22:05:22 +01:00
J-N-K
06b8c73537
[http] Fix refresh time check and calculation (#16288)
Signed-off-by: Jan N. Klug <github@klug.nrw>
2024-01-17 21:21:30 +01:00
Mark Hilbush
41743e882a
[doorbird] Add support for version 2 encryption scheme (#16297)
* Add support for version 2 encryption scheme

Signed-off-by: Mark Hilbush <mark@hilbush.com>
2024-01-17 21:07:18 +01:00
PLeusmann
95f8d527d7
[influxdb] Add compatibility with InfluxDB Cloud Serverless (#16151)
* Use influx client 4.3.0

Signed-off-by: Philipp Leusmann <pl@byteshift.eu>

* cleanup

Signed-off-by: Philipp Leusmann <pl@byteshift.eu>

* changed log level to debug

Signed-off-by: Philipp Leusmann <pl@byteshift.eu>

* spotless reformat

Signed-off-by: Philipp Leusmann <pl@byteshift.eu>

---------

Signed-off-by: Philipp Leusmann <pl@byteshift.eu>
Co-authored-by: Philipp Leusmann <pl@byteshift.eu>
2024-01-17 21:05:10 +01:00
mlobstein
4548f69000
[vizio] Prevent thing status from bouncing offline (#16291)
* Prevent thing status from bouncing offline

Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
2024-01-17 08:53:52 +01:00
openhab-bot
00577e2cf4
New translations freecurrency.properties (Danish) (#16296) 2024-01-16 21:52:40 +01:00
openhab-bot
4ccda8f1a1
New translations freecurrency.properties (Italian) (#16295) 2024-01-16 18:54:37 +01:00
J-N-K
9400ced25f
[freecurrency] Initial contribution (#16194)
Signed-off-by: Jan N. Klug <github@klug.nrw>
2024-01-15 22:55:14 +01:00
lsiepel
84d4dd3ef4
[network] Add configuration parameter for using iOS wake-up (#16259)
Fixes #9575

Signed-off-by: Leo Siepel <leosiepel@gmail.com>
2024-01-15 22:37:38 +01:00