Commit Graph

3777 Commits

Author SHA1 Message Date
Holger Friedrich
dba83a33e5
[knx] Java17 instanceof pattern matching (#14718)
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2023-03-28 20:49:31 +02:00
Cody Cutrer
2c2ba4bed1
[mqtt.homeassistant] fix JSON Schema lights (#14717)
https://github.com/openhab/openhab-addons/pull/12238 was merged after
JSON Schema Light was implemented, and changed some assumptions.
this commit adjusts to the changed interface

Signed-off-by: Cody Cutrer <cody@cutrer.us>
2023-03-28 18:26:13 +02:00
Mark Hilbush
0a3d9ece3c
[sleepiq] Add functionality to control the bed foundation (#14714)
* Add foundation functionality

Signed-off-by: Mark Hilbush <mark@hilbush.com>
2023-03-28 17:27:31 +02:00
Mark Hilbush
1983bc36f1
Replace deprecated MulticastSocket methods (#14611)
* Replace deprecated methods
* Call leaveGroup method in shutdown

Signed-off-by: Mark Hilbush <mark@hilbush.com>
2023-03-28 15:14:30 +02:00
lsiepel
d4a231e8a9
[enocean] Add null annotations (#14023)
* mainly null annotations

Signed-off-by: lsiepel <leosiepel@gmail.com>

* checkstyle fixes

Signed-off-by: lsiepel <leosiepel@gmail.com>

* another checkstyle pass

Signed-off-by: lsiepel <leosiepel@gmail.com>

* Fix review comments

Signed-off-by: lsiepel <leosiepel@gmail.com>

* fix  most review comments

Signed-off-by: lsiepel <leosiepel@gmail.com>

* Generic => temp_generic

Signed-off-by: lsiepel <leosiepel@gmail.com>

* temp_generic => generic

Signed-off-by: lsiepel <leosiepel@gmail.com>

* Generic fix try 2

Signed-off-by: lsiepel <leosiepel@gmail.com>

* another generic commit

Signed-off-by: lsiepel <leosiepel@gmail.com>

* Final pass for changing generic packages/folder

Signed-off-by: lsiepel <leosiepel@gmail.com>

* Mised comment

Signed-off-by: lsiepel <leosiepel@gmail.com>

* Conflict folder change trial 1

Signed-off-by: lsiepel <leosiepel@gmail.com>

* Conflict folder change final

Signed-off-by: lsiepel <leosiepel@gmail.com>

* Conflict folder change trial 2

Signed-off-by: lsiepel <leosiepel@gmail.com>

* Move folder

Signed-off-by: lsiepel <leosiepel@gmail.com>

* Review comment

Signed-off-by: lsiepel <leosiepel@gmail.com>

---------

Signed-off-by: lsiepel <leosiepel@gmail.com>
2023-03-28 11:05:37 +02:00
openhab-bot
a0e10b2120
New Crowdin updates (#14715)
* New translations deconz.properties (German)
* New translations anthem.properties (Italian)
2023-03-28 07:11:52 +02:00
Mark Hilbush
ec78fe7428
Add connection element to addon.xml (#14692)
Signed-off-by: Mark Hilbush <mark@hilbush.com>
2023-03-27 23:08:31 +02:00
Andrew Fiddian-Green
62100b5522
[addon.xml] add connection element (#14690)
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2023-03-27 20:41:42 +02:00
Cody Cutrer
558908e69a
[jrubyscripting] update README, and default configuration installing gem (#14489)
README is generated by YARD from USAGE.md in the gem.

Signed-off-by: Cody Cutrer <cody@cutrer.us>
2023-03-27 15:22:48 +02:00
Sami Salonen
18e7d81e4d
[mqtt] Support Ruuvitags via Ruuvi Gateway (#13315)
Signed-off-by: Sami Salonen <ssalonen@gmail.com>
2023-03-27 14:11:07 +02:00
openhab-bot
210aff461d
New Crowdin updates (#14689)
* New translations deconz.properties (German)
* New translations netatmo.properties (Italian)
* New translations avmfritz.properties (German)
* New translations openwebnet.properties (Italian)
2023-03-27 08:33:34 +02:00
dag81
1e0f27d5ef
[veSync] Improve recognition and device support (#14354)
* [veSync] Device Identification Updates
* [veSync] Alignment to device setups in pyvesync.
* [veSync] Addition of new device code for C302S

Signed-off-by: David Goodyear <david.goodyear@gmail.com>
2023-03-27 08:05:09 +02:00
Mark Hilbush
749cf585ff
[anthem] Initial contribution of binding for Anthem AV preamp/processors (#14311)
* Initial contribution

Signed-off-by: Mark Hilbush <mark@hilbush.com>
2023-03-26 21:32:08 +02:00
Cody Cutrer
f98f820325
[mqtt.homeassistant] Implement JSON schema lights (#13808)
* [mqtt.homeassistant] implement JSON schema lights
* [mqtt.homeassistant] use enum for current state of color mode
* [mqtt.homeassistant] use implicit lambdas
* [mqtt.homeassistant] remove string constants in favor of an enum
* [mqtt.homeassistant] allow sending ON and brightness commands through bare
* [mqtt.homeassistant] turn down debug logging

---------

Signed-off-by: Cody Cutrer <cody@cutrer.us>
2023-03-26 18:07:20 +02:00
Sven Strohschein
2c710a2a70
[innogysmarthome] Remove binding (replaced by livisismarthome) (#14675)
Remove binding (replaced by livisismarthome)

Signed-off-by: Sven Strohschein <sven.strohschein@gmail.com>
Signed-off-by: Sven Strohschein <novanic@gmx.de>
2023-03-26 17:49:17 +02:00
Sven Strohschein
a8d91b3950
[netatmo] Extend webhook support for doorbell and presence camera (#14252)
* [netatmo] Web hook extension for camera events

- Unused camera-event trigger channel removed
- README updated to the real supported channels (compared with channels.xml and code)
- Camera capabilities are now triggering the home-event trigger channel
- New home-event trigger channel introduced at camera level
- New sub-event channels introduced for the presence camera which is updated by web hook events.
- Language file updated
- README updated
- typos fixed
- security-event trigger channel added for the Welcome camera
- Handling of sub-event groups fixed to work with doorbell and presence cameras.

---------

Signed-off-by: Sven Strohschein <sven.strohschein@gmail.com>
Signed-off-by: Sven Strohschein <novanic@gmx.de>
2023-03-26 17:34:35 +02:00
Jacob Laursen
1726031ecc
[hdpowerview] Declare connection (#14684)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2023-03-26 16:43:51 +02:00
Jacob Laursen
d44de73d4f
[boschindego] Declare connection (#14685)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2023-03-26 16:28:33 +02:00
Jacob Laursen
a5b028d729
[miele] Declare connection (#14683)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2023-03-26 16:26:24 +02:00
mlobstein
ec329c456d
[kaleidescape] Remove Apache StringEscapeUtils (#14513)
* Remove Apache StringEscapeUtils
* add tests

Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
2023-03-26 14:26:51 +02:00
pajacobson
6ef2dfb1db
[globalcache] Add link to macOS iConvert GC port in docs (#14679)
* Update README.md

Add link to macOS port of iConvert.
2023-03-26 14:04:00 +02:00
mlobstein
9b7788d14c
Declare connection in multiple bindings addon.xml (#14677)
* Declare connection in addon.xml

Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
2023-03-26 13:45:03 +02:00
alexf2015
b6da1ec590
[solaredge] Fix code style warnings, fix NPE warnings, improve i18n (#14666)
* code style fixes
* fixed potential NPE
* fix warning
* simplified code
* refactoring, fixed some NPE warnings
* i18n
* refactoring

Signed-off-by: Alexander Friese <af944580@googlemail.com>
2023-03-26 13:42:00 +02:00
M Valla
cbb72ed72e
[openwebnet] Reset zones' alarm state channel when system is armed (#14566)
* [openwebnet] reset zones alarm channel when system is armed and added NONE state
* [openwebnet] added Technical reset alarm. Changes after 1st review

---------

Signed-off-by: Massimo Valla <mvcode00@gmail.com>
2023-03-26 12:19:31 +02:00
goopilot
6757a84b6b
[Yeelight] Fix disconnect method (#14670)
* fix disconnect

---------

Signed-off-by: Alexandr Salamatov <goopilot@gmail.com>
2023-03-26 12:16:09 +02:00
M Valla
43f016c98a
[openwebnet] Declare connection in addon.xml (#14673)
Signed-off-by: Massimo Valla <mvcode00@gmail.com>
2023-03-26 11:23:58 +02:00
openhab-bot
f52da01d9b
New translations netatmo.properties (Italian) (#14676) 2023-03-26 03:26:49 +02:00
Gaël L'hopital
f37c4e555d
[Netatmo] Add the capability to have a single home (#14595)
* Adding the capability to have a single home, common to energy and security

---------

Signed-off-by: clinique <gael@lhopital.org>
2023-03-25 16:59:51 +01:00
Jacob Laursen
f2e7597db6
Add more example things/items (#14639)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2023-03-25 08:00:32 +01:00
Cody Cutrer
2088cf067f
[mqtt.espmilighthub] use availability topic to set thing status (#13800)
also refactor a bit so that the thing will work even if the bridge
gets added and removed, etc.

Signed-off-by: Cody Cutrer <cody@cutrer.us>
2023-03-25 00:52:37 +01:00
Gerd Zanker
3b08217ff7
[boschshc] Bridge and Device Discovery (#14197)
* #14195 Bridge and Device Discovery

Bridge discovery is implemented via mDNS, local IP addresses are checked.
If a GET returns the public SHC information,
then this shcIpAddress is reported as a discovered bridge.

Devices are always discovered after successful pairing, but a manual scan is also possible.

Added unit tests for Bridge and Device Discovery.

Signed-off-by: Gerd Zanker <gerd.zanker@web.de>
2023-03-25 00:26:24 +01:00
GiviMAD
c30893281c
[rustpotterks] Remove unnecessary thread sleep call (#14664)
* [rustpotterks] Remove unnecessary thread sleep call

Signed-off-by: Miguel Álvarez <miguelwork92@gmail.com>
2023-03-25 00:20:34 +01:00
GiviMAD
b9751dced3
[androiddebugbridge] Fix screen state channel on android 12 (#14663)
Signed-off-by: Miguel Álvarez <miguelwork92@gmail.com>
2023-03-24 23:25:21 +01:00
Björn Lange
fbcb412353
[mielecloud] Add channels energy and water consumption (#14456)
* Add POJOs for ecoFeedback from Miele REST API
* DeviceState offers  water and energy consumption
* Convert Quantity to State for channel population
* Add eco feedback channels to devices
* Fix item types and categories
* Add update instructions for eco feedback channels

Signed-off-by: Björn Lange <bjoern.lange@itemis.de>
2023-03-24 23:15:28 +01:00
Christian Wild
983efd76ea
[tapocontrol] Support display light effects for L530 (#14596)
* [tapocontrol] support display light effects for L530

color change is now possible if effect was already enabled by app

Signed-off-by: Christian Wild <christian@wildclan.de>
2023-03-24 21:57:00 +01:00
mlobstein
279374a14b
[radiothermostat] Add configuration to update thermostat's internal schedule (#14149)
* Add configuration to update thermostat's internal schedule

Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
2023-03-24 09:15:58 +01:00
openhab-bot
fca7b4edce
New translations vat.properties (Danish) (#14658) 2023-03-23 22:56:45 +01:00
Christoph Weitkamp
5e17f1dfbd
[avmfritz] Use system channel types and decrease minimum polling interval (#14587)
* Use system default channel types
* Changed minimum polling interval to 1s

Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2023-03-23 22:55:01 +01:00
Richard Koshak
7bddeb4a7f
Standardize on js for SCRIPT (#14652)
This has the add-on docs consistent with the main docs.
Signed-off-by: Richard Koshak <rlkoshak@gmail.com>
2023-03-23 21:53:16 +01:00
GiviMAD
a0f442e785
[googlestt] Fix drop bytes (#14649)
* [googlestt] Fix drop bytes
* fix unhandled cancelation error when using single utterance mode

Signed-off-by: Miguel Álvarez <miguelwork92@gmail.com>
2023-03-23 09:57:00 +01:00
openhab-bot
4f533710ff
New translations homekit.properties (German) (#14655) 2023-03-22 22:57:28 +01:00
GiviMAD
624dcb97b3
[googlestt] Upgrade library (#14653)
Signed-off-by: Miguel Álvarez <miguelwork92@gmail.com>
2023-03-22 22:45:18 +01:00
Cody Cutrer
96038c664a
[mqtt.generic] Don't log state description from provider when not found (#14650)
Fixes #9782

Signed-off-by: Cody Cutrer <cody@cutrer.us>
2023-03-22 16:53:50 +01:00
Cody Cutrer
d9ceb63b82
[homekit] Unify all enum handling (#14036)
* [homekit] unify all enum handling

regardless of if it's a required or optional characteristic,
or even "boolean" enums

then allow number or switch items to be linked with enums

then update the docs listing the numeric value for enums

as part of this, global configuration of thermostat enum values
is no longer supported; you must use metadata.
in particular, for GarageDoorOpener, the global settings didn't
even actually work, so they should work now.

Fixes #13595

* [homekit] default-invert boolean items for garage door states

this was previously handled explicitly by the switch statement.
so need to set the inverted flag now that we're building a
mapping instead

* [homekit] document that CurrentDoorState can be linked to a Contact item
* [homekit] improve docs on invert param to createMapping

also fix a new helper method not properly passing through the inverted
param

Signed-off-by: Cody Cutrer <cody@cutrer.us>
2023-03-22 13:58:12 +01:00
jimtng
72254b820d
[jrubyscripting] Filter files that are added to the watch list (#14590)
Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
2023-03-21 23:18:46 +01:00
openhab-bot
31454ac0a1
New translations ecovacs.properties (Italian) (#14648) 2023-03-21 22:56:20 +01:00
GiviMAD
aa3229a97f
[rustpotterks] Upgrade to version 2 (#14615)
* [rustpotter] Use version 2

Signed-off-by: Miguel Álvarez <miguelwork92@gmail.com>
2023-03-21 22:55:40 +01:00
J-N-K
1786bb0eec
[deconz] Cleanup code and improve tests, edit channels to vibration sensor (#14641)
* [deconz] Cleanup code and improve tests

Signed-off-by: Jan N. Klug <github@klug.nrw>
2023-03-21 22:46:53 +01:00
J-N-K
8e902f6324
Bump spotless to 2.35 and Eclipse Java Formatter to 4.26 (#14645)
Signed-off-by: Jan N. Klug <github@klug.nrw>
2023-03-21 21:03:05 +01:00
maniac103
b47a205f44
[ecovacs] Initial contribution (#12231)
* [ecovacs] Initial contribution

Add initial version of a binding for vacuum cleaners made by Ecovacs.

Signed-off-by: Danny Baumann <dannybaumann@web.de>
2023-03-21 11:05:53 +01:00
MarkusThur
98b8d7225c
change in README.md of kostalinverterbindings. Example code had a missing '"' in the second gen. devices. (#14644)
doesn't matter that much here, but in the official openHAB site the sytax highlighting makes the mstake very promiment :-)
2023-03-21 10:58:21 +01:00
alexf2015
99087f08c3
[nibeuplink] Fix NPEs, minor refactoring (#14508)
* improved code quality: added some additional null checks, removed some obsolete null checks. simplified some code sections.

Signed-off-by: Alexander Friese <af944580@googlemail.com>
2023-03-20 20:09:20 +01:00
mlobstein
dae33c405e
Refactor pairing process to use handler httpClient (#14640)
Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
2023-03-20 07:54:31 +01:00
J-N-K
6444964bf6
[deconz] Add On/Off thermostats (#14636)
* [deconz] Add On/Off thermostats
* further work
* fix regression

Signed-off-by: Jan N. Klug <github@klug.nrw>
2023-03-19 20:43:15 +01:00
alexf2015
aee57afb0e
bugfixes/improvements (#14637)
Signed-off-by: Alexander Friese <af944580@googlemail.com>
2023-03-19 16:02:33 +01:00
M Valla
4e4385e261
[openwebnet] Thermo: Fix wrong parameter in .getChannel (#14620)
Fixes #14619

Signed-off-by: Massimo Valla <mvcode00@gmail.com>
2023-03-19 09:43:53 +01:00
Jacob Laursen
04374ef4af
Fix color tests after HSBType changes (#14631)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2023-03-19 07:45:16 +01:00
Jacob Laursen
61be788257
Fix color tests after HSBType changes (#14630)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2023-03-19 07:44:14 +01:00
openhab-bot
bad892ec79
New translations vat.properties (Italian) (#14633) 2023-03-18 23:25:43 +01:00
J-N-K
ee1de11864
[deconz] Add Pairing/Scene actions, new devices and improve code (#14622)
* port changes
* update instructions
* Incorporate review comments from #14134
* new improvements (mostly Java 17 changes)
* further improvements

Signed-off-by: Jan N. Klug <github@klug.nrw>
2023-03-18 16:06:55 +01:00
Jacob Laursen
23f3374ea9
Fix color tests after HSBType changes (#14629)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2023-03-18 13:59:59 +01:00
J-N-K
0f5dfa5088
Fix "empty range" exception when querying InfluxDB2 (#14627)
Signed-off-by: Jan N. Klug <github@klug.nrw>
2023-03-18 13:31:41 +01:00
goopilot
979ecb0f98
Add Sptrip6 device (#14584)
Signed-off-by: Alexandr Salamatov <goopilot@gmail.com>
2023-03-18 10:25:10 +01:00
GiviMAD
7268442c25
[watsonstt] Upgrade library (#14626)
Signed-off-by: Miguel Álvarez <miguelwork92@gmail.com>
2023-03-18 07:33:33 +01:00
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
Gaël L'hopital
c7275c8946
Pushing PR #14123 to OH4 (#14140)
Signed-off-by: clinique <gael@lhopital.org>
2023-01-02 19:06:24 +01:00
Norbert Klasen
ce6b331518
Update URL to Loxwiki (#14131)
Loxwiki has moved into the Atlassian cloud: https://loxwiki.atlassian.net/wiki/spaces/LOX/pages/1622769957/Planung+bersiedelung+zu+loxwiki.atlassian.net
2023-01-01 21:11:42 +01:00
openhab-bot
ba68881995
New Crowdin updates (#14130)
* New translations deconz.properties (Italian)
* New translations atlona.properties (Italian)
2023-01-01 14:50:12 +01:00
Kai Kreuzer
f588c07f3a
Synchronize access to account to avoid concurrency issues (#14128)
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2023-01-01 12:02:15 +01:00
Daniel Rosengarten
377dc86452
[velbus] Add modules VMBKP, VMBIN, VMB4PB (#13939)
* [velbus] Add new functionality PRESSED and LONG PRESSED and fix bug

New functionnality :
Add the the possibility to simulate the PRESSED and LONG PRESSED message of an input.

Module supported with button simulation :
VMB1RYS (button : CH6)
VMB6IN (buttons : CH1 ... CH6)
VMB2PBN, VMB6PBN, VMB7IN, VMB8IR, VMB8PB, VMB8PBU, VMBEL1, VMBEL2, VMBEL4, VMBGP1, VMBGP1-2, VMBGP2, VMBGP2-2, VMBGP4, VMBGP4-2, VMBGP4PIR, VMBGP4PIR-2 (buttons : CH1 ... CH8)
VMBELO, VMBGPOD, VMBGPOD-2 (buttons : CH1 ... CH32)

Fix bug :

The channels names were not correctly assigned to the thing properties. The last channel had the default name, not the one retrieved from the module.

Signed-off-by: Daniel Rosengarten <github@praetorians.be>

* Update bundles/org.openhab.binding.velbus/README.md

Co-authored-by: cedricboon <cedric.boon@hotmail.com>
Signed-off-by: Daniel Rosengarten <github@praetorians.be>

* Update bundles/org.openhab.binding.velbus/README.md

Co-authored-by: cedricboon <cedric.boon@hotmail.com>
Signed-off-by: Daniel Rosengarten <github@praetorians.be>

* Update bundles/org.openhab.binding.velbus/README.md

Co-authored-by: cedricboon <cedric.boon@hotmail.com>
Signed-off-by: Daniel Rosengarten <github@praetorians.be>

* Add trigger on channel when using button simulation

Remove uneeded  Thread.sleep in code.
Trigger the events PRESSED, LONG_PRESSED, RELEASED on the linked trigger channel when using the button simulation.

Signed-off-by: Daniel Rosengarten <github@praetorians.be>

* Fix redundant superinterface DiscoveryService

Redundant superinterface DiscoveryService for the type VelbusThingDiscoveryService, already defined by AbstractDiscoveryService.

Signed-off-by: Daniel Rosengarten <github@praetorians.be>

* Fix bug #11521

Typo in the Counter Channel name for VMB7IN.

Signed-off-by: Daniel Rosengarten <github@praetorians.be>

* [velbus] Add VMBELPIR module

Add the module VMBELPIR

Signed-off-by: Daniel Rosengarten <github@praetorians.be>

* [velbus] VMBELPIR added to discovery service

Forgot to add the module VMBELPIR in the discovery service.

Signed-off-by: Daniel Rosengarten <github@praetorians.be>

* [velbus] Updates clock alarms management

Changes the clocks alarm management :
- Global alarms are now set from the bridge thing.
- Local alarms are still set from the module thing, but the alarm type channels on modules are now readonly.

Reduces the flooding of the bus by adding a delay of 10 seconds before sending the update on the bus :
- Removes the send on the bus after each update of a clock alarm value.
- Sends only the values of the last update after 10 seconds.

Signed-off-by: Daniel Rosengarten <github@praetorians.be>

* [velbus] PR modifications

Modifications asked in PR review.

Signed-off-by: Daniel Rosengarten <github@praetorians.be>

* [velbus] PR modifications 2

Modifications asked in PR review 2.

Signed-off-by: Daniel Rosengarten <github@praetorians.be>

* [velbus] Add modules VMBKP, VMBIN, VMB4PB

New functionnality : Add the support of the modules VMBKP, VMBIN, VMB4PB

Signed-off-by: Daniel Rosengarten <github@praetorians.be>

* [velbus] Fix code style error

Fix code style error in VelbusSensorWithAlarmClockHandler.java

Signed-off-by: Daniel Rosengarten <github@praetorians.be>

Signed-off-by: Daniel Rosengarten <github@praetorians.be>
Co-authored-by: cedricboon <cedric.boon@hotmail.com>
2022-12-31 17:25:03 +01:00
Marcel
d0d3005b34
[miio] add support ROIDMI EVA - roidmi.vacuum.v66 (#13940)
Adding support for the following models:
* ROIDMI EVA (modelId: roidmi.vacuum.v66)

close #13813

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2022-12-31 17:15:16 +01:00
Jacob Laursen
a6e4ab130d
Simplify name to deCONZ (#14125)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-12-31 16:42:22 +01:00
lsiepel
71ef3d9f4e
[astro] Fix returning wrong sun phase name (#14078)
* Add tests and fix very minor bug
* Correct wrong test
* Update tests and fix sorting
* Some checkstyle improvements

Signed-off-by: lsiepel <leosiepel@gmail.com>
2022-12-31 15:04:06 +01:00
Jacob Laursen
470ada241a
[miele] Add categories and semantic tags (#14086)
* Add categories and tags

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-12-31 15:01:11 +01:00
Hilbrand Bouwkamp
202a8647e0
[unifi] Fix bug with combination of other data/ports (#14060)
- It seems to throw an exception when updating internal cache. It can happen if you have a switch that has both PoE ports and other PoE ports or data in the port override.
- Fixed logout, should be POST instead of GET.
- Fixed typo in channel-type.config.unifi.poeEnable.mode.option.pasv24 should be without appending v.
- Removed compiler warnings.

Signed-off-by: Hilbrand Bouwkamp <hilbrand@h72.nl>
2022-12-31 11:03:56 +01:00
Kai Kreuzer
2d5402656e
[tesla] Fix discovery of Tesla vehicles from account (#14070)
* Fix discovery of Tesla vehicles from account

Signed-off-by: Kai Kreuzer <kai@openhab.org>
2022-12-31 10:22:39 +01:00
mlobstein
139aeed3ec
[atlona] Add support for AT-PRO3HD44M (#14080)
* Add support for AT-PRO3HD44M

Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
2022-12-31 10:18:03 +01:00
Florian Hotze
23cfec7684
[jsscripting] Improve performance & reduce memory usage (#14113)
* [jsscripting] Share org.graalvm.polyglot.Engine across all OpenhabGraalJSScriptEngine instances

See https://github.com/oracle/graaljs/issues/121#issuecomment-880056648, it is not required to have one engine per GraalJSScriptEngine.

This might improve performance a bit on less powerful systems (Raspberry Pi) and decreases heap usage:
With 5 GraalJS UI scripts, heap usage is now below 100 MB. Before this change, it was over 100 MB.

* [jsscripting] Extend debug logging
* [jsscripting] Cache `@jsscripting-globals.js` across all engines

Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
2022-12-30 23:34:35 +01:00
Florian Hotze
931f004ab8
[jsscripting] Upgrade to ECMAScript 2022 & Dependency improvements (#14093)
* [jsscripting] Remove asm from dependencies in pom

GraalJS >= 20.3.0 doesn't require org.ow2.asm as compile dependency anymore, see https://mvnrepository.com/artifact/org.graalvm.js/js/20.3.0.

* [jsscripting] Remove dependency org.graalvm.js/js-launcher as it is not required

js-launcher is GraalVM's JavaScript command line interpreter and not required in the addon.
See https://www.graalvm.org/22.1/reference-manual/js/RunOnJDK/.

* [jsscripting] Add missing com.ibm.icu dependency

GraalJS changelog says that it is not required for GraalJS >= 22.0.0 (see 685e5873af/CHANGELOG.md (version-2200)).
But GraalJS 22.3.0 attempts to load classes from it during runtime.

* [jsscripting] Update GraalJS engine options

Compat, as its additional functionality is not used by openhab-js and user code is not expected to use it.

* [jsscripting] Remove com.ibm.icu/icu4j dependency
* [jsscripting] Don't disable Nashorn compat mode as openhab-js requires it for accessors

Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
2022-12-30 23:04:43 +01:00
Michael Geramb
256bc81feb
[knx] add color channel to knx binding docu (#14114)
add color channel to knx binding docu
2022-12-30 19:46:58 +01:00
lsiepel
5881cf0cbe
[bosesoundtouch] Fix regression and add tests (#14097)
* Fix regression and add tests

Signed-off-by: lsiepel <leosiepel@gmail.com>
2022-12-30 13:58:27 +01:00
jimtng
8904f92e7b
Fix MQTT shutdownRetain default value (#14099)
Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
2022-12-30 09:34:13 +01:00
mlobstein
dd8eb4701e
[bondhome] Fix fatal Null Pointer errors (#14103)
* Fix fatal Null Pointer errors

Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
2022-12-30 09:23:45 +01:00
Wouter Born
dbaf081daa
[groovyscripting] Update Groovy to 4.0.7 (#14115)
Updates Groovy from 3.0.13 to 4.0.7.

For Groovy 4.0 release notes, see:

https://groovy-lang.org/releasenotes/groovy-4.0.html#releasenotes

Signed-off-by: Wouter Born <github@maindrain.net>
2022-12-29 21:59:12 +01:00
Florian Hotze
895defda8e
[jsscripting] Use application/javascript as MIME type (#14096)
Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
2022-12-29 21:01:22 +01:00
Jacob Laursen
93cbd7e647
[influxdb] Upgrade Gson to 2.9.1 (#14090)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-12-29 20:59:10 +01:00
Jacob Laursen
ddd58cf4b0
[dbquery] Upgrade Gson to 2.9.1 (#14089)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-12-29 20:58:24 +01:00
Jacob Laursen
1d54e9c078
[bluetooth.generic] Upgrade Gson to 2.9.1 (#14092)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-12-29 20:57:41 +01:00
Jacob Laursen
f8610bddb6
[watsonstt] Upgrade Gson to 2.9.1 (#14091)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-12-29 20:57:03 +01:00
Jacob Laursen
68ecfa724e
Rename handler to fix case and make consistent with corresponding channel selector (#14095)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-12-29 20:07:31 +01:00
lsiepel
15c610032e
[daikin] Add support for Alira X (#14108)
* Add support for Alira X
* Fix checkstyle
* Move changes AirbaseControlInfo =>  ControlInfo
* Send seperated values conditionally

Signed-off-by: lsiepel <leosiepel@gmail.com>
2022-12-29 18:41:17 +01:00
jimtng
f87ff2f9ce
[chromecast] Fix constant disconnections (#14105)
When ipv6 is configured on the network, Chromecast devices will randomly
return ipv4 and/or multiple ipv6 addresses during mdns discovery.
This would trigger a thingUpdated call which will call dispose/initialize,
causing the thing to go offline/online.

Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
2022-12-29 11:52:25 +01:00
openhab-bot
3bf6f5219b
New translations danfossairunit.properties (Danish) (#14098) 2022-12-29 00:59:57 +01:00
lsiepel
1e7ec9bde9
[bondhome] compile warnings and sat (#13986)
* fix some compile warnings and checkstyle
* replace deprecated gson calls
* Refactor config init

Signed-off-by: lsiepel <leosiepel@gmail.com>
2022-12-28 19:40:19 +01:00
Jacob Laursen
3a4a387931
Remove deprecated channel (#14030)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-12-28 19:20:29 +01:00
openhab-bot
fa69340f34
New translations hdpowerview.properties (Danish) (#14079) 2022-12-28 01:03:31 +01:00
lsiepel
697373801b
[bluetooth.daikinmadoka] null annotations (#13975)
* null annotations - sat warnings
* refactor handleResponses

Signed-off-by: Leo Siepel <leosiepel@gmail.com>
2022-12-27 17:12:58 +01:00
Mike Major
a4a8d5d85f
[hueemulation] Fix for Alexa failing to discover all devices. (#13923)
* Fix for Alexa failing to discover all devices.

Signed-off-by: Mike Major <mike_j_major@hotmail.com>
2022-12-27 16:58:37 +01:00
Jacob Laursen
436e7c39ba
Remove deprecated channels (#14033)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-12-27 16:50:38 +01:00
lsiepel
1df693a6e9
[bluetooth.am43] null annotations (#13972)
* null annotations forbidden package
* improve createChecksum
* spotless + typo

Signed-off-by: lsiepel <leosiepel@gmail.com>
2022-12-27 16:27:19 +01:00
lsiepel
8b1d0fccef
null annotations - checkstyle (#13979)
Signed-off-by: Leo Siepel <leosiepel@gmail.com>
2022-12-27 16:16:55 +01:00
lsiepel
df6454e374
minro checkstyle (#13977)
Signed-off-by: Leo Siepel <leosiepel@gmail.com>
2022-12-27 16:13:12 +01:00
Jiri Kraus
9687c3da0a
[velux] Updated Discovery instructions for scenes and actuators (#14009)
* Updated Discovery instructions for scenes and actuators

Updated Discovery instructions as after KLF200 is auto discovered and configured discovery of scenes and actuators need to be manually triggered.

* @jirikraus Updated Discovery instructions for scenes and actuators

Formatting update to address comment from @andrewfg.
2022-12-27 16:08:12 +01:00
lsiepel
35e930c12f
[astro] Added moon phase precision (#14067)
* add more precision to MoonPhase.Age

Signed-off-by: lsiepel <leosiepel@gmail.com>
2022-12-27 12:56:43 +01:00
mlobstein
4a982957c3
[nuvo] Auto update source channel for grouped zones (#14012)
* Auto update source channel for grouped zones

Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
2022-12-27 12:54:26 +01:00
Cody Cutrer
e39e69144b
[homekit] support Rollershutter items for HoldPosition (#14045)
* [homekit] support Rollershutter items for HoldPosition

just send STOP to them

* [homekit] log a warning for incompatible HoldPosition items

Signed-off-by: Cody Cutrer <cody@cutrer.us>
2022-12-27 11:55:12 +01:00
Jacob Laursen
0b59be62b6
Skip loading/migrating items with invalid name (#14054)
Fixes #14053

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-12-27 11:41:59 +01:00
Holger Friedrich
e7938ae357
[rrd4j] Improve logging of exceptions thrown by getDB (#14068)
Add exception message for better identification of root cause.

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2022-12-27 10:55:15 +01:00
Tim Harper
e5f30b1f18
[tplinksmarthome] Document sending raw commands to devices (#14062)
Signed-off-by: Tim Harper <timcharper@gmail.com>

Signed-off-by: Tim Harper <timcharper@gmail.com>
2022-12-27 10:25:28 +01:00
lsiepel
1c5b794145
[airvisualnode] Add null annotations (#13895)
* Add null annotation

Signed-off-by: Leo Siepel <leosiepel@gmail.com>
2022-12-26 17:00:53 +01:00
Wouter Born
88c0b720c6
[jsscriptingnashorn] JavaScript Scripting Nashorn Automation (#14013)
* [jsscriptingnashorn] JavaScript Scripting Nashorn Automation

This add-on allows you to use your older JavaScript (ECMAScript 5.1) rules on newer Java versions until they are migrated to JavaScript (ECMAScript 2021+).
The add-on uses a standalone [Nashorn Engine](https://github.com/openjdk/nashorn) which was part of Java until it was removed in Java 15.

* Update parent to 3.4.0-SNAPSHOT and nashorn-core to 15.4

For the Nashorn changelog, see:

https://github.com/openjdk/nashorn/blob/main/CHANGELOG.md

* Update parent to 4.0.0-SNAPSHOT
* Remove removeUnsupportedNashornArgs
* Update scriptTypes
* Add CODEOWNERS entry
* Recycle ScriptScopeOSGiTest.java

It got removed in openhab/openhab-core#2994

* Remove redundant new line from pom.xml

Signed-off-by: Wouter Born <github@maindrain.net>
2022-12-26 15:27:03 +01:00
Hilbrand Bouwkamp
605574b600
Set openHAB to correct version in binding skeleton scripts. (#14061)
Signed-off-by: Hilbrand Bouwkamp <hilbrand@h72.nl>
2022-12-26 10:17:42 +01:00
Jørgen Austvik
6cd59e4c94
[nanoleaf] More robust caching of layout (#13998)
* [nanoleaf] More robust caching of layout

This is a bugfix/enhancement to make sure the caching of the layout
(to save it from being recalculated) works better:
- Only save previous layout if indeed painted
- Only save layout from the layout update, not the display state
- Recalculate anyway if current state is null

* Bugfix: Update colors

When Stefan runs, the getBridge() returns null, when Jørgen runs, is doesn't. But it isn't needed, because we
are already in the handler, so just call own methods.

Improvement: Less draws when updating colors

Instead of drawing the picture for each panel (which gave a cool effect), draw only once when we have parsed all color data.

Signed-off-by: Jørgen Austvik <jaustvik@acm.org>
2022-12-25 20:56:04 +01:00
Holger Friedrich
0357049f9f
[knx] Fix SAT warnings (#14052)
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2022-12-24 12:11:28 +01:00
Cody Cutrer
f619798f81
[lifx] Handle and provide QuantityType for color-temperature-abs channel (#14025)
See https://github.com/openhab/openhab-core/pull/3129

Signed-off-by: Cody Cutrer <cody@cutrer.us>
2022-12-24 00:00:57 +01:00
Cody Cutrer
b62e1455ff
[homekit] Allow configuring secondary services as members of a group (#13879)
* [homekit] allow configuring secondary services as members of a group

Required introduction of AccessoryGroup to represent the base
AccessoryInformationService for ease of configuring multiple of the
same service.

This is also "breaking" in that someone who previously had HomeKit
accessories nested directly inside of a group that was itself a
HomeKit accessory will now have those items grouped within the Home
app.

* [homekit] combine multiple readme sections on complex accessories

Signed-off-by: Cody Cutrer <cody@cutrer.us>
2022-12-23 23:41:44 +01:00
Wouter Born
b1d4c40e20
Remove JavaScript Transformation pom.xml (#14048)
Everything except for this pom.xml got removed in openhab/openhab-addons#13276

Signed-off-by: Wouter Born <github@maindrain.net>
2022-12-23 14:10:58 +01:00
Cody Cutrer
7c2d5dcca5
[homekit] implement List-Pairings method (#13982)
* [homekit] implement List-Pairings method
* [homekit] fix listUsers() method
* [homekit] bump HAP-java to 2.0.5

refs #13949

Signed-off-by: Cody Cutrer <cody@cutrer.us>
2022-12-23 00:16:55 +01:00
Wouter Born
fbf302e553
Use HTTPS in pom.xml where possible (#14044)
Signed-off-by: Wouter Born <github@maindrain.net>
2022-12-23 00:13:17 +01:00
Andreas Berger
14c8b3972c
[fineoffsetweatherstation] Fix QuantityType for rain-rate (#14039)
A community member realized, that the used unit for rain-rate was wrong (https://community.openhab.org/t/fine-offset-weather-station-binding-discussion/134167/153)
Rain rate is measured in mm/h and so it is not a `VolumetricFlowRate` but a `Speed`.

Additionally, I added some details to the doc.

Signed-off-by: Andreas Berger <andreas@berger-freelancer.com>
2022-12-22 21:17:07 +01:00
Wouter Born
af16d52e9b
Fix "Hello, World!" examples in automation documentation (#14041)
The documentation states incorrectly that "Hello, World!" is printed when instead "Hello world!" is printed.

Signed-off-by: Wouter Born <github@maindrain.net>
2022-12-22 18:21:13 +01:00
lolodomo
7195825a8a
[keba] Fix unit in example for power channel (#14031)
Related to #12529 

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-12-22 18:17:15 +01:00
lsiepel
16fcd5d729
nul;l annotations and codestyle (#13980)
Signed-off-by: lsiepel <leosiepel@gmail.com>
2022-12-22 09:04:50 +01:00
lsiepel
fb31c14aff
[bluetooth.govee] null annotations (#13978)
* null annotations and checkstyle
* Fix more warnings

Signed-off-by: lsiepel <leosiepel@gmail.com>
2022-12-22 08:58:12 +01:00
Cody Cutrer
a079603aab
[homekit] allow configuring min/max light level (#14034)
since the default is weirdly 0.0001, yet my sensors can report a
straight 0.

Signed-off-by: Cody Cutrer <cody@cutrer.us>
2022-12-22 00:37:26 +01:00
Cody Cutrer
462dca8040
[homekit] update AuthInfo objects when blockUserDeletion changes (#14017)
* [homekit] update AuthInfo objects when blockUserDeletion changes

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

* [homekit] general cleanup of redundant method call and unused local vars

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

Signed-off-by: Cody Cutrer <cody@cutrer.us>
2022-12-22 00:31:05 +01:00
Cody Cutrer
672b60b1d9
[nanoleaf] Handle and provide QuantityType for color-temperature-abs channel (#14026)
* [nanoleaf] handle and provide QuantityType for color-temperature-abs channel

see https://github.com/openhab/openhab-core/pull/3129

Signed-off-by: Cody Cutrer <cody@cutrer.us>
2022-12-21 22:43:46 +01:00
Cody Cutrer
df8e0bb15b
[dali] tweak color temperature abs QuantityType fix (#14029)
adds an example of usage of the channel to the README, and
simplifies one method call

Signed-off-by: Cody Cutrer <cody@cutrer.us>
2022-12-21 20:21:53 +01:00
Christoph Weitkamp
a0c2c76fd0
[hue] Allow handling of QuantityType for color temperature channel (#14024)
* Allow handling of QuantityType for color temperature channel
* Fixed log messages and reduce log level.

Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2022-12-21 20:10:21 +01:00
Christoph Weitkamp
528140d7ad
[darksky] Remove DarkSky binding due to EOL of their API (#13037)
* Remove DarkSky binding due to EOL of their API

Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2022-12-21 17:24:57 +01:00
Cody Cutrer
324483d8e9
[dali] handle and provide QuantityType for color-temperature-abs channel (#14021)
see openhab/openhab-core#3129

Signed-off-by: Cody Cutrer <cody@cutrer.us>
2022-12-20 21:15:10 +01:00
Florian Hotze
4d98cca7eb
[jsscripting] Minor fixes & improvements (#13960)
* [jsscripting] Correct wrong `createScriptEngine` implementation
* [jsscripting] Also unlock lock on unexpected exceptions (rethrow them)
* [jsscripting] Call super methods from their overrides
* [jsscripting] Move superclass call of `beforeInvocation`

Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
2022-12-20 09:15:43 +01:00
lsiepel
0b1eb2c03b
null annotations (#13976)
Signed-off-by: Leo Siepel <leosiepel@gmail.com>
2022-12-20 00:06:52 +01:00
lsiepel
1519cb4b1c
nul annotations, checkstyle, forbidden packagel (#13981)
Signed-off-by: lsiepel <leosiepel@gmail.com>
2022-12-20 00:04:43 +01:00
lsiepel
40b8b77840
Very minor checkstyle (#13973)
Signed-off-by: Leo Siepel <leosiepel@gmail.com>
2022-12-20 00:01:50 +01:00
Jacob Laursen
127f998a69
Upgrade MySQL Connector/J to 8.0.31 (#13991)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-12-19 23:49:51 +01:00
Holger Friedrich
3bec273910
[rrd4j] Upgrade base library from 3.8.1 to 3.8.2 (#13956)
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2022-12-19 22:58:43 +01:00
Holger Friedrich
3aefefbbb5
[knx] Upgrade Calimero library to release 2.5.1 (#14015)
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2022-12-19 22:49:40 +01:00
J-N-K
9f3b8e1c04
Raise minimum JDK version to 17 (#13276)
Signed-off-by: Jan N. Klug <github@klug.nrw>
2022-12-19 20:39:42 +01:00
J-N-K
4d6d6443ef
fix spotless after release (#14014)
Signed-off-by: Jan N. Klug <github@klug.nrw>
2022-12-19 15:22:17 +01:00
openhab-bot
7993786dc9 [unleash-maven-plugin] Preparation for next development cycle. 2022-12-19 00:55:11 +00:00
Jacob Laursen
c5b68d0248
Fix NullPointerException (#14010)
Fixes #13961

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-12-18 23:22:40 +01:00
Wouter Born
8d65371844
[shelly] Remove broken images (#14007)
See also #13993

Signed-off-by: Wouter Born <github@maindrain.net>
2022-12-18 19:49:42 +01:00
Kai Takac
36137992a5
[jdbc] Update org.xerial/sqlite-jdbc to 3.40.0.0 (#14003)
* [jdbc] Update org.xerial/sqlite-jdbc to 3.40.0.0

Co-authored-by: Jacob Laursen <jacob-github@vindvejr.dk>
Signed-off-by: Kai Takac <kai.takac@gmail.com>
2022-12-18 19:04:43 +01:00
Дилян Палаузов
ef836a15dc
typos: success, successful (#13997) 2022-12-18 14:18:24 +01:00
openhab-bot
6b1354f9ba
New Crowdin updates (#13999)
* New translations iCloud.properties (French)

* New translations openwebnet.properties (Italian)

* New translations plugwise.properties (Dutch)
2022-12-18 14:02:15 +01:00
MikeTheTux
6dd8cd52c5
fixed potential StringIndexOutOfBoundsExceptions (#14000)
fixed compiler warnings

Signed-off-by: Michael Weger <weger.michael@gmx.net>
2022-12-18 13:35:08 +01:00
Holger Friedrich
debdfa5f8b
[wolfsmartset] Fix link to external documentation (#13996)
Update link to current document from Wolf download center.
Fixes #13995.

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2022-12-18 11:55:59 +01:00
Jacob Laursen
9b891302c8
Fix alignment/indentation (#13994)
Fixes #13882

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-12-18 10:22:07 +01:00
Wouter Born
d03d3e4342
Show add-on intros in Main UI (#13992)
Using these Markdown tweaks a small intro will show in Main UI instead of emptyness and a "more" button.

Signed-off-by: Wouter Born <github@maindrain.net>
2022-12-17 23:53:57 +01:00
Jacob Laursen
6753234e32
Fix Zigbee name stylization (#13954)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-12-17 17:25:38 +01:00