Commit Graph

740 Commits

Author SHA1 Message Date
mlobstein
8864566e18
[epsonprojector] Fix keycode channel to allow non-numeric characters (#9698)
* Fix keycode channel to allow non-numeric characters

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

* Add additional enum values

Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
2021-01-08 23:22:46 +01:00
eugen
9368f44896
[homekit] use item name as accessory serial (#9748)
Signed-off-by: Eugen Freiter <freiter@gmx.de>

Co-authored-by: Eugen Freiter <freiter@gmx.de>
2021-01-08 23:18:32 +01:00
Hilbrand Bouwkamp
3f0c0ebf1f
[dsmr] Fix handling problem reading gasmeter (#9736)
* [dsmr] Fix handling problem reading gasmeter

The gasmeter seem to return an invalid date value in some cases.
Possible problems with the meter. This however caused the whole meter readings to be ignored, while it should only ignore the single problem value.

Signed-off-by: Hilbrand Bouwkamp <hilbrand@h72.nl>

* [dsmr] Make eclipse happy again.

Don't ask...

Signed-off-by: Hilbrand Bouwkamp <hilbrand@h72.nl>

* [dsmr] Removed sat warnings

Removed usage of apache library and added NonNullByDefault to test classes..

Signed-off-by: Hilbrand Bouwkamp <hilbrand@h72.nl>
2021-01-08 23:16:33 +01:00
Sven Strohschein
3557094c13
[innogysmarthome] NullPointerException fixed which could occur when no device state is available (#9660) (#9677)
* [innogysmarthome] Bug-fix - NPE solved which could occur when devices without a corresponding device state were returned by the API. That happened with the virtual device "NotificationSender" which is unimportant for the binding.

Signed-off-by: Sven Strohschein <sven.strohschein@gmail.com>

* [innogysmarthome] JavaDoc fixed

Signed-off-by: Sven Strohschein <sven.strohschein@gmail.com>

* [innogysmarthome] Code optimizations (warnings fixed)

Signed-off-by: Sven Strohschein <sven.strohschein@gmail.com>

* [innogysmarthome] Code refactoring (InnogyClient class split to make it smaller)

Signed-off-by: Sven Strohschein <sven.strohschein@gmail.com>

* [innogysmarthome] Code optimization

Signed-off-by: Sven Strohschein <sven.strohschein@gmail.com>

* [innogysmarthome] Code optimization

Signed-off-by: Sven Strohschein <sven.strohschein@gmail.com>

* [innogysmarthome] Code optimization

Signed-off-by: Sven Strohschein <sven.strohschein@gmail.com>

* [innogysmarthome] Code optimization

Signed-off-by: Sven Strohschein <sven.strohschein@gmail.com>

* [innogysmarthome] Code optimization ; Potential bug with the reachable attribute solved (it was set multiple times within a loop)

Signed-off-by: Sven Strohschein <sven.strohschein@gmail.com>

* [innogysmarthome] Code optimization

Signed-off-by: Sven Strohschein <sven.strohschein@gmail.com>

* [innogysmarthome] Code optimization

Signed-off-by: Sven Strohschein <sven.strohschein@gmail.com>

* [innogysmarthome] Code optimization

Signed-off-by: Sven Strohschein <sven.strohschein@gmail.com>

* [innogysmarthome] Code optimization

Signed-off-by: Sven Strohschein <sven.strohschein@gmail.com>

* [innogysmarthome] Code optimization

Signed-off-by: Sven Strohschein <sven.strohschein@gmail.com>

* [innogysmarthome] Code optimization

Signed-off-by: Sven Strohschein <sven.strohschein@gmail.com>

* [innogysmarthome] Tests added

Signed-off-by: Sven Strohschein <sven.strohschein@gmail.com>

* [innogysmarthome] Tests added

Signed-off-by: Sven Strohschein <sven.strohschein@gmail.com>

* [innogysmarthome] Code changed to not overwrite the reachable state provided by the API (when no corresponding message is available)

Signed-off-by: Sven Strohschein <sven.strohschein@gmail.com>

* [innogysmarthome] Copyright notice updated

Signed-off-by: Sven Strohschein <sven.strohschein@gmail.com>

* [innogysmarthome] Code and performance optimization

Signed-off-by: Sven Strohschein <sven.strohschein@gmail.com>

Co-authored-by: Sven Strohschein <sven.strohschein@gmail.com>
2021-01-08 23:07:38 +01:00
eugen
fcb774ca35
[homekit] add support for QR code based pairing (#9475)
* add support qrcode based pairing

Signed-off-by: Eugen Freiter <freiter@gmx.de>

* add screenshots

Signed-off-by: Eugen Freiter <freiter@gmx.de>

* fix typo

Signed-off-by: Eugen Freiter <freiter@gmx.de>

* update config only if differnt to prevent endless update loop

Signed-off-by: Eugen Freiter <freiter@gmx.de>

* clean up

Signed-off-by: Eugen Freiter <freiter@gmx.de>

* add support qrcode based pairing

Signed-off-by: Eugen Freiter <freiter@gmx.de>

* add screenshots

Signed-off-by: Eugen Freiter <freiter@gmx.de>

* fix typo

Signed-off-by: Eugen Freiter <freiter@gmx.de>

* update config only if differnt to prevent endless update loop

Signed-off-by: Eugen Freiter <freiter@gmx.de>

* clean up

Signed-off-by: Eugen Freiter <freiter@gmx.de>

* incorporate review feedback

Signed-off-by: Eugen Freiter <freiter@gmx.de>

* fix Nullable based on feedback

Signed-off-by: Eugen Freiter <freiter@gmx.de>

* correct the java hap version

Signed-off-by: Eugen Freiter <freiter@gmx.de>

* Update bundles/org.openhab.io.homekit/pom.xml

* adapt groupid

Signed-off-by: Eugen Freiter <freiter@gmx.de>

* incorporate review feedback

Signed-off-by: Eugen Freiter <freiter@gmx.de>

Co-authored-by: Eugen Freiter <freiter@gmx.de>
Co-authored-by: J-N-K <J-N-K@users.noreply.github.com>
2021-01-08 23:03:54 +01:00
M Valla
d7d4fda2b2
[openwebnet] Improvements for ZigBee USB and Dimmers (#9662)
* [openwebnet] Log messages cleanup

Signed-off-by: Massimo Valla <mvcode00@gmail.com>

* [openwebnet] Fixed normalizeWhere
* added builder for Bus Where addresses
* added messages to OwnIdTest
* depend on own4j 0.3.3-SNAPSHOT

Signed-off-by: Massimo Valla <mvcode00@gmail.com>

* [openwebnet] Discovery & reconnect for ZigBee USB gateways
* added mgmt of disconnect/reconnect of ZigBee USB Gateway from serial (#9170)
* added ZigBee USB Gateway auto discovery (#9171)

Signed-off-by: Massimo Valla <mvcode00@gmail.com>

* [openwebnet] fixed up/down automation for old fw (#9651)
* now using openwebnet4j 0.3.3 (nrjavaserial 5.2.1)

Signed-off-by: Massimo Valla <mvcode00@gmail.com>

* [openwebnet] Fixes lowering dimmers from 20 to 10% does not change device level #9317
- bump openwebnet4j to 0.3.4

Signed-off-by: Massimo Valla <mvcode00@gmail.com>

* [openwebnet] changes after PR review

Signed-off-by: Massimo Valla <mvcode00@gmail.com>
2021-01-08 23:00:55 +01:00
maniac103
d87c94d603
[tr064] Normalize numbers in phonebook entries (#9733)
* [tr064] Normalize numbers in phone book entries.

Phone book numbers and numbers to be looked up might be formatted
differently (real world example: '+49 (12345) 67890' vs. '01234567890'
(where the former is phonebook formatting and the latter is the format
transmitted by the avmfritz binding). Make sure such formatting
differences do not cause lookup mismatches.

Signed-off-by: Danny Baumann <dannybaumann@web.de>
2021-01-07 17:38:47 +01:00
Felix Hirschberg
93824b5091
[icalendar] Update Items configuration in README (#9714)
Signed-off-by: Felix Hirschberg <felix@diescouts.de>
2021-01-07 07:48:36 +01:00
James Melville
ae7eb26b34
[draytonwiser] Expose Smart Plug Power Metering, Improve null handling (#9706)
* [draytonwiser] Expose Smart Plug Power Metering
* [draytonwiser] Handle null values from offline devices

Signed-off-by: James Melville <jamesmelville@gmail.com>
2021-01-06 15:09:11 -08:00
Christoph Weitkamp
6c648c4a4a
[openweathermap] Added more supported languages (#9717)
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2021-01-06 13:22:52 -08:00
Taxifahrer
1cbc06f799
[tibber] Fix typos in README.md (#9721)
* Update README.md

Fixed some typos

* Update README.md

Fixed some typos

Signed-off-by: Taxifahrer <77075719+Taxifahrer@users.noreply.github.com>
2021-01-06 22:18:35 +01:00
Sami Salonen
4e1d49cee1
[modbus] itests: Fix testRefreshOnData (#9668)
* [modbus] itests: Fix testRefreshOnData

Resolves #9617

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

* [modbus] using default timeouts for waitForAssert

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

* [modbus] mvn spotless:apply

Signed-off-by: Sami Salonen <ssalonen@gmail.com>
2021-01-06 22:15:38 +01:00
J-N-K
1480c41606
[http] enable UoM for number channels (#9601)
* add unit

Signed-off-by: Jan N. Klug <jan.n.klug@rub.de>

* documentation an XML

Signed-off-by: Jan N. Klug <jan.n.klug@rub.de>

* address review comments

Signed-off-by: Jan N. Klug <jan.n.klug@rub.de>

* improvements

Signed-off-by: Jan N. Klug <jan.n.klug@rub.de>

* improvements

Signed-off-by: Jan N. Klug <jan.n.klug@rub.de>
2021-01-06 22:12:31 +01:00
Benjamin Lafois
cb5d659c9e
[Daikinmadoka] New channels and fixes (#9368)
* added new channels and extra fixes

Signed-off-by: Benjamin Lafois <benjamin.lafois@gmail.com>

* wip

Signed-off-by: Benjamin Lafois <benjamin.lafois@gmail.com>

* added multiple channels

Signed-off-by: Benjamin Lafois <benjamin.lafois@gmail.com>

* fixes after PR comments

Signed-off-by: Benjamin Lafois <benjamin.lafois@gmail.com>

* added support for AUTO fan mode

Signed-off-by: Benjamin Lafois <benjamin.lafois@gmail.com>

* Fixes units

Signed-off-by: Benjamin Lafois <benjamin.lafois@gmail.com>

* Fix PR

Signed-off-by: Benjamin Lafois <benjamin.lafois@gmail.com>

* PR fixes

Signed-off-by: Benjamin Lafois <benjamin.lafois@gmail.com>

* PR fixes

Signed-off-by: Benjamin Lafois <benjamin.lafois@gmail.com>

* Fixed copyright 2020->2021

Signed-off-by: Benjamin Lafois <benjamin.lafois@gmail.com>
2021-01-06 21:50:55 +01:00
s0-er-eN
7edcdef865
[xmppclient] Update examples rules for OH3 usage (#9643)
- Rename parameter 1 of "getActions" from "xmpp" to "xmppclient".
- Remove "getEvent()" as "receivedEvent" automatically contains the String since OH3.
2021-01-06 21:46:25 +01:00
Stefan
911cd01e17
[remoteopenhab] Fix Remote openHAB Readme typos and introduce non-breaking spaces in 'openHAB v' for readability (#9652)
Signed-off-by: Stefan Gänsler <openhab-git_19@green-sparklet.de>
2021-01-06 21:44:18 +01:00
banzaay
813ac27c0e
[WiFi LED] Expanded example (#9627)
* Expanded example

Signed-off-by: ACTIS GROSSO MIRKO <U364286@sede.corp.sanpaoloimi.com>

* [WiFi LED] Expanded example

Signed-off-by: ACTIS GROSSO MIRKO <U364286@sede.corp.sanpaoloimi.com>

* [WiFi LED] Expanded example

* [WiFi LED] Expanded example

Signed-off-by: ACTIS GROSSO MIRKO <U364286@sede.corp.sanpaoloimi.com>

* [WiFi LED] Expanded example

Signed-off-by: ACTIS GROSSO MIRKO <U364286@sede.corp.sanpaoloimi.com>

* [WiFi LED] Expanded example

Co-authored-by: ACTIS GROSSO MIRKO <U364286@sede.corp.sanpaoloimi.com>
2021-01-06 21:12:27 +01:00
Boris Krivonog
7c51fa9909
[nikobus] Refresh impacted modules on simulated button press (#9716)
In case of simulated Nikobus push button event refresh impacted modules too so binding fetches the updated state from affected modules.

Signed-off-by: Boris Krivonog <boris.krivonog@inova.si>
2021-01-06 11:41:37 -08:00
Sören Berger
a27c1648dd
[logreader] Correct example for telegram binding (#9663)
The original example references to the old telegram action, which is no longer supported. The updated example uses the (new) telegram binding.

Signed-off-by: Sören Berger <soeren.berger@u1337.de>
2021-01-06 11:39:01 -08:00
J-N-K
4077a2732a
[tr064] improve documentation (#9667)
* improve documentation

Signed-off-by: Jan N. Klug <jan.n.klug@rub.de>
Co-authored-by: Stefan Giehl <stefan@matomo.org>
2021-01-06 11:38:14 -08:00
Wouter Born
0816045a59
Update Mockito, JUnit and use MockitoExtensions in itests (#9702)
* Updates Mockito to 3.7.0
* Updates JUnit to 5.7.0
* Use MockitoExtensions where possible

Signed-off-by: Wouter Born <github@maindrain.net>
2021-01-06 14:30:40 +01:00
Wouter Born
8f84646ed1
[groovyscripting] Update Groovy to 3.0.7 and add more docs (#9708)
Fixes #8951

Signed-off-by: Wouter Born <github@maindrain.net>
2021-01-06 08:46:43 +01:00
Sebastian Prehn
f3baad80d2
[lgwebos] Remove outdated statement from README.md (#9697)
* [lgwebos] Remove outdated statement from README.md
Signed-off-by: Sebastian Prehn <sebastian.prehn@gmx.de>

* Adding a sentence on why these TV settings are relevant.
Signed-off-by: Sebastian Prehn <sebastian.prehn@gmx.de>
2021-01-05 17:38:37 +01:00
Michael Wodniok
8da4d4d0cb
[icalendar] Change migration of last_update to use ThingHandlerCallback (#9681)
* [icalendar] Change migration of last_update to use ThingHandlerCallback

Fixes #9674.

Signed-off-by: Michael Wodniok <michi@noorganization.org>
2021-01-05 07:30:26 +01:00
lolodomo
7e06da2401
[remoteopenhab] Catch exception when parsing item state (#9690)
* [remoteopenhab] Catch exception when parsing item state
* Review comment: set channel state to UNDEF in case item state parsing failed

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2021-01-04 15:55:25 -08:00
Fabian Wolter
e2c9656148
[lcn] Set advanced flags more reasonably (#9676)
Signed-off-by: Fabian Wolter <github@fabian-wolter.de>
2021-01-04 15:53:57 -08:00
Jerome Luckenbach
944ff33e61
[homekit] Improve documentation (#9683)
Signed-off-by: Jerome Luckenbach <github@luckenba.ch>
2021-01-04 22:29:39 +01:00
Christoph Weitkamp
25947bfa9d
[js] Added 'ConfigOptionProvider' to provide filenames ending with '.js' in Profile configuration (#9646)
* Added ConfigOptionProvider to provide file names ending with '.js' in Profile configuration

Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2021-01-04 18:32:02 +01:00
Christoph Weitkamp
ceb119b02c
[hue] Fixed configuration update for parameter 'ledindication' (#9685)
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2021-01-04 18:15:44 +01:00
Christoph Weitkamp
359c5129e4
[hue] Fixed German translations for motion sensor (#9687)
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2021-01-04 18:09:49 +01:00
Wouter Denayer
1f3b0e2865
[nikobus] open connection on refresh even if no modules exist (#9603)
* open connection on refresh even if no modules exist

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

* ran mvn spotless:apply

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

* removed unnecessary file

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

* returning when the connection is offline since following code won't work
either.

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

Co-authored-by: Wouter Denayer <wouter@denayer.com>
2021-01-04 12:10:36 +01:00
ItIsFelix
9ff37fbdd2
[openhabcloud] APT Installation path update for openHAB 3 (#9679)
Signed-off-by: Wouter Born <github@maindrain.net>
2021-01-04 11:32:56 +01:00
Michael Wodniok
91dc80449b
[icalendar] Fixed issues with moved events and wrong displayed events (#9678)
* [icalendar] Fixed issues with moved events and wrong displayed events
* [icalendar] Changed test to use local time in test-calendar of #9647

Fixes #9647.

Handling for RFC 5545's RECURRENCE-ID field inside of
events and rounded begin (and based on it end) down in subsecond
precision.

The calendar does not define a timezone. On a machine that uses a
different timezone than Europe/Berlin the test failed. As the behavior
itself is specified, the test was changed to use local time for its
dates.

Signed-off-by: Michael Wodniok <michi@noorganization.org>
2021-01-04 10:53:25 +01:00
lolodomo
a63acf000e
[remoteopenhab] Consider the remote item pattern formatter (#9657)
* [remoteopenhab] Consider the remote item pattern formatter

Fux #9645
* Review comment: use computeIfAbsent

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2021-01-03 21:35:09 -08:00
Fabian Wolter
4f1e915e50
[lcn] Refactor and fix null warnings (#9675)
Signed-off-by: Fabian Wolter <github@fabian-wolter.de>
2021-01-03 21:31:56 -08:00
J-N-K
bebc76e452
[tr064] fix comment in SOAP request (#9671)
* fix comment in SAOP request
* fix typo in channel-name

Signed-off-by: Jan N. Klug <jan.n.klug@rub.de>
2021-01-03 09:46:50 -08:00
Mark Hilbush
0fdf1e34c3
[zoneminder] Fixed most recent event channels (#9672)
Signed-off-by: Mark Hilbush <mark@hilbush.com>
2021-01-03 17:38:15 +01:00
Christoph Weitkamp
9394dc4676
[jdbc] Return QuantityTypes for number items with dimension (#9426)
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2021-01-03 17:34:53 +01:00
Christoph Weitkamp
3616c58abe
[max] Removed 'advanced' flag for room and name config params as they are not advanced for other thing types (#9670)
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2021-01-03 15:37:45 +01:00
Christoph Weitkamp
b7495f9699
[map] Added ConfigOptionProvider to provide file names ending with '.map' in Profile configuration (#9641)
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2021-01-03 14:38:21 +01:00
Christoph Weitkamp
6b693ff73b
[scale] Added ConfigOptionProvider to provide file names ending with '.scale' in Profile configuration (#9640)
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2021-01-03 14:35:46 +01:00
J-N-K
f652ae678f
[http] fix initial refresh (#9626)
Signed-off-by: Jan N. Klug <jan.n.klug@rub.de>
2021-01-03 14:13:25 +01:00
Thomas Weißschuh
217af3704e
[linuxinput] improve thread names (#9582)
See #9581

Signed-off-by: Thomas Weißschuh <thomas@t-8ch.de>
2021-01-03 10:26:09 +01:00
GiviMAD
d9caa46031
[amazonechocontrol] fix SmartHomeDevice channels (#9644)
* [amazonechocontrol] add channel-types to schema
* [amazonechocontrol] use mergedApplianceIds to query state

Signed-off-by: Miguel <miguelwork92@gmail.com>
2021-01-03 09:00:55 +01:00
Nils Bauer
a02be787ee
[gpio] GPIO Binding initial contribution (#1334)
* Added GPIO support

Signed-off-by: Nils Bauer <nbauer@niba.tech>
2021-01-03 08:38:22 +01:00
mlobstein
9776de236f
[tivo] Update tivo binding for OH3 (#9302)
* Baseline original code from AndyXMB
* Initial updates for OH3
* fix null warnings and add sub-channel handling

Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
2021-01-02 23:06:38 -08:00
Pawel Pieczul
207d300ca5
[loxone] Fix for #8693 - removed deadlock (#9624)
Signed-off-by: Pawel Pieczul <pieczul@gmail.com>
2021-01-02 23:00:50 -08:00
J-N-K
b4b8dd2117
[tr064] fix wanBlockByIP channel and improvements to parameter handling (#9655)
- fix wanBlockByIP channel
- allow comments in parameter lists
- fix compiler warnings

Signed-off-by: Jan N. Klug <jan.n.klug@rub.de>
2021-01-02 17:52:15 -08:00
lolodomo
270f7b645d
[remoteopenhab] Handle IllegalArgumentException when building channels (#9638)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2021-01-02 16:25:09 -08:00
Merlin Westphal
8e1efa101b
[hueemulation] Fix nginx example configuration (#9550) 2021-01-02 16:06:56 -08:00