Commit Graph

1191 Commits

Author SHA1 Message Date
robnielsen
22c5e841dd
[ecobee] logging improvements (#10772)
Signed-off-by: Rob Nielsen <rob.nielsen@yahoo.com>
2021-05-29 20:10:06 +02:00
eguib
3875d2aca5
[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>
2021-05-29 14:29:20 +02:00
Christoph Weitkamp
04507d98fc
Added support for HAN-FUN outlets / simple on-off devices (#10760)
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2021-05-29 14:25:36 +02:00
Sami Salonen
572fd3dded
[fmiweather] Fixed to work with new API (#10765)
Tests updated as well

Signed-off-by: Sami Salonen <ssalonen@gmail.com>
2021-05-29 14:23:23 +02:00
Fabian Wolter
eab7623655
[lcn] Improve readme; Allow special module IDs <5 (#10770)
Signed-off-by: Fabian Wolter <github@fabian-wolter.de>
2021-05-29 13:51:32 +02:00
Ross Kennedy
6df474a994
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>
2021-05-28 15:07:53 +02:00
Marcel
6ba1606e52
[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>
2021-05-28 15:05:01 +02:00
lolodomo
9bf194ad39
[sonos] Add new channel heightlevel for Sonos ARC / ARC SL (#10759)
Fix #9874

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2021-05-28 15:04:14 +02:00
lolodomo
a736a2cafd
[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>
2021-05-28 15:02:18 +02:00
lolodomo
ac7b5eae4d
[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>
2021-05-28 15:01:50 +02:00
lolodomo
fe11c115ea
[homeconnect] Factorize handling of power command (#10747)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2021-05-28 15:00:59 +02:00
boehan
19029b7358
[comfoair] fix data handling for restricted devices (#10685)
Signed-off-by: Hans Böhm <h.boehm@gmx.at>
2021-05-26 21:12:15 +02:00
Marcel
aa665e54f5
[miio] also refresh after custom commands (#10714)
Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2021-05-26 21:04:19 +02:00
Björn Lange
705f5c577c
[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>
2021-05-25 22:06:49 +02:00
Thomas Weißschuh
5ec535f37b
[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>
2021-05-23 21:08:56 +02:00
Thomas Weißschuh
e2fa4ba49e
[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>
2021-05-23 21:03:14 +02:00
Iwan Bron
66a540289d
[semsportal] initial contribution (#10100)
Signed-off-by: Iwan Bron <bron@olisa.eu>
2021-05-23 20:45:04 +02:00
lolodomo
4b5d64340f
[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>
2021-05-23 19:48:15 +02:00
lolodomo
c68d920387
[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>
2021-05-23 19:06:52 +02:00
Jerome Luckenbach
266b4d81a4
[openweathermap] Add correct default parameter. (#10739)
Signed-off-by: Jerome Luckenbach <github@luckenba.ch>
2021-05-23 00:27:54 +02:00
Andres Meyer
096cd49b38
[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>
2021-05-22 08:16:14 +02:00
Wouter Born
27d5bb11c7
Resolve itest runbundles for XStream upgrade (#10713)
Signed-off-by: Wouter Born <github@maindrain.net>
2021-05-21 07:34:47 +02:00
Koen Schockaert
31a2e9ac7e
Update README.md (#10712)
Corrected some mistkes in the readme

Signed-off-by: Koen Schockaert <ks@qbus.be>
2021-05-20 20:29:44 +02:00
Christoph Weitkamp
5a836b82cb
Added alternative handling for UnmarshalException (#10715)
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2021-05-20 20:26:51 +02:00
Wouter Born
7aab765b5a
[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>
2021-05-20 20:25:29 +02:00
Christoph Weitkamp
fe1c8fc21a
Fixed SAT findings (#10722)
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2021-05-20 20:24:46 +02:00
coriet
0397fcb695
[pollytts] Fix settings namespace in documentation (#10725)
Signed-off-by: Christian Oriet <github@oriet.org>
2021-05-20 19:43:05 +02:00
Wouter Born
a032118213
Fix build and improve exception handling (#10726)
The PercentType and QuantityType can also throw an IllegalArgumentException.

Signed-off-by: Wouter Born <github@maindrain.net>
2021-05-20 19:15:23 +02:00
Korbinian Probst
b049d3d13b
[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>
2021-05-19 22:18:15 +02:00
lsiepel
8202d57965
[plugwiseha] Initial contribution (#9504)
Signed-off-by: Leo Siepel <leosiepel@gmail.com>
2021-05-19 21:53:33 +02:00
Wouter Born
7d2c8755eb
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>
2021-05-18 07:37:57 +02:00
robnielsen
84a4896ffc
[insteon] add a read timeout when getting data from Insteon 2245-222 hub (#10708)
Signed-off-by: Rob Nielsen <rob.nielsen@yahoo.com>
2021-05-17 22:12:02 +02:00
Trinitus01
52b110ae96
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>
2021-05-17 22:11:16 +02:00
Patrick Fink
80c0915b80
Ignore spotless errors on binding creation (#10696)
Signed-off-by: Patrick Fink <mail@pfink.de>
2021-05-17 22:07:41 +02:00
robnielsen
9ba28a50cc
[insteon] Fix SAT warnings (#10688)
Signed-off-by: Rob Nielsen <rob.nielsen@yahoo.com>
2021-05-14 10:22:55 +02:00
Joan Pujol
801100cee1
[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>
2021-05-14 10:21:12 +02:00
Bernd Weymann
bafa841390
[luftdateninfo] Add internal sensor support (#10643)
Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>
2021-05-13 16:26:17 +02:00
James Melville
db05079e6f
[warmup] Initial contribution (#8562)
Signed-off-by: James Melville <jamesmelville@gmail.com>
2021-05-13 15:37:05 +02:00
Conte Andrea
18497a9436
[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>
2021-05-13 15:25:01 +02:00
bruestel
a1a990989e
[homeconnect] Initial contribution (#9187)
Signed-off-by: Jonas Brüstel <jonas@bruestel.net>
Co-authored-by: Laurent Garnier <lg.hc@free.fr>
2021-05-13 14:56:03 +02:00
Wouter Born
e1a76505a0
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>
2021-05-13 09:49:08 +02:00
Wouter Born
183fb0e390
[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>
2021-05-12 13:15:24 +02:00
Wouter Born
c3a6aa5814
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>
2021-05-11 08:31:03 +02:00
Fabian Wolter
0fd9c4c1f8
[lcn] shorten labels (#10645)
* [lcn] shorten labels

Signed-off-by: Fabian Wolter <github@fabian-wolter.de>
2021-05-10 20:57:06 +02:00
Mark Herwege
703b1d288d
[nikohomecontrol] Switch off hostname validation. (#10652)
Signed-off-by: Mark Herwege <mark.herwege@telenet.be>
2021-05-10 17:14:32 +02:00
Alexander Falkenstern
e3973698ab
Bump jsonpath dependency from 2.4.0 to 2.5.0 (#10665)
Signed-off-by: Alexander Falkenstern <alexander.falkenstern@gmail.com>
2021-05-10 11:37:25 +02:00
Martin Kurgi
012254a0ac
[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>
2021-05-10 09:03:36 +02:00
Christoph Weitkamp
50e7a44572
[tr064] Fixed wrong pattern to normalize phone numbers (#10660)
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2021-05-09 20:41:45 +02:00
Christoph Weitkamp
41e24185c7
[avmfritz] Fixed wrong dial code in status info (#10659)
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2021-05-09 20:40:03 +02:00
Bernd Weymann
a0a43764be
[modbus.e3dc] remove logo from readme and add default state patterns (#10647)
Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>
2021-05-09 20:29:50 +02:00