]> git.basschouten.com Git - openhab-addons.git/log
openhab-addons.git
4 years agoupgrade to JUPnP 2.6.0 (#10801)
Kai Kreuzer [Fri, 4 Jun 2021 09:15:29 +0000 (11:15 +0200)]
upgrade to JUPnP 2.6.0 (#10801)

Signed-off-by: Kai Kreuzer <kai@openhab.org>
4 years ago[pwm] Initial Contribution (#10205)
Fabian Wolter [Tue, 1 Jun 2021 18:23:33 +0000 (20:23 +0200)]
[pwm] Initial Contribution (#10205)

Signed-off-by: Fabian Wolter <github@fabian-wolter.de>
4 years agoupdated JmDNS dependency version (#10780)
Kai Kreuzer [Mon, 31 May 2021 18:31:23 +0000 (20:31 +0200)]
updated JmDNS dependency version (#10780)

Signed-off-by: Kai Kreuzer <kai@openhab.org>
4 years ago[touchwand] - Add support for Risco alarm system sensors and AcWand thermostat (...
Roie Geron [Sun, 30 May 2021 09:46:41 +0000 (12:46 +0300)]
[touchwand] - Add support for Risco alarm system sensors and AcWand thermostat (#10748)

* notify listeners on status change using discovery

Signed-off-by: Roie Geron <roie.geron@gmail.com>
4 years ago[homeconnect] Retrieve list of programs when an appliance becomes available (#10773)
lolodomo [Sun, 30 May 2021 07:37:10 +0000 (09:37 +0200)]
[homeconnect] Retrieve list of programs when an appliance becomes available (#10773)

Cache the list of programs for an appliance

Fix #10771

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
4 years ago[velbus] Add new functionality PRESSED and LONG PRESSED (#10664)
Daniel Rosengarten [Sat, 29 May 2021 18:23:29 +0000 (20:23 +0200)]
[velbus] Add new functionality PRESSED and LONG PRESSED (#10664)

* [velbus] Add new functionality PRESSED and LONG PRESSED and fix bug

New functionality:
Add the the possibility to simulate the PRESSED and LONG PRESSED message of an input.

Module supported with button simulation :
VMB1RYS (button : CH6)
VMB6IN (buttons : CH1 ... CH6)
VMB2PBN, VMB6PBN, VMB7IN, VMB8IR, VMB8PB, VMB8PBU, VMBEL1, VMBEL2, VMBEL4, VMBGP1, VMBGP1-2, VMBGP2, VMBGP2-2, VMBGP4, VMBGP4-2, VMBGP4PIR, VMBGP4PIR-2 (buttons : CH1 ... CH8)
VMBELO, VMBGPOD, VMBGPOD-2 (buttons : CH1 ... CH32)

Fix bug:
The channels names were not correctly assigned to the thing properties. The last channel had the default name, not the one retrieved from the module.

Also-by: cedricboon <cedric.boon@hotmail.com>
Signed-off-by: Daniel Rosengarten <github@praetorians.be>
4 years ago[openwebnet] calculate position only if startedMovingAt is valid. (#10775)
M Valla [Sat, 29 May 2021 18:12:50 +0000 (20:12 +0200)]
[openwebnet] calculate position only if startedMovingAt is valid. (#10775)

After OH reboot position remains UNDEF.

Signed-off-by: Massimo Valla <mvcode00@gmail.com>
4 years ago[ecobee] logging improvements (#10772)
robnielsen [Sat, 29 May 2021 18:10:06 +0000 (13:10 -0500)]
[ecobee] logging improvements (#10772)

Signed-off-by: Rob Nielsen <rob.nielsen@yahoo.com>
4 years ago[senechome] issue #10679: Extend with additional channels; refactor and various impro...
eguib [Sat, 29 May 2021 12:29:20 +0000 (14:29 +0200)]
[senechome] issue #10679: Extend with additional channels; refactor and various improvements (#10687)

* [senechome] Extend with additional channels; refactor; improve error handling (#10679). Merged PR 9535 (rename batteryState to system state)

- charge/discharge energy/current/voltage/min/maxCellVoltage/load cycles per battery pack
- current/power/voltage per MPP
- liveHouseConsumption/livePowerGenerator
- battery,case,MCU temperature
- wallbox1: state, charging power/current, liveEnergy
- improve error handling, catch malformed JSON exception to prevent crashing the binding
- merged PR: 9535 (rename batteryState to systemState)
- renamed SenecHomeLimitation to SenecHomePower and added more channels
- refactored SenecHomeHandler to reduce code duplication (added some nice helper methods)

Signed-off-by: Erwin Guib <eguib@web.de>
4 years agoAdded support for HAN-FUN outlets / simple on-off devices (#10760)
Christoph Weitkamp [Sat, 29 May 2021 12:25:36 +0000 (14:25 +0200)]
Added support for HAN-FUN outlets / simple on-off devices (#10760)

Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
4 years ago[fmiweather] Fixed to work with new API (#10765)
Sami Salonen [Sat, 29 May 2021 12:23:23 +0000 (15:23 +0300)]
[fmiweather] Fixed to work with new API (#10765)

Tests updated as well

Signed-off-by: Sami Salonen <ssalonen@gmail.com>
4 years ago[lcn] Improve readme; Allow special module IDs <5 (#10770)
Fabian Wolter [Sat, 29 May 2021 11:51:32 +0000 (13:51 +0200)]
[lcn] Improve readme; Allow special module IDs <5 (#10770)

Signed-off-by: Fabian Wolter <github@fabian-wolter.de>
4 years agoMAP transformation text, add white space example (#10766)
Ross Kennedy [Fri, 28 May 2021 13:07:53 +0000 (14:07 +0100)]
MAP transformation text, add white space example (#10766)

Add simple white space escape example for MAP key

Signed-off-by: Ross Kennedy <rossko@culzean.clara.co.uk>
4 years ago[miio] add support for Yeelight 1S (mono4) (#10763)
Marcel [Fri, 28 May 2021 13:05:01 +0000 (15:05 +0200)]
[miio] add support for Yeelight 1S (mono4) (#10763)

* [miio] add support for yeelight mono4
* [miio] add support yeelight lamp 9 & 10

close #10619
close #10061

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
4 years ago[sonos] Add new channel heightlevel for Sonos ARC / ARC SL (#10759)
lolodomo [Fri, 28 May 2021 13:04:14 +0000 (15:04 +0200)]
[sonos] Add new channel heightlevel for Sonos ARC / ARC SL (#10759)

Fix #9874

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
4 years ago[homeconnect] Don't reset washer temp / spin speed when exiting from active program...
lolodomo [Fri, 28 May 2021 13:02:18 +0000 (15:02 +0200)]
[homeconnect] Don't reset washer temp / spin speed when exiting from active program (#10745)

Use the provided planned time for a washing program to set the channel "remaining_program_time_state" when no program is active

Fix #10744
Fix #10703

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
4 years ago[homeconnect] Build state options with a unique item for unsupported programs (#10754)
lolodomo [Fri, 28 May 2021 13:01:50 +0000 (15:01 +0200)]
[homeconnect] Build state options with a unique item for unsupported programs (#10754)

Apply to spin speed, temperature and drying taget channels

Fix #10701

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
4 years ago[homeconnect] Factorize handling of power command (#10747)
lolodomo [Fri, 28 May 2021 13:00:59 +0000 (15:00 +0200)]
[homeconnect] Factorize handling of power command (#10747)

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
4 years ago[comfoair] fix data handling for restricted devices (#10685)
boehan [Wed, 26 May 2021 19:12:15 +0000 (21:12 +0200)]
[comfoair] fix data handling for restricted devices (#10685)

Signed-off-by: Hans Böhm <h.boehm@gmx.at>
4 years ago[miio] also refresh after custom commands (#10714)
Marcel [Wed, 26 May 2021 19:04:19 +0000 (21:04 +0200)]
[miio] also refresh after custom commands (#10714)

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
4 years ago[mielecloud] Initial contribution of the Miele Cloud binding (#9146)
Björn Lange [Tue, 25 May 2021 20:06:49 +0000 (22:06 +0200)]
[mielecloud] Initial contribution of the Miele Cloud binding (#9146)

Also-by: Bert Plonus <bert.plonus@miele.com>
Also-by: Martin Lepsy <martin.lepsy@miele.com>
Also-by: Benjamin Bolte <benjamin.bolte@itemis.de>
Signed-off-by: Björn Lange <bjoern.lange@itemis.de>
4 years ago[linuxinput] use correct channelTypeUID for key-press channels (#10742)
Thomas Weißschuh [Sun, 23 May 2021 19:08:56 +0000 (21:08 +0200)]
[linuxinput] use correct channelTypeUID for key-press channels (#10742)

Previously there was a mismatch between the UIDs used by the handler and
the one actually registered from the XML-file.
This lead to channels not showing up in the UI.
(See https://github.com/openhab/openhab-webui/issues/406 )

Signed-off-by: Thomas Weißschuh <thomas@t-8ch.de>
4 years ago[linuxinput] Handle all kinds of buttons (#10730)
Thomas Weißschuh [Sun, 23 May 2021 19:03:14 +0000 (21:03 +0200)]
[linuxinput] Handle all kinds of buttons (#10730)

Previously only the basic keyboard buttons where handled.
Now all buttons known to Linux, or rather libevdev are reported.

Reported-in: https://community.openhab.org/t/linuxinput-binding-and-mouse-capture/122612
Reported-in: https://github.com/t-8ch/binding-linuxinput/issues/5

Signed-off-by: Thomas Weißschuh <thomas@t-8ch.de>
4 years ago[semsportal] initial contribution (#10100)
Iwan Bron [Sun, 23 May 2021 18:45:04 +0000 (20:45 +0200)]
[semsportal] initial contribution (#10100)

Signed-off-by: Iwan Bron <bron@olisa.eu>
4 years ago[homeconnect] Let the binding update item state when handling a command (#10749)
lolodomo [Sun, 23 May 2021 17:48:15 +0000 (19:48 +0200)]
[homeconnect] Let the binding update item state when handling a command (#10749)

To avoid the core framework updating automatically an item state while a
command is sent to this item but its handling by the binding is failing
or ignored

Fix #10700

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
4 years ago[homeconnect] Returns an empty list of options for an unsupported program (#10694)
lolodomo [Sun, 23 May 2021 17:06:52 +0000 (19:06 +0200)]
[homeconnect] Returns an empty list of options for an unsupported program (#10694)

* [homeconnect] Returns an empty list of options for an unsupported program

Fix #10689

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
* Review comment: List.of

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
4 years ago[openweathermap] Add correct default parameter. (#10739)
Jerome Luckenbach [Sat, 22 May 2021 22:27:54 +0000 (00:27 +0200)]
[openweathermap] Add correct default parameter. (#10739)

Signed-off-by: Jerome Luckenbach <github@luckenba.ch>
4 years ago[deconz] make lightgroup switch off if brightness is set to 0 (#10729)
Andres Meyer [Sat, 22 May 2021 06:16:14 +0000 (08:16 +0200)]
[deconz] make lightgroup switch off if brightness is set to 0 (#10729)

* Make lightgroup switch off lights if brightness is set to 0

Fixes #10320

Signed-off-by: Andres Meyer <andres@meyerfamily.ch>
4 years agoResolve itest runbundles for XStream upgrade (#10713)
Wouter Born [Fri, 21 May 2021 05:34:47 +0000 (07:34 +0200)]
Resolve itest runbundles for XStream upgrade (#10713)

Signed-off-by: Wouter Born <github@maindrain.net>
4 years agoUpdate README.md (#10712)
Koen Schockaert [Thu, 20 May 2021 18:29:44 +0000 (20:29 +0200)]
Update README.md (#10712)

Corrected some mistkes in the readme

Signed-off-by: Koen Schockaert <ks@qbus.be>
4 years agoAdded alternative handling for UnmarshalException (#10715)
Christoph Weitkamp [Thu, 20 May 2021 18:26:51 +0000 (20:26 +0200)]
Added alternative handling for UnmarshalException (#10715)

Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
4 years ago[groovyscripting] Update Groovy to 3.0.8 (#10721)
Wouter Born [Thu, 20 May 2021 18:25:29 +0000 (20:25 +0200)]
[groovyscripting] Update Groovy to 3.0.8 (#10721)

For all bugfixes and improvements, see:

http://groovy-lang.org/changelogs/changelog-3.0.8.html

Signed-off-by: Wouter Born <github@maindrain.net>
4 years agoFixed SAT findings (#10722)
Christoph Weitkamp [Thu, 20 May 2021 18:24:46 +0000 (20:24 +0200)]
Fixed SAT findings (#10722)

Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
4 years ago[pollytts] Fix settings namespace in documentation (#10725)
coriet [Thu, 20 May 2021 17:43:05 +0000 (19:43 +0200)]
[pollytts] Fix settings namespace in documentation (#10725)

Signed-off-by: Christian Oriet <github@oriet.org>
4 years agoFix build and improve exception handling (#10726)
Wouter Born [Thu, 20 May 2021 17:15:23 +0000 (19:15 +0200)]
Fix build and improve exception handling (#10726)

The PercentType and QuantityType can also throw an IllegalArgumentException.

Signed-off-by: Wouter Born <github@maindrain.net>
4 years ago[SenecHome] Catch and ignore malformed JSON (#10657)
Korbinian Probst [Wed, 19 May 2021 20:18:15 +0000 (22:18 +0200)]
[SenecHome] Catch and ignore malformed JSON (#10657)

* SENEC Home: Add SocketTimeoutException and MalformedJsonException

Signed-off-by: Korbinian Probst <kp.droid.dev@gmail.com>
* SENEC: Revert last commit

Signed-off-by: Korbinian Probst <kp.droid.dev@gmail.com>
* SENEC: Implement a counter that keeps the device online for random errors

Signed-off-by: Korbinian Probst <kp.droid.dev@gmail.com>
* Implement a print of the faulty response

Signed-off-by: Korbinian Probst <kp.droid.dev@gmail.com>
* Improve print of faulty response

Signed-off-by: Korbinian Probst <kp.droid.dev@gmail.com>
* Print all responses for debugging, catch MalformedJsonException explicitly

Signed-off-by: Korbinian Probst <korbinian.probst@gmx.de>
* Add Infor print if JSON is wrong. Catch JsonSyntaxException. Remove errorCounter

Signed-off-by: Korbinian Probst <korbinian.probst@gmx.de>
* Remove most debug code, move remaining messages to trace log level

Signed-off-by: Korbinian Probst <korbinian.probst@gmx.de>
* Bring back catch of MalformedJsonException. Avoid null pointer exception in case response is null.

Signed-off-by: Korbinian Probst <korbinian.probst@gmx.de>
* Collect error to print it in one message

Signed-off-by: Korbinian Probst <korbinian.probst@gmx.de>
Co-authored-by: Korbinian Probst <korbinian.probst@gmx.de>
4 years ago[plugwiseha] Initial contribution (#9504)
lsiepel [Wed, 19 May 2021 19:53:33 +0000 (21:53 +0200)]
[plugwiseha] Initial contribution (#9504)

Signed-off-by: Leo Siepel <leosiepel@gmail.com>
4 years agoUpgrade to Karaf 4.3.2 (#10693)
Wouter Born [Tue, 18 May 2021 05:37:57 +0000 (07:37 +0200)]
Upgrade to Karaf 4.3.2 (#10693)

* Syncs the karaf.version so the new Maven plugin is used
* Resolves itest runbundles for the new runtime dependencies

Signed-off-by: Wouter Born <github@maindrain.net>
4 years ago[insteon] add a read timeout when getting data from Insteon 2245-222 hub (#10708)
robnielsen [Mon, 17 May 2021 20:12:02 +0000 (15:12 -0500)]
[insteon] add a read timeout when getting data from Insteon 2245-222 hub (#10708)

Signed-off-by: Rob Nielsen <rob.nielsen@yahoo.com>
4 years agofixed: iCloud response invalid: null (#10710)
Trinitus01 [Mon, 17 May 2021 20:11:16 +0000 (22:11 +0200)]
fixed: iCloud response invalid: null (#10710)

changed: appVersion from 2.0 to 3.0
added: missing productType

Signed-off-by: Tom Blum <trinitus01@googlemail.com>
4 years agoIgnore spotless errors on binding creation (#10696)
Patrick Fink [Mon, 17 May 2021 20:07:41 +0000 (22:07 +0200)]
Ignore spotless errors on binding creation (#10696)

Signed-off-by: Patrick Fink <mail@pfink.de>
4 years ago[insteon] Fix SAT warnings (#10688)
robnielsen [Fri, 14 May 2021 08:22:55 +0000 (03:22 -0500)]
[insteon] Fix SAT warnings (#10688)

Signed-off-by: Rob Nielsen <rob.nielsen@yahoo.com>
4 years ago[influxdb] Fix problems when querying old historical data (#10680)
Joan Pujol [Fri, 14 May 2021 08:21:12 +0000 (10:21 +0200)]
[influxdb] Fix problems when querying old historical data (#10680)

Fix problem with historical  Influx1 data that was generated with addon version <3.0.0 that didn't write generate item tag

Signed-off-by: Joan Pujol <joanpujol@gmail.com>
4 years ago[luftdateninfo] Add internal sensor support (#10643)
Bernd Weymann [Thu, 13 May 2021 14:26:17 +0000 (16:26 +0200)]
[luftdateninfo] Add internal sensor support (#10643)

Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>
4 years ago[warmup] Initial contribution (#8562)
James Melville [Thu, 13 May 2021 13:37:05 +0000 (14:37 +0100)]
[warmup] Initial contribution (#8562)

Signed-off-by: James Melville <jamesmelville@gmail.com>
4 years ago[openwebnet] Energy meter returns always zero power if no other device has subscribed...
Conte Andrea [Thu, 13 May 2021 13:25:01 +0000 (15:25 +0200)]
[openwebnet] Energy meter returns always zero power if no other device has subscribed to power measures (#10565)

* add scheduler to start/stop sending instantaneous consumption

Signed-off-by: Conte Andrea <andrea@conte.com>
* added scheduler also in Initialize() in order to start reading data of a newly discovered thing

Signed-off-by: Conte Andrea <andrea@conte.com>
* removed setActivePowerNotificationsTime()  from dispose()

Signed-off-by: Conte Andrea <andrea@conte.com>
* add log in dispose() method

Signed-off-by: Conte Andrea <andrea@conte.com>
4 years ago[homeconnect] Initial contribution (#9187)
bruestel [Thu, 13 May 2021 12:56:03 +0000 (14:56 +0200)]
[homeconnect] Initial contribution (#9187)

Signed-off-by: Jonas Brüstel <jonas@bruestel.net>
Co-authored-by: Laurent Garnier <lg.hc@free.fr>
4 years agoUpdate Jackson version to 2.12.3 (#10669)
Wouter Born [Thu, 13 May 2021 07:49:08 +0000 (09:49 +0200)]
Update Jackson version to 2.12.3 (#10669)

This is the version used in the feature provided by openhab-core.

Signed-off-by: Wouter Born <github@maindrain.net>
4 years ago[modbus] Cleanup workaround leftovers and fix a few SAT findings (#10670)
Wouter Born [Wed, 12 May 2021 11:15:24 +0000 (13:15 +0200)]
[modbus] Cleanup workaround leftovers and fix a few SAT findings (#10670)

- Cleanup workaround leftovers and fix a few SAT findings

Signed-off-by: Wouter Born <github@maindrain.net>
4 years agoUpgrade Units of Measurement dependencies (#10583)
Wouter Born [Tue, 11 May 2021 06:31:03 +0000 (08:31 +0200)]
Upgrade Units of Measurement dependencies (#10583)

* Fix code/tests for upgrade
* Resolve runbundles
* Update Checkstyle ruleset for changed packages

Signed-off-by: Wouter Born <github@maindrain.net>
4 years ago[lcn] shorten labels (#10645)
Fabian Wolter [Mon, 10 May 2021 18:57:06 +0000 (20:57 +0200)]
[lcn] shorten labels (#10645)

* [lcn] shorten labels

Signed-off-by: Fabian Wolter <github@fabian-wolter.de>
4 years ago[nikohomecontrol] Switch off hostname validation. (#10652)
Mark Herwege [Mon, 10 May 2021 15:14:32 +0000 (17:14 +0200)]
[nikohomecontrol] Switch off hostname validation. (#10652)

Signed-off-by: Mark Herwege <mark.herwege@telenet.be>
4 years agoBump jsonpath dependency from 2.4.0 to 2.5.0 (#10665)
Alexander Falkenstern [Mon, 10 May 2021 09:37:25 +0000 (11:37 +0200)]
Bump jsonpath dependency from 2.4.0 to 2.5.0 (#10665)

Signed-off-by: Alexander Falkenstern <alexander.falkenstern@gmail.com>
4 years ago[luxtronikheatpump] Update channel descriptions in README.md (#10648)
Martin Kurgi [Mon, 10 May 2021 07:03:36 +0000 (10:03 +0300)]
[luxtronikheatpump] Update channel descriptions in README.md (#10648)

* temperatureHotWaterTarget channel is writable
* temperatureTargetHotWater_2  channel doesn't exist in the binding

Signed-off-by: Martin Kurgi <martinkurgi@gmail.com>
4 years ago[tr064] Fixed wrong pattern to normalize phone numbers (#10660)
Christoph Weitkamp [Sun, 9 May 2021 18:41:45 +0000 (20:41 +0200)]
[tr064] Fixed wrong pattern to normalize phone numbers (#10660)

Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
4 years ago[avmfritz] Fixed wrong dial code in status info (#10659)
Christoph Weitkamp [Sun, 9 May 2021 18:40:03 +0000 (20:40 +0200)]
[avmfritz] Fixed wrong dial code in status info (#10659)

Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
4 years ago[modbus.e3dc] remove logo from readme and add default state patterns (#10647)
Bernd Weymann [Sun, 9 May 2021 18:29:50 +0000 (20:29 +0200)]
[modbus.e3dc] remove logo from readme and add default state patterns (#10647)

Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>
4 years ago[velbus] Fixed parsing of channel bytes on VMB4AN. (#10627)
cedricboon [Sun, 9 May 2021 18:24:07 +0000 (20:24 +0200)]
[velbus] Fixed parsing of channel bytes on VMB4AN. (#10627)

Signed-off-by: Cedric Boon <cedric.boon@hotmail.com>
4 years ago[insteon] delay setting state of network to UNKNOWN (#10620)
robnielsen [Sun, 9 May 2021 18:22:13 +0000 (13:22 -0500)]
[insteon] delay setting state of network to UNKNOWN (#10620)

Signed-off-by: Rob Nielsen <rob.nielsen@yahoo.com>
4 years ago[shelly] Vibration event for DW2 (#10618)
Markus Michels [Sun, 9 May 2021 18:21:35 +0000 (20:21 +0200)]
[shelly] Vibration event for DW2 (#10618)

* Adapted to new checkstyle

Signed-off-by: Markus Michels <markus7017@gmail.com>
* stylecheck cnages; fix CoIoT update for vibration, url encode user+pw on
"set login credentials"

Signed-off-by: Markus Michels <markus7017@gmail.com>
* #10617 Vibration event added for DW2

Signed-off-by: Markus Michels <markus7017@gmail.com>
* brackets

Signed-off-by: Markus Michels <markus7017@gmail.com>
* some unused stuff/code removed

Signed-off-by: Markus Michels <markus7017@gmail.com>
4 years ago[somfytahoma] Open to other portals (#10611)
lolodomo [Sun, 9 May 2021 18:16:14 +0000 (20:16 +0200)]
[somfytahoma] Open to other portals (#10611)

* [somfytahoma] Open to other portals

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
* Review comment: suppress the advanced setting for cookie handling

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
4 years ago[hue] Fixed ColorTemperature set to UNDEF (#10609)
Christoph Weitkamp [Sun, 9 May 2021 18:10:45 +0000 (20:10 +0200)]
[hue] Fixed ColorTemperature set to UNDEF  (#10609)

* Fixed ColorTemperature set to UNDEF

Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
* Fixed SAT findings

Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
* Fixed warning during unit tests

Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
* Changed color temperature handling in GroupHandler

Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
4 years ago[hue] Changed default color mode for color commands to XY (#10608)
Christoph Weitkamp [Sun, 9 May 2021 18:08:18 +0000 (20:08 +0200)]
[hue] Changed default color mode for color commands to XY (#10608)

* Changed default color mode for color commands to XY

Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
* Incorporated comments from review

Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
4 years ago[loxone] Implementation of EIB Dimmer (#10585)
Pawel Pieczul [Sun, 9 May 2021 17:32:48 +0000 (19:32 +0200)]
[loxone] Implementation of EIB Dimmer (#10585)

Signed-off-by: Pawel Pieczul <pieczul@gmail.com>
4 years ago[MongoDB Persistence] Fix error 500 and various improvements (#10584)
Stephan Brunner [Sun, 9 May 2021 17:27:19 +0000 (19:27 +0200)]
[MongoDB Persistence] Fix error 500 and various improvements (#10584)

* [MongoDB Persistence] Rename connectToDatabase to tryConnectToDatabase.

Currently, the implementation throws a RuntimeException.
This fails horribly in query() and store(), because the exception is never caught and connection reestablishment won't happen.

Signed-off-by: Stephan Brunner <s.brunner@stephan-brunner.net>
* [MongoDB Persistence] Fix JavaDoc

Signed-off-by: Stephan Brunner <s.brunner@stephan-brunner.net>
* [MongoDB Persistence] Fix Bundle name

The correct database name is "MongoDB" without a space.

Signed-off-by: Stephan Brunner <s.brunner@stephan-brunner.net>
* [MongoDB Persistence] Also check for connection validity in isConnected()

When the connection was established successfully once, and the server goes down (e. g. a restart of the DB server), the connection still seems to be OK.
This would throw an exception later on, which is not caught and connection reestablishment won't happen.

Signed-off-by: Stephan Brunner <s.brunner@stephan-brunner.net>
* [MongoDB Persistence] Disconnect from database before reconnecting to database.

Signed-off-by: Stephan Brunner <s.brunner@stephan-brunner.net>
* [MongoDB Persistence] Disconnect from database when connection procedure fails.

When, for example, the creation of the index fails (disk full, ...), the connection is still there, but the collection isn't created with it's appropriate indices.
Thus, disconnect when the procedure fails to ensure no database connection remains valid.

Signed-off-by: Stephan Brunner <s.brunner@stephan-brunner.net>
* [MongoDB Persistence] Fix logic

Create the shared collection with its indices when collectionPerItem is disabled, not enabled.

Signed-off-by: Stephan Brunner <s.brunner@stephan-brunner.net>
* [MongoDB Persistence] Access database via getDatabase()

Preparation for synchronization.

Signed-off-by: Stephan Brunner <s.brunner@stephan-brunner.net>
* [MongoDB Persistence] Remove global mongoCollection variable.

This allows to easify implementing necessary multithreading locks.

Signed-off-by: Stephan Brunner <s.brunner@stephan-brunner.net>
* [MongoDB Persistence] Codestyle improvements.

Signed-off-by: Stephan Brunner <s.brunner@stephan-brunner.net>
* [MongoDB Persistence] Move isConnected-Check into tryConnectToDatabase.

Signed-off-by: Stephan Brunner <s.brunner@stephan-brunner.net>
* [MongoDB Persistence] Synchronize all connection handling methods.

Though the MongoDB driver is thread-safe, we still need to synchronize connection establishment/closing/...

Signed-off-by: Stephan Brunner <s.brunner@stephan-brunner.net>
* [MongoDB Persistence] Remove all unnecessary @NonNullByDefault attributes.

The given attributes should not be NotNullByDefault, because some may be null, too.

Signed-off-by: Stephan Brunner <s.brunner@stephan-brunner.net>
* [MongoDB Persistence] Remove duplicate logging.

Signed-off-by: Stephan Brunner <s.brunner@stephan-brunner.net>
* [MongoDB Persistence] Test the db connection after creating the MongoClient.

The mongo always succeeds in creating the connection.
We have to actually force it to test the connection to try to connect to the server.

Signed-off-by: Stephan Brunner <s.brunner@stephan-brunner.net>
* [MongoDB Persistence] Fix date query.

Issues:
- Second should have been getEndDate, not getBeginDate
- Send a Date object as the other version wasn't serializable.
- EndDate would have overridden beginDate.

Fixes #10574

Signed-off-by: Stephan Brunner <s.brunner@stephan-brunner.net>
* [MongoDB Persistence] Add debug log for MongoDB query sent to the server.

Signed-off-by: Stephan Brunner <s.brunner@stephan-brunner.net>
* [MongoDB Persistence] Reorder index on collections.

The order (Item, Timestamp) makes much more sense and should be better for performance.
All queries are always done with an item, and the dates are optional.
Also, the database server can now execute a range query for the date.

Existing indices are not dropped for backwards compatibility with other systems analyzing the data.

Signed-off-by: Stephan Brunner <s.brunner@stephan-brunner.net>
* [MongoDB Persistence] Add @author JavaDoc as per developer guidelines.

Signed-off-by: Stephan Brunner <s.brunner@stephan-brunner.net>
* [MongoDB Persistence] Improve logging

Signed-off-by: Stephan Brunner <s.brunner@stephan-brunner.net>
* [MongoDB Persistence] Add @NonNullByDefault

This was removed in 1f8e4525 by mistake.

Signed-off-by: Stephan Brunner <s.brunner@stephan-brunner.net>
* [MongoDB Persistence] Do not use isConnected() to test the connection.

The new method throws the real underlying exception instead of a generic one. This allows for detailed logging.

Signed-off-by: Stephan Brunner <s.brunner@stephan-brunner.net>
* [MongoDB Persistence] Remove useless @inheritDoc as per code analysis tool.

Signed-off-by: Stephan Brunner <s.brunner@stephan-brunner.net>
4 years ago[WebThing] If WebThing network connection is crashed, WebThing will not be reconnecte...
grro [Sun, 9 May 2021 17:18:39 +0000 (19:18 +0200)]
[WebThing] If WebThing network connection is crashed, WebThing will not be reconnected. (#10579)

* Unnecessary NonNull annotations removed

Signed-off-by: Gregor Roth <gregor.roth@web.de>
Signed-off-by: gregor roth <gregor.roth@web.de>
* Bugfix  "If network connection is interrupted, WebThing will not be reconnected." Due to the variable webThingURI is unset, re connection fails

Signed-off-by: Gregor Roth <gregor.roth@web.de>
Signed-off-by: gregor roth <gregor.roth@web.de>
* webThingURI will be loaded in a lazy way

Signed-off-by: Gregor Roth <gregor.roth@web.de>
Signed-off-by: gregor roth <gregor.roth@web.de>
4 years agoUpdate remaining Paper UI and HABmin references (#10637)
Wouter Born [Thu, 6 May 2021 20:26:05 +0000 (22:26 +0200)]
Update remaining Paper UI and HABmin references (#10637)

Fixes #8607

Signed-off-by: Wouter Born <github@maindrain.net>
4 years agoUpdate README.md (#10639)
2wyck3d [Thu, 6 May 2021 20:23:53 +0000 (13:23 -0700)]
Update README.md (#10639)

Fixed what I believe were typos. Making similar adjustments to my setup allowed the Harmony integration to work for me.

4 years ago[jsscripting] Fix build and cleanup (#10654)
Wouter Born [Thu, 6 May 2021 20:19:59 +0000 (22:19 +0200)]
[jsscripting] Fix build and cleanup (#10654)

Related to #8516

Signed-off-by: Wouter Born <github@maindrain.net>
4 years ago[jsscripting] ES6+ Support (#8516)
Jonathan Gilbert [Thu, 6 May 2021 07:08:47 +0000 (17:08 +1000)]
[jsscripting] ES6+ Support (#8516)

Signed-off-by: Jonathan Gilbert <jpg@trillica.com>
4 years ago[neeo] Fixed event nullness (#10651)
Christoph Weitkamp [Thu, 6 May 2021 05:07:32 +0000 (07:07 +0200)]
[neeo] Fixed event nullness (#10651)

Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
4 years ago[linuxinput] fixes to thing properties (#10634)
Thomas Weißschuh [Wed, 5 May 2021 20:22:18 +0000 (22:22 +0200)]
[linuxinput] fixes to thing properties (#10634)

* Do not discover on ENTRY_MODIFY

ENTRY_MODIFY is triggered on each keypress multiple times, so we should
not trigger on it.

The usecase for ENTRY_MODIFY triggers where detecting permission changes
of the event nodes.
Inotify does have a dedicate event ("ATTRIB") for that but Java
WatchService normalizes this to a ENTRY_MODIFY event
(See LinuxWatchService.java)

After permission changes users now have to trigger a scan manually.

* Use proper representation property

* Show event node in label

This makes it easier to figure out which thing is which device in the
presence of symlinks or multiple identical devices.

Signed-off-by: Thomas Weißschuh <thomas@t-8ch.de>
4 years ago[sonos] Play notification while playing virtual line-in (#10599)
lolodomo [Wed, 5 May 2021 20:16:21 +0000 (22:16 +0200)]
[sonos] Play notification while playing virtual line-in (#10599)

* Play notification while playing virtual line-in

Fix #10569

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
4 years ago[verisure] Add channel for low battery warning for supported thing types (#10406...
Jan Gustafsson [Wed, 5 May 2021 19:27:53 +0000 (21:27 +0200)]
[verisure] Add channel for low battery warning for supported thing types (#10406) (#10580)

- Add channel for low battery warning for supported thing types

Closes #10406

Signed-off-by: Jan Gustafsson <jannegpriv@gmail.com>
4 years agoUse activation-api 1.2.1_3 (#10646)
Wouter Born [Wed, 5 May 2021 19:08:09 +0000 (21:08 +0200)]
Use activation-api 1.2.1_3 (#10646)

Fixes #10642

Signed-off-by: Wouter Born <github@maindrain.net>
4 years agoFix or suppress SAT CompareObjectsWithEquals findings (#10631)
Wouter Born [Wed, 5 May 2021 19:06:04 +0000 (21:06 +0200)]
Fix or suppress SAT CompareObjectsWithEquals findings (#10631)

* Fix or suppress SAT CompareObjectsWithEquals findings

Signed-off-by: Wouter Born <github@maindrain.net>
4 years ago[io.metrics] Fix MetricsService breaking REST API #10640 (#10644)
pravussum [Tue, 4 May 2021 19:24:01 +0000 (21:24 +0200)]
[io.metrics] Fix MetricsService breaking REST API #10640 (#10644)

* [io.metrics] Fix MetricsService breaking REST API #10640

Signed-off-by: Robert Bach <openhab@mortalsilence.net>
4 years ago[openweathermap] Updated string formatting example for UVindex (#10633)
mlommers [Sun, 2 May 2021 21:02:46 +0000 (23:02 +0200)]
[openweathermap] Updated string formatting example for UVindex (#10633)

Fixes #10629

Signed-off-by: mlommers <mlommers@hotmail.com>
4 years ago[metrics] Fix io metrics documentation references (#10630)
pravussum [Sun, 2 May 2021 20:07:25 +0000 (22:07 +0200)]
[metrics] Fix io metrics documentation references (#10630)

* Fix broken image & dashboard links in rendered online documentation
* Fix prerequisite version in documentation (do not use milestone version)

Signed-off-by: Robert Bach <openhab@mortalsilence.net>
4 years agoFixed location of additional documentation folder so that it is picked up for the...
Kai Kreuzer [Sun, 2 May 2021 20:00:03 +0000 (22:00 +0200)]
Fixed location of additional documentation folder so that it is picked up for the website (#10638)

Signed-off-by: Kai Kreuzer <kai@openhab.org>
4 years ago[BMW ConnectedDrive] initial contribution (#8576)
Bernd Weymann [Sat, 1 May 2021 16:14:54 +0000 (18:14 +0200)]
[BMW ConnectedDrive] initial contribution (#8576)

Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>
Signed-off-by: Norbert Truchsess <norbert.truchsess@t-online.de>
4 years ago[miio] update & improve readability value mappings for readme (#10610)
Marcel [Sat, 1 May 2021 13:35:07 +0000 (15:35 +0200)]
[miio] update & improve readability value mappings for readme (#10610)

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
4 years ago[digitalSTROM] Shade angle support for GR things (#10444)
ardanedh [Sat, 1 May 2021 12:20:46 +0000 (14:20 +0200)]
[digitalSTROM] Shade angle support for GR things (#10444)

Signed-off-by: Rouven Schürch <r.schuerch@gmx.ch>
4 years agoOnly upload properties files from i18n folder to Croedin (#10626)
Christoph Weitkamp [Sat, 1 May 2021 08:58:35 +0000 (10:58 +0200)]
Only upload properties files from i18n folder to Croedin (#10626)

Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
4 years ago[enocean] Fix discovery of D2-50 devices (#10577)
David [Sat, 1 May 2021 08:24:23 +0000 (10:24 +0200)]
[enocean] Fix discovery of D2-50 devices (#10577)

This change accepts a new message type which is sent by some air ventilation devices durin teach in. This is required for the search feature to detect these devices correctly.

Signed-off-by: David Schumann <david@dev-core.org>
4 years agoReduce dependency on commons-io and commons-codec (#10614)
Wouter Born [Fri, 30 Apr 2021 14:53:44 +0000 (16:53 +0200)]
Reduce dependency on commons-io and commons-codec (#10614)

Signed-off-by: Wouter Born <github@maindrain.net>
4 years ago[hccrubbishcollection] HCC Rubbish Collection Binding - Initial Contribution (#9975)
Stewart Cossey [Fri, 30 Apr 2021 14:23:07 +0000 (02:23 +1200)]
[hccrubbishcollection] HCC Rubbish Collection Binding - Initial Contribution (#9975)

Signed-off-by: Stewart Cossey <stewart.cossey@gmail.com>
4 years ago[ahawastecollection] Initial Contribution (#10387)
Sönke Küper [Fri, 30 Apr 2021 13:59:05 +0000 (15:59 +0200)]
[ahawastecollection] Initial Contribution (#10387)

Signed-off-by: Sönke Küper <soenkekueper@gmx.de>
4 years ago[haassohnpelletstove] Initial contribution (#10595)
chingon007 [Thu, 29 Apr 2021 18:59:37 +0000 (20:59 +0200)]
[haassohnpelletstove] Initial contribution (#10595)

Signed-off-by: Christian Feininger <tron81@gmx.de>
4 years agoFix Crowdin URL in issue template configuration (#10616)
Wouter Born [Thu, 29 Apr 2021 16:57:45 +0000 (18:57 +0200)]
Fix Crowdin URL in issue template configuration (#10616)

The URL is: https://crowdin.com/project/openhab-addons

Signed-off-by: Wouter Born <github@maindrain.net>
4 years ago[airq] Air-Q binding Initial contribution (#10048)
aurelio1 [Thu, 29 Apr 2021 16:23:35 +0000 (18:23 +0200)]
[airq] Air-Q binding Initial contribution (#10048)

Signed-off-by: Aurelio Caliaro <aurelio@caliaro.net>
4 years ago[velux] Removed license header from properties files (#10613)
Christoph Weitkamp [Thu, 29 Apr 2021 13:12:34 +0000 (15:12 +0200)]
[velux] Removed license header from properties files (#10613)

Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
4 years ago[espmilighthub] Describe group 0 handling (#10473)
Thomas Lauterbach [Thu, 29 Apr 2021 07:55:04 +0000 (09:55 +0200)]
[espmilighthub] Describe group 0 handling (#10473)

Signed-off-by: Thomas Lauterbach <lauterbachthomas@gmail.com>
Co-authored-by: Matthew Skinner <matt@pcmus.com>
4 years ago[miio] add support for yeelink.light.lamp15 Yeelight Screen Light Bar (#10603)
Marcel [Wed, 28 Apr 2021 10:26:29 +0000 (12:26 +0200)]
[miio] add support for yeelink.light.lamp15 Yeelight Screen Light Bar (#10603)

closes #10589

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
4 years ago[neohub] thermostats now support setpoints in steps of 0.5 celsius (#10598)
Andrew Fiddian-Green [Wed, 28 Apr 2021 10:25:24 +0000 (11:25 +0100)]
[neohub] thermostats now support setpoints in steps of 0.5 celsius (#10598)

Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
4 years agoUpdate Netty dependencies to 4.1.63.Final (#10606)
Wouter Born [Wed, 28 Apr 2021 10:22:11 +0000 (12:22 +0200)]
Update Netty dependencies to 4.1.63.Final (#10606)

Signed-off-by: Wouter Born <github@maindrain.net>
4 years ago[openhabcloud] Accept all Jetty supported http method types (#10600)
Dan Cunningham [Wed, 28 Apr 2021 07:12:01 +0000 (00:12 -0700)]
[openhabcloud] Accept all Jetty supported http method types (#10600)

* Accept all Jetty supported http method types
This fixes a number of open issues due to the fact that we were only accepting a limited number of http method types.  The effect of this was some functionality like DELETE or HEAD requests would just not work when using the cloud service, which madee our UI look broken in different ways,  also it poluted the users log with a lot of messages.

Fixes https://github.com/openhab/openhab-core/issues/2312
Fixes https://github.com/openhab/openhab-cloud/issues/328

Signed-off-by: Dan Cunningham <dan@digitaldan.com>
4 years ago[miio] add support several new roborock vacuums (#10602)
Marcel [Wed, 28 Apr 2021 07:04:27 +0000 (09:04 +0200)]
[miio] add support several new roborock vacuums (#10602)

new vacuums:
  "roborock.vacuum.a14": "Roborock T7S",
  "roborock.vacuum.a15": "Roborock S7",
  "roborock.vacuum.a19": "Roborock S4 Max",
  "roborock.vacuum.a23": "Roborock T7S Plus",

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
4 years ago[sonos] Suppress the channel publicaddress from models without any line input (#10597)
lolodomo [Wed, 28 Apr 2021 07:01:13 +0000 (09:01 +0200)]
[sonos] Suppress the channel publicaddress from models without any line input (#10597)

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
4 years ago[miio] add support Mi Smart LED Bulb Essential (yeelink.light.color5) (#10531)
Marcel [Tue, 27 Apr 2021 20:32:39 +0000 (22:32 +0200)]
[miio] add support Mi Smart LED Bulb Essential (yeelink.light.color5) (#10531)

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