Commit Graph

1178 Commits

Author SHA1 Message Date
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
Wouter Born
f166220068
Resolve runbundles for Xtext upgrade (#10481)
Related to openhab/openhab-core#2278

Signed-off-by: Wouter Born <github@maindrain.net>
2021-04-08 22:07:46 +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
Wouter Born
260d6ba083
Upgrade Karaf to 4.3.1 (#10424)
* Upgrades Karaf to 4.3.1
* Uses Pax Logging as runtime dependency instead of Felix Log
  To change the log level in itests, change the value of org.ops4j.pax.logging.DefaultServiceLog.level in itest-include.bndrun
* Adds --add-opens and nashorn.args in itest-include.bndrun to prevent some warnings being logged in itests

Related to openhab/openhab-distro#1167

Signed-off-by: Wouter Born <github@maindrain.net>
2021-04-02 20:00:30 +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