Commit Graph

465 Commits

Author SHA1 Message Date
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
Ondrej Pecta 219d370439
[somfytahoma] Added support for the thermostatic valve (#9122)
Signed-off-by: Ondrej Pecta <opecta@gmail.com>
2020-11-27 08:29:37 +01:00
Boris Krivonog a138748ff3
[nikobus] discovery for push buttons, (#9134)
* removed state update if value didn't change so expiry binding can actually - expire. If expire time was larger than refresh interval of the binding, expiration never happened ...

Signed-off-by: Boris Krivonog <boris.krivonog@inova.si>
2020-11-26 17:02:49 -08:00
Marcel d646215288
[miio] update for vacuum.e2 (#9139)
* [miio] update for vacuum.e2

small update now critical commands are confirmed working.

* [miio] update readme

as dock command is now also confirmed

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2020-11-26 16:04:46 -08:00
Marcel 8040a710fd
[miio] update line endings for readme maker (#9142)
Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2020-11-26 14:53:55 -08:00
miloit 3fb0b86989
[yioremote] Make the Binding compatible to new firmware version of YIO Dock (#9094)
* Make the Binding compatible to new firmware version of YIO Dock

Signed-off-by: Michael Loercher <MichaelLoercher@web.de>
2020-11-26 14:47:07 -08:00
Marek Skrobacki 0a9ea9fd45
[miio] add support for zhimi.humidifier.ca4 (Smartmi Evaporative Air Humidifier 2) (#9093)
* miio: add support for zhimi.humidifier.ca4

This change adds support for Xiaomi Smartmi Evaporation Air Humidifier 2.

The device uses MIOT protocol, exact spec is available at:

http://miot-spec.org/miot-spec-v2/instance?type=urn:miot-spec-v2:device:humidifier:0000A00E:zhimi-ca4:2

Signed-off-by: Marek Skrobacki <skrobul@skrobul.com>
2020-11-26 14:32:39 -08:00
Christoph Weitkamp aa72044554
[openhabcloud] Code improvements (#9131)
* Code improvements
* Add util method to create random alphanimeric string

Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2020-11-26 14:14:20 -08:00
sidamos 8c3a488a30
[ipcamera] Add channel Privacy Mode to Amcrest and Dahua handlers (#9092)
* Add channel Privacy Mode to Amcrest and Dahua handlers

Signed-off-by: Thomas <thomas@boerkel.de>
2020-11-26 09:53:52 -08:00
Sami Salonen b806ed45d0
[modbus] Modbus register array backed by bytes and other simplifications (#8865)
Signed-off-by: Sami Salonen <ssalonen@gmail.com>
2020-11-26 18:07:49 +01:00
M Valla ff038bc9bb
[openwebnet] Fixed lights/dimmers handling #8830 (#9100)
Signed-off-by: Massimo Valla <mvcode00@gmail.com>
2020-11-26 17:54:02 +01:00
Boris Krivonog 8743f0ee7a
[nikobus] fixed refresh handling (#9114)
* * fixed refresh handing due `channelLinked` not called anymore on startup for example (similar to https://github.com/openhab/openhab-core/issues/1707),
* "Impacted Modules" can be empty if button is configured as "standalone" and does not impact modules,
* minor doc fix

* * check if configured impacted module for `impactedModules` is referencing an existing thing,
* fixed warnings
* Fixed review comment.

Signed-off-by: Boris Krivonog <boris.krivonog@inova.si>
2020-11-25 17:50:17 -08:00
Fredrik Ahlström fde30fbada
[playstation] Initial contribution (#8585)
* [playstation] Initial contribution.

Signed-off-by: Fredrik Ahlström <fredrikahlstrom75@gmail.com>
2020-11-25 17:39:27 -08:00
Mike Major 72c441e422
Fix to make sure the service starts (#9130)
Signed-off-by: Mike Major <mike_j_major@hotmail.com>
2020-11-25 22:41:12 +01:00
Christoph Weitkamp 64b15bcc48
Added OSGi configurable service declarations (#9132)
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2020-11-25 22:16:10 +01:00