Commit Graph
344 Commits
Author SHA1 Message Date
Sami SalonenandGitHub 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
MarcelandGitHub 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 WolterandGitHub 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
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 MajorandGitHub 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 WeitkampandGitHub 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-KandGitHub 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 VallaandGitHub 66421c6939 [openwebnet] Improved logging info>warn (#9159)
Signed-off-by: Massimo Valla <mvcode00@gmail.com>
2020-11-28 16:50:10 +01:00
Benjamin LafoisandGitHub 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 HerwegeandGitHub 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 ThombansenandGitHub 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
lolodomoandGitHub 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-KandGitHub 9211248f96 fix announcement (#9155)
Signed-off-by: Jan N. Klug <jan.n.klug@rub.de>
2020-11-28 13:10:19 +01:00
lolodomoandGitHub 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 WeitkampandGitHub 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 PectaandGitHub 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 KrivonogandGitHub 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
MarcelandGitHub 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
MarcelandGitHub 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
miloitandGitHub 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 SkrobackiandGitHub 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 WeitkampandGitHub 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
sidamosandGitHub 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 SalonenandGitHub 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 VallaandGitHub 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 KrivonogandGitHub 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ömandGitHub 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 MajorandGitHub 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 WeitkampandGitHub 64b15bcc48 Added OSGi configurable service declarations (#9132)
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2020-11-25 22:16:10 +01:00
1b588bc4fa [amazonechocontrol] improvements and bug fixes (#9057)
* fixed: InterrupedException
* changed: single and group queues to device queue
added: standard volume to speak request
* changed: log from info to debug
* fix compile warnings
* remove dependency on StringUtils
* more improvements
* fix HandlerPowerController
* attempt to solve stopping tts
* logging powercontroller
* fix smarthome devices not updating
* finalize smarthome device update fix
* additional device information logging for discovery
* fix color channel for smarthome devices

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

Co-authored-by: Tom Blum <trinitus01@googlemail.com>
Co-authored-by: Connor Petty <mistercpp2000@gmail.com>
2020-11-25 12:15:29 -08:00
Connor PettyandGitHub 62523e135a Merge client-api subproject into tado binding project. (#9125)
Signed-off-by: Connor Petty <mistercpp2000+gitsignoff@gmail.com>
2020-11-25 10:10:53 +01:00
Georgios MoutsosandGitHub af735031c5 [caddx] Corrected try with resources on a test class (#9123)
Signed-off-by: Georgios Moutsos <georgios.moutsos@gmail.com>
2020-11-25 08:05:25 +01:00
Christoph WeitkampandGitHub 55943502b5 [mail] Added translations for ThingActions (#9121)
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2020-11-25 07:52:56 +01:00
Connor PettyandGitHub 32e8ec31f9 [bluetooth.bluegiga] Add characteristic notification support (#9067)
* Add support for characteristic notifications.
* Also fixed bluegiga initialize/dispose bugs.

Signed-off-by: Connor Petty <mistercpp2000+gitsignoff@gmail.com>
2020-11-24 21:33:48 +01:00
lolodomoandGitHub f9e38cbf2f [freebox] Use ThingHandlerService for discovery (#9088)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2020-11-24 19:42:00 +01:00
Mark HilbushandGitHub df971caa7a [ecobee] Updates in prep for Dec 1 changes to Ecobee authorization process (#9065)
Signed-off-by: Mark Hilbush <mark@hilbush.com>
2020-11-24 19:05:10 +01:00
MrRimmerandGitHub de04ad0dde [denonmarantz] doc: added note for later models (#9066)
Added note for later models >= 2016.
2020-11-24 19:00:18 +01:00
Connor PettyandGitHub 89e0771884 [bluetooth.generic] Fix build (#9115)
* use Objects.requireNonNull

Signed-off-by: Connor Petty <mistercpp2000+gitsignoff@gmail.com>
2020-11-24 08:07:29 +01:00
jimtngandGitHub fd7aa9f9c1 [fronius] Fix connection check with Gen24 inverters (#9108)
Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
2020-11-23 20:01:00 -08:00
Kai KreuzerandGitHub 007c3b56e5 removed deprecated author information from binding.xml (#9113)
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2020-11-23 19:06:33 -08:00
Bernhard BauerandGitHub 85af35474f [helioseasycontrols] Range checks for bypass dates + documentation fixes (#9117)
Signed-off-by: Bernhard Bauer <bern77@gmail.com>
2020-11-23 19:05:02 -08:00
Fabian WolterandGitHub d0b5267ff3 [modbus] Add convenience class for ThingHandlers (#8634)
* [modbus] Add convenience class for ThingHandlers

Signed-off-by: Fabian Wolter <github@fabian-wolter.de>
2020-11-23 18:38:07 -08:00
robnielsenandGitHub 4911fd0c4a [insteon] Fixed status updates not getting published for some polled devices (#9110)
Signed-off-by: Rob Nielsen <rob.nielsen@yahoo.com>
2020-11-24 00:12:25 +01:00
Ondrej PectaandGitHub d13e41ddb1 [somfytahoma] code cleanup (#9099)
* [somfytahoma] code cleanup

Signed-off-by: Ondrej Pecta <opecta@gmail.com>
2020-11-23 22:05:08 +01:00
M VallaandGitHub 874962e00a [openwebnet] Fixed handling of ZigBee USB gateway and devices (fixes #8915 #8917 #8962) (#9076)
* [openwebnet] Fixed config, handling and discovery of ZigBee devices (fixes #8915 and fixes #8917). Added test for ownID. Now uses openwebnet4j v0.3.2
* [openwebnet] ZigBee: improved handling of wrong 'where' parameter. Updated README. Improved logging.
* [openwebnet] Improved discoveryByActivation to distinguish dimmers from lights. Now using openwebnet4j 0.3.2-1

Signed-off-by: Massimo Valla <mvcode00@gmail.com>
2020-11-23 19:21:55 +01:00
lolodomoandGitHub ba98ef30e9 [astro] Trigger or not jobs restart when a positional channel is linked or unlinked (#9104)
Don't rely on calls to channelLinked at startup

Related to openhab/openhab-core#1707

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2020-11-23 19:17:18 +01:00
Mike MajorandGitHub 9de9955c49 Support Colour item and Group item with a state (#9111)
Signed-off-by: Mike Major <mike_j_major@hotmail.com>
2020-11-23 19:15:56 +01:00
Connor PettyandGitHub 0b163f655c [bluetooth] Add some utility classes (#9064)
* Add some utility classes that will be used by other bluetooth bindings.
* Add handle field to BluetoothDescriptor

Signed-off-by: Connor Petty <mistercpp2000+gitsignoff@gmail.com>
2020-11-23 11:34:39 +01:00
Martin HerbstandGitHub 38876647ad [homematic] Better OH3 compatibility (#9102)
* Max value and format pattern were not correct for dimmers (Fixes #8799)
* Fixed calls to deprecates methods/constructors
* Make sure channelLinked is executed at restart (see also: https://github.com/openhab/openhab-core/issues/1707)

Signed-off-by: Martin Herbst <develop@mherbst.de>
2020-11-23 11:10:08 +01:00
Fabian WolterandGitHub 417ae41bd9 [lcn] Fix initial polling of linked Channels (#9103)
Fixes #9086
Relates to openhab/openhab-core#1707

Signed-off-by: Fabian Wolter <github@fabian-wolter.de>
2020-11-23 10:46:20 +01:00