Commit Graph

1115 Commits

Author SHA1 Message Date
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
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