Commit Graph

661 Commits

Author SHA1 Message Date
t2000 d223696a8e
[smartmeter] Fix flooding logs with warnings if serial port is not accesible (#9781)
Fixes #9780

Signed-off-by: Stefan Triller <github@stefantriller.de>
2021-01-11 19:39:56 +01:00
Jochen Klein b6eea715fa
[mqtt] Only unsubscribe if we subscribed before (#9758)
Fix for 9730

Signed-off-by: Jochen Klein <git@jochen.susca.de>
2021-01-10 16:25:54 +01:00
eugen 79b94e3e34
[homekit] fix pairing after update (#9769)
Signed-off-by: Eugen Freiter <freiter@gmx.de>

Co-authored-by: Eugen Freiter <freiter@gmx.de>
2021-01-10 16:25:18 +01:00
morph166955 25498701bf
Fixes #9673 (#9762)
Signed-off-by: morph166955 <rosenblumb@gmail.com>
2021-01-10 00:34:42 +01:00
Christoph Weitkamp 382ce10a0a
[deconz] Added channel to enable / disable motion sensor (#9686)
* Added channel to enable / disable motion sensor

Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2021-01-09 22:53:23 +01:00
J-N-K ef87af3712
[tr064] reduce network load and improve XML handling (#9693)
* reduce network load
* adjust soap timeout

Signed-off-by: Jan N. Klug <jan.n.klug@rub.de>
2021-01-09 10:41:22 +01:00
t2000 43a0439089
[tr064] Merge duplicate phone book entries (#9739)
* [tr064] Merge duplicate phone book entries

Fixes #9738

Signed-off-by: Stefan Triller <github@stefantriller.de>
2021-01-09 10:39:21 +01:00
J-N-K 673535a551
[tr064] Fixed parameter patterns (#9749)
Signed-off-by: Jan N. Klug <jan.n.klug@rub.de>
2021-01-09 10:37:44 +01:00
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
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
Lionello Marrelli 4b73fbf6c7
[tr064] improve documentation and add textual config example (#9648)
* Expanded descriptions and note on textual config

Some paragraphs are expanded and some more info on the fritzbox subdevices are given.  Channels are grouped by subdevice.  Textual description with .items files is briefly described at the end but a clear warning on possible drawbacks is given and it is also clearly stated that it is discouraged.

Signed-of-by: Lionello Marrelli <marrelli_lio@yahoo.it>
2021-01-02 22:19:23 +01:00
Andrew Schofield ac080ef71d
[draytonwiser] Fix typos in log messages and class names (#9650)
In some cases "DraytonWiser" was mis-spelled as "DraytonWise"

Signed-off-by: Andrew Schofield <the.uncle.fungus@gmail.com>
2021-01-02 22:14:22 +01:00
J-N-K f540548333
[onewire] update documentation (#9656)
Signed-off-by: Jan N. Klug <jan.n.klug@rub.de>
2021-01-02 22:10:13 +01:00
Wouter Born d6364aceb1
Update license headers to 2021 (#9620)
Signed-off-by: Wouter Born <github@maindrain.net>
2021-01-02 22:03:14 +01:00
Kai Kreuzer 0b50f2756f
[samsungtv] UPnP devices discovery refactored (#9525)
Also-by: Laurent Garnier <lg.hc@free.fr>
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2021-01-02 12:01:08 -08:00
Ron Isaacson 353f7af076
[powermax] Improve debugging in message classes (#9314)
* Improve debugging in message classes
Each PowermaxBaseMessage subclass had its own toString() which added
useful debug info but duplicated a lot of the logic in the message
handler. I've moved the debug info inline and removed the duplication,
and also added decoding for more values to the debug output.
* Fix for 0xFF byte values, which convert to int -1
* Change to inline debug messages

Signed-off-by: Ron Isaacson <isaacson.ron@gmail.com>
2021-01-02 20:59:57 +01:00
Andrew Schofield d133959abf
[draytonwiser] Add comfort mode option to boiler controller (#9649)
Signed-off-by: Andrew Schofield <the.uncle.fungus@gmail.com>
2021-01-02 11:58:16 -08:00
Mark Hilbush 10d2ab2079
[ecobee] Fix actions (#9632)
Signed-off-by: Mark Hilbush <mark@hilbush.com>
2021-01-02 11:28:33 -08:00
mlobstein 14a4a50582
[atlona] Make volume a whole number & remove StringUtils (#9631)
Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
2021-01-02 15:02:55 +01:00
t2000 572da80fd9
[tradfri] Fix NPE if gateway is unreachable (#9629)
Fixes #9628

Signed-off-by: Stefan Triller <github@stefantriller.de>
2021-01-01 21:45:55 +01:00
Jens Schanz d3ae64140f
[dwdunwetter] documentation for binding updated (#9585)
* Update README.md

examples updated
broken link for CAP DWD Profile fixed
some debugging information added
mapping files renamed to fit naming convention for files containing German language
additional mapping for weather warning added
examples also updated 
mapping files extended with mapping for UNDEF state
2021-01-01 16:52:34 +01:00
digitlength d15b32b869
[http] Fix typo in documentation (#9612)
Typo
2020-12-31 17:02:07 +01:00
J-N-K 27afb1f9f0
[http] fix missing escaping of URLs (#9618)
Signed-off-by: Jan N. Klug <jan.n.klug@rub.de>
2020-12-31 16:55:03 +01:00
Michael Wodniok ede94354f3
[icalendar] Add relevant handling of last_update channel (#9616)
Also add migration for older things as compatible.
Fixes #9613

Signed-off-by: Michael Wodniok <michi@noorganization.org>
2020-12-31 16:48:24 +01:00
Marek Hulán 43d1e43c33
[zoneminder] Update README.md (#9615)
leftover after renaming of zm -> zoneminder
2020-12-31 16:17:35 +01:00
J-N-K d2bd5114fd
[deconz] refactoring and fix connection issues (#9614)
* fix connection attempts when thing disposed

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

* refactor session handling

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

* rename

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

* refactoring

Signed-off-by: Jan N. Klug <jan.n.klug@rub.de>
2020-12-31 15:03:57 +01:00
Bernhard Bauer 924e0c7faf
[modbus.helioseasycontrols] Corrected some item types in the documentation. (#9605)
* Corrected some item types in the documentation.

Signed-off-by: Bernhard Bauer <bern77@gmail.com>

* Correction as per @ssalonen's review.

Signed-off-by: Bernhard Bauer <bern77@gmail.com>
2020-12-31 14:49:51 +01:00
Mark Hilbush 4ef61c9949
[zoneminder] Rework discovery to not use the thing handler thread (#9600)
Signed-off-by: Mark Hilbush <mark@hilbush.com>
2020-12-31 13:16:23 +01:00
Christoph Weitkamp 55a956e48c
[chromecast] Prevent exception when formatting value (#9596)
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2020-12-31 12:54:29 +01:00
J-N-K eaae9780ea
[http] add pre-emptive basic authentication and fix header handling (#9584)
* add preemptive basic authentication

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

* improve header handling

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

* Update bundles/org.openhab.binding.http/README.md

Co-authored-by: t2000 <t2000@users.noreply.github.com>

Co-authored-by: t2000 <t2000@users.noreply.github.com>
2020-12-31 12:23:32 +01:00
miloit 1b5df97af5
[yioremote] BugFix sendIRCode action (#9574)
* Corrected sendIRCode handler

Signed-off-by: Michael Loercher <MichaelLoercher@web.de>

* Update YIOremoteDockHandler.java

Updating IR receiver switch handler so it's running now

Solved issue during triggering channel while it was disposed

Signed-off-by: Michael Loercher <MichaelLoercher@web.de>

* Update YIOremoteDockHandler.java

Signed-off-by: Michael Loercher <MichaelLoercher@web.de>
2020-12-31 12:21:49 +01:00
Chris Carman 4e04bac010
[pioneeravr] Update README with correct examples for port configuration. (#9589)
Fixes #1594.

Signed-off-by: Chris Carman <namraccr@gmail.com>
2020-12-31 12:17:55 +01:00
J-N-K b6fbcfa523
[deconz] properly initialize colorMode (#9583)
Signed-off-by: Jan N. Klug <jan.n.klug@rub.de>
2020-12-31 12:05:31 +01:00
vbier ee72664d47
[elerotransmitterstick] Drop responses that do not fit the command that was sent. (#9562)
Signed-off-by: vbier <volker.bier@web.de>
2020-12-31 11:01:01 +01:00
Zimmermann Zsolt 220115c734
[googletts] Replace "Other" option when creating valid Google-Cloud-TTS OAuth2 Client Type (#9608)
No "Other" option in Google-Cloud-TTS OAuth2 Client Type options. Choose "TV and Limited Input" instead. Rest of readme works as expected.

Signed-off-by: Zimmermann Zsolt <cina@cina.hu>
2020-12-30 21:56:13 +01:00
Christoph Weitkamp e577b1a5c7
Prevent exception when formatting value (#9597)
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2020-12-30 18:27:16 +01:00
Christoph Weitkamp 437e73edf4
[dwdunwetter] Fixed channel update (#9594)
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2020-12-30 15:59:35 +01:00
J-N-K 883b251626
[tr064] log warning if config invalid (#9529)
Signed-off-by: Jan N. Klug <jan.n.klug@rub.de>
2020-12-30 15:57:50 +01:00
Marek Hulán ee93229d3c
[http] fix documentation for channel modes (#9593)
Based on 8de5652ed1/bundles/org.openhab.binding.http/src/main/java/org/openhab/binding/http/internal/config/HttpChannelMode.java (L23) and some experimenting, the correct values are WRITEONLY and READONLY
2020-12-30 14:50:34 +01:00
Mark Hilbush f9b763210d
[ecobee] Rework discovery (#9522)
* Rework discovery
* Consolidate discovery into one service

Signed-off-by: Mark Hilbush <mark@hilbush.com>
2020-12-29 16:18:42 -08:00
lolodomo 4c685adabc
[linky] Handle case when data from yesterday is still NaN (#9423)
* [linky] Handle case when data from yesterday is still NaN

Fix #9386
* Refresh every 2 hours until data from yesterday are available
* Log yesterday even for month and year requests

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2020-12-29 10:43:31 -08:00
J-N-K e9b91327cc
[http] Add examples (#9540)
Signed-off-by: Jan N. Klug <jan.n.klug@rub.de>
2020-12-29 15:02:38 +01:00
Matthias Schulte 1f846c618d
[ojelectronics] Fix configuration sample (#9551)
Signed-off-by: Matthias Schulte <matthias.schulte@viadee.de>
2020-12-29 14:59:16 +01:00
pravussum 7a834a558d
[danfossairunit] removed "advanced" attribute in channel-group-type (things-types.xml) to address issue #9568 (corresponding core issue https://github.com/openhab/openhab-core/pull/1410) (#9569)
Signed-off-by: Robert Bach <openhab@mortalsilence.net>
2020-12-29 14:51:45 +01:00
t2000 bf2d40c5bc
[influxdb] Treat a stored 1 AND 1.0 as true (#9545)
Signed-off-by: Stefan Triller <github@stefantriller.de>
2020-12-29 14:21:33 +01:00
Arjen Korevaar 6da56da7a8
[openthermgateway] Add Diagnostics indication channel (#9516)
* Added Diagnostics indication channel

Signed-off-by: Arjen Korevaar <a.korevaar@mephix.com>
2020-12-28 19:13:51 +01:00
Fabian Wolter 924eca29f2
[pidcontroller] Initial Contribution (#9512)
* [pidcontroller] Initial Contribution
* Incorporate review feedback No.1

Signed-off-by: Fabian Wolter <github@fabian-wolter.de>
2020-12-28 09:31:17 -08:00
jimtng fe5e9b85e8
[fronius] Add support for Fronius Smart Meter (#9209)
* [fronius] Add support for Fronius Smart Meter
* [fronius] Use DTO, implement UoM
* [fronius] fix README.md
* [fronius] Add mandatory label for channel-type and fix property update
* [fronius] Store meterRealtimeBodyData instead of meterRealtimeResponse

Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
2020-12-28 09:24:10 -08:00
J-N-K c556f49691
[http] Add rate-limiting to channel refresh (#9509)
* add rate limiter for requests and catch transformation exception
* address review comment
* address review comments

Signed-off-by: Jan N. Klug <jan.n.klug@rub.de>
2020-12-28 09:18:06 -08:00
J-N-K 06690bd37e
[tr064] add rule action for phonebook (#9505)
* add rule action for phonebook
* address review comments

Signed-off-by: Jan N. Klug <jan.n.klug@rub.de>
2020-12-28 09:14:01 -08:00
boehan 2ea32faa5d
[comfoair] improve data handling (#9401)
* improve data handling and suspend
* fix command position
* add ACK to subResponse
* fix data position
* fix reactivation, trim too long responses
* ensure correct setting of activation channel
* Remove @SuppressWarnings(null), which is not needed anymore
* Remove updateState on dispose

Signed-off-by: Hans Böhm <h.boehm@gmx.at>
2020-12-28 09:03:54 -08:00
Bob A 1cc6577b20
[lutron] Add debug logging in leapbridge (#9554)
Signed-off-by: Bob Adair <bob.github@att.net>
2020-12-27 22:40:05 -08:00
Dries Vandenneucker cb32068637
[nikohomecontrol] Fix typo in readme (#9549)
[nikohomecontrol] Small README update.

While searching why I can't get my electricity working, I think I spotted this typo.

Signed-off-by: Dries Vandenneucker <dries.vandenneucker@yahoo.com>
2020-12-27 22:26:47 -08:00