Commit Graph

1059 Commits

Author SHA1 Message Date
Wouter Born b42101addc
Remove unused local variables (#10528)
Fixes 26 SAT UnusedLocalVariable findings

Signed-off-by: Wouter Born <github@maindrain.net>
2021-04-16 22:35:01 +02:00
olivierkeke 030329c118
[teleinfo] Add power dimension to apparent power channels (#10512)
* Add Power dimension to PAPP channels

Signed-off-by: Olivier Marceau <hollysaiqs@marceau.ovh>

* Add PAPP dimension in documentation

Signed-off-by: Olivier Marceau <hollysaiqs@marceau.ovh>
2021-04-16 22:08:24 +02:00
pali f2abff3124
[nibeheatpump] Fixed ProDiNo UDP issue (#10511)
* [nibeheatpump] Arduino nibegw improvements

Signed-off-by: Pauli Anttila <pauli.anttila@gmail.com>

* [nibeheatpump] - more improvements

Signed-off-by: Pauli Anttila <pauli.anttila@gmail.com>

* Merge fixes

Signed-off-by: Pauli Anttila <pauli.anttila@gmail.com>

* Added note about tested KMPDinoEthernet library version

Signed-off-by: Pauli Anttila <pauli.anttila@gmail.com>
2021-04-16 22:07:23 +02:00
Ondrej Pecta 3c4e650547
[somfytahoma] added support for the Bioclimatic Pergola thing (#10498)
* [somfytahoma] added support for the Bioclimatic Pergola thing

Signed-off-by: Ondrej Pecta <opecta@gmail.com>

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

Signed-off-by: Fabian Wolter <github@fabian-wolter.de>

Co-authored-by: Fabian Wolter <github@fabian-wolter.de>
2021-04-16 21:53:24 +02:00
Jared 4300c642c8
[onkyo] Add audio info channel (IFA Eiscp command) (#10483)
* Add audio info channel

Signed-off-by: Jared <39014663+baku104788@users.noreply.github.com>

* Audio Info Channel implementation

Signed-off-by: Jared <39014663+baku104788@users.noreply.github.com>

* remove extra backup file

Signed-off-by: Jared <39014663+baku104788@users.noreply.github.com>

* Update readme info for audioinfo

Signed-off-by: Jared <39014663+baku104788@users.noreply.github.com>
2021-04-16 21:41:40 +02:00
Kai Kreuzer 2e421267cf
[airthings] Add support for Airthings Wave Mini (#10456)
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2021-04-16 21:38:20 +02:00
Wouter Born 1633c705a1
Use Collection.isEmpty (#10525)
Fixes 47 SAT UseCollectionIsEmpty findings.

Signed-off-by: Wouter Born <github@maindrain.net>
2021-04-15 21:00:47 +02:00
Christoph Weitkamp 7a22d65406
Added missing config parameters for sqltypes of IMAGE an PLAYER item types (#10524)
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2021-04-15 17:51:35 +02:00
quidam 18989d7ab7
[avmfritz] Added support for HAN-FUN blinds (#10492)
* Added support for HAN-FUN blinds

Closes #10430 

Signed-off-by: Ulrich Mertin <mail@ulrich-mertin.de>
2021-04-15 17:50:11 +02:00
Christoph Weitkamp 7dad6ea973
Fixed wrong time parsing (#10523)
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2021-04-15 17:45:48 +02:00
Wouter Born 0c36650179
Avoid star imports and add missing braces (#10521)
Fixes the following SAT findings:

* AvoidStarImportCheck (125)
* NeedBracesCheck (39)

Signed-off-by: Wouter Born <github@maindrain.net>
2021-04-15 16:12:05 +02:00
Christoph Weitkamp e24d43aecb
Use TypeParser to get matching Item State (#10501)
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2021-04-14 23:35:16 +02:00
Christoph Weitkamp a04cfd3389
Fixed SAT findings for new SAT 0.11.1 release (#10518)
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2021-04-14 15:11:31 +02:00
Tobi0610 9e4b67ee09
[nibeheatpump] arduino nibegw: added STM32 nucleo-F429ZI support (#9933)
Signed-off-by: Tobi <real_1988@web.de>
2021-04-11 20:17:59 +02:00
Sami Salonen df3917a0db
[dynamodb] Update test dependency DynamoDBLocal (#10505)
No need to list transitive test dependencies, they are pulled in
automatically. Exception with sqlite4java shared libraries which are
needed for runtime.

With the update of DynamoDBLocal, tests require newer version of jetty
(9.4.18.v20190429), resolving #10502

Signed-off-by: Sami Salonen <ssalonen@gmail.com>
2021-04-11 20:04:32 +02:00
MatthiasKlocke 5d5cd780a5
[vdr] Initial contribution (#9947)
Signed-off-by: Matthias Klocke <matthias.klocke@gmx.net>
2021-04-11 20:02:00 +02:00
pravussum fc81909596
[io.metrics] initial contribution (#9890)
Signed-off-by: Robert Bach <openhab@mortalsilence.net>
2021-04-11 19:56:46 +02:00
Hilbrand Bouwkamp 53d168991c
[enphase] Initial contribution (#9883)
Signed-off-by: Hilbrand Bouwkamp <hilbrand@h72.nl>
2021-04-11 19:54:08 +02:00
Stefan Giehl 4f018b8aec
[LuxtronikHeatpump] Initial Contribution (#9669)
Signed-off-by: Stefan Giehl <stefangiehl@gmail.com>
2021-04-11 19:51:46 +02:00
grro d9ed461950
[WebThing] Initial contribution (#9555)
Signed-off-by: Gregor Roth <gregor.roth@web.de>
2021-04-11 19:47:27 +02:00
Raphael Mack 9bfb2f4313
[resol] Add Resol Controller Binding - Initial Contribution (#9449)
Signed-off-by: Raphael Mack <ramack@raphael-mack.de>
2021-04-11 19:25:55 +02:00
Koen Schockaert 16ffeecb90
[Qbus] Initial contribution (#9191)
Signed-off-by: Koen Schockaert <ks@qbus.be>
2021-04-11 19:22:37 +02:00
olivierkeke 217f25fff6
[teleinfo] code cleanup and remove timeout (#9902)
* Remove timeout when waiting frame

Signed-off-by: Olivier Marceau <hollysaiqs@marceau.ovh>

* Add olivierkeke to code owners list

Signed-off-by: Olivier Marceau <hollysaiqs@marceau.ovh>

* Code cleanup

Signed-off-by: Olivier Marceau <hollysaiqs@marceau.ovh>

* Refactor data objects

Signed-off-by: Olivier Marceau <hollysaiqs@marceau.ovh>

* Apply some sonarlint suggestions

Signed-off-by: Olivier Marceau <hollysaiqs@marceau.ovh>

* Fix typo

Signed-off-by: Olivier Marceau <hollysaiqs@marceau.ovh>

* Simplify thing compatibility test

Co-authored-by: Connor Petty <mistercpp2000@gmail.com>
Signed-off-by: Olivier Marceau <hollysaiqs@marceau.ovh>

* Remove dot from PTEC values

Signed-off-by: Olivier Marceau <hollysaiqs@marceau.ovh>

Co-authored-by: Connor Petty <mistercpp2000@gmail.com>
2021-04-10 22:36:06 +02:00
Sami Salonen b675160486
[dynamodb] Dynamodb refactor (#9937)
* [dynamodb] Update to SDKv2 Enhanced Client

In addition, introduce new more simple table layout, having only one
table for all items and with more efficient data encoding (saves some read capacity).

Signed-off-by: Sami Salonen <ssalonen@gmail.com>

* [dynamodb] Time To Live (TTL) support with new table schema

Signed-off-by: Sami Salonen <ssalonen@gmail.com>

* [dynamodb] Support QuantityType

Signed-off-by: Sami Salonen <ssalonen@gmail.com>

* [dynamodb] suppress null warnings in tests

Signed-off-by: Sami Salonen <ssalonen@gmail.com>

* [dynamodb] Optimized query performance

Similar to https://github.com/openhab/openhab-addons/pull/8938,
avoid calling Item.getUnit() repeatedly when querying data.

Signed-off-by: Sami Salonen <ssalonen@gmail.com>

* [dynamodb] Support for Group items

Signed-off-by: Sami Salonen <ssalonen@gmail.com>

* [dynamodb] Update copyright to 2021

Signed-off-by: Sami Salonen <ssalonen@gmail.com>

* [dynamodb] Removing TODO comments and add javadoc

Signed-off-by: Sami Salonen <ssalonen@gmail.com>

* [dynamodb] javadoc

Signed-off-by: Sami Salonen <ssalonen@gmail.com>

* [dynamodb] Readability improved in TableCreatingPutItem

Also documenting the full retry logic.

Signed-off-by: Sami Salonen <ssalonen@gmail.com>

* [dynamodb] verify fixes

Signed-off-by: Sami Salonen <ssalonen@gmail.com>

* [dynamodb] Remove slf4j from explicit dependencies

Signed-off-by: Sami Salonen <ssalonen@gmail.com>

* [dynamodb] Remove jackson from pom.xml, add as feature dep

Signed-off-by: Sami Salonen <ssalonen@gmail.com>

* [dynamodb] bnd.importpackage tuned

Signed-off-by: Sami Salonen <ssalonen@gmail.com>

* [dynamodb] abort query() immediately if not configured to avoid NPE

Signed-off-by: Sami Salonen <ssalonen@gmail.com>

* [dynamodb] less chatty diagnostics

Signed-off-by: Sami Salonen <ssalonen@gmail.com>

* [dynamodb] xml formatting

Signed-off-by: Sami Salonen <ssalonen@gmail.com>

* [dynamodb] corrected logger class

Signed-off-by: Sami Salonen <ssalonen@gmail.com>

* [dynamodb] null checks

Signed-off-by: Sami Salonen <ssalonen@gmail.com>

* [dynamodb] netty client configured

Signed-off-by: Sami Salonen <ssalonen@gmail.com>

* [dynamodb] bnd not to filter out importpackage org.slf4j.impl

Signed-off-by: Sami Salonen <ssalonen@gmail.com>

* [dynamodb] cfg bundle group id

Signed-off-by: Sami Salonen <ssalonen@gmail.com>

* [dynamodb] Remove usage of org.apache.commons

Signed-off-by: Sami Salonen <ssalonen@gmail.com>

* [dynamodb] Remove extra prints from test

Signed-off-by: Sami Salonen <ssalonen@gmail.com>

* [dynamodb] Reducing @SupressWarnings with generics

Signed-off-by: Sami Salonen <ssalonen@gmail.com>

* [dynamodb] README extra space removed

Signed-off-by: Sami Salonen <ssalonen@gmail.com>

* [dynamodb] spotless

Signed-off-by: Sami Salonen <ssalonen@gmail.com>

* [dynamodb] Removed unnecessary logging

Signed-off-by: Sami Salonen <ssalonen@gmail.com>

* [dynamodb] encapsulation

Signed-off-by: Sami Salonen <ssalonen@gmail.com>

* [dynamodb] removed unnecessary NonNullByDefault({}) ctr-injected field

Signed-off-by: Sami Salonen <ssalonen@gmail.com>

* [dynamodb] null annotations

Signed-off-by: Sami Salonen <ssalonen@gmail.com>

* [dynamodb] less verbose logging in tests

Signed-off-by: Sami Salonen <ssalonen@gmail.com>

* [dynamodb] Prefer Collections.emptyList over List.of()

Signed-off-by: Sami Salonen <ssalonen@gmail.com>

* [dynamodb] less verbose call

Signed-off-by: Sami Salonen <ssalonen@gmail.com>

* [dynamodb] Visitor to return values (simplifies the code)

Less warnings suppressed

Signed-off-by: Sami Salonen <ssalonen@gmail.com>

* [dynamodb] comments for remaining warning supressions

Signed-off-by: Sami Salonen <ssalonen@gmail.com>

* [dynamodb] README tuning, typo fixing

Signed-off-by: Sami Salonen <ssalonen@gmail.com>

* [dynamodb] Using less verbose syntax

Signed-off-by: Sami Salonen <ssalonen@gmail.com>

* [dynamodb] simplified logging on errors

Signed-off-by: Sami Salonen <ssalonen@gmail.com>

* [dynamodb] Code review comments

Avoiding null checker while having more compact code

Signed-off-by: Sami Salonen <ssalonen@gmail.com>

* [dynamodb] Null safety

Signed-off-by: Sami Salonen <ssalonen@gmail.com>

* [dynamodb] configuration label and description formatting

Signed-off-by: Sami Salonen <ssalonen@gmail.com>

* [dynamodb] xml indentation with tabs

Signed-off-by: Sami Salonen <ssalonen@gmail.com>

* [dynamodb] @Nullable 1-line annotation with class fields

Signed-off-by: Sami Salonen <ssalonen@gmail.com>

* [dynamodb] No need to override credentials per request

Client has the credentials set on build time

Signed-off-by: Sami Salonen <ssalonen@gmail.com>

* [dynamodb] set API timeouts no matter what

Signed-off-by: Sami Salonen <ssalonen@gmail.com>

* [dynamodb] adding exception message

Signed-off-by: Sami Salonen <ssalonen@gmail.com>

* [dynamodb] static logger

Signed-off-by: Sami Salonen <ssalonen@gmail.com>

* [dynamodb] dependency

- comments clarifying the logic of properties
- adding netty to dep.noembedding to ensure it is not compiled in

Signed-off-by: Sami Salonen <ssalonen@gmail.com>

* [dynamodb] ensure correct jackson and netty versions using dependencyMgt

Specifically for development and testing

See 051c764789
for further discussion why this is needed.

Signed-off-by: Sami Salonen <ssalonen@gmail.com>

* [dynamodb] avoid google collections

Signed-off-by: Sami Salonen <ssalonen@gmail.com>

* [dynamodb] jackson-dataformat-cbor not jackson-cbor

Signed-off-by: Sami Salonen <ssalonen@gmail.com>

* [dynamodb] also restrict netty-transport-native-epoll linux-x86_64 version

Signed-off-by: Sami Salonen <ssalonen@gmail.com>

* [dynamodb] refering dynamodb.cfg similar to other bundles

Signed-off-by: Sami Salonen <ssalonen@gmail.com>

* [dynamodb] bnd.importpackage to excl. reactivestreams and typesafe.netty

These are compiled-in dependencies, and thus we do not want to have them in
OSGi Import-Package.

Signed-off-by: Sami Salonen <ssalonen@gmail.com>

* Update bundles/org.openhab.persistence.dynamodb/src/main/resources/OH-INF/config/config.xml

Co-authored-by: Fabian Wolter <github@fabian-wolter.de>
Signed-off-by: Sami Salonen <ssalonen@gmail.com>

* Update bundles/org.openhab.persistence.dynamodb/src/main/resources/OH-INF/config/config.xml

Signed-off-by: Sami Salonen <ssalonen@gmail.com>

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

* [dynamodb] remove netty-codec-http2 as it is included in tp-netty

See https://github.com/openhab/openhab-core/pull/2257/

Signed-off-by: Sami Salonen <ssalonen@gmail.com>

* [dynamodb] removed duplicate in bnd.importpackage

Signed-off-by: Sami Salonen <ssalonen@gmail.com>

* [dynamodb] slf4j-api marked as provided to remove dep errors in runtime

Signed-off-by: Sami Salonen <ssalonen@gmail.com>

Co-authored-by: Fabian Wolter <github@fabian-wolter.de>
2021-04-10 22:13:38 +02:00
Stefan Triller 08602c04b4
[ventaair] New VentaAir binding for air humidifiers (#9979)
* [ventaair] New VentaAir binding for air humidifiers

New binding that implements support for air humidifier from Venta Air.

Closes #9922

Signed-off-by: Stefan Triller <github@stefantriller.de>
2021-04-10 21:54:28 +02:00
Daniël van Os 95cdc3cb35
[Homewizard] Initial contribution (#9831)
Signed-off-by: Daniël van Os <daniel@supercell.nl>
2021-04-10 10:18:21 +02:00
Marcel 5ba64517ff
[miio] add support for cgllc.airm.cgdn1 Qingping Air Monitor Lite (#10182)
* [miio] add support for cgllc.airm.cgdn1 Qingping Air Monitor Lite

close #10152

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>

* [miio] remove expiremental

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>

* Improve readme

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>

* [miio] improve qty types

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>

* [miio] remove unknown element

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2021-04-10 09:58:57 +02:00
mlobstein 035556bc55
[radiothermostat] Add Remote Temperature channel (#10194)
* Add Remote Temperature channel

Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>

* Fix spelling error

Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>

* Fix spelling error2

Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>

* review changes

Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>

* review changes

Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>

* review changes

Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>

* minor README update

Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
2021-04-09 23:28:38 +02:00
miloit 3561388061
[yioremote] Update and improve of the reconnection of the plugin (#10480)
* changed reconnection

Signed-off-by: Michael Loercher <MichaelLoercher@web.de>

* reverted

Signed-off-by: Michael Loercher <MichaelLoercher@web.de>

* Update and Bugfix reconnection

Signed-off-by: Michael Loercher <MichaelLoercher@web.de>

* Update reconnection handling

Signed-off-by: Michael Loercher <MichaelLoercher@web.de>

* Update codestyle

Signed-off-by: Michael Loercher <MichaelLoercher@web.de>
2021-04-09 23:18:02 +02:00
Christoph Weitkamp e0f5e858c7
[openweathermap] Added One Call API weather warnings (#10435)
* Added One Call API weather warnings

Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>

* Changed Channel title to event

Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2021-04-09 22:59:25 +02:00
einstein99 950033ba2f
[modbus.studer] Update README.md (#10412)
* Update README.md

As i spent hours to figure out the correct document to read about the address scheme, this might help others to avoid this and get this plugin to the same "copy and paste" use  as the others, even if the existing scheme already is enough to get it working.

* Update bundles/org.openhab.binding.modbus.studer/README.md

Co-authored-by: Fabian Wolter <github@fabian-wolter.de>
2021-04-09 22:49:59 +02:00
dalgwen c3b29e0fe6
[pulseaudio] Add pulseaudio sink as openhab audio sink (#1895) (#10423)
* [pulseaudio] Add pulseaudio sink as openhab audio sink (#1895)

This add to the pulseaudio binding the capability to use "pulseaudio sink" as an "openhab sink" to output sound from openhab to a pulse audio server on the network.
You need to load module-simple-protocol-tcp sink in addition to the usual module-cli-protocol-tcp, and enable the sink in the thing configuration.

Closes #1895

Signed-off-by: Gwendal Roulleau <gwendal.roulleau@gmail.com>

* Small corrections after review

And getting rid of some other compilation warnings
Signed-off-by: Gwendal Roulleau <gwendal.roulleau@gmail.com>

* Fix some registration errors  and allow the binding to load the simple module remotely

Signed-off-by: Gwendal Roulleau <gwendal.roulleau@gmail.com>

* Small corrections after reviews

initialize audiosink in a thread with scheduler.submit
clear some warning related code.

Signed-off-by: Gwendal Roulleau <gwendal.roulleau@gmail.com>
Better interruptexception handling

* Fix two small concurrency bugs

Signed-off-by: Gwendal Roulleau <gwendal.roulleau@gmail.com>

Co-authored-by: Gwendal Roulleau <gwendal.roulleau@gmail.com>
2021-04-09 22:44:38 +02:00
Connor Petty 89d735bb0f
[bluetooth] Changed characteristic read/write to use CompletableFutures (#8970)
Signed-off-by: Connor Petty <mistercpp2000+gitsignoff@gmail.com>
2021-04-09 22:23:28 +02:00
Christoph Weitkamp 1822f77b07
Initialize connection to devices asynchronously (#9228)
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2021-04-09 21:55:00 +02:00
Hilbrand Bouwkamp 13a58b9458
Adds exceptions for KarafAddonFeatureCheck (#8613)
* Adds exceptions for KarafAddonFeatureCheck

Signed-off-by: Hilbrand Bouwkamp <hilbrand@h72.nl>
2021-04-08 22:55:29 +02:00
Wouter Born 5d99a7f524
[dsmr] Use ThingHandlerService for discovery (#9044)
This simplifies the DSMRHandlerFactory code so it no longer needs to register and keep track of a discovery service for each bridge.

Also contains a few other improvements:

* more constructor injection
* add a few missing @NonNullByDefault on test classes

Signed-off-by: Wouter Born <github@maindrain.net>
2021-04-08 22:49:14 +02:00
Hans-Jörg Merk fdada9a155
[wemo] add annotations and remove usage of apache.commons.* (#9829)
* [wemo] add annotations and remove usage of apache.commons.*

Also-by: Wouter Born <github@maindrain.net>
Signed-off-by: Hans-Jörg Merk <github@hmerk.de>
2021-04-08 22:46:46 +02:00
Scott H 8521756abb
Fix Zoneminder Binding Action examples (#10484)
Signed-off-by: Scott Hanson <scooter_seh@yahoo.com>
2021-04-08 22:43:34 +02:00
Christoph Weitkamp a57065c8c0
[deconz] Prevent exception when formatting value (#10486)
- Prevent exception when formatting value

Fixes #10295 

Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2021-04-08 22:42:15 +02:00
Kai Kreuzer 11b24a551a
[bluetooth] Graciously handle systems without DBus (#10153) 2021-04-08 22:27:41 +02:00
Dan Cunningham c5a2882a16
[openhab-cloud] Fixes Jetty upgrade issue (#10487)
This removes the ResponseListener class and replaces it with lambda functions for the various Jetty response listeners. This seems to fix our duplicate onContent issue in #10470 , although i'm not at all clear why.
Fixes #10470

Signed-off-by: Dan Cunningham <dan@digitaldan.com>
2021-04-08 22:12:44 +02:00
Ondrej Pecta 16614254c8
[somfytahoma] fixed action groups execution (#10488)
Fixes #10489

Signed-off-by: Ondrej Pecta <opecta@gmail.com>
2021-04-08 14:01:31 +02:00
Christoph Weitkamp 223a745946
[tr064] Use Util.getAndUnmarshalXML method to retrieve phonebook (supports timeout 5s and caching) (#10447)
Fixes #10436

Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2021-04-07 18:38:22 +02:00
lolodomo 8ab37ce285
[bindings d-e] Fix exception handling (Jetty HTTP client) (#10476)
Fixes #10474

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2021-04-06 17:37:19 +02:00
lolodomo fed460218e
[bindings a-c] Fix exception handling (Jetty HTTP client) (#10467)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2021-04-06 17:30:12 +02:00
lolodomo a509c3b638
[sonyprojector] Fix handling of InterruptedException (Thread.sleep) (#10458)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2021-04-06 08:47:20 +02:00
lolodomo c9c52124e9
[sonos] Fix handling of InterruptedException (Thread.sleep) (#10459)
* [sonos] Fix handling of InterruptedException (Thread.sleep)

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

* Avoid catching Exception

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2021-04-05 15:15:28 +02:00
lolodomo c0445629dd
[rotel] Fix handling of InterruptedException (Thread.sleep) (#10460)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2021-04-05 15:14:11 +02:00
lolodomo fbea2f3535
[freebox] Fix handling of InterruptedException (Thread.sleep) (#10462)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2021-04-05 15:13:38 +02:00
lolodomo 80ffaeec7b
[powermax] Fix handling of InterruptedException (Thread.sleep) (#10463)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2021-04-05 15:06:44 +02:00
lolodomo d39e24bdf0
[remoteopenhab] Avoid catching Exception (#10461)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2021-04-05 15:05:42 +02:00
lolodomo 782fe0eb8f
[somfytahoma] Fix code analysis warnings (#10466)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2021-04-05 15:01:17 +02:00
lolodomo 6e44b1ca15
[bindings s-z] Fix deprecated tag "required" (#10457)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2021-04-05 11:19:45 +02:00
Martin Herbst 45ec538a40
[homematic] Some fixes and support for new device versions (#10438)
* Removed method that was already marked as deprecated

Signed-off-by: Martin Herbst <develop@mherbst.de>

* Handle HM-ES-TX-WM with firmware version >= 2.0 as different device

The device provides different data points (channels) depending on the
firmware version. Therefore devices with a firmware version >= 2.0 are
handled as a different device.

Fixes #9793

Signed-off-by: Martin Herbst <develop@mherbst.de>

* Don't change uninitialized thing state automatically to online

Signed-off-by: Martin Herbst <develop@mherbst.de>

* Listen to all network interfaces instead of limiting it to only one

This also makes the specification of a separate bind address
superfluous.

Fixes #9855

Fixes #10075

Signed-off-by: Martin Herbst <develop@mherbst.de>

* Add support for HmIP-eTRV-C-2 device

The event messages received for this device are not correctly formatted
and thus some special treatment for at least one data point is required.


Signed-off-by: Martin Herbst <develop@mherbst.de>

* Spotless formatting applied

Signed-off-by: Martin Herbst <develop@mherbst.de>
2021-04-04 19:04:37 +02:00
Christoph Weitkamp 15f69b9011
[pushover] Added exception handling and synchronized (#10437)
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2021-04-04 18:58:16 +02:00
Arjen Korevaar aad3641368
[openthermgateway] add new statistics channels (#10203)
* Added new channels

Signed-off-by: Arjen Korevaar <a.korevaar@mephix.com>

* Fixed typo in channels

Signed-off-by: Arjen Korevaar <a.korevaar@mephix.com>

* Added UoM for hours count channels

Signed-off-by: Arjen Korevaar <a.korevaar@mephix.com>
2021-04-04 18:48:23 +02:00
lolodomo c1258d78ce
[somfytahoma] Avoid potentiel NPE (#10453)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2021-04-04 17:34:25 +02:00
rfaelens c738b212ec
[comfoair] Update README.md (#10427)
* Update README.md

Avoid confusion connecting RS232 to a CAN bus, wasting days of work...

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

Co-authored-by: boehan <boehan@users.noreply.github.com>

Co-authored-by: boehan <boehan@users.noreply.github.com>
2021-04-03 22:57:50 +02:00
Kai Kreuzer 66dbc6fbf0
[hdpowerview] Correctly embed dependency in binding (#10450)
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2021-04-03 21:59:15 +02:00
lolodomo a89e1788f2
[bindings o-r] Fix deprecated tag "required" (#10452)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2021-04-03 21:57:54 +02:00
David e2877fac83
[enocean] Update README.md (#10443) 2021-04-03 19:44:18 +02:00
lolodomo 3525c9123e
[somfytahoma] New channel on the gateway to execute scenes (#10346)
* [somfytahoma] New channel on the bridge to execute scenes

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

* Review comment: documentation updated

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

* Console command added to list the scenarios IDs

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

* Update state of new channel

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

* Review comment: set auto update policy to recommend

Signed-off-by: Laurent Garnier <lg./hc@free.fr>
2021-04-03 13:35:02 +02:00
lolodomo 4ff238d3f4
[somfytahoma] Faster feedback for commands initiated by the binding (#10409)
Also fix references to OH2

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2021-04-02 22:31:35 +02:00
Ross Kennedy e255dcd570
Update README.md (#10379)
Try to clarify beginners should not be using channels direct on broker Bridge Thing.

Signed-off-by: Ross Kennedy <rossko@culzean.clara.co.uk>
2021-04-02 22:26:32 +02:00
Matt 089ee3227a
[haywardomnilogic] Fix bridge thing status upon re-establishing server comms (#10371)
* Update HaywardBridgeHandler to set thingstatus online upon succesful getTelemetryData

Signed-off-by: matchews <mmyers75@icloud.com>

* updated default endpoint url

Signed-off-by: matchews <mmyers75@icloud.com>

* Bug fixes.  Prevent bridge status toggling if a single request fails.  Don't evaluate xml if http response if != 200

Signed-off-by: matchews <mmyers75@icloud.com>
2021-04-02 22:24:31 +02:00
Christian Niessner f8f0d8972b
[tacmi] Fix unintended toggleing and add update policy (#10095)
* [tacmi] TA-CMI: Improvements on Schema API Connection

* Removed deprecation warning
* Ensure channels get re-added when removed manually
* Debounce unintended toggeling when status-polling overlaps with new commands.
  Status fetching sometimes takes longer and then it occurs the status page reports still the old/previous value.
  With this change values for things will be ignored when the thing was updated after the start of the page fetch.

Signed-off-by: Christian Niessner <github-marvkis@christian-niessner.de>

* [tacmi] TA-CMI: Schema API Connection: Bugfix: On initialization check if custom channel types still exists and re-create them when needed...

Signed-off-by: Christian Niessner <github-marvkis@christian-niessner.de>

* [tacmi] TA-CMI: Schema API Connection: Improvement: channels now have a 'updatePolicy' configuration parameter to specify the update behaviour

Signed-off-by: Christian Niessner <github-marvkis@christian-niessner.de>

* [tacmi] TA-CMI: Improvements & some initial SI-Units for the COE connection handler

Signed-off-by: Christian Niessner <github-marvkis@christian-niessner.de>

* [tacmi] TA-CMI: only catch URISyntaxException instead of generic Exception

Signed-off-by: Christian Niessner <github-marvkis@christian-niessner.de>
2021-04-02 22:15:38 +02:00
Kai Kreuzer 05b25f3ab1
Rename README.MD to README.md 2021-04-02 10:46:26 +02:00
Bob A 4b70da49db
[lutron] Add support for bridged RadioRA (classic) systems (#10302)
Signed-off-by: Bob Adair <bob.github@att.net>
2021-03-31 22:44:58 +02:00
Markus Michels 1783017be4
[shelly] New Shelly Manager (more detailed information, status, integrated firmware upgrade) (#10276)
* This PR brings in the Shelly Manager, check doc/ShellyManager.md for
additional information.
* Restart Device in Manager when CoIoT Mode has changed
* Updated pattern to extract version info (thanks @fwolter), CoIoT warning
for non-Motion devices fixed; AdvancedUsers.md now refers to Shelly
Manager
* Modified message when beta is detected (reference to 1.5.7 release build
confuses users running 1.10 beta)
* Fix for Enable/Disable AP roaming
* Handle button events also in detached mode, README updated
* Ignore inconsistent version string for initial 1.10 releases
* removed display of firmware id (there are various formats and it has
no value)

Signed-off-by: Markus Michels <markus7017@gmail.com>
2021-03-31 22:42:33 +02:00
Christoph Weitkamp b9d3c35732
[pushover] Added universal action providing all available parameters (#10422)
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2021-03-31 22:00:29 +02:00
Fabian Wolter ee49e18734
[lcn] Add dimmer profile parameter to be accessible via UI (#10305)
Signed-off-by: Fabian Wolter <github@fabian-wolter.de>
2021-03-31 21:52:18 +02:00
Nathan Prins b9fe3bef04
[pioneeravr] Added channel for changing MCACC Memory profile on AVR (#10329)
Signed-off-by: Nathan Prins <nathanprins@hotmail.com>
2021-03-31 21:50:42 +02:00
Matthew Skinner ec8f411774
Fix warning at the wrong time. (#10351)
Signed-off-by: Matthew Skinner <matt@pcmus.com>
2021-03-31 21:48:19 +02:00
Gabor Bicskei d64f13351e
Fix #6939 - Forced channel triggering without previous state (#10356)
Signed-off-by: Gabor Bicskei <gbicskei@gmail.com>
2021-03-31 21:47:26 +02:00
jf114 6f516ee7ac
[upnpcontrol] Small correction to UpnpControl Binding README.md (#10393)
In the Thing Configuration section starting at Line 40, the code example had parameters transposed versus the preceding description and the true operation of the binding.  The correction puts the parameters included in the original example in the thing that they belong with in Lines 80 and 81.  The optional notification parameters of the renderer were not included originally and I have left it like that.
2021-03-31 21:46:03 +02:00
Antonio Tapiador bbbb3a8ebe
Fix battary_life property (#10394)
Viomi's property battery life seems to have a weird typo. The property's real name is `battary_life` instead of `battery_life`. Using the wrong name `battery_life` makes the other properties in the batch to be undefined: `"run_state","mode","err_state","battary_life","box_type"`

The correct name `battary_life` is already used in other projects like https://github.com/rytilahti/python-miio/blob/master/miio/viomivacuum.py#L316 or 0bed81ab4f/lib/robots/viomi/ViomiValetudoRobot.js (L254)

Signed-off-by: Antonio Tapiador del Dujo <atd@singularities.org>
2021-03-31 21:44:28 +02:00
Christoph Weitkamp 12b0908806
Set channel states to UNDEF instead of NULL; Fixed SAT warnings (#10421)
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2021-03-31 21:42:33 +02:00
Florian aa97da083c
Clarify if username/password fields are required (#10416)
The fields are used to login with username and password instead of a refreshToken.
They're therefore not required.

Signed-off-by: Florian Schmidt <florian.schmidt.welzow@t-online.de>
2021-03-31 21:38:39 +02:00
Wouter Denayer 634ee3ca69
[daikin] add energy usage day & week (#9602)
* add energy usage day & week

Signed-off-by: Wouter Denayer <wouter@denayer.com>

* updated readme

Signed-off-by: Wouter Denayer <wouter@denayer.com>

* updated readme

Signed-off-by: Wouter Denayer <wouter@denayer.com>

* removed email from @author, set log lvl to trace for parsed strings

Signed-off-by: Wouter Denayer <wouter@denayer.com>

* fixed some some checkstyle warnings

Signed-off-by: Wouter Denayer <wouter@denayer.com>

* addressed some checkstyle warnings

Signed-off-by: Wouter Denayer <wouter@denayer.com>

* updated copyright to 2021

Signed-off-by: Wouter Denayer <wouter@denayer.com>

* made private static final Logger logger uppercase

Signed-off-by: Wouter Denayer <wouter@denayer.com>

* made this logger lowercase again

Signed-off-by: Wouter Denayer <wouter@denayer.com>

Co-authored-by: Wouter Denayer <wouter@denayer.com>
2021-03-31 19:59:16 +02:00
Marcin Czeczko 0eb48e6abe
[automower] Add planner, calendar and command channels (#8802)
* [Automower] Enhanced binding:
	- Added support for the planner and calendar data
	- Added command channels
	- Updated docs

Signed-off-by: Marcin Czeczko <marcin.czeczko@gmail.com>

* [Automower] Fixed consts with channel ids after removal of channel
groups. Improved the mower state update:
- Cache the last read state from API
- Use cached mower state so the items linked will always be up to date
  without the need to wait for API refresh period.
- Use timeZoneProvider to user user set timezone.

Signed-off-by: Marcin Czeczko <marcin.czeczko@gmail.com>

* Rolledback NotNullByDefault annotation

Signed-off-by: Marcin Czeczko <marcin.czeczko@gmail.com>
2021-03-31 10:31:17 +02:00
Andrew Fiddian-Green ad7472847f
[velux] fix 'required' tag again (#10417)
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2021-03-30 21:34:07 +02:00
lolodomo 843e8d2904
[bindings l-n] Fix deprecated tag "required" (#10420)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2021-03-30 21:33:23 +02:00
lolodomo 62a0e7ac02
[somfytahoma] New method to send a command to several devices in the same place (#10347)
* [somfytahoma] New method to send a command to several devices in the same place

Also include the place into the inbox label (discovery)

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

* Review comment: remove unnecessary method

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2021-03-29 22:00:40 +02:00
lolodomo bd56fd8e5d
[bindings a-k] Fix deprecated tag "required" (#10410)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2021-03-29 22:00:06 +02:00
Ondrej Pecta 89ae8afa49
[somfytahoma] Fixed bug causing Gateway and Actiongroups get never ONLINE (#10355)
Signed-off-by: Ondrej Pecta <opecta@gmail.com>
2021-03-28 18:52:33 +02:00
Sebastian Prehn d2edd69f36
[lgwebos] Fix text message size bug (#10404)
Fixes #10403

Signed-off-by: Sebastian Prehn <sebastian.prehn@gmx.de>
2021-03-28 17:21:05 +02:00
Kai Kreuzer 1d8b0df4a7
[mecmeter] Initial contribution of mecmeter binding (#9075)
* Initial contribution of mecmeter binding

Also-by: Klaus Berger <klaus.berger@verbund.com>
Also-by: Florian Pazour <florian.pazour@verbund.com>
Signed-off-by: Kai Kreuzer <kai@openhab.org>

* addressed review feedback

Signed-off-by: Kai Kreuzer <kai@openhab.org>

* added codeowners entry

Signed-off-by: Kai Kreuzer <kai@openhab.org>

* addressed review comments

Signed-off-by: Kai Kreuzer <kai@openhab.org>
2021-03-28 11:20:21 +02:00
Christoph Weitkamp b1e48e0db9
[openweathermap] Added support for Air Pollution API (#10343)
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2021-03-27 20:04:02 +01:00
Wouter Born 1fa1f54272
[picotts] Add null annotations (#10392)
Signed-off-by: Wouter Born <github@maindrain.net>
2021-03-27 18:34:00 +01:00
M Valla bfa7f32dd5
Move to io.github.opewebnet4j 0.4.1 from Maven Central. Fixes #10298 and #10395 (#10397)
Signed-off-by: Massimo Valla <mvcode00@gmail.com>
2021-03-27 18:33:04 +01:00
Ion Marusic 767cbb19f0
[MiHome] Add a Bridge property for the network interface to be used for multicast traffic (#9619)
Signed-off-by: Ion Marusic <ion.marusic@gmail.com>
2021-03-27 17:43:57 +01:00
Nathan Prins 506ef2e115
[pioneeravr] Added support for Pioneer VSX-922 AVR (#10328)
Tested all channels and confirmed that they work for this model.

Signed-off-by: Nathan Prins <nathanprins@hotmail.com>
2021-03-26 18:33:03 +01:00
Christoph Weitkamp 0a2a6e738a
[sensebox] Gracefully handle JsonSyntaxException (#10348)
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2021-03-26 17:47:05 +01:00
Andrew Fiddian-Green 361a6726fc
[velux] Stability checks and improvements in slip io (#10119) 2021-03-26 17:13:37 +01:00
Wouter Born 6e1119a49a
Fix broken configfile GAV with karaf:kar (#10391)
The groupId variable results in the wrong configfile GAV when building a single KAR with karaf:kar for an add-on.

Signed-off-by: Wouter Born <github@maindrain.net>
2021-03-26 08:50:31 +01:00
Peter Schraffl 31dd73e93d
[bsblan] Updated the link to the BSB-LAN device repository in README.md (#10382)
Repository of the BSB-LAN device has been renamed.

Signed-off-by: Schraffl Peter <p.schraffl@gmx.at>
2021-03-25 18:23:27 +01:00
Hans-Jörg Merk 635127b0e5
Fix Typo in ReadMe (#10389) 2021-03-25 13:08:36 +01:00
Wouter Born 1d34872c61
[lifx] Improve firmware version support (#10384)
* [lifx] Improve firmware version support

When the firmware of a light is upgraded the supported features can change.
With these changes the binding uses the features based on the light firmware version.
Also corrects some of the temperature ranges based on the LIFX products description.

Signed-off-by: Wouter Born <github@maindrain.net>
2021-03-24 23:39:34 +01:00
Jan Gustafsson 5477fa5fb1
[tellstick] Fix for NPE (#10377) (#10378)
Signed-off-by: Jan Gustafsson <jannegpriv@gmail.com>
2021-03-23 08:39:17 +01:00
Gabor Bicskei c709f52d66
GPS accuracy state display pattern changed (#10374)
Signed-off-by: Gabor Bicskei <gbicskei@gmail.com>
2021-03-22 19:06:16 +01:00