Commit Graph

3563 Commits

Author SHA1 Message Date
GiviMAD
9a6b23fbec
[voskstt] Upgrade library (#14625)
Signed-off-by: Miguel Álvarez <miguelwork92@gmail.com>
2023-03-18 07:32:58 +01:00
Jacob Laursen
4d47f33012
Initial contribution (#14529)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2023-03-17 22:06:06 +01:00
Holger Friedrich
aae63e9488
[knx] Refactoring of KnxCoreTypeMapper and UOM Support (#14534)
* [knx] Refactoring, add basic support for UOM

Preparation for refactoring KnxCoreTypeMapper.
Carryover from smarthomej/addons#107.
Merge UOM implementations.

* [knx] Adapt tests

DPT strings for QuantityType now strip off a tailing .0 when decimals
are converted.

* [knx] Refactoring

Use pattern matching with instanceof operator (new Java17 feature).

* [knx] Refactoring, performance improvements

Introduce KNXChannel class.
Carryover from smarthomej/addons#114.

* [knx] Add warning for incompatible DPT type

Configuring incompatible DPT/channel combinations (e.g. DPT 1.005 (alarm) on Contact channels
or DPT 1.019 (windows/door) on Switch channels) is not allowed but was silently ignored.
This PR adds a warning in case incompatible configurations are detected.

Carryover from smarthomej/addons#203.

* [knx] Add full support for UoM

Replace UoM handling with the implementation from smarthome/j.
Carryover from smarthomej/addons#206.

* [knx] Refactor KNXCoreTypeMapper, add RGBW and xyY

Carryover from smarthomej/addons#208.

* [knx] Fix RGB conversion

Carryover from smarthomej/addons#219.

* [knx] Remove workarounds obsoleted by Calimero 2.5

Carryover from smarthomej/addons#226.

* [knx] Add parameter for disabling incoming UoM

Carryover from smarthomej/addons#230.

* [knx] Fix fallback to DecimalType in number conversion

Carryover from smarthomej/addons#279.

* [knx] Fix DPT 251.600 decoding

Carryover from smarthomej/addons#349.

* [knx] Fix UoM handling for special types
* [knx] Add test for KNXChannelFactory
* [knx] Update CODEOWNERS for knx
* [knx] Default conversion for DPT 5.001 and 6.001
* [knx] Fix write blocked forever after read from bus

Carryover from smarthomej/addons#299 and smarthomej/addons#330.

* [knx] Use new class ColorUtil from core for HSB conversion

Also-by: Jan N. Klug <github@klug.nrw>
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2023-03-17 12:50:13 +01:00
Mark Hilbush
b395d0e227
Fix typo (#14607)
Signed-off-by: Mark Hilbush <mark@hilbush.com>
2023-03-15 16:41:49 +01:00
Mark Hilbush
d4b68b2df4
Fix for NPE when getting network interface name (#14603)
Signed-off-by: Mark Hilbush <mark@hilbush.com>
2023-03-14 22:32:03 +01:00
Stian Kjoglum
596324635d
Add channel for lastMeterProduction (#14583)
Signed-off-by: kjoglum <stiankj@online.no>
2023-03-14 08:34:48 +01:00
openhab-bot
a6a801c28f
New Crowdin updates (#14597)
* New translations openweathermap.properties (Italian)
* New translations netatmo.properties (Italian)
* New translations qolsysiq.properties (Italian)
* New translations astro.properties (German)
* New translations astro.properties (Italian)
* New translations danfossairunit.properties (Danish)
2023-03-13 22:22:53 +01:00
Doug Culnane
b3d3d20b8b
[renault] Improve handling of HTTP 502 responses. (#14586)
Signed-off-by: Doug Culnane <doug@culnane.net>
2023-03-13 07:51:27 +01:00
Wouter Born
9aa72abd82
Resolve runbundles and fix tests (#14588)
Related to:

* openhab/openhab-core#3433
* openhab/openhab-core#3446
* openhab/openhab-core#3450

Some tests were updated because private lifecycle methods (annotated with @BeforeAll, @AfterAll, @BeforeEach, or @AfterEach) now lead to an exception.

See: https://junit.org/junit5/docs/current/release-notes/index.html#deprecations-and-breaking-changes-3

Signed-off-by: Wouter Born <github@maindrain.net>
2023-03-12 23:00:58 +01:00
Kai Kreuzer
9fedfc5d61
[metrics] Remove outdated precondition (#14594) 2023-03-12 22:01:08 +01:00
Wouter Born
2b63b984dc
[shelly] Fix missing /shelly/manager (#14592)
Using Whiteboard annotations seems to fix this issue.

Signed-off-by: Wouter Born <github@maindrain.net>
2023-03-12 20:42:12 +01:00
openhab-bot
6e0fe0e0ad
New translations bluetooth.properties (Italian) (#14591) 2023-03-12 19:29:46 +01:00
Jacob Laursen
63c65e72de
[danfossairunit] Unify thing labels (#14577)
* Unify thing labels
* Specify connection type

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2023-03-12 17:33:28 +01:00
joerg1985
709dc49fbe
Support for RadonEye with v2.x.x firmware (#14549)
Signed-off-by: Jörg Sautter <joerg.sautter@gmx.net>
2023-03-12 10:48:45 +01:00
Wouter Born
59b3ed33df
[groovyscripting] Update Groovy to 4.0.9 and support slurpers (#14499)
Updates Groovy from 4.0.7 to 4.0.9.

For release notes, see:

https://groovy-lang.org/changelogs/changelog-4.0.8.html
https://groovy-lang.org/changelogs/changelog-4.0.9.html

Adds dependencies and service loader config so JSON, XML and YAML can be more easily parsed using the JsonSlurper, XmlSlurper and YamlSlurper.

Signed-off-by: Wouter Born <github@maindrain.net>
2023-03-11 21:15:06 +01:00
Stian Kjoglum
ac7993d329
Enhancement: Query for subscription url every reconnect attempt (#14573)
Signed-off-by: kjoglum <stiankj@online.no>
2023-03-11 17:55:42 +01:00
Jacob Laursen
75d195465e
[renault] Add instructions for adding channels (#14572)
* Add instruction for adding channel

---------

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2023-03-11 10:55:49 +01:00
Mike Major
53bbda267f
[dlinksmarthome] Reboot device daily following shutdown of cloud service (#14479)
* Reboot device

---------

Signed-off-by: Mike Major <mike_j_major@hotmail.com>
2023-03-11 10:49:30 +01:00
lsiepel
38915f5009
Remove org.apache.common (#14437)
Signed-off-by: lsiepel <leosiepel@gmail.com>
2023-03-10 23:39:18 +01:00
lsiepel
039e3aa73a
[bsblan] Remove org.apache.commons (#14515)
* Replace org.apache.commons with org.unbescape

Signed-off-by: lsiepel <leosiepel@gmail.com>
2023-03-10 23:37:45 +01:00
fifipil909
8e9bc3124e
[renault] Add channel for pausing/resuming charging (#14527)
* Adding Pause-Resume Endpoint

Signed-off-by: fifipil909 <vincent.pilate@gmail.com>
2023-03-10 23:32:24 +01:00
openhab-bot
505a651992
New translations mynice.properties (Italian) (#14569) 2023-03-10 23:31:26 +01:00
Felix Schneider
13ab221e09
Remove unused headings (#14571)
Remove the unused headings for generation 2. There is probably a manual missing for gen 2, but while this is the case the headlines can be removed

Signed-off-by: Felix Schneider <fs@felix-schneider.org>
2023-03-10 23:31:07 +01:00
Simon Spielmann
f138cd35e2
[iCloud] Ignore HTTP errors != 400 & >= 500 for 2-FA authentication (#14563)
* Ignore HTTP errors != 400 for 2-FA authentication

---------

Signed-off-by: Simon Spielmann <simon.spielmann@gmx.de>
2023-03-10 21:53:35 +01:00
Jacob Laursen
dfb172df2a
Add instruction for channel removal (#14473)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2023-03-10 15:28:52 +01:00
Gaël L'hopital
c385ac0772
[Netatmo] Netatmo documentation (#14567)
* Updating Netatmo documentation

---------

Signed-off-by: clinique <gael@lhopital.org>
2023-03-10 13:17:48 +01:00
Gaël L'hopital
3b5dfb11a0
[mynice] Binding for IT4Wifi module (Nice gate doors) (#12940)
Signed-off-by: clinique <gael@lhopital.org>
2023-03-10 10:33:39 +01:00
Gaël L'hopital
d130595f85
[Netatmo] Modification of the tokenRefresh handling process (#14548)
* Modification of the tokenRefresh handling process
* Storing refreshToken in userdata/netatmo

---------

Signed-off-by: clinique <gael@lhopital.org>
2023-03-10 10:18:30 +01:00
Jacob Laursen
013422af32
Add missing addon.xml (#14559)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2023-03-09 17:19:06 +01:00
Zhivka Dimova
4069d854fb
[enocean] Fix condition in getPositionData-D2_05_00 (#14558)
Fix #14528

Signed-off-by: Zhivka Dimova <zhivka.dimova@myforest.net>
2023-03-09 13:08:36 +01:00
mueller-ma
cc51400bbd
Update docs of androiddebugbridge (#14553)
* Use code fence for intents
* Fix Item type of awake-state
* Pretty print JSON and add Netflix

Signed-off-by: mueller-ma <mueller-ma@users.noreply.github.com>
2023-03-09 08:22:27 +01:00
jimtng
afebf08042
[jrubyscripting] Upgrade JRuby to 9.4.2.0 (#14556)
This is a major version upgrade from 9.3.x, raising the compatibility level up from Ruby 2.6 to Ruby 3.1

Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
2023-03-09 08:19:10 +01:00
Wouter Born
81f87385f6
[neeo] Fix Servlet exceptions due to non-unique names (#14554)
It seems that Pax Web nowadays checks that the Servlet names are unique.

Fixes #14545

Signed-off-by: Wouter Born <github@maindrain.net>
2023-03-08 20:19:13 +01:00
Gaël L'hopital
90b2279a29
[Netatmo] Adding Carbon Monoxide sensor (#14543)
* Added Carbon Monoxide detector

---------

Signed-off-by: clinique <gael@lhopital.org>
2023-03-08 19:27:35 +01:00
Wouter Born
50cdd02447
[ipcamera] Make sure created Servlet supports async (#14552)
Fixes the folowing errors:

```
HTTP ERROR 500 java.lang.IllegalStateException: !asyncSupported: NotAsync:org.ops4j.pax.web.service.spi.servlet.OsgiInitializedServlet@536b0858
URI:	/ipcamera/192168493/ipcamera.jpg
STATUS:	500
MESSAGE:	java.lang.IllegalStateException: !asyncSupported: NotAsync:org.ops4j.pax.web.service.spi.servlet.OsgiInitializedServlet@536b0858
SERVLET:	org.openhab.binding.ipcamera.internal.servlet.CameraServlet
CAUSED BY:	java.lang.IllegalStateException: !asyncSupported: NotAsync:org.ops4j.pax.web.service.spi.servlet.OsgiInitializedServlet@536b0858
Powered by Jetty:// 9.4.50.v20221201
```

See:

* https://community.openhab.org/t/openhab-4-0-snapshot-discussion/142322/226
* https://groups.google.com/g/ops4j/c/E9p7tPydPmo
* https://github.com/ops4j/org.ops4j.pax.web/issues/1767

Signed-off-by: Wouter Born <github@maindrain.net>
2023-03-08 17:20:08 +01:00
lsiepel
5c0b5711a8
[gpstracker] Add (optional) altitude to location channel (#14396)
* Add (optional) altitude to location channel
* Add null annotations
* Extend toString with altitude

Signed-off-by: lsiepel <leosiepel@gmail.com>
2023-03-07 23:23:30 +01:00
Andrew Fiddian-Green
c9d5784d36
[velux] Update documentation (#14478)
* [velux] update documentation

Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2023-03-07 23:17:52 +01:00
Mark Hilbush
dba5550ae6
[sleepiq] Add thing type update instructions (#14460)
* Add thing type update instructions
* Move thingTypeVersion to correct thing type
* Add groupIds to update instructions

Signed-off-by: Mark Hilbush <mark@hilbush.com>
2023-03-07 23:13:18 +01:00
lolodomo
c8cdd2dfa5
[tesla] Stop the WebSocket client when disposing the thing handler (#14483)
Fix #14341

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2023-03-07 20:50:37 +01:00
Cody Cutrer
22b28bf674
[mqtt.generic] separate command parsing from cached value updating (#12238)
* [mqtt.generic] separate command parsing from cached value updating

fixes #12150

Previously, Value.update would parse the command, _and_ update the cached
value with that command. Which means that when sending a command towards
MQTT (instead of processing an update from MQTT), the cached value was
unintentionally updated. This prevented the REFRESH command from returning
the most recent value received from the device.

Separating the two concerns also makes the test more obvious what they are
testing, and vastly simplified a kludgy workaround that RollershutterValue
was using to be able to process Commands that aren't States.

Signed-off-by: Cody Cutrer <cody@cutrer.us>

* [mqtt.generic] split Value::parseCommand into parseMessage

so that a particular value type subclass can have varying implementations
if it desires

---------

Signed-off-by: Cody Cutrer <cody@cutrer.us>
2023-03-07 19:33:17 +01:00
Holger Friedrich
7bd99df364
[knx] Improve reading of device properties (#14050)
* [knx] Improve reading of device properties
* [knx] DD2 logging only in debug mode

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2023-03-07 19:31:39 +01:00
Holger Friedrich
7ec7de55e3
[knx] Improve thread safety, null-analysis (#14509)
Carryover from smarthomej/addons#13 and smarthomej/addons#46, smarthomej/addons#60.

Also-by: Jan N. Klug <github@klug.nrw>
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2023-03-06 22:34:16 +01:00
lsiepel
539f49e4ec
[bluetooth] Null annotations and SAT (#13967)
* null annotation, checkstyle, dependency

Signed-off-by: Leo Siepel <leosiepel@gmail.com>
2023-03-06 09:38:57 +01:00
lsiepel
ca09f71a6c
[bluetooth.bluegiga] Refactored and added null annotations (#13974)
* All SAT warnings

Signed-off-by: Leo Siepel <leosiepel@gmail.com>
2023-03-05 21:29:10 +01:00
openhab-bot
a3c621fffc
New Crowdin updates (#14541)
* New translations iCloud.properties (German)
* New translations miele.properties (German)
* New translations jruby.properties (German)
* New translations mqtt.properties (German)
* New translations influxdb.properties (German)
* New translations homekit.properties (German)
* New translations amazonechocontrol.properties (German)
* New translations amazonechocontrol.properties (German)
2023-03-05 20:25:51 +01:00
J-N-K
6da85a4757
[influxdb] Fix query for InfluxDB2 (#14542)
Signed-off-by: Jan N. Klug <github@klug.nrw>
2023-03-05 16:04:51 +01:00
openhab-bot
ed717c2c95
New Crowdin updates (#14531)
* New translations systeminfo.properties (German)
* New translations tado.properties (German)
* New translations bluetooth.properties (German)
* New translations bluetooth.properties (German)
* New translations mybmw.properties (German)
* New translations gardena.properties (German)
* New translations astro.properties (German)
* New translations avmfritz.properties (German)
* New translations chromecast.properties (German)
* New translations hue.properties (German)
* New translations logreader.properties (German)
* New translations icalendar.properties (German)
* New translations max.properties (German)
* New translations comfoair.properties (German)
* New translations denonmarantz.properties (German)
* New translations deutschebahn.properties (German)
* New translations dwdpollenflug.properties (German)
* New translations ecotouch.properties (German)
* New translations epsonprojector.properties (German)
* New translations exec.properties (German)
* New translations homematic.properties (German)
* New translations hpprinter.properties (German)
* New translations http.properties (German)
* New translations magentatv.properties (German)
* New translations awattar.properties (German)
2023-03-04 17:20:03 +01:00
Jonas Bötsch
2ec097d529
[homekit] Update README.md (#14521)
Tilted blinds do not work when using the documented config. 
Changed it to a working example.
Refer here: https://community.openhab.org/t/homekit-addon-adjustable-blinds-not-working-anymore/144869
2023-03-03 15:12:44 +01:00
lsiepel
36201dd6d1
[plugwise] Remove org.apache.common (#14432)
Signed-off-by: lsiepel <leosiepel@gmail.com>
2023-03-03 15:11:08 +01:00
darthbevis
660ec10d4b
[ecobee] Increase temperature precision to decimal (#14517)
* Update EcobeeUtils.java

Correcting rounding of setHold values so we have 0.1°F tolerance instead of 1°F.  Makes it easier to use in °C

Signed-off-by: darthbevis <darthbevis@gmail.com>
2023-03-02 20:58:34 +01:00
J-N-K
44634a6e89
[exec] Fix whitelist not read (#14522)
Signed-off-by: Jan N. Klug <github@klug.nrw>
2023-03-02 20:57:02 +01:00
Wouter Born
b2bf7256db
Upgrade to Karaf 4.4.3 (#14040)
* Rework Servlets to use Http Whiteboard annotations in favor of proprietary `org.openhab.core.io.http.servlet` classes
* Resolve itest runbundles
* Fix dependency issues
* Catch proper exception when starting hueemulation UpnpServer

Also-by: Jan N. Klug <github@klug.nrw>
Signed-off-by: Wouter Born <github@maindrain.net>
2023-03-01 18:33:50 +01:00
openhab-bot
db436a1dad
New translations rollershutter.properties (Italian) (#14514) 2023-02-27 20:08:51 +01:00
petero-dk
e9a1dd5b27
[bluetooth] Add support for RadonEye (BLE) device (#11958)
Signed-off-by: Peter Obel <peter@ecomerc.com>
2023-02-27 18:59:50 +01:00
Hilbrand Bouwkamp
03e3b6aae2
[dsmr] Improved error handling corrupt messages, discovery additional key bug fix (#14325)
* [dsmr] Improved error handling to better handle corrupt messages.

- Fix incorrect additional key in bridge discovery service.
- When corrupted P1 telegram is received don't set directly to offline, but let the watchdog do this if to many times this happens.
This makes it a bit more lenient for receiving a bad telegram once in a while. Because some connections are not that stable.
- Simplified error handling, and listeners to one enum/interface to make it more cleaner.

Signed-off-by: Hilbrand Bouwkamp <hilbrand@h72.nl>
2023-02-27 17:36:02 +01:00
Gaël L'hopital
c95380f503
[Netatmo] Floodlight issue on Presence Camera (#14492)
* Solving issue #14458

Signed-off-by: clinique <gael@lhopital.org>

* Removes the usage of "app.netatmo.net" since api now holds these entry points.
I think it was the origin of malfunction of floodlight (to be controlled by somebody who has one).

--------

Signed-off-by: clinique <gael@lhopital.org>
2023-02-27 08:59:20 +01:00
jsjames
fe0f49ea63
[rollershutterposition] Initial contribution (#13259)
* Initial contribution

Signed-off-by: Jeff James <jeff@james-online.com>
2023-02-26 22:54:27 +01:00
Holger Friedrich
60d70efce6
[knx] Improve documentation for DPT 1.009 (#14510)
Carryover from smarthomej/addons#73.

Also-by: Jan N. Klug github@klug.nrw

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2023-02-26 18:56:16 +01:00
lsiepel
d3d14d8b04
[ecobee] Alignment according to #14407 (#14506)
Signed-off-by: lsiepel <leosiepel@gmail.com>
2023-02-26 12:22:03 +01:00
lsiepel
8a433bd6c1
[weathercompany] Alignment according to #14407 (#14505)
Signed-off-by: lsiepel <leosiepel@gmail.com>
2023-02-26 12:21:41 +01:00
Holger Friedrich
b023e5ac47
[knx] Fix DPT 3.007 (Control Dimming) for non -control channels (#14504)
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
Also-by: Jan N. Klug <github@klug.nrw>
2023-02-26 12:19:15 +01:00
DeJe63
52d77eabca
[goecharger] Fix command sending (#14494) 2023-02-26 11:45:46 +01:00
Markus Eckhardt
0675a80120
[km200] removed unused configuration URIs (#14488)
Signed-off-by: Markus Eckhardt <github@familie-eckhardt.eu>
2023-02-26 11:17:32 +01:00
Holger Friedrich
984914f1bf
[knx] Remove workaround for DPT 14 (#14503)
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2023-02-26 10:42:26 +01:00
lsiepel
6c7354b49e
[innogysmarthome] Remove org.apache.commons (#14407)
Signed-off-by: lsiepel <leosiepel@gmail.com>
2023-02-26 10:24:46 +01:00
Florian Hotze
726858b4f1
[jsscripting] Upgrade openhab-js to 4.1.0 (#14495)
Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
2023-02-25 10:18:49 +01:00
Mark Herwege
b15d72fb7f
[upnpcontrol] fix shuffle switch also switching only play one (#14490)
Signed-off-by: Mark Herwege <mark.herwege@telenet.be>
2023-02-24 17:20:49 +01:00
Mark Hilbush
cf4bffb9ed
[denonmarantz] Add representation-property to thing-types xml (#14493)
Signed-off-by: Mark Hilbush <mark@hilbush.com>
2023-02-24 17:18:31 +01:00
lsiepel
dd21d92a80
[evohome] Add null annotation and minor refactoring (#13885)
Signed-off-by: Leo Siepel <leosiepel@gmail.com>
2023-02-24 16:08:53 +01:00
J-N-K
cb31f420ff
[tr064] Enhancements, code improvements and fixes (#14468)
Signed-off-by: Jan N. Klug <github@klug.nrw>
2023-02-24 16:06:53 +01:00
lolodomo
561eb84f65
[neohub] Use createWebSocketClient (#14482)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2023-02-24 15:02:54 +01:00
Alex Hermann
7e047b3fc6
[nibeheatpump] nibegw: Fix setting debug verboseLevel (#14461)
Signed-off-by: Alex Hermann <gaaf@gmx.net>
2023-02-23 09:10:31 +01:00
lolodomo
e7b0fc6c14
[daikin] Use createHttpClient (#14481)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2023-02-22 20:48:06 +01:00
lolodomo
20ac69725a
[http] Use createHttpClient (#14480)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2023-02-22 20:37:53 +01:00
lolodomo
6daddb79f2
[tr064] Use createHttpClient (#14476)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2023-02-22 17:29:03 +01:00
lolodomo
fa7e4e7594
[somneo] Use createHttpClient (#14477)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2023-02-22 17:28:02 +01:00
lolodomo
fbf9a9e6a9
[tapocontrol] Use createHttpClient (#14475)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2023-02-22 17:26:47 +01:00
lolodomo
884b5e9e83
[unifi] Use createHttpClient (#14474)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2023-02-22 17:22:31 +01:00
lsiepel
1c35ebcd4e
[ecobee] Remove org.apache.commons (#14403)
Signed-off-by: lsiepel <leosiepel@gmail.com>
2023-02-22 13:50:53 +01:00
Mark Herwege
19db9ee726
[upnpcontrol] Fix javadoc links (#14471)
Signed-off-by: Mark Herwege <mark.herwege@telenet.be>
2023-02-21 21:11:21 +01:00
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
Jacob Laursen
576be1455c
Fix incorrectly formatted license headers (#14171)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2023-01-07 00:01:27 +01:00
Jacob Laursen
896ea13c9e
Fix namespaces for tests (#14156)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2023-01-06 18:56:53 +01:00
lolodomo
d5dd3c9ea3
[sonos] Correct identification of tuneIn started from Alexa (#14164)
Contained URL is now HTTPS instead of HTTP before.

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2023-01-06 16:28:38 +01:00
Cody Cutrer
7608c41484
[homekit] properly expose services from dummy accessories (#14169)
Signed-off-by: Cody Cutrer <cody@cutrer.us>
2023-01-06 16:25:42 +01:00
Mark Hilbush
5655303cf1
Make more channels advanced (#14168)
Signed-off-by: Mark Hilbush <mark@hilbush.com>
2023-01-06 12:49:30 +01:00
Jacob Laursen
4dd6d3a8a2
Update license headers to 2023 (#14154)
* Update copyright year in configuration
* Update license headers

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2023-01-06 09:49:54 +01:00
Doug Culnane
c7fa49bcda
[renault] Add new channels 'batterystatusupdated' and 'locked' (#14076)
Signed-off-by: Doug Culnane <doug@culnane.net>
2023-01-05 23:55:38 +01:00
lsiepel
cb460657eb
[bigassfan] Null annotations (#13903)
* Null annotations and some refactoring
* Fix synchronized block
* Fix remaining warnings

Signed-off-by: Leo Siepel <leosiepel@gmail.com>
2023-01-05 23:08:07 +01:00
Florian Hotze
b91fc94bdb
[jsscripting] Update docs for code caching (#14166)
... and fix the table of contents.

Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
2023-01-05 23:04:07 +01:00
Florian Hotze
1548f16f5e
[hueemulation] Fix tests after core change (#14161)
Fixes #14153.
This fixes the Hue Emulation tests (and in consequence the full addons build) after core change https://github.com/openhab/openhab-core/pull/3298.

Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
2023-01-05 13:28:28 +01:00
Tim Harper
9c5ea29ae0
[homekit] Add additional troubleshooting steps for homekit (#14046)
* [homekit] Add additional troubleshooting steps for homekit

Signed-off-by: Tim Harper <timcharper@gmail.com>
2023-01-04 20:32:29 +01:00
Andrew Fiddian-Green
31fd91129e
[neohub] Recover faster if NeoHub produces empty responses (#13889)
* [neohub] resolve issue #13829
* [neohub] harmonise exceptions and logging
* [neohub] improve field name, and log messages

Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2023-01-04 07:26:22 +01:00
mlobstein
de6ef7e8ae
Implement missing 'Light' device type (#14150)
Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
2023-01-04 07:25:14 +01:00
Cody Cutrer
47f5489d70
[homekit] Improve multiple instance management (#14016)
* [homekit] improve instance management

 * allow addressing individual instances for most console commands
 * don't restart all instances if simply adding/removing instances on
   config change
 * clear stored info when removing instances

* [homekit] reset instance identity when clearing pairings
* [homekit] log the actual interface we looked up

Signed-off-by: Cody Cutrer <cody@cutrer.us>
2023-01-03 23:10:42 +01:00
Florian Hotze
f082df923f
[jsscripting] Fix regressions from #14135 & Log stack on IllegalArgumentException (#14142)
* [jsscripting] Fix bundling of global script & regression from #14135

Fixes the regression from https://github.com/openhab/openhab-addons/pull/14135#issuecomment-1369231126.

While working on this, I also noticed that the cache openhab-js does not work because of wrong webpack commandline args in the pom (wrong entrypoint).

* [jsscripting] Enable stack logging for IllegalArgumentExceptions
* [jsscripting] Upgrade openhab-js to 3.2.4
* [jsscripting] Update README for recent PR

Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
2023-01-03 20:45:23 +01:00
Johannes Velde
7c3fbfdde3
fix typo (#14146)
Signed-off-by: veldhaenchen <jo.velde@gmx.de>
2023-01-03 18:58:19 +01:00
Holger Friedrich
d1634fbc18
[ism8] Fix SAT warnings (#14141)
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2023-01-03 08:47:51 +01:00
Moritz 'Morty' Strübe
8fcfa0438b
[homematic] Add hints about using docker (#14121)
Signed-off-by: Moritz 'Morty' Strübe <morty@gmx.net>
2023-01-02 20:51:22 +01:00
Florian Hotze
3c669ad77a
[jsscripting] Cache openhab-js injection to improve performance (#14135)
* [jsscripting] Extend comments for wraprequire
* [jsscripting] Enable openhab-js caching to improve performance

On my dev system (which I guess is much more powerful than most openHAB servers), cached openhab-js injection takes 100-200 ms.
openhab-js injection from file system takes about 1000 ms.

* [jsscripting] Update configuration language
* [jsscripting] Upgrade openhab-js version to 3.2.1 for required webpack changes

Documentation updates will follow in another PR to keep this one clean.

Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
2023-01-02 20:41:35 +01:00
lsiepel
12bd7c99c3
[chromecast] Improve documentation (#14136)
Signed-off-by: lsiepel <leosiepel@gmail.com>
2023-01-02 19:53:42 +01:00