Commit Graph

3563 Commits

Author SHA1 Message Date
Hans-Jörg Merk
af09624fb2
Declare connection on few bindings (#14787)
Signed-off-by: Hans-Jörg Merk <github@hmerk.de>
2023-04-12 12:48:45 +02:00
Gaël L'hopital
aee454850b
[Tapocontrol] Restore child device querying (#14788)
Signed-off-by: Gael L'hopital <gael@lhopital.org>
2023-04-12 09:58:08 +02:00
David Pace
cc626de89a
Support for Thermostat SilentMode (#14779) (#14781)
- Add new channel definition for silent mode
- Implement silent mode service
- Add unit tests
- Add documentation
- Fix some minor documentation issues

Closes #14779

Signed-off-by: David Pace <dev@davidpace.de>
2023-04-11 22:09:56 +02:00
David Pace
1a7a1251d4
[boschshc] Enhance device associations in discovery (#14672) (#14752)
- fix door/window contact device model (SWD instead of WRC2)
- fix in-wall light switch device model (BSM instead of PSM)
- fix thing type of BWTH (should be a wall thermostat, not a thermostat)
- add association for PSM (smart plug)
- add association for LEDVANCE_LIGHT (smart light bulb)
- add association for TRV (thermostat)

Closes #14672

Signed-off-by: David Pace <dev@davidpace.de>
2023-04-11 20:54:12 +02:00
Jerome Luckenbach
ce3f673380
[Documentation] Markdown improvements t to z (#14371)
* Apply markdown fixes for bindings with letter _t_
* Apply markdown fixes for bindings with letter _u_
* Apply markdown fixes for bindings with letter _v_
* Apply markdown fixes for bindings with letter _w_
* Apply markdown fixes for bindings with letter _x_
* Apply markdown fixes for bindings with letter _y_
* Apply markdown fixes for bindings with letter _z_

Signed-off-by: Jerome Luckenbach <github@luckenba.ch>
2023-04-11 12:54:54 +02:00
lolodomo
69a09ed825
Declare connection on few bindings (#14776)
* Declare connection on few bindings

Done for bindings I am maintaining or contributing.

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2023-04-10 21:46:22 +02:00
Holger Friedrich
38cba518cd
Declare connection on few bindings (#14777)
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2023-04-10 15:52:58 +02:00
Robert D
71dfbcf12c
[eKey] Add sourceIp in cases of NAT (Kubernetes deployments) (#14616)
* add natIp

Signed-off-by: querdenker2k <querdenker2k@gmx.de>

---------

Signed-off-by: querdenker2k <querdenker2k@gmx.de>
2023-04-10 10:35:56 +02:00
goopilot
14d6b3e4fe
[Yeelight] Support of ceil26 and ceiling11 devices (#14668)
* Support of ceil26 and ceiling11 devices

Signed-off-by: Alexandr Salamatov <goopilot@gmail.com>
2023-04-10 10:31:01 +02:00
Gaël L'hopital
ca667e39c5
[Netatmo] Fix duplicate id on single home (#14765)
* Solve duplicate id on single home
* Solving "Handler DeviceHandler of thing netatmo:welcome:compte:maison:camera tried accessing its bridge although the handler was already disposed."

Signed-off-by: clinique <gael@lhopital.org>
2023-04-09 22:21:22 +02:00
Jacob Laursen
5fd7a0a15d
Declare connection (#14768)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2023-04-09 21:20:47 +02:00
Jacob Laursen
4ce12ea4fd
Declare connection (#14769)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2023-04-09 21:20:07 +02:00
Dan Cunningham
41701f518e
[generacmobilelink] Major rewrite of the Generac MobileLink Binding (#14638)
* [generacmobilelink] Major rewrite of the Generac MobileLink Binding

Signed-off-by: Dan Cunningham <dan@digitaldan.com>
2023-04-09 11:48:12 +02:00
Holger Friedrich
3cd9c6c86c
Adapt to ColorUtil changes in core (#14724)
* [deconz][dmx][mqtt.generic][mqtt.homeassistant][tado][tradfri][webthing] Adapt to core change (ColorUtil)

openhab/openhab-core#3479

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2023-04-08 11:42:18 +02:00
Christian Kittel
64723db7aa
[OJElectronics] Add SignalR for requesting data from OJ Electronics cloud (#13782)
* Fixed some Nullable annotation warnings
* Use SignalR instead pooling

Signed-off-by: Christian Kittel <ckittel@gmx.de>
2023-04-08 11:40:59 +02:00
openhab-bot
6748dfedd7
New Crowdin updates (#14759)
* New translations fineoffsetweatherstation.properties (German)
* New translations tr064.properties (German)
* New translations rollershutter.properties (German)
* New translations vat.properties (German)
* New translations mielecloud.properties (German)
* New translations speedtest.properties (Italian)
2023-04-08 10:21:40 +02:00
Dave
538ee94148
[astro] Add getTotalRadiation to AstroActions (#14756)
* Add getTotalRadiation action

Signed-off-by: David Sislak <sisdale@seznam.cz>
2023-04-07 22:17:32 +02:00
Holger Friedrich
36a594842e
[knx] Improve config description for GAs (#14624)
* [knx] Improve config description for GAs

Carryover from smarthomej/addons#257.

Also-by: Jan N. Klug <github@klug.nrw>
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2023-04-07 14:43:31 +02:00
maniac103
49e407d028
[gardena] Improve GardenaSmartImpl initialization order (#14722)
If an exception occurs during httpClient.start(), webSocketClient
remained null, which led to another (then unhandled) exception being thrown
by dispose(), called in the exception handler.
With the new initialization order it's ensured webSocketClient is not
null at dispose() time, thus allowing proper propagation of the
exception thrown at HTTP startup.

Signed-off-by: Danny Baumann <dannybaumann@web.de>
2023-04-07 14:25:20 +02:00
bigbasec
86f829fa21
[speedtest] Binding for Ookla's Speedtest - Initial contribution (#9913)
Also-by: Brian Homeyer <bhomeyer@gmail.com>
Signed-off-by: Michael Weger <weger.michael@gmx.net>
2023-04-07 10:18:02 +02:00
lsiepel
46a73befae
Remove org.apache.common (#14434)
Signed-off-by: lsiepel <leosiepel@gmail.com>
2023-04-07 00:39:13 +02:00
voruti
c12715bda7
Fix typo in Stiebel Eltron binding (#14746)
Signed-off-by: Till von Rüden <dev@tillvonrueden.de>
2023-04-06 20:31:20 +02:00
Poltorak Serguei
f47abbd3c1
Update README.md (#14751) 2023-04-06 15:51:21 +02:00
Florian Hotze
03b305bde2
[jsscripting] Bump openhab-js to 4.2.1 (#14749)
* [jsscripting] Upgrade openhab-js to 4.2.1
* [jsscripting] Note that it is based on GraalJS

Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
2023-04-06 15:50:09 +02:00
Thomas
c969f71891
[solarwatt] Add smart heater device support (#14741)
* Add smart heater device support

Signed-off-by: Thomas Schumm <thomas.schumm@yahoo.de>
2023-04-06 11:06:46 +02:00
schmidmuc
ab2b29bff5
Update README.md (#14748)
Added device "Technisat VIOLA 2 C IR" as an supported radio
2023-04-06 00:56:57 +02:00
Felix Schneider
b8c419829e
[deutschebahn] Fix spelling and remove empty white image (#14657)
* Remove unused image and fix spelling
* Remove emtpy image

Image is only a small white square

Signed-off-by: Felix Schneider <fs@felix-schneider.org>
2023-04-04 11:59:03 +02:00
Gwendal Roulleau
d07580c0a7
[doorbird] Add audio sink information to README (#14737)
Signed-off-by: Gwendal Roulleau <gwendal.roulleau@gmail.com>
2023-04-02 13:30:28 +02:00
Wouter Born
ece4e51838
[groovyscripting] Update Groovy to 4.0.11 (#14734)
Updates Groovy from 4.0.9 to 4.0.11.

This fixes a few bugs including a memory leak, see:

http://groovy-lang.org/changelogs/changelog-4.0.10.html
http://groovy-lang.org/changelogs/changelog-4.0.11.html

Signed-off-by: Wouter Born <github@maindrain.net>
2023-04-02 09:08:53 +02:00
Arne Seime
a546a50555
[tapocontrol] Color values must be int, not decimal (#14656)
* Send int values to API, not decimal
* Added missing channels in README for L920 + minor thing file config

Signed-off-by: Arne Seime <arne.seime@gmail.com>
2023-04-01 16:46:02 +02:00
lsiepel
766a451a7c
[zway] Code improvements (#14688)
* Code improvements

Signed-off-by: lsiepel <leosiepel@gmail.com>
2023-03-31 09:24:34 +02:00
openhab-bot
bb626768e4
New Crowdin updates (#14725)
* New translations jsscripting.properties (German)
* New translations jsscripting.properties (Italian)
2023-03-30 23:37:14 +02:00
David Pace
ed20ebb41b
[boschshc] Code Enhancements (#14667)
* [boschshc] Code Enhancements

This commit fixes several compiler warnings as well as several
Checkstyle, FindBugs, PMD and Sonar issues.

* instantiate loggers consistently
* add missing logger calls
* add chained exceptions to logger calls
* provide central Gson instance that does not serialize or deserialize
loggers
* avoid catching NullPointerExceptions
* extract methods where cyclomatic complexity was too high
* remove unnecessary null check in combination with instanceof
* rename local variables that shadow fields
* add missing @NonNull and @Nullable annotations

Signed-off-by: David Pace <dev@davidpace.de>
2023-03-30 18:31:54 +02:00
Zhivka Dimova
b6004a77de
[enocean] Add support for EEP in group A5_09 (#13793)
* [enocean] Support for gas sensors from A5_09 group

Implementing support for gas sensors with EEP A5_09_02, 04, 05, 08, 09,
0C, 0D, adding new changels - CO, CO2, VOC, VOCId, TVOC and regenerate
I18N properties file

Fixes #13785, #13472

Signed-off-by: Zhivka Dimova <zhivka.dimova@myforest.net>
2023-03-29 23:00:31 +02:00
Holger Friedrich
bc03e8c5cf
[knx] Code cleanup (#14719)
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2023-03-29 09:22:23 +02:00
Poltorak Serguei
a96701f7a2
Update README.md (#14712) 2023-03-28 22:30:25 +02:00
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