Commit Graph

3383 Commits

Author SHA1 Message Date
Holger Friedrich 4f1dd5792f
[knx] FT12: Autodetect cEMI on Weinzierl devices (#14454)
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2023-02-21 19:36:52 +01:00
msteigenberger 1a01a0e021
[smartmeter] Test fix (#13907)
Signed-off-by: Matthias Steigenberger <matthias.steigenberger@gmail.com>
2023-02-21 16:26:44 +01:00
mlobstein 7c20a4804a
[vizio] Improve handling of TV's self-signed certificate (#14429)
Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
2023-02-21 15:58:48 +01:00
lolodomo 8c56a0f0b3
[volvooncall] Adjust thread name for HTTP client (#14469)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2023-02-20 21:47:46 +01:00
lolodomo cb160bdf63
[somfytahoma] Call createHttpClient with a SslContextFactory parameter (#14467)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2023-02-20 20:33:56 +01:00
lolodomo dbfdcfb96e
[remoteopenhab] Call createHttpClient with a SslContextFactory parameter (#14465)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2023-02-20 20:32:55 +01:00
lolodomo e33ce1b987
[linky] Call createHttpClient with a SslContextFactory parameter (#14464)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2023-02-20 20:32:09 +01:00
lolodomo d33f6916d2
[nanoleaf] Stop the HTTP client when disposing the thing handler (#14459)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2023-02-20 20:28:27 +01:00
lolodomo 1f877cae6d
[yioremote] Stop the web socket client when disposing thing handler (#14340)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2023-02-20 12:39:03 +01:00
David Pace 8306210a13
[boschshc] Add unit tests (#14426)
Signed-off-by: David Pace <dev@davidpace.de>
2023-02-20 08:56:29 +01:00
Mark Hilbush 5bb3f834d4
[sleepiq] Add new channels (#14447)
Signed-off-by: Mark Hilbush <mark@hilbush.com>
2023-02-19 22:53:35 +01:00
lsiepel 8e4a2b14ac
[elerotransmitterstick] Remove apache.commons (#14405)
Signed-off-by: lsiepel <leosiepel@gmail.com>
2023-02-19 22:16:32 +01:00
lsiepel 46f9d5eab7
[neato] Remove org.apache.common (#14415)
Signed-off-by: lsiepel <leosiepel@gmail.com>
2023-02-19 22:04:49 +01:00
lsiepel 5331615359
[nibeuplink] Remove org.apache.common (#14416)
Signed-off-by: lsiepel <leosiepel@gmail.com>
2023-02-19 21:56:55 +01:00
lsiepel 07b8fbe26b
[upnpcontrol] Multiple codestyle fixes (#14451)
Signed-off-by: lsiepel <leosiepel@gmail.com>
2023-02-19 21:55:46 +01:00
lsiepel b570a454b0
[sonos] Fix remaining org.apache.common (#14450)
Signed-off-by: lsiepel <leosiepel@gmail.com>
2023-02-19 21:51:00 +01:00
lsiepel 77f73345d2
[km200] Remove org.apache.commons (#14411)
Signed-off-by: lsiepel <leosiepel@gmail.com>
2023-02-19 21:42:33 +01:00
lsiepel d168d045bf
[phc] Remove import org.apache.common (#14422)
Signed-off-by: lsiepel <leosiepel@gmail.com>
2023-02-19 21:34:25 +01:00
lsiepel 07aef8075c
[omnikinverter] Remove org.apache.common (#14418)
Signed-off-by: lsiepel <leosiepel@gmail.com>
2023-02-19 21:19:09 +01:00
lsiepel c3624e7397
[onebusaway] Remove org.apache.common (#14419)
Signed-off-by: lsiepel <leosiepel@gmail.com>
2023-02-19 21:14:16 +01:00
lsiepel dd7bb9c6a2
[onkyo] Remove org.apache.common (#14420)
Signed-off-by: lsiepel <leosiepel@gmail.com>
2023-02-19 21:11:21 +01:00
lsiepel e776680dc2
[pentair] Remove org.apache.common (#14421)
Signed-off-by: lsiepel <leosiepel@gmail.com>
2023-02-19 21:07:59 +01:00
lolodomo fa87a1b2f4
[mycroft] Adjust thread name for web socket client (#14342)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2023-02-19 20:59:18 +01:00
lolodomo b0eaa9effc
[deconz] Adjust thread name for web socket client (#14343)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2023-02-19 20:58:14 +01:00
lolodomo 8c09334943
[gardena] Adjust thread name for WEB clients (avoid IAE) (#14349)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2023-02-19 20:56:59 +01:00
lolodomo e0a3ca2f9b
[tesla] Normalize thread names and avoid a possible IAE (#14351)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2023-02-19 20:55:16 +01:00
lsiepel 43232dae2e
[smartmeter] Remove org.apache.common (#14436)
Signed-off-by: lsiepel <leosiepel@gmail.com>
2023-02-19 20:47:42 +01:00
lsiepel 22ccde016d
[sonos] Remove org.apache.common (#14438)
Signed-off-by: lsiepel <leosiepel@gmail.com>
2023-02-19 20:43:01 +01:00
lsiepel 833578b0e9
[upnpcontrol] Remove org.apache.common (#14439)
Signed-off-by: lsiepel <leosiepel@gmail.com>
2023-02-19 20:42:01 +01:00
lsiepel 9f7a21cb14
[weathercompany] Remove org.apache.common (#14440)
Signed-off-by: lsiepel <leosiepel@gmail.com>
2023-02-19 20:37:08 +01:00
lsiepel 9828dafdb8
[imperihome] Remove org.apache.common (#14441)
Signed-off-by: lsiepel <leosiepel@gmail.com>
2023-02-19 20:30:58 +01:00
Holger Friedrich f795abbce7
[knx] Replace gnu.io dependency with serial transport (#14051)
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2023-02-19 15:45:42 +01:00
Holger Friedrich 1da2694a17
[marytts] Add bnd to make serviceloader aware of marytts impl (#14064)
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2023-02-19 15:32:01 +01:00
J-N-K 223deffcfd
[jsscripting] Fix node_modules handling (#14398)
Signed-off-by: Jan N. Klug <github@klug.nrw>
2023-02-18 19:53:33 +01:00
Jacob Laursen f3d48681b0
[semsportal] Fix exception due to invalid thing status update (#14387)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2023-02-18 19:13:00 +01:00
Jacob Laursen e62503f8a4
[kostalinverter] Fix exception due to invalid thing status update (#14386)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2023-02-18 19:12:41 +01:00
Jacob Laursen b9a7e1f346
[cbus] Fix exceptions due to invalid thing status updates (#14385)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2023-02-18 19:12:21 +01:00
Jacob Laursen 1bc00a0dd8
[km200] Fix initialization warning: "tried updating the thing status although the handler was already disposed." (#14384)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2023-02-18 19:11:54 +01:00
lsiepel 9a2bfcf0b8
[digitalstrom] code refactoring (#14402)
Signed-off-by: lsiepel <leosiepel@gmail.com>
2023-02-18 18:15:27 +01:00
Mark Hilbush 253b25631f
[sleepiq] Rework cloud API and other enhancements (#14180)
Signed-off-by: Mark Hilbush <mark@hilbush.com>
2023-02-18 16:26:57 +01:00
Kai Kreuzer ce41708622
[lametrictime] Move external library to internal code (#14425)
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2023-02-18 15:01:41 +01:00
Arjen Korevaar 1d34515c34
[openthermgateway] Changed command code from ST to SC for SetClock (#14424)
Signed-off-by: Arjen Korevaar <a.korevaar@mephix.com>
2023-02-17 21:27:21 +01:00
openhab-bot 5b043551d7
New Crowdin updates (#14427) 2023-02-17 19:25:10 +01:00
Jamie Townsend 13202ba573
[solarmax] Support configurable Device Address (#14366)
Signed-off-by: Jamie Townsend <jamie_townsend@hotmail.com>
2023-02-17 14:28:48 +01:00
Mithi83 8274020423
Fix typo (#14410) 2023-02-16 22:44:15 +01:00
J-N-K 5ea0dcbda9
[onewire] Code improvements and bug fixes (#14400)
Signed-off-by: Jan N. Klug <github@klug.nrw>
2023-02-16 18:49:00 +01:00
J-N-K 9a05e9f3b5
[jsscripting] Fix JSScriptFileWatcher not ignoring correct directory (#14393)
Signed-off-by: Jan N. Klug <github@klug.nrw>
2023-02-15 10:33:00 +01:00
Florian Hotze ce2e76d6ee
[jsscripting] Bump openhab-js to 4.0.0 & Clean-Ups (#14375)
Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
2023-02-14 21:19:59 +01:00
Gaël L'hopital 7820c2daa2
[TapoControl] Adding P300 to the list of supported equipments (#14364)
* Adding P300 to the list of supported equipments

Signed-off-by: clinique <gael@lhopital.org>
2023-02-14 12:09:31 +01:00
M Valla bbb4c3e474
[openwebnet] light switch updates are now triggered (#14390)
* [openwebnet] light switch updates are now triggered

Signed-off-by: Massimo Valla <mvcode00@gmail.com>
2023-02-13 22:28:11 +01:00
J-N-K d613641bbd
Adapt addons to core watch service changes (#14004)
Signed-off-by: Jan N. Klug <github@klug.nrw>
2023-02-13 16:37:57 +01:00
J-N-K ed7159c780
[influxdb] Code improvements and enhancements (#14304)
* [influxdb] code improvements

Signed-off-by: Jan N. Klug <github@klug.nrw>
2023-02-13 15:23:05 +01:00
lolodomo 0e246aa313
[lgwebos] Create WEB socket client using OH core method (#14382)
Follow-up PR #14331

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2023-02-13 11:16:05 +01:00
Jacob Laursen b2a4ee42c9
Add connection and countries (#14380)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2023-02-13 09:02:11 +01:00
Florian Hotze d2db49ff67
[jsscripting] Extend mapping of openhab-js classes to native openHAB counterparts (#14335)
Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
2023-02-12 11:53:51 +01:00
Luca Calcaterra a7b30ae3e5
Update README.md (#14372)
fixed some typos and add UDP warning from previous config

Signed-off-by: Luca Calcaterra <calcaterra.luca@gmail.com>
2023-02-11 20:41:07 +01:00
Viktor Koop afaccd1cd1
[boschshc] allow setting the temperature by disabling read-only state of setpoint-temperature (#14081) (#14352)
Signed-off-by: Viktor Koop <viktor.koop@googlemail.com>
2023-02-11 19:04:47 +01:00
Florian Hotze 988fde1aba
[evcc] Fixes & Adjust to more breaking changes from evcc 0.111.x (#14381)
* [evcc] Adjust DTO for renamed activePhases
* [evcc] Correct wrong units for capacities
* [evcc] Fix wrong getter & Reformat

Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
2023-02-10 23:55:23 +01:00
Conte Andrea b384508fe4
fix(12600): wrong startup value for channel failureDiscovered (#14374)
Signed-off-by: Conte Andrea <andrea@conte.com>
2023-02-10 13:14:09 +01:00
lsiepel 2ea0c97dd2
[tr064] Update configuration documentation (#14291)
* i18n + mac per line fix

Signed-off-by: lsiepel <leosiepel@gmail.com>
2023-02-09 00:01:10 +01:00
Wouter Born 2a2f6ffb58
[lifx] Add support for newer downlights (#14362)
Allows for discovering the new downlights (PID 121, 122) and their features.

See: https://github.com/LIFX/products/blob/master/products.json

Signed-off-by: Wouter Born <github@maindrain.net>
2023-02-08 23:50:40 +01:00
openhab-bot 5da73468e5
New Crowdin updates (#14358)
* New translations airquality.properties (Italian)
* New translations adorne.properties (Italian)
* New translations airq.properties (Italian)
* New translations airvisualnode.properties (Italian)
* New translations allplay.properties (Italian)
* New translations amazonechocontrol.properties (Italian)
* New translations amplipi.properties (Italian)
* New translations androiddebugbridge.properties (Italian)
2023-02-06 20:54:05 +01:00
Kai Kreuzer 0d08e38baa
Small doc fixes (#14356) 2023-02-06 16:40:25 +01:00
openhab-bot be6b799ca4
New Crowdin updates (#14344) 2023-02-05 20:49:52 +01:00
Mark Herwege fbbce11cf2
[unifi] guest voucher actions (#14303)
* guest voucher actions

Signed-off-by: Mark Herwege <mark.herwege@telenet.be>
2023-02-05 16:59:51 +01:00
lsiepel bc6a027f9e
[plugwiseha] Added default tags (#14160)
* add default tags

Signed-off-by: lsiepel <leosiepel@gmail.com>
2023-02-04 19:44:06 +01:00
Andreas Berger bd6fe9008a
[fineoffsetweatherstation] Fix java.lang.IllegalMonitorStateException (#14326)
This fix ensures, that the `ReentrantLock::unlock` method is only called, when the Thread is owning the lock.

resolves: #14322

Signed-off-by: Andreas Berger <andreas@berger-freelancer.com>
2023-02-04 18:03:14 +01:00
J-N-K fc57f02fca
[snmp] Upgrades and enhancements (#14330)
* [snmp] Upgrades and enhancements

- bug: improve test stability
- enhancement: add support for UoM
- bug: fix misleading error message
- bug: fix initialization exceptions
- enhancement: Add support for SNMPv3
- enhancement: add opaque value handling

Signed-off-by: Jan N. Klug <github@klug.nrw>
2023-02-04 15:47:30 +01:00
Jacob Laursen 8a4033c95f
Add TLS support (#14331)
Fixes #14309

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2023-02-04 13:08:41 +01:00
WoKe77 c4c89d3c29
[easee] Update README.md - added status values for "state#chargerOpMode" (#14175)
* Update README.md

added status values for "state#chargerOpMode"
2023-02-04 10:54:57 +01:00
Jacob Laursen 6eb6bf7d43
Remove obsoleted author tags (#14333)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2023-02-04 10:07:07 +01:00
Jacob Laursen 218bfa5539
Add UoM support for RSSI channel (#14319)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2023-02-04 09:52:22 +01:00
lolodomo d0f6c2b881
[mail] Make actions names for DSL rules consistent with documentation (#14151)
* [mail] Make actions names for DSL rules consistent with documentation

Keep old names for backward compatibility.
Actions names are now consistent over all rule engines.

* Review comment: use htmlContent as parameter name
* Review comment: make consistent url and urlList parameters

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2023-02-04 09:30:58 +01:00
Jacob Laursen 6ecb9bab29
Add missing binding description (#14332)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2023-02-04 08:56:14 +01:00
fcvuilbak 8197721685
Added MOOD_LIGHT for NOVY Fan (#14298)
Signed-off-by: fcvuilbak <42965756+fcvuilbak@users.noreply.github.com>
2023-02-04 06:17:45 +01:00
mlobstein a8267bc4fb
Fix Essentia G standby mode wake-up (#14321)
Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
2023-02-04 05:53:27 +01:00
lolodomo 03f17019d1
[hue] Retrieve scenes without 10 minutes initial delay (#14289)
Fix #14137

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2023-02-04 00:02:56 +01:00
J-N-K 9deb181e1b
[dmx] Refactor and improve code (#14327)
Also adds null-annotations

Signed-off-by: Jan N. Klug <github@klug.nrw>
(cherry picked from commit 8153032ce07f5bcd7c5b31316ac0d4565126fe72)
2023-02-03 20:41:16 +01:00
Daniel-at-git 4d9bf1cad1
Commit 1d23c32de1 broke sending underscore character in messages (#14204) (#14314)
This PR reverts commit 1d23c32de1 and fix #14204.

Signed-off-by: Daniel Schröter <d.schroeter@gmx.de>
2023-02-02 20:40:57 +01:00
Dave baf077d71d
[omnikinverter] added extra parameters (temperature, AC frequency, AC current, AC voltage and total hours running) (#14244)
* [omnikinverter] Added temperature sensor
* [Omnikinverter] Bugfix for wrong channeltype item-type

Prevents 'Received HTTP PUT request with an invalid item name' when adding items

* [Omnik] Added AC Voltage, Currrent and Frequency and total running hours

Signed-off-by: Dave <leansoft@users.noreply.github.com>
2023-02-02 12:46:46 +01:00
Ilias Ktn a42b92b183
Working PostgreSQL Schema check/fix and set TIMESTAMPTZ to match MySQL defaults (#14294)
Signed-off-by: Ilias Kotinas <henfiber@gmail.com>
2023-02-02 08:27:16 +01:00
Boris Krivonog 93d871a88f
[rrd4j] fixed oom when requesting data and boundary=true (#14292)
* Fixed end date when requesting data using rrd4j and boundary=true

Signed-off-by: Boris Krivonog <boris.krivonog@inova.si>
2023-02-01 21:06:27 +01:00
lolodomo c162e6668d
[hue] Handle unexpected empty response from API (#14297)
Fix #14218

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2023-02-01 20:55:54 +01:00
Mark Hilbush 38fa097594
Fix incorrect i18n tags in addon.xml (#14312)
Signed-off-by: Mark Hilbush <mark@hilbush.com>
2023-02-01 20:27:10 +01:00
Mark Hilbush 96bffaa7b7
Fix i18n in addon.xml (#14310)
Signed-off-by: Mark Hilbush <mark@hilbush.com>
2023-02-01 17:06:51 +01:00
Mark Hilbush 09e85946da
Fix for NumberFormatException when parsing json (#14308)
Signed-off-by: Mark Hilbush <mark@hilbush.com>
2023-01-31 20:52:00 +01:00
openhab-bot 94969e4c5e
New translations jruby.properties (Italian) (#14306) 2023-01-31 19:47:42 +01:00
Kai Kreuzer bfb6091d7b
Fix account going offline every few seconds (#14300)
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2023-01-31 19:35:22 +01:00
Cody Cutrer 9bafedc17b
[jrubyscripting] don't use options for check for updates config boolean (#14299)
Signed-off-by: Cody Cutrer <cody@cutrer.us>
2023-01-31 00:12:48 +01:00
Cody Cutrer 74f22a5325
[jrubyscripting] allow disabling dependency tracking (#13944)
* [jrubyscripting] allow disabling dependency tracking

in case your helper library doesn't support it. or you just don't like
the behavior.

Signed-off-by: Cody Cutrer <cody@cutrer.us>
2023-01-30 23:24:54 +01:00
J-N-K e5e067b79b
[influxdb] Fix re-connection issues (#14296)
Signed-off-by: Jan N. Klug <github@klug.nrw>
2023-01-30 20:04:57 +01:00
lolodomo 9a0d0ba409
[shelly] Cancel the init job when the thing handler is disposed (#14290)
Fix #14032

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2023-01-30 13:24:36 +01:00
Hilbrand Bouwkamp bf105008a1
[unifi] Added channels name and hostname to client things. (#14283)
* [unifi] Added channels name and hostname to client things.

Also some changes related to the guestVoucher changes.

Signed-off-by: Hilbrand Bouwkamp <hilbrand@h72.nl>
2023-01-30 08:59:19 +01:00
lsiepel 15a25db130
[astro] Add option to force event to occur (#14132)
* fix issue 11424

Signed-off-by: lsiepel <leosiepel@gmail.com>
2023-01-29 22:15:38 +01:00
Nils Schnabel 9001ee7426
[fmiweather] HIRLAM → HARMONIE weather model (#13693)
* [FMI] HIRLAM → HARMONIE model

Signed-off-by: Nils Schnabel <git@to.nilsschnabel.de>
Co-authored-by: Sami Salonen <ssalonen@gmail.com>
2023-01-29 19:56:10 +01:00
Andrew Fiddian-Green 178d16c4a0
[velux] Do not use new API on Somfy devices (#14225)
* [velux] revert use of new API for Somfy devices
* [velux] fix compare to wrong value

Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2023-01-29 10:32:33 +01:00
dirkbe 01c38df9a5
[homematic] HUMIDITY and CONTROL_MODE as PaperUI standard channels (#14274)
HomematicIP added humidity and HVAC control mode under new channel
HEATING_CLIMATECONTROL_TRANSCEIVER|HUMIDITY. Those channels won't
show in PaperUI unless "Advanced" is selected. This pull request
adds those channels as standard.

Impacted HomematicIP devices: HmIP-BWTH, HmIP-BWTH24,
HmIPW-STHD, HmIPW-STH, HmIPW-WTH, HmIP-STHD, HmIP-STH, HMIP-WTH,
HmIP-WTH-2, HmIP-WTH-B
The devices HmIP-eTRV* and HmIP-WT only support CONTROL_MODE not
Humidity.

resolves: #11829

Signed-off-by: Dirk Benecke <dirkbe@web.de>
Signed-off-by: Dirk Benecke <dirkbenecke@Dirks-MBP.fritz.box>
2023-01-29 10:25:53 +01:00
lsiepel a58f1269ec
[tibber] Fix NPE on server issues (#14273)
* Fix NPE

Signed-off-by: lsiepel <leosiepel@gmail.com>
2023-01-29 10:24:26 +01:00
Dan Cunningham 9ba3c07d3e
[openhabcloud] Reconnection Fixes (#14251)
* [openhabcloud] Possible connection leak
* Creates thread safe reconnection, reduces unnecessary polling on setup, removes unused variables.
* adds the reconnect settings to the internal socket.io options.
* Up the min reconnect time
* Use @ssalonen sugestion for backoff mins and randomness
* Reconnect after server initiated disconnect
* Remove unhelpful comments

Signed-off-by: Dan Cunningham <dan@digitaldan.com>
2023-01-29 10:21:54 +01:00
Mark Herwege 16f3a3e854
[unifi] Guest wifi vouchers (#14284)
* guest voucher support

Signed-off-by: Mark Herwege <mark.herwege@telenet.be>
2023-01-28 21:30:12 +01:00
igitti aa7580965e
(MyBMW] command "horn-blow" not "horn-low" (#14270)
* MyBMW command "horn-blow" not "horn-low"

The command is "horn-blow" not "horn-low".
Tested with my car: "horn-blow" works, "horn-low" does not.

* (MyBMW] command "light-flash" not "flash-lights"

The command is "light-flash" not "flash-lights".
Tested with my car: "light-flash" works, "flash-lights" does not.
2023-01-28 18:56:02 +01:00
Jacob Laursen 0e65903216
[wemo] Fix stability issues (#14163)
* Stabilize UPnP subscription handling
* Remove unused UpnpService
* Fix integration test

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2023-01-28 09:35:30 +01:00
Cody Cutrer 0312e687ba
[homekit] fix restarted on network interface change (#14226)
a regression caused during the final changes of #13877

Signed-off-by: Cody Cutrer <cody@cutrer.us>
2023-01-28 00:39:19 +01:00
Cody Cutrer f3ca3255a7
[mqtt.homeassistant] support command_template for fan components (#14233)
* [mqtt.homeassistant] support command_template for fan components
* [mqtt.homeassistant] fix field declaration for consistency

Signed-off-by: Cody Cutrer <cody@cutrer.us>
2023-01-28 00:38:38 +01:00
Cody Cutrer 6d5b8a8cf5
[mqtt.homeassistant] add support for DeviceTrigger component (#14234)
Signed-off-by: Cody Cutrer <cody@cutrer.us>
2023-01-28 00:37:45 +01:00
Cody Cutrer d97d212cd1
[mqtt.homeassistant] Mark disabled by default components as advanced channels (#14240)
openHAB doesn't have the concept of "enabled by default", since _everything_
is technically "disabled" until you link it to an item. It seems devices
use disabled by default on less common entities, such as zigbee2mqtt
marking a binary_sensor as a "backup" method to an update entity for
when an update is available, or a sensor as a "backup" method to a
select entity. So in that case, just hiding these channels unless the user
clicks "Show Advanced" seems to map best.

Signed-off-by: Cody Cutrer <cody@cutrer.us>
2023-01-28 00:37:15 +01:00
lolodomo 83c20b0bd6
[rotel] Fix reader thread handling (#14272)
Previous code was not working in Java 17.
A thread should not be started after being interrupted.

Fix #14264

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2023-01-27 13:23:04 +01:00
lsiepel 865c4b8e86
[tibber] Add accumulatedReward channel (#14277)
* Add channel, fix warning

Signed-off-by: lsiepel <leosiepel@gmail.com>
2023-01-27 10:36:40 +01:00
Ilias Ktn 29b17e9c75
Perform upsert on key conflict like the default for MySQL (PostgreSQL >= 9.5) (#14281)
Signed-off-by: Ilias Kotinas <henfiber@gmail.com>
2023-01-27 10:33:11 +01:00
Gaël L'hopital 26d608c8da
Bringing a solution to issue #14256. (#14265)
This solution is not the best but takes in account observations made in issue #13015.

Signed-off-by: clinique <gael@lhopital.org>
2023-01-27 08:49:47 +01:00
TheNinth7 9ddcbb55ad
Update README.md (#14266)
Updated section on shutter position with info on the automatic calibration's reliance on the actuator's automatic stop message, and that for older actuator's manual setting of shutterRun is required.
2023-01-27 08:34:36 +01:00
Florian Hotze f808edf725
[evcc] Adjust to breaking API change & Add new channel (#14245)
* [evcc] Adjust to breaking API changes

Fixes #14231.

See https://github.com/evcc-io/evcc/discussions/5522.

* [evcc] Add battery capacity channel
* [evcc] Version & openHABian note
* [evcc] Use already defined constants in ChannelTypeUIDs
* [evcc] Correct header in evcc.properties

Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
2023-01-23 21:17:39 +01:00
Jacob Laursen fe9f0583b5
Fix some addon.xml issues (#14261)
* Fix some addon.xml issues
* Re-add thing-type binding for Velux
* Prefix thing-type filenames

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2023-01-22 19:22:13 +01:00
Markus Eckhardt 8ee8a1e2ed
[Tibber] Added "today" API channel (#14236)
* Added "today" API channel

Signed-off-by: Markus Eckhardt <github@familie-eckhardt.eu>
2023-01-22 12:25:37 +01:00
Frieso Aeschbacher 4927585f25
[dominoswiss] Fix Bridge-Loading with OH3_3 and OH3_4 (#14172)
* Fix Loading of Bridge with OH3.3

Signed-off-by: Frieso Aeschbacher <frieso.aeschbacher@gmail.com>
2023-01-22 10:49:52 +01:00
schmidmuc 2b6803e506
Update README.md (#14254)
URL for HomeConnect consol was wrong
2023-01-22 00:19:08 +01:00
lolodomo 69fe058eaf
[gree] Remove unneeded i18n entry addon.gree.label (#14253)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2023-01-22 00:17:21 +01:00
Cody Cutrer 00c10e1015
[mqtt.homeassistant] add support for Number and Select components (#14230)
* [mqtt.homeassistant] add support for Select component

closes #13603

Signed-off-by: Cody Cutrer <cody@cutrer.us>
2023-01-21 15:02:49 +01:00
J-N-K 89d0689e36
fix i18n for bindings (#14235)
Also-By: Jacob Laursen <jacob-github@vindvejr.dk>
Signed-off-by: Jan N. Klug <github@klug.nrw>
2023-01-21 12:14:51 +01:00
mlobstein b898bac832
Publish ALLOFF event for use in source rules (#14248)
Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
2023-01-21 11:16:36 +01:00
Cody Cutrer e0adc8da02
[mqtt] fix thread concurrency issue with type provider (#14229)
Signed-off-by: Cody Cutrer <cody@cutrer.us>
2023-01-21 09:59:37 +01:00
lsiepel dd790741a0
[jeelink] Fixed wrong TX22 rain value (#14224)
* Divide instead of multiply
* Remove apache.commons

Signed-off-by: lsiepel <leosiepel@gmail.com>
2023-01-21 09:50:09 +01:00
J-N-K 598a285adf
Fix build after core changes (#14027)
Signed-off-by: Jan N. Klug <github@klug.nrw>
2023-01-20 14:57:42 +01:00
Hilbrand Bouwkamp bd23bcc87d
[unifi] Various stability improvements (#14249)
* [unifi] Various stability improvements

- Fixed bug, causing nullpointer, in devices not reporting voltage/ampere values on PoE ports.
- Added some null checks to avoid having null pointer exceptions.
- Handled timeout exception that is in ExecutionException.
- Improved handling case where server returns data, but it's not from the api, and therefor can't be parsed.
- Improved adding additional text to the error messages by adding the reported exception message too.

Signed-off-by: Hilbrand Bouwkamp <hilbrand@h72.nl>
2023-01-20 13:12:57 +01:00
Christoph Weitkamp a78db1feb2
[rrd4j] Avoid IAE thrown if e.g. invalid start/end time given (#14238)
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2023-01-20 11:58:47 +01:00
Florian Hotze 80094b5e9d
[influxdb] Add docs for usage of self-signed certs (#14228)
* [influxdb] Add docs for usage of self-signed certs

See
https://community.openhab.org/t/influxdb-persistence-doesnt-work-with-s
sl/35409/10?u=florian-h05.

Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
2023-01-15 23:55:42 +01:00
J-N-K 5f8214f08a
Adapt to core changes (addon.xml) (#13289)
Signed-off-by: Jan N. Klug <github@klug.nrw>
2023-01-15 20:31:42 +01:00
Holger Friedrich 0f272d8523
[knx] Fix javadoc errors (#14174)
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2023-01-14 13:02:31 +01:00
lsiepel 649da669ac
Adjust channel min state (#14219)
Signed-off-by: lsiepel <leosiepel@gmail.com>
2023-01-14 12:43:34 +01:00
Jacob Laursen f4268c4964
Improve multicast implementation (#14199)
Fixes #14198

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2023-01-14 12:26:38 +01:00
lsiepel b9bec522ee
[gree] Allow wider temperature range (#14217)
* Fix checkstyle
* Allow wider temp range
* Remaining checkstyle

Signed-off-by: lsiepel <leosiepel@gmail.com>
2023-01-14 12:14:09 +01:00
Gwendal Roulleau d497defe34
[mimictts] Fix ssml and playing from audiosinks using the audio servlet (#14120)
* [mimictts] Fix ssml and playing from an audiosink using the audio servlet

Fix :
- ssml not working
- add an option to store the audio on a file before sending it to openhab. It enables audiosink based on the audio servlet to play the sound (the servlet requires the getClonedStream method, unavailable with a pure streaming approach). The files are stored in the user data directory and deleted as soon as possible (stream close detection).
- fix error with voice name not encoded

Signed-off-by: Gwendal Roulleau <gwendal.roulleau@gmail.com>
2023-01-14 09:39:59 +01:00
Cody Cutrer 0de87b15d2
[homekit] Implement IrrigationSystem Accessory (#14209)
* [homekit] Implement IrrigationSystem

Fairly trivial now, except that a ServiceLabelService has to be added
to the accessory.

Signed-off-by: Cody Cutrer <cody@cutrer.us>
2023-01-13 20:25:06 +01:00
Holger Friedrich ee54882841
Fix SAT warnings (#14214)
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2023-01-13 19:10:59 +01:00
maniac103 4dd60bb442
[homematic] Fix updating enum config values (#14213)
When changing an enum value in the configuration, we used the wrong data
type: while the value in the OH config is a string (the 'option value' -
see HomematicThingHandler::getValueForConfiguration), internally we use
an integer (the 'option index'), so we have to do the option value ->
option index conversion when applying the new value.
This especially was a problem for HM-MOD-EM-8 devices, which check the
CHANNEL_FUNCTION enum value as part of their initialization routine.
When disabling/enabling them after changing the CHANNEL_FUNCTION enum
value, they went offline, because their initialization failed due to a
NumberFormatException (via
HomematicThingHandler::doInitializeInBackground ->
HmChannel::checkForChannelFunctionChange ->
HmChannel::getCurrentFunction)

Signed-off-by: Danny Baumann <dannybaumann@web.de>
2023-01-13 16:25:26 +01:00
Holger Friedrich 4e44de3894
Fix SAT warnings (#14202)
* Fix SAT warnings

- checkstyle.ModifierOrderCheck
- checkstyle.OneStatementPerLineCheck
- checkstyle.NeedBracesCheck
- PMD.UseStandardCharsets
- PMD.UseCollectionIsEmpty
- PMD.UnusedLocalVariable
- PMD.SimplifyBooleanReturns where reasonable, suppress where
readability is better without change
- PMD.SimplifyBooleanExpressions

* Include StandardCharsets

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2023-01-13 08:11:06 +01:00
J-N-K 6aa0dcbc70
[scripting] Adjust to core changes (#14043)
* [scripting] Adjust to core changes

Signed-off-by: Jan N. Klug <github@klug.nrw>
2023-01-12 22:23:20 +01:00
lsiepel bbc885725f
[bsblan] Minor SAT fixes (#14138)
* Minor SAT fixes

Signed-off-by: lsiepel <leosiepel@gmail.com>
2023-01-12 21:07:31 +01:00
Cody Cutrer 32909fa237
[homekit] Add support for TV accessory (#14055)
* [homekit] TV accessory

Now possible since we support multiple secondary services. Just need to explicitly
declare that InputSource is a linked service to a Television, not just a secondary
service.

Note also that since TV and related services have so many mandatary characteristics
that are often static, I introduced a new way to declare characteristics -
via metadata on the service's item. Honestly, I feel like it's a lot cleaner to
have a factory create the mandatory characteristics the same way as the optional
characteristics, and then construct the service ourselves instead of basing the
service on the specific accessory interface. But this commit is already big enough,
I didn't want to go refactoring _all_ of the accessories to do it that way just
yet. This is why I have "unused" metadata characteristic factory methods for
AirQuality, HeaterCooler, and Thermostat - I started to make those configurable
via metadata, then realized they were mandatory characteristics that couldn't
be found from metadata via the current infrastructure.

Signed-off-by: Cody Cutrer <cody@cutrer.us>
2023-01-12 15:29:50 +01:00
Keith T. Garner 03a67d25b1
[bondhome] Add raw speed channel (#14155)
* [bondhome] add raw speed channel

* Add a channel for the raw speed value from the bond api

Signed-off-by: Keith T. Garner <kgarner@kgarner.com>
2023-01-12 07:42:15 +01:00
maniac103 f16f524877
[gardena] Fix server ping timeout logic (#14203)
On server timeouts, it's possible for multiple minutes to elapse
between receiving the last pong on the old connection and attempting to
send the next ping on the new connection. If that time span exceeded 5
minutes, the binding went into a minutely reconnection loop, because it
never attempted to send a ping anymore, which led to lastPong not being
updated anymore.
To fix this, replace the timing dependent timestamp handling by a simple
counter which counts how many consecutive ping attempts didn't receive
an answer, and closing the connection after 5 unsuccessful ping
attempts. That new counter is now also reset whenever the connection is
restarted.

Fixes #14188

Signed-off-by: Danny Baumann <dannybaumann@web.de>
2023-01-11 15:05:19 +01:00
Mark Hilbush 858ff4b244
[squeezebox] Add new channels for additional tags (#14201)
* New channels for additional tags

Signed-off-by: Mark Hilbush <mark@hilbush.com>
2023-01-11 13:56:40 +01:00
lsiepel 38cb030cad
Add accuracy moon tests (#14182)
Signed-off-by: lsiepel <leosiepel@gmail.com>
2023-01-11 08:58:13 +01:00
Mark Hilbush 65816aafd7
Fix for NPE when playerState is null (#14191)
Signed-off-by: Mark Hilbush <mark@hilbush.com>
2023-01-10 15:02:40 +01:00
Andrew Fiddian-Green 72786df044
[velux] tweak read me (#14196)
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2023-01-10 08:14:54 +01:00
Holger Friedrich 0304d74f87
Fix Markdown warnings in README.md (#14187)
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2023-01-09 17:51:12 +01:00
Mark Hilbush 3ba37b431a
[ecobee] Fix issue with UTC and local dates (#14170)
* Correctly handle UTC and local date/times
* Eliminate use of Date class

Signed-off-by: Mark Hilbush <mark@hilbush.com>
2023-01-08 23:35:01 +01:00
Gwendal Roulleau 2c2097d646
[doorbird] Add audiosink (#14122)
* [doorbird] Add audiosink

Add audiosink capability to a doorbird thing

Signed-off-by: Gwendal Roulleau <gwendal.roulleau@gmail.com>
2023-01-08 10:57:04 +01:00
Marcel c24ec070bc
[miio] add support Xiaomi Smart Air Purifier 4 Pro zhimi.airp.vb4 (#13941)
* [miio] add support Xiaomi Smart Air Purifier 4 Pro zhimi.airp.vb4

Adding support for the following models:
* Xiaomi Smart Air Purifier 4 Pro (modelId: zhimi.airp.vb4)
close

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2023-01-07 11:19:12 +01:00
lsiepel de8d78403e
[chromecast] Fix thing go offline after stop command (#14158)
* Restructure commander
* Improve thing status handling on error

Signed-off-by: lsiepel <leosiepel@gmail.com>
2023-01-07 09:51:20 +01:00