Commit Graph

2130 Commits

Author SHA1 Message Date
Wouter Born
c028deefbe
Fix Java 17 compilation and test issues (#12353)
* Adds --add-opens to the surefire-maven-plugin config required for deserialization using Gson/XStream
* Upgrades plugin dependencies to JDK 17 compatible versions
* Replaces some reflection that no longer works on JDK 17
* Fixes issues when mocking Random
* Run Nashorn dependant tests only on JDK < 15

Signed-off-by: Wouter Born <github@maindrain.net>
2022-02-23 16:13:56 +01:00
Fabian Wolter
223c9f929b
[hdpowerview] Let the framework change the child Thing statuses (#12330)
Signed-off-by: Fabian Wolter <github@fabian-wolter.de>
2022-02-23 15:23:19 +01:00
Sami Salonen
579bc70f6e
[bluetooth.ruuvitag] Corrected movement counter channel description (#12352)
* [bluetooth.ruuvitag] Corrected movement counter channel description

Signed-off-by: Sami Salonen <ssalonen@gmail.com>
2022-02-23 13:41:14 +01:00
Cody Cutrer
923fb12b7d
[mqtt.homie] handle exceptions parsing attributes (#12254)
fixes #10711

technically this code is in mqtt.generic, but it's only used by Homie.

in particular, if an incoming string doesn't match an enum, this will now
just ignore the value instead of raising an exception to be caught somewhere inside
of Hive MQTT, and eventually timing out and logging that mandatory topics weren't
received, instead of logging a pointer to the actual problem. this makes it so that
if there's a homie $datatype openhab doesn't understand (like duration), it will be
able to get to the point of just choosing a string channel

also did some minor debug logging cleanup for mqtt:
 * fixed a typo
 * when logging homie device name from the thing handler, use the config deviceid,
   since we likely don't have the attributes from MQTT yet

Signed-off-by: Cody Cutrer <cody@cutrer.us>
2022-02-23 13:38:00 +01:00
Ondrej Pecta
957b69277d
[somfytahoma] Added support for the Hitachi Yutaki devices (#12302)
Signed-off-by: Ondrej Pecta <opecta@gmail.com>
2022-02-23 08:45:14 +01:00
jimtng
c0ebdbdb6b
[daikin] Fix Special Mode and Streamer support (#12324)
* [daikin] Fix Special Mode support

Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
2022-02-23 08:37:25 +01:00
Mark Hilbush
307450352c
Properly handle when zm installed on root directory (#12348)
Signed-off-by: Mark Hilbush <mark@hilbush.com>
2022-02-23 00:38:02 +01:00
lsiepel
2e1ea32e8f
[plugwiseha] Improve cache and timeout handling (#12345)
* Rework caching and timeout handling
* Fix another caching related issue

Signed-off-by: Leo Siepel <leosiepel@gmail.com>
2022-02-22 21:00:43 +01:00
eugen
9e6b952b66
fix storage usage (#12305)
Signed-off-by: Eugen Freiter <freiter@gmx.de>
2022-02-22 06:50:19 +01:00
Wouter Born
00e16f5b4e
[flicbutton] Fix SAT @NonNull findings (#12334)
Signed-off-by: Wouter Born <github@maindrain.net>
2022-02-20 23:42:45 +01:00
Gaël L'hopital
cabcaa9698
[network] Adressing issue #11503 (#12316)
Signed-off-by: clinique <gael@lhopital.org>
2022-02-20 23:24:49 +01:00
lolodomo
6ef311304f
Remove some of the empty XML tag "description" (#12332)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-02-20 23:16:16 +01:00
lolodomo
d868f0bbd9
[flicbutton] Add missing i18n translations properties (#12333)
Related to #9234

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-02-20 23:15:42 +01:00
openhab-bot
7d0809db31
New Crowdin updates (#12229)
* New translations deconz.properties (Italian)
* New translations dynamodb.properties (Finnish)
* New translations guntamatic.properties (Italian)
* New translations ipp.properties (German)
* New translations luxtronikheatpump.properties (German)
* New translations mqtt.properties (Italian)
* New translations openwebnet.properties (German)
* New translations voskstt.properties (Italian)
* New translations watsonstt.properties (Italian)
2022-02-20 22:02:01 +01:00
Patrick Fink
6c104e241a
[flicbutton] Initial contribution FlicButton Binding (#9234)
* [flicbutton] Initial contribution FlicButton Binding

Signed-off-by: Patrick Fink <mail@pfink.de>

* [flicbutton] Add config parameter address for FlicButton thing

Signed-off-by: Patrick Fink <mail@pfink.de>

* [flicbutton] Run spotless

Signed-off-by: Patrick Fink <mail@pfink.de>

* [flicbutton] Code cleanup & docs improvement

Signed-off-by: Patrick Fink <mail@pfink.de>

* Apply suggestions from code review

Co-authored-by: Fabian Wolter <github@fabian-wolter.de>

* [flicbutton] Update LICENSE

Signed-off-by: Patrick Fink <mail@pfink.de>

* [flicbutton] Apply suggestions from code review (2) & update to 3.1-SNAPSHOT

Signed-off-by: Patrick Fink <mail@pfink.de>

* [flicbutton] Apply suggestions from code review (3) & fix offline status

Signed-off-by: Patrick Fink <mail@pfink.de>

* [flicbutton] Fix 3rd party source for proper IDE integration

Signed-off-by: Patrick Fink <mail@pfink.de>

* [flicbutton] Simplify config parsing

Signed-off-by: Patrick Fink <mail@pfink.de>

* [flicbutton] Move everything to internal package

Signed-off-by: Patrick Fink <mail@pfink.de>

* [flicbutton] Remove hyphens from port parameter docs example

Signed-off-by: Patrick Fink <mail@pfink.de>

* [flicbutton] Change maintainer to openHAB project

Signed-off-by: Patrick Fink <mail@pfink.de>

* Apply docs suggestions + update to 3.2.0-SNAPSHOT

Signed-off-by: Patrick Fink <mail@pfink.de>

Co-authored-by: Matthew Skinner <matt@pcmus.com>

* [flicbutton] Fix bridge offline & reconnect handling

Signed-off-by: Patrick Fink <mail@pfink.de>

* [flicbutton] Close open socket on dispose

Signed-off-by: Patrick Fink <mail@pfink.de>

* [flicbutton] Improve exception error message in ThingStatus

Signed-off-by: Patrick Fink <mail@pfink.de>

* [flicbutton] Fix README title

Signed-off-by: Patrick Fink <mail@pfink.de>

* [flicbutton] Improve exception error message in ThingStatus

Signed-off-by: Patrick Fink <mail@pfink.de>

* [flicbutton] Style fixes

Signed-off-by: Patrick Fink <mail@pfink.de>

* [flicbutton] Use trace log level for button clicks & status changes

Signed-off-by: Patrick Fink <mail@pfink.de>

* Apply doc improvements from code review

Signed-off-by: Patrick Fink <mail@pfink.de>

Co-authored-by: Matthew Skinner <matt@pcmus.com>

* [flicbutton] Add binding to bom/openhab-addons

Signed-off-by: Patrick Fink <mail@pfink.de>

* [flicbutton] Cleanup / remove guava leftover

Signed-off-by: Patrick Fink <mail@pfink.de>

* [flicbutton] Remove online status description

Signed-off-by: Patrick Fink <mail@pfink.de>

* [flicbutton] Improve flicd hostname label

Signed-off-by: Patrick Fink <mail@pfink.de>

Co-authored-by: Fabian Wolter <github@fabian-wolter.de>

* [flicbutton] Do not catch IllegalArgumentException anymore as its not neeed

Signed-off-by: Patrick Fink <mail@pfink.de>

* [flicbutton] Use debug log level instead of info

Signed-off-by: Patrick Fink <mail@pfink.de>

* [flicbutton] Update version and license

Signed-off-by: Patrick Fink <mail@pfink.de>

* [flicbutton] Fix SAT warnings, e.g. add null handling annotations

Signed-off-by: Patrick Fink <mail@pfink.de>

* [flicbutton] Fix SAT warnings (2)

Signed-off-by: Patrick Fink <mail@pfink.de>

* [flicbutton] Concurrency refactoring & fixes

Signed-off-by: Patrick Fink <mail@pfink.de>

* [flicbutton] Cancel initialization task also when already running

Signed-off-by: Patrick Fink <mail@pfink.de>

* [flicbutton] Add javadoc and move FLIC_OPENHAB_EVENT_TRIGGER_MAP constant to constants class

Signed-off-by: Patrick Fink <mail@pfink.de>

* [flicbutton] Use ThingStatusDetail.OFFLINE.GONE when Flic button was removed from bridge

Signed-off-by: Patrick Fink <mail@pfink.de>

* [flicbutton] Fix FlicSimpleclientDiscoveryServiceImpl javadoc

Signed-off-by: Patrick Fink <mail@pfink.de>

* [flicbutton] Fix required definition of thing types

Signed-off-by: Patrick Fink <mail@pfink.de>

Co-authored-by: Fabian Wolter <github@fabian-wolter.de>
Co-authored-by: Matthew Skinner <matt@pcmus.com>
2022-02-20 21:53:30 +01:00
Wouter Born
51bbd34cd7
[bluetooth] Add missing default translations (#12329)
This will allow for translating the Bluetooth Binding in Crowdin.

Signed-off-by: Wouter Born <github@maindrain.net>
2022-02-20 20:26:10 +01:00
Wouter Born
8559651166
[mqtt] Add default translations (#12328)
This will allow for translating the MQTT Binding in Crowdin.

Signed-off-by: Wouter Born <github@maindrain.net>
2022-02-20 20:12:31 +01:00
GiviMAD
27538fa87f
[watsonstt] lazy abort (#12318)
* [watsonstt] lazy abort

Signed-off-by: Miguel Álvarez Díez <miguelwork92@gmail.com>
2022-02-20 14:25:47 +01:00
Jacob Laursen
c03dbfd520
Interrupt current thread on InterruptedException (#12323)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-02-20 14:22:40 +01:00
GiviMAD
4d77608da1
[googlestt] lazy abort (#12317)
Signed-off-by: Miguel Álvarez Díez <miguelwork92@gmail.com>
2022-02-20 12:45:31 +01:00
Christoph Weitkamp
a517e6e768
[openweathermap] Call Thread.currentThread().interrupt() on InterruptedException (#12314)
* Call Thread.currentThread().interrupt() on InterruptedException

Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2022-02-20 12:35:51 +01:00
GiviMAD
9bb43461fb
[voskstt] initial contribution (#12249)
Signed-off-by: Miguel Álvarez Díez <miguelwork92@gmail.com>
2022-02-19 21:52:04 +01:00
jimtng
6000bc75fb
[daikin] Add the ability to disable background discovery (#12300)
Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
2022-02-19 21:50:12 +01:00
Jacob Laursen
2e72ac78fd
[hdpowerview] Add support for setting repeater LED color and brightness (#12308)
* Add support for setting repeater LED color and brightness.

Fixes #12307

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-02-19 21:48:38 +01:00
Wouter Born
33b613d283
[hueemulation] Provide non-null context to TriggerHandlerCallback (#12320)
This prevents NPEs and a compilation issue when openhab/openhab-core#2763 is merged.

Signed-off-by: Wouter Born <github@maindrain.net>
2022-02-19 21:37:51 +01:00
Christoph Weitkamp
187937fbd1
Catch exception in case of connection to database failed during activation of servive (#12313)
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2022-02-19 21:37:23 +01:00
ranzen84
3b0c2ca19f
Update README.md (#12322) 2022-02-19 21:35:11 +01:00
eugen
f29034fe87
[homekit] mark item dirty only if it has homekit metadata (#12293)
* mark item dirty only if it has homekit metadata

Signed-off-by: Eugen Freiter <freiter@gmx.de>
2022-02-19 09:21:52 +01:00
Christoph Weitkamp
bc7e01726f
[openweathermap] Code cleanup (#12311)
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2022-02-18 08:47:35 +01:00
Christoph Weitkamp
b5e480bd30
Allow default sound parameter value (#12309)
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2022-02-17 23:03:31 +01:00
Ben Jones
2b80c0ea97
[amplipi] Add support for incremental volume control (#12297)
Signed-off-by: Ben Jones <ben.jones12@gmail.com>
2022-02-17 09:30:30 +01:00
jimtng
f18ee99b08
[daikin] Fix communication errors by retrying failed http requests (#12239)
* [daikin] Fix communication errors by retrying failed http requests

Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
2022-02-16 07:35:19 +01:00
Pawel
85866c63c0
[bluetooth.airthings] Catch all exceptions in a scheduled task to prevent future executions from being suppressed (#12261)
* Fixes #9862

Catch all exceptions in scheduled task to prevent future executions from being suppressed.

Signed-off-by: Pawel Switalski <switalski.pw@gmail.com>
Signed-off-by: Pawel <s-pw@example.com>
2022-02-16 07:30:39 +01:00
jimtng
baa9aacf50
[fronius] Fix communication errors by retrying failed http requests (#12255)
* [fronius] Fix communication errors by retrying failed http requests

Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
2022-02-15 23:50:37 +01:00
lolodomo
909d3d8c42
[omnilink] Removed tags from channel type lock_switch (#12288)
Related to #12262

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-02-14 12:42:45 +01:00
lolodomo
4330e96ce7
[airquality] Cleanup semantic tags (#12290)
Related to #12262

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-02-14 07:49:04 +01:00
lolodomo
ab83767fcf
[millheat] Cleanup semantic tags (#12289)
Related to #12262

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-02-14 07:48:24 +01:00
lolodomo
a0c31e0cfa
[deconz] Cleanup semantic tags (#12287)
* [deconz] Cleanup semantic tags

Related to #12262

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-02-13 22:50:50 +01:00
lolodomo
43d1175c78
[vigicrues] Cleanup semantic tags (#12286)
Related to #12262

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-02-13 21:49:11 +01:00
lolodomo
78a5d5d6ad
[openweathermap] Cleanup semantic tags (#12285)
Related to #12262

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-02-13 21:35:20 +01:00
lolodomo
02033c229d
[sonyprojector] Fix tags for channel type powerstate (#12283)
Related to #12262

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-02-13 21:16:53 +01:00
lolodomo
f484faafd0
[sagercaster] Cleanup semantic tags (#12284)
Related to #12262

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-02-13 21:12:58 +01:00
lolodomo
631c7d8c79
[souliss] Remove tags from channel type power (#12282)
Related to #12262

Follow-up #12269

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-02-13 20:41:36 +01:00
Jacob Laursen
b750d85a11
Use system channel types for humidity and outdoor temperature (#12277)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-02-13 19:56:51 +01:00
lolodomo
7d3f3c56a7
[souliss] Fix semantic tags (#12269)
Related to #12262

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-02-13 16:26:01 +01:00
lolodomo
8b91e2172f
[openwebnet] Fix tags for channel shutter (#12271)
Related to #12262

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-02-13 12:50:47 +01:00
lolodomo
c576b1e894
[dmx] Fix tags for channel color_temperature (#12265)
Related to #12262

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-02-13 12:49:52 +01:00
lolodomo
b25753cb17
[lifx] Cleanup semantic tags (#12274)
Related to #12262

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-02-13 12:48:06 +01:00
lolodomo
1197c67bbb
Replace unknown category DimmableLight by Light (#12264)
Also replace unknwon category DimmableCT by ColorLight

Fix #12263

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-02-13 09:40:29 +01:00
Dan Cunningham
b7e064a872
[hydrawise] Support unused zones (#12275)
* [hydrawise] Support unused zones
Fixes #12209

Signed-off-by: Dan Cunningham <dan@digitaldan.com>
2022-02-13 09:15:20 +01:00
lolodomo
a7e6fe648d
[max] Use defined semantic tags (#12268)
Related to #12262

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-02-12 23:11:26 +01:00
lolodomo
e0b1c58c5a
[shelly] Category added to channel type sensorHumidity (#12266)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-02-12 23:09:00 +01:00
lolodomo
97d07c9316
[yeelight] Cleanup semantic tags (#12270)
Related to #12262

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-02-12 23:06:12 +01:00
Doug Culnane
605c06107f
[renault] Renault more channels and HVAC ON / toggle charge mode (#12095)
* [renault] Add more channels to Renault Binding.
* [renault] Improve example rule to reduce API use.

Signed-off-by: Culnane Douglas <douglas.culnane@extern.a1.at>
2022-02-12 20:22:35 +01:00
lolodomo
223eb5e24d
[feican] Add semantic tags on channel color_temperature (#12272)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-02-12 19:05:07 +01:00
eugen
5901479f0e
[homekit] update java hap library (#12267)
* update hap
* correction for categories

Signed-off-by: Eugen Freiter <freiter@gmx.de>
2022-02-12 15:07:58 +01:00
Matthew Skinner
35a6fdde60
[ipobserver] Add support for WiFi version and push based method. (#12151)
* Add support for Wifi version of ipObserver.
* make config private again.
* Add logging.
* Remove tags

Signed-off-by: Matthew Skinner <matt@pcmus.com>
2022-02-12 09:34:16 +01:00
Jacob Laursen
1be50736e3
Fix recent regression when bridge is offline while initializing child things. (#12259)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-02-10 23:34:14 +01:00
Hilbrand Bouwkamp
888cf00245
[tplinksmarthome] Added KL400, KL430 lightstrip support (#12000)
Closes #8709

Additional:
- Added action to send and receive json commands to a tplink device. This can be used for test purposes or to run commands not available through channels.

Fixes:
- Power channel of a bulb is defined as QuantityType in xml, therefor it should create the state using QuantityType
- Retry getting values 5 times before setting the device offline. Reduced socket time out to 2 seconds as it normally should react quickly and if it times out it tries again.

Also-by: Dustin Masters <ceo@dustinsoftware.com>
Signed-off-by: Hilbrand Bouwkamp <hilbrand@h72.nl>
2022-02-10 19:58:24 +01:00
jimtng
a0236bf993
[fronius] Add support for Fronius Smart Meter 65A (#12258)
Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
2022-02-10 18:54:01 +01:00
MikeTheTux
70e57e43e2
[guntamatic] Added 'biosmart' and 'generic' thingtype, robustness improvements on control interface (#12146)
* * added 'biosmart' and 'generic' type. * robustness improvements on control interface

Signed-off-by: Michael Weger <weger.michael@gmx.net>
2022-02-09 21:02:59 +01:00
Jacob Laursen
b23254fc3a
Fix unreachable lights and sensors being marked as GONE. (#12245)
Fixes #12244

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-02-09 20:26:57 +01:00
Ethan Dye
fdf8ebec98
[OmniLink] Refactor parts of code (#12246)
Signed-off-by: Ethan Dye <mrtops03@gmail.com>
2022-02-09 17:59:36 +01:00
Jacob Laursen
24c5105dca
Reduce log level for messages received for unconfigured devices (#12248)
Fixes #12247

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-02-09 07:54:25 +01:00
Hannes Spenger
ac32260f22
[fronius] Added Ohmpilot thing and channel realpowersum for thing meter (#11835)
* Added support for fronius ohmpilot and added smart meter power sum.

Signed-off-by: urmet0 <hannes.spenger@gmail.com>
2022-02-09 00:02:40 +01:00
lolodomo
b54e1026ae
[hue] Semantics added to channel types (#10977)
* [hue] Semantics added to channel types

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-02-08 23:03:31 +01:00
Ethan Dye
20da017fa2
[OmniLink] Add semantic tags to channels (#11100)
* Add semantic tags to channels
* Use system channels where possible

Signed-off-by: Ethan Dye <mrtops03@gmail.com>
2022-02-08 22:01:57 +01:00
Wouter Born
14058c1603
[insteon] Prevent null values from being inferred when printing to console (#12243)
This prevents the null analysis from inferring null values when printing to a Console.

Related to openhab/openhab-core#2742

Signed-off-by: Wouter Born <github@maindrain.net>
2022-02-08 21:27:17 +01:00
Cody Cutrer
43cef812ae
[mqtt.homie] remove unused constants in tests (#12242)
Signed-off-by: Cody Cutrer <cody@cutrer.us>
2022-02-08 21:01:25 +01:00
GiviMAD
9a086fd6e3
[watsonstt] initial contribution (#12161)
* [watsonstt] initial contribution

Signed-off-by: Miguel Álvarez Díez <miguelwork92@gmail.com>
2022-02-08 20:52:02 +01:00
lolodomo
99cfb65aba
[openweathermap] Semantics added to channel types (#10972)
Also fix few categories to use only official categories

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-02-08 19:06:25 +01:00
J-N-K
60f9f60faf
Adjustments after changing null-annotations for updating properties (#12221)
Signed-off-by: Jan N. Klug <github@klug.nrw>
2022-02-08 18:35:16 +01:00
Andrew Fiddian-Green
a3448a57d3
[hdpowerview] Fix for capabilities:1 shades (#12237)
* [hdpowerview] fix capabilities:1

Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2022-02-08 13:16:32 +01:00
GiviMAD
4e6bc0976e
[porcupineks] fix null pointer exception and file bundle extraction on Windows OS (#12234)
Signed-off-by: Miguel Álvarez Díez <miguelwork92@gmail.com>
2022-02-07 18:53:14 +01:00
jimtng
d46367dfd0
[mqtt] Remove references to the System Broker (#12233)
Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
2022-02-07 16:03:41 +01:00
olivierkeke
e89a5e6996
[teleinfo] Refactor channel config files for Linky standard mode (#12204)
* Refactor channel config files
* Remove duplicate PAPP channel type

Signed-off-by: Olivier Marceau <hollysaiqs@marceau.ovh>
2022-02-07 16:02:48 +01:00
jimtng
267a8aac7c
[jrubyscripting] convert presets from java class to ruby class (#12047)
Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
2022-02-06 21:50:56 +01:00
maniac103
f29d86cf4f
[homematic] Remove state description step size handling (#12192)
The RPC protocol doesn't provide this value, so it always was made up
more or less arbitrarily. Since the UI now uses this value for
validation purposes, there are cases where valid values can not be
entered due to this step size (particularly for datapoints with more
than 1 decimal digit).

Fixes #12183

Signed-off-by: Danny Baumann <dannybaumann@web.de>
2022-02-06 20:21:59 +01:00
Christoph Weitkamp
d707420ec5
[jdbc] Fixed ClassCastException for ColorItem / HSBType (#12225)
* Fixed ClassCastException for ColorItem / HSBType

Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2022-02-06 15:45:03 +01:00
Christian Kittel
0028b8d13c
Prevent Null Pointer Exception if socket connection is broken (#12223)
Signed-off-by: EvilPingu <ckittel@gmx.de>
2022-02-06 15:43:00 +01:00
GiviMAD
19fd145368
[googlestt] emit correct recognition events (#12210)
Signed-off-by: Miguel Álvarez Díez <miguelwork92@gmail.com>
2022-02-06 13:42:32 +01:00
Jacob Laursen
1422253adf
Fix inbox entries for already configured devices. (#12217)
Fixes #12216

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-02-06 12:16:45 +01:00
basse04
caed360c37
[kostalinverter] Fix to, prevent randomly stops of binding. (#12124)
* [kostalinverter] Fix to, prevent randomly stops of binding.

Signed-off-by: basse04 <orjan.backsell@gmail.com>
2022-02-06 11:02:32 +01:00
jimtng
a3bd8caba9
[mqtt.generic] Support transformationPattern for thing's availabilityTopic (#12167)
* [mqtt.generic] Support transformationPattern for thing's availability payload
* [mqtt] Remove org.apache.commons.lang3.StringUtils dependency

Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
2022-02-06 10:30:06 +01:00
Jacob Laursen
85ffbe37db
[wemo] Fix already configured devices in inbox (#12215)
* Reuse UDN configuration parameter definition.
* Fix inbox entries for already configured devices.

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-02-06 09:50:29 +01:00
Jacob Laursen
e9deeccf49
Eliminate risk of bad firmware response breaking shade/scene updates. (#12214)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-02-05 21:23:36 +01:00
Christian Kittel
b9a838bf18
Fixing Issue if server returns not 200 while signing in (#12211)
Signed-off-by: EvilPingu <ckittel@gmx.de>
2022-02-05 21:21:51 +01:00
digitlength
e872e14894
Update README.md (#12168)
Added outgoing data section
2022-02-05 20:44:45 +01:00
Andrew Fiddian-Green
b76551f4d7
[siemenrds] Update in ReadMe about getting an API key (#12212)
* [siemenrds] update ReadMe about the api key

Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2022-02-05 20:34:34 +01:00
Sonic-Amiga
7a407523dc
[herzborg] Herzborg binding (#9327)
Supports Herzborg curtain motors over RS-485 network

Signed-off-by: Pavel Fedin <pavel_fedin@mail.ru>
Co-authored-by: Matthew Skinner <matt@pcmus.com>
Co-authored-by: Fabian Wolter <github@fabian-wolter.de>

Co-authored-by: Matthew Skinner <matt@pcmus.com>
Co-authored-by: Fabian Wolter <github@fabian-wolter.de>
2022-02-05 19:08:05 +01:00
Jacob Laursen
8ebd4e9047
[wemo] Improve GENA subscription reliability and error handling (#12148)
* Consolidate service subscriptions in base class.
* Remove unsynchronized and unneeded cache of subscriptions.
* Do not unregister participant when removing subscription.
* Fix status wrongly set to ONLINE when exception is thrown.
* Refactor error handling for WemoHttpCall.
* Adjust log level for communication errors.
* Add automatic subscription renewal.
* Fix more ONLINE/OFFLINE status transition issues.
* Adjust log level when getWemoURL fails because device is offline.
* Remove redundant logging.

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-02-05 18:56:58 +01:00
Stian Kjoglum
882e52647d
Enhancement for websocket re-econnectivity & fix item/channel response (#12191)
Signed-off-by: Stian Kjoglum <stiankj@online.no>
Signed-off-by: kjoglum <stiankj@online.no>
2022-02-05 11:09:07 +01:00
Jacob Laursen
97422175c7
Update README after latest changes. (#12173)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-02-05 09:26:08 +01:00
eugen
fde78b3fea
make onChange synchronized (#12205)
Signed-off-by: Eugen Freiter <freiter@gmx.de>

Co-authored-by: Eugen Freiter <freiter@gmx.de>
2022-02-05 08:39:17 +01:00
jimtng
73b805b115
[mqtt] connectionStateChanged(CONNECTED) called twice (#12200)
Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
2022-02-04 23:32:56 +01:00
Jacob Laursen
97db73938d
Improve error handling for unknown shades and timeouts. (#12181)
Fixes #12180

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-02-03 23:45:41 +01:00
lolodomo
02776d8585
[voicerss] Null annotations added on the main service class (#12190)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-02-03 19:48:14 +01:00
Balisz
3c7d4d8a38
[playstation] Clarified the part to obtain configuration info (#12194)
* Clarified the part to obtain configuration info
2022-02-03 16:32:16 +01:00
jimtng
5f48b72e16
[mqtt] Fix translation file names (#12193)
Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
2022-02-03 16:27:55 +01:00
openhab-bot
9a8e14ba19
New Crowdin updates (#12188)
* New translations http.properties (Italian)

* New translations ambientweather.properties (French)

* New translations automower.properties (French)

* New translations electroluxair.properties (French)

* New translations mqttbroker.properties (Hungarian)

* New translations mqttbroker.properties (Italian)
2022-02-03 13:03:42 +01:00
jimtng
80819ca503
[mqtt] Support birth and shutdown message (#12152)
Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
2022-02-03 12:42:54 +01:00
Kai Kreuzer
ca1e2b0e42
[tesla] Introduce "allowWakeUpForCommands" option (#12184)
* Introduce "allowWakeUpForCommands" option

Signed-off-by: Kai Kreuzer <kai@openhab.org>
2022-02-02 20:28:48 +01:00
lolodomo
624efab678
[voicerss] Fix and enhance the external tool to prefill the cache (#12155)
* [voicerss] Fix and enhance the external tool to prefill the cache
* Make the tool independent of core openHAB
* Fix the parsing of the command arguments.
* Allow to provide optional audio codec and format.
* Null annotations added on most of the classes
* Simplified doc about classpath
* Suppress obsolete mention of open issue in doc

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-02-02 18:39:35 +01:00
jimtng
de6de1a22d
[daikin] Fix NPE when setting zones on startup (#12165)
Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
2022-02-02 17:35:15 +01:00
jimtng
36ab0cdc87
[mqtt] Remove MQTT System Broker (#12157)
Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
2022-02-02 14:00:33 +01:00
Christoph Weitkamp
ca73548af2
[hue] Fixed setting wrong values for ledindocation configuration (#12182)
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2022-02-01 08:42:17 +01:00
jimtng
5b1627c426
[mqtt] publishMQTT Action accepts a bytearray payload (#12170)
* [mqtt] MQTT Action publishMQTT accept byte array

Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
2022-02-01 00:51:46 +01:00
olivierkeke
87975feab2
[teleinfo] Update translation files (#12156)
* Apply maven i18n plugin

Signed-off-by: Olivier Marceau <hollysaiqs@marceau.ovh>
2022-02-01 00:44:58 +01:00
Jacob Laursen
fd6c8eeb80
[hdpowerview] Add shade identify command (#12175)
* Add shade identify command.

Fixes #12174 

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-01-31 18:38:40 +01:00
Wouter Born
58d6123696
[lifx] Add support for new LIFX products (#12179)
Allows for discovering all the new LIFX products and their features.

Signed-off-by: Wouter Born <github@maindrain.net>
2022-01-31 12:35:54 +01:00
Dan Cunningham
a0920d4c0c
[jsscripting] Append the ruleID or file name to the logger when console logging (#11945)
* Appends the ruleID or file name to the logger when console logging.
* Adds configurable logging, updates scriptId logic

Signed-off-by: Dan Cunningham <dan@digitaldan.com>
2022-01-31 11:55:50 +01:00
robnielsen
37c028ddc0
[insteon] Ignore missing network handler when disposing a device (#12169)
Signed-off-by: Rob Nielsen <rob.nielsen@yahoo.com>
2022-01-30 18:50:47 +01:00
Cody Cutrer
8794ff860e
[homekit] handle NULL/UNDEF for temperature characteristics (#12172)
recent regression from handling QuantityType

Signed-off-by: Cody Cutrer <cody@cutrer.us>
2022-01-30 18:46:56 +01:00
Dan Cunningham
00da156b1b
[jsscripting] Updates to latest openhab-js library (#12171)
* Updates to latest openhab-js library
* Update for new default log level in 3.3

Signed-off-by: Dan Cunningham <dan@digitaldan.com>
2022-01-30 18:28:58 +01:00
jimtng
927dbba107
[mqtt.generic] Include availabilityTopic in the binding docs (#12158)
Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
2022-01-30 11:45:33 +01:00
SoCsOnFPGAsGuy
5c741fda9e
[enocean] enable usage of Nodon roller-shutter repeater mode (#12133)
* [enocean] enable repeater mode selection for NODON rollershutter
* [enocean] adds new EEP definition for NODON rollershutter to README.md

Signed-off-by: Marcel Eckert <mrcleckert@aol.com>
2022-01-30 11:12:03 +01:00
openhab-bot
78902b84b5
New translations electroluxair.properties (Italian) (#12147) 2022-01-30 09:53:09 +01:00
jimtng
dc10897456
[mqtt.generic] Rename channel label from Percentage Value to Dimmer (#12162)
Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
2022-01-30 09:26:46 +01:00
jimtng
3c32f9aa24
[mqtt.generic] Fix default configuration and docs for color_mode (#12163)
Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
2022-01-30 09:13:39 +01:00
jimtng
4e122005ca
[jrubyscripting] Apply RUBYLIB configuration to $LOAD_PATH (#12123)
* [jrubyscripting] Apply RUBYLIB configuration to $LOAD_PATH

Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
2022-01-29 11:55:09 +01:00
lolodomo
5abea08da3
[voicerss] Hide the API key when logging API URL (#12096)
Also fix few typos

Also small changes regarding log levels and exception handling

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-01-29 11:52:36 +01:00
boecko
d75baa59af
[groovyscripting] add conf/automation/groovy to the classpath (#12043)
* [groovyscripting] added conf/automation/groovy-path to the classpath

Signed-off-by: Andreas Böckler <andy@boeckler.org>
2022-01-29 09:33:12 +01:00
mlobstein
78e214651f
Workaround for incorrectly reported fan state (#12145)
Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
2022-01-28 22:00:52 +01:00
Arne Seime
4cad5dab1e
Minor clarification of macAddress property (#12119)
Signed-off-by: Arne Seime <arne.seime@gmail.com>
2022-01-28 16:41:56 +01:00
lolodomo
9717b7a107
[googlestt] Adjust service label for consistency with TTS services. (#12134)
Documentation enhanced to explain how to setup the default STT.

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-01-28 09:02:21 +01:00
Jacob Laursen
7b3a1c9fc2
Create concrete handlers for Insight, Motion and Socket/Light Switch. (#12120)
No logic/code changes yet, just extraction/separation.

Fixes #12105

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-01-28 08:23:24 +01:00
openhab-bot
15d1610952
New Crowdin updates (#12050)
* New translations tradfri.properties (Italian)

* New translations mycroft.properties (French)

* New translations deutschebahn.properties (German)

* New translations gardena.properties (German)

* New translations luftdateninfo.properties (German)

* New translations network.properties (Finnish)

* New translations publictransportswitzerland.properties (Finnish)

* New translations mycroft.properties (Finnish)

* New translations pushover.properties (German)

* New translations yamahamusiccast.properties (Italian)

* New translations ecotouch.properties (German)

* New translations voicerss.properties (French)
2022-01-28 07:58:33 +01:00
jimtng
87b0dbfd06
[jrubyscripting] Update jruby version to 9.3.3.0 (#12143)
Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
2022-01-28 07:47:38 +01:00
Jacob Laursen
dab48ddd95
[hdpowerview] Optimize initialization of shades (#12113)
* Optimize initialization of shades.

Fixes #12071

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>

* Avoid hashmap reallocation during initialization.

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-01-28 07:47:32 +01:00
Jacob Laursen
608d0ae23a
[hdpowerview] Fix autoupdate quirk. (#12141)
Fixes #12140

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-01-27 21:38:29 +01:00
Jacob Laursen
369b985192
[hdpowerview] Convert calibrate to command channel. (#12138)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-01-27 20:49:27 +01:00
GiviMAD
89b8b2eb0a
[porcupineks] add library to NOTICE file and update to porcupine 2.1 (#12137)
Signed-off-by: Miguel Álvarez Díez <miguelwork92@gmail.com>
2022-01-27 20:19:27 +01:00
GiviMAD
702ffcdc22
[googlestt] add library to NOTICE file (#12136)
Signed-off-by: Miguel Álvarez Díez <miguelwork92@gmail.com>
2022-01-27 20:00:04 +01:00
Christian Wild
3d9717caf9
[tapocontrol] now supports energy monitoring of P110 device (#12017)
* [tapocontrol] added energy monitoring for P110
* [tapocontrol] corrected textual thing configuration in readme

Signed-off-by: Christian Wild <christian@wild-bw.de>
2022-01-27 08:46:30 +01:00
GiviMAD
07e02cf459
[googlestt] initial contribution (#12055)
* [googlestt] initial contribution

Signed-off-by: Miguel Álvarez Díez <miguelwork92@gmail.com>
2022-01-27 00:24:51 +01:00
eugen
ec93c3600e
[homekit] quick restart on network changes (#12072)
* quick restart on network changes

* only restart if needed
* add null check

Signed-off-by: Eugen Freiter <freiter@gmx.de>
2022-01-26 20:19:03 +01:00
Benjamin Lafois
d6da67435a
[somfytahoma] [Improvement] Fix cozytouch support and add waterheatersystem support (#11855)
* Add support for Cozytouch and WaterHeaterSystem

Signed-off-by: Benjamin Lafois <benjamin.lafois@gmail.com>
2022-01-26 20:12:46 +01:00
lolodomo
56b2f47be6
[porcupineks] Enhanced documentation (#12116)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-01-25 20:18:09 +01:00
Andrew Fiddian-Green
8a2d507b21
[hdpowerview] Added support for rear blackout panel (#12098)
* [hdpowerview] refactor enum constant names
* [hdpowerview] add support for blackout shades
* [hdpowerview] unit tests for capabilities 8 & 9
* [hdpowerview] delete no longer valid comment
* [hdpowerview] blackout shade position is never UNDEF
* [hdpowerview] updated read me
* [hdpowerview] refactor unit tests into two classes

Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2022-01-25 20:09:14 +01:00
Jacob Laursen
9d361c1fa3
[hdpowerview] Add support for repeaters (#12061)
* Add support for repeaters.

Fixes #12060

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>

* Simplify thing type filtering.

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>

* Improve robustness of configuration ID validation/initialization.

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>

* Convert repeater-identify to command channel.

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>

* Fix logged warning.

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>

* Skip unneeded bridge status logic.

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>

* Skip redundant logging.

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>

* Fix chanenl type label for blinking enabled.

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-01-24 22:42:53 +01:00
olivierkeke
3d24cfc535
[teleinfo] improve documentation for Linky Standard TIC mode (#12093)
* Improve standard tic mode channels description
* Add textual configuration for standard tic mode
* Add new supported hardware

Signed-off-by: Olivier Marceau <hollysaiqs@marceau.ovh>
2022-01-24 21:37:16 +01:00
Jacob Laursen
bb9cb906d1
[wemo] Refactor duplicated code (#12101)
* Extract getHost() and getUDN() to common handler base class.
* Delete AbstractWemoHandler as it serves no purpose.
* Extract isUpnpDeviceRegistered() to base class.
* Fix typo.

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-01-24 21:26:35 +01:00
lolodomo
ea21f2ff47
[pollytts] Mention where to find configuration settings (#12107)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-01-24 21:13:39 +01:00
lolodomo
ffb03d572d
[voicerss] Mention where to find configuration settings (#12108)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-01-24 21:12:57 +01:00
lolodomo
0166fdaee6
[TTS services] Enhance doc to explain how to setup default voice (#12099)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-01-23 22:50:50 +01:00
Hans-Jörg Merk
d9c31e626a
[wemo] make UPnP more robust and fix polling/portscan (#12001)
* [wemo] make UPnP more robust
* [wemo] change thing status updates

Signed-off-by: Hans-Jörg Merk <github@hmerk.de>
2022-01-23 22:49:52 +01:00
Cody Cutrer
d4fb20d529
[homekit] use quantity type conversions for temperature characteristics (#12083)
if an Item associated with a temperature characteristic has a QuantityType
(of dimension Temperature) as its state, regardless of current unit,
use that to convert to celsius instead of any other configuration.

Note that this is only for supply values to HomeKit; commands coming from
HomeKit will still send a DecimalType with units according to the HomeKit-wide
useFahrenheit configuration.

Signed-off-by: Cody Cutrer <cody@cutrer.us>
2022-01-23 13:40:14 +01:00
Jonathan Gilbert
6bd37cb02a
[jsscripting] JS script engine no longer watches node_modules for scripts (#11830)
Signed-off-by: Jonathan Gilbert <jpg@trillica.com>
2022-01-23 11:46:13 +01:00
lolodomo
4af260d0e6
[voicerss] Updated documentation (config, voices) (#12088)
* [voicerss] Updated documentation (config, voices)

Signed-off-by: Laurent Garnier <lg.hc@free.fr>

* Removed "actually"

Signed-off-by: Laurent Garnier <lg.hc@free.fr>

* Use HTTPS to reference API WEB site in documentation

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-01-23 11:04:47 +01:00
lolodomo
107c72e958
[pollytts] Fix typo in documentation (#12089)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-01-22 22:35:50 +01:00