Commit Graph

379 Commits

Author SHA1 Message Date
Patrick Fink
601415db17
[bluetooth.enoceanble] Initial contribution EnOcean BLE Binding (#9223)
* [bluetooth.enoceanble] Initial contribution EnOcean BLE Binding

Signed-off-by: Patrick Fink <mail@pfink.de>

* Put @Nullable annotation inline

Signed-off-by: Patrick Fink <mail@pfink.de>

Co-authored-by: Connor Petty <mistercpp2000@gmail.com>

* [bluetooth.enoceanble] Add binding to CODEOWNERS

Signed-off-by: Patrick Fink <mail@pfink.de>

* [bluetooth.enoceanble] Remove obsolete transport serial feature

Signed-off-by: Patrick Fink <mail@pfink.de>

* [bluetooth.enoceanble] Add binding to footer.xml

Signed-off-by: Patrick Fink <mail@pfink.de>

* [bluetooth.enoceanble] Replace ruuvitag leftovers

Signed-off-by: Patrick Fink <mail@pfink.de>

* [bluetooth.enoceanble] Remove tinyB reference

Signed-off-by: Patrick Fink <mail@pfink.de>

Co-authored-by: Connor Petty <mistercpp2000@gmail.com>
2020-12-05 19:11:38 +01:00
Sven Killig
68dd5569f0
[amazonechocontrol] HandlerThermostatController (#9212)
* HandlerThermostatController

Signed-off-by: Sven Killig <sven@killig.de>
2020-12-05 17:20:17 +01:00
J-N-K
b8bc020348
[tr064] Add support for PPP connections (#9222)
* add PPP external IP
* fix connection status
* fix PPP uptime

Signed-off-by: Jan N. Klug <jan.n.klug@rub.de>
2020-12-04 21:44:00 -08:00
Michael Wodniok
de390b96be
[icalendar] Fix race condition while initialization of EventFilterHandler (#9230)
* [icalendar] Fix race condition while initialization of EventFilterHandler

Should fix #9029. The channels do not get updated as the known channels by the binding where only updated if Bridge was already online while initializing EventFilterHandler.
Also added a bit more output.

* [icalendar] use implicit conversion to string for logging

Signed-off-by: Michael Wodniok <michi@noorganization.org>
Co-authored-by: Connor Petty <mistercpp2000+gitsignoff@gmail.com>
2020-12-04 21:35:14 -08:00
Marcel
05b7bbdccf
[miio] Add discovery from cloud feature. (#9176)
* [miio] Add discovery from cloud feature.

This allows to discover things that are not directly on the same subnet

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
Co-authored-by: Connor Petty <mistercpp2000+gitsignoff@gmail.com>
2020-12-04 21:26:44 -08:00
Fabian Wolter
568da33684
[modbus] BaseModbusThingHandler: Add ability to retrieve slave address (#9181)
* [modbus] BaseModbusThingHandler: Add ability to retrieve slave address
* Rework error handling

Signed-off-by: Fabian Wolter <github@fabian-wolter.de>
2020-12-04 21:24:55 -08:00
Fabian Wolter
86bd264cb9
[lcn] add workaround for dynamic text firmware bug (#9232)
Some LCN-GTxD don't display the text if it fits exactly in one chunk (12 bytes). Observed with GT10D 8.0.

Closes #9208

Signed-off-by: Fabian Wolter <github@fabian-wolter.de>
2020-12-04 21:22:47 -08:00
Gaétan Collaud
f9866b2c77
[digitalstrom] fixes StringIndexOutOfBoundsException (#9194)
* [digitalstrom] catch issues when adding devices

Signed-off-by: Gaétan Collaud <gaetancollaud@gmail.com>

* Update bundles/org.openhab.binding.digitalstrom/src/main/java/org/openhab/binding/digitalstrom/internal/discovery/DiscoveryServiceManager.java

Signed-off-by: Gaétan Collaud <gaetancollaud@gmail.com>
2020-12-04 16:06:59 -08:00
Rafael
7582117759
[mihome] Update README.md, addresses #9160 (#9161)
* Update README.md

The general description of how Xiaomi works with OpenHAB is out of date.

Development mode is not supported in new Gateways.
2020-12-04 16:00:57 -08:00
Patrick Fink
4b1a976285
[bluetooth.bluez] Remove tinyB reference from BlueZ Binding docs (#9235)
Signed-off-by: Patrick Fink <mail@pfink.de>
2020-12-04 15:48:10 -08:00
J-N-K
0b26e0b335
[amazonechocontrol] improve documentation (#9226)
* clarify login issue documentation

Signed-off-by: Jan N. Klug <jan.n.klug@rub.de>
2020-12-04 13:03:22 -08:00
Marcel
2597ff20d4
[miio] dynamically generate channelTypes (#9158)
* [miio] dynamically generate channelTypes

Simplify the json database creation for new models and less chance for
errors
Related to #7276

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
Co-authored-by: Connor Petty <mistercpp2000+gitsignoff@gmail.com>
2020-12-04 13:01:18 -08:00
J-N-K
97d9bda0a1
[hdpowerview] fix classnotfoundexception (#9224)
Signed-off-by: Jan N. Klug <jan.n.klug@rub.de>
2020-12-04 10:25:41 -08:00
Marcel
35528eda3b
[miio] Implement alternative MiIoQuantityTypes (#9203)
* [miio] Implement alternative MiIoQuantityTypes

* Improved way avoiding multiple entries for Unit
* Test cases for the MiIoQuantityTypes class
* Apply suggestions from code review

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
Co-authored-by: Connor Petty <mistercpp2000+gitsignoff@gmail.com>
2020-12-04 09:37:49 -08:00
mlobstein
ffe252ccd5
[epsonprojector] Update epsonprojector binding for OH3 (#9021)
* baseline EpsonProjector code from ysc
* Improvements for OH3
* Finish epsonprojector binding for OH3
* improve exception logging
* cleanup exception logging
* Make connection specific thing types

Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
2020-12-03 17:34:23 -08:00
Gaël L'hopital
48dcb27a61
[OpenUV] Issue when UV index < 1 (#9198)
* [OpenUV] Correcting incorrect behaviour when UV < 1
and some code enhancements
* Correcting SAT findings
* Initiating bundle localization in French

Signed-off-by: clinique <gael@lhopital.org>
2020-12-03 17:31:18 -08:00
J-N-K
b27ddbe9fc
[amazonechoontrol] fix announcement without speak (#9213)
* fix announcement without speak
* improve code

Signed-off-by: Jan N. Klug <jan.n.klug@rub.de>
2020-12-03 17:24:56 -08:00
J-N-K
33faa51d7c
[digitalstrom] fix ClassCastException (#9214)
* fix ClassCastException
* fix spotless

Signed-off-by: Jan N. Klug <jan.n.klug@rub.de>
2020-12-03 17:20:43 -08:00
Sonic-Amiga
7a821a6c40
[irobot] iRobot binding (#8723)
* [irobot] iRobot binding

Supports iRobot Roomba and probably some other iRobots (in parts where they
are compatible)

* [irobot] Drop custom hivemq wrapper

setUnsubscribeOnStop() has been introduced in
org.openhab.core.io.transport.mqtt.MqttBrokerConnection, so it can now handle
iRobot's quirks. The custom wrapper is no more needed, remove it

Signed-off-by: Pavel Fedin <pavel_fedin@mail.ru>
Co-authored-by: Fabian Wolter <github@fabian-wolter.de>
2020-12-03 12:28:17 -08:00
Kai Kreuzer
a736e64402
[avmfritz] Properly interrupt monitor thread upon dispose (#9201)
* Properly interrupt monitor thread upon dispose

Signed-off-by: Kai Kreuzer <kai@openhab.org>
2020-12-03 17:19:10 +01:00
tophee
72b0c1473c
[squeezebox] Match the name of the binding with the name it has in the UI (#9195)
I kept searching for "Logitech" in PaperUI but couldn't find it. Until I saw that it's actually called "Squeezebox Binding"
2020-12-02 09:32:12 -08:00
Marcel
707d840c73
[miio] Channel Updates to Quantitypes (#9196)
Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2020-12-02 09:25:25 -08:00
lolodomo
ef31659452
[powermax] New channel of type Contact to show the zone arm status (#9192)
Allow using lock icon from the classic iconset
Allow displaying the "Locks" badge in MainUI

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2020-12-02 09:21:05 -08:00
Kai Kreuzer
102f770881
[miele] Properly shut down event listener job upon dispose (#9202)
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2020-12-02 09:08:37 -08:00
Andrew Fiddian-Green
072113f51b
[velux] hub discovery; representation properties; socket lock up issues (#8777)
* [velux] set explicit timeouts & keepalives on socket
* [velux] implement mdns service
* [velux] fix representation property names
* [velux] fix representation properties
* [velux] finalize mdns
* [velux] spotless
* [velux] use both mDNS and regular DNS to resolve ip addresses
* [velux] complete class rewrite using asynchronous polling thread
* [velux] refactor bridgeDirectCommunicate to simplify looping
* [velux] asynchronous polling means Thread.sleep no longer needed
* [velux] faster synch of actuator changes
* [velux] use single thread executor instead of thread pool
* [velux] faster synch of actuator changes
* [velux] shut down task executor

Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2020-12-01 09:05:51 -08:00
LukasA83
d3b9bd592b
[deconz] Fix Thermostat setting target temperature (#9189)
Improve logging on sending commands by checking http response status
code


Signed-off-by: Lukas Agethen <lukas83@gmx.de>
2020-11-30 17:30:00 -08:00
miloit
27f280cfa2
[yioremote] Update ir code macth pattern (#9169)
Signed-off-by: Michael Loercher <michaelloercher@web.de>
2020-11-30 16:55:55 -08:00
Christoph Weitkamp
1abe9da2d4
[netatmo] Update only the channel for which the REFRESH is sent (#9188)
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2020-11-30 16:40:56 -08:00
Wolfgang Klimt
6afbe23ea6
[openweathermap] Add support for One Call API #7308 (#9062)
* OH 3.0 version of the Openweathermap Onecall API Binding extension

Signed-off-by: wolfii <wolfgang.klimt@consol.de>
2020-11-30 12:09:20 -08:00
Christoph Weitkamp
7fe7b60f83
Improved format of README.md (#9184)
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2020-11-30 17:04:21 +01:00
Wouter Born
90ea8d8106
Fix CODEOWNERS file (#9183)
Signed-off-by: Wouter Born <github@maindrain.net>
2020-11-30 12:44:18 +01:00
Felix Schneider
af42602636
[milight] Update README.md (#9177)
* Update README.md

* Fix Indentation 
* Change comment character from '#' to '//'
* Remove wrong formatting attempts ('rsqb' & 'lsqb')
* Minor changes

* Update README.md

Remove link to the API since website doesn't exist any more.

Signed-off-by: Felix Schneider <fs@felix-schneider.org>
2020-11-30 12:10:42 +01:00
lolodomo
23131b446c
[netatmo] Removed useless class MeasurableChannels (#9136)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2020-11-30 10:31:16 +01:00
schmieeed
1e47d42186
[modbus.stiebeleltron] Update README.md (#9144)
sorry i missed to change the IP of my own config. Thing Configuration was not accepted bei Visual Studio Code, curly brakets were missed and the definition of ThingID<>Thing was not accepted.
2020-11-30 10:28:27 +01:00
Christoph Weitkamp
6e0cacab31
[pushover] Migration of Pushover OH1 action to OH3 binding (#8586)
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2020-11-29 12:31:21 +01:00
Sami Salonen
5d60d6464b
[dynamodb] Fixed persistence issues with zoneddatetime (#9157)
* [dynamodb] fix serialization of ZonedDateTime timestamps

Resolves #9156.

AWS SDK does not know how to serialize ZonedDateTime. We resolve this
by providing explicit serializer/deserializer.

In addition, integration tests had issue with timezones. The persistence
converts all timestamps from the DynamoDB to system timezone for display
purposes. This was not taken into account in the tests and failure was
expected with non-UTC system timezone.

Signed-off-by: Sami Salonen <ssalonen@gmail.com>
2020-11-29 11:24:16 +01:00
Marcel
852f19f5c2
[miio] Update channels only if they are linked (#9163)
* [miio] Update channels only if they are linked

With introduction of miot devices with enormous amount of channels
refreshes can become slow. With this change only relevant updates are
done.

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2020-11-28 21:03:44 -08:00
Fabian Wolter
a2bcb2ec7a
[lcn] doc: make dimmer output resolution more clearer, fix i18n error (#9162)
Signed-off-by: Fabian Wolter <github@fabian-wolter.de>
2020-11-28 20:27:16 -08:00
Marcel
ad202edefa
[miio] Cloud Communication for devices (#8981)
* [miio]  Cloud Communication for devices

Allows to define if communication to devices is direct or send via the
Xiaomi cloud.
Introduce additional channel to execute commands via cloud.

Other small improvements
* Use common method from abstract handler to send commands
* Common way to handle custom commands
* Introduce small delay before refreshing robot properties after sending
commands (similar to the basic handler) so devices have time to update
their properties

* [miio] simplify cloudconnector
* [miio] Cleanup all jobs when unloading
* [miio] update to use dedicated ScheduledExecutorService

Use dedicated ScheduledExecutorService to avoid unloading problems

* Update bundles/org.openhab.binding.miio/src/main/java/org/openhab/binding/miio/internal/handler/MiIoAbstractHandler.java
* [miio] fix for removeif
* miio- Improve scheduler
* [miio] fix communication error if device is not on the network
* [miio] update with comments from feedback

* remove scheduler tracking
* improve status setting for cloud communication
* [miio] update with feedback review

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

Co-authored-by: Connor Petty <mistercpp2000@gmail.com>
2020-11-28 20:03:12 -08:00
Mike Major
ab7ac79fab
[hueemulation] Changes to fix pairing and device discovery with Alexa (#9164)
Signed-off-by: Mike Major <mike_j_major@hotmail.com>
2020-11-28 19:46:35 -08:00
Christoph Weitkamp
be61a70030
[openhabcloud] Added Actions for sending notifications (#9145)
* Added ThingActions for sending notifications

Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2020-11-28 12:25:20 -08:00
J-N-K
936a4dc8d8
[tr064] fix certificate problems and add call list channel (#9149)
* improvements

- use insecure client and remove TrustManager
- add call list channel

* address review comments

Signed-off-by: Jan N. Klug <jan.n.klug@rub.de>
2020-11-28 10:14:07 -08:00
M Valla
66421c6939
[openwebnet] Improved logging info>warn (#9159)
Signed-off-by: Massimo Valla <mvcode00@gmail.com>
2020-11-28 16:50:10 +01:00
Benjamin Lafois
2730bc8a2e
[bluetooth.bluez] Fix the unpairing of all devices on binding disposal (#9011)
Signed-off-by: Benjamin Lafois <benjamin.lafois@gmail.com>
2020-11-28 15:59:39 +01:00
Mark Herwege
821a84067a
[upnpcontrol] Rework and extension of binding. (#9081)
Signed-off-by: Mark Herwege <mark.herwege@telenet.be>
2020-11-28 13:38:44 +01:00
Ulrich Thombansen
6b2d217e08
Update README.md (#9152)
The channels 1-3 of LCN-B3I are mapped to binary channels 6-8. This could be anticipated from the Button Tables (B6-8) that it connects to. However, the added comments should help people to save a few hours and some gray hair ;-)
2020-11-28 13:22:02 +01:00
lolodomo
f333d933ef
[itests] Fix after changing Inbox interface (#9150)
Related to openhab/openhab-core#1848

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2020-11-28 13:17:34 +01:00
J-N-K
9211248f96
fix announcement (#9155)
Signed-off-by: Jan N. Klug <jan.n.klug@rub.de>
2020-11-28 13:10:19 +01:00
lolodomo
7130886d22
[remoteopenhab] Accept Decimal state for items of type Number with a dimension (#9151)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2020-11-27 21:30:24 -08:00
Christoph Weitkamp
a3835ebdc6
[dwdunwetter] Removed dependency on org.apache.commons (#9138)
* Removed dependency on org.apache.commons
* Incorporated comments from review

Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2020-11-27 16:11:06 -08:00