Commit Graph

434 Commits

Author SHA1 Message Date
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
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
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
J-N-K 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 Petty 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 Moutsos 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 Weitkamp 55943502b5
[mail] Added translations for ThingActions (#9121)
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2020-11-25 07:52:56 +01:00
Connor Petty 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
lolodomo 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 Hilbush 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
MrRimmer de04ad0dde
[denonmarantz] doc: added note for later models (#9066)
Added note for later models >= 2016.
2020-11-24 19:00:18 +01:00
Connor Petty 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
jimtng 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 Kreuzer 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 Bauer 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 Wolter 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
robnielsen 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 Pecta 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 Valla 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
lolodomo 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 Major 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 Petty 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 Herbst 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 Wolter 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
Connor Petty fb7fcd886d
[bluetooth.generic] Added support for generic bluetooth devices (#8775)
* Generic Bluetooth Binding Initial Contribution

Signed-off-by: Connor Petty <mistercpp2000+gitsignoff@gmail.com>
2020-11-23 10:43:44 +01:00
Christoph Weitkamp 0c30d90757
[tr064] Improvements of Phonebook Profile (#9054)
* Improvements of Phonebook Profile

Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2020-11-22 16:22:22 -08:00
druciak 4cdbe65662
[satel] Fixes for INT-RS module (#9072)
Signed-off-by: Krzysztof Goworek <krzysztof.goworek@gmail.com>

Co-authored-by: Krzysztof Goworek <krzysztof.goworek@gmail.com>
2020-11-20 22:33:54 -08:00
Matthew Skinner 8b3c633b8d
[ipcamera] Improve ONVIF preset naming (#8948)
* Refactor to prevent endless loop.
* Allow `-rtsp_transport tcp` to be over-ridden.
* Display actual preset names
* Allow IP to not match due to Hostname given in setup.
* Fix index off by 1
* Bug fixes for HLS
* Compatibility fix for GotoPreset
* Improve default snapshot quality and allow FFmpeg arguments to be
changed.

Signed-off-by: Matthew Skinner <matt@pcmus.com>

Co-authored-by: Connor Petty <mistercpp2000@gmail.com>
2020-11-20 22:27:49 -08:00
jimtng ae7d5715ee
[fronius] [fronius] Accept null value as zero for inverterdatachannelpac channel (#9077)
Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
2020-11-20 19:23:11 -08:00
J-N-K bc0fafd10b
[http] fix thing-definition (#9080)
Signed-off-by: Jan N. Klug <jan.n.klug@rub.de>
2020-11-20 19:20:45 -08:00
lolodomo 82af90c5b8
[powermax] Use ThingHandlerService for discovery (#9083)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2020-11-20 19:18:16 -08:00
lolodomo e58a0469ad
[rfxcom) Use ThingHandlerService for discovery (#9082)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2020-11-20 19:16:55 -08:00
drohhyn 1797b2e245
Channel types: UPERCASE and typo (#8989)
https://community.openhab.org/t/solved-homematic-channel-type-couldn-t-be-resolved/47950/6 shows the solution with UPPERCASE channel name.
Signed-off-by: drohhyn <drohhyn@qimp.org>
2020-11-20 08:35:59 +01:00
Kai Kreuzer 4385708f96
Fixed declaration of representation property (#9073)
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2020-11-19 20:06:13 +01:00
Christoph Weitkamp c297134030
[tr064] Fixed minor spelling (#9074)
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2020-11-19 19:58:13 +01:00
Mike Major 55bf82c477
[serial] Initial contribution (#8851)
Signed-off-by: Mike Major <mike_j_major@hotmail.com>
2020-11-19 19:51:54 +01:00
Georgios Moutsos fa21dff364
[caddx] Fix wrongly handled discovery, off by 1 errors (#9030)
* Corrected caddx discovery bug
* Maintenance

- Changed refresh logic for the things
- Code cleanup
- Corrected off by one errors
- Added initial tests for the message parsing
* Corrected ParameterizedTest
* Changed new Date().getTime to System.currentTimeMillis()

Signed-off-by: Georgios Moutsos <georgios.moutsos@gmail.com>
2020-11-18 18:10:09 -08:00
J-N-K 6e3c640043
[neeo] improve code (#9028)
* create forwardactionsservlet only if forwardchain is not empty
* remove dependency on apache commons

Signed-off-by: Jan N. Klug <jan.n.klug@rub.de>
2020-11-17 16:25:46 -08:00
Marcel 158cbe0c65
[miio] Use QuantityTypes for time & area in the vacuumhandler (#9058)
closes #7752

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2020-11-17 16:23:23 -08:00
Marcel d41927c703
[miio] Add support zhimi.heater.zb1 & zhimi.heater.za2 (#9055)
* [miio] Add support zhimi.heater.zb1 & zhimi.heater.za2
* [miio] capitalize channel labels

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2020-11-17 16:16:36 -08:00
Marcel d86edfe32b
[miio] send miot actions parameter as jsonObject (#9056)
* [miio] send miot actions parameter as jsonObject
* [miio] avoid maven error

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2020-11-17 12:32:52 -08:00
Christian Niessner 754daa0140
[tacmi] TA-CMI: Fixed some issues when percent values are received or updated (#9047)
Signed-off-by: Christian Niessner <github-marvkis@christian-niessner.de>
2020-11-17 11:53:20 -08:00
Marcel 2930e431ad
[miio] Fix readme for line breaks inside table cell (#9052)
* [miio] Fix readme for line breaks inside table cell
* [miio] improve readme

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2020-11-17 10:46:20 -08:00
J-N-K eb19117bbc
fix wrong formatting in state description (#9051)
Signed-off-by: Jan N. Klug <jan.n.klug@rub.de>
2020-11-17 11:55:22 +01:00
Roie Geron 387b9675fd
[touchwand]- Added support for AlarmSensor and WallController (#8933)
* Added support for AlarmSensor and WallController

Signed-off-by: Roie Geron <roie.geron@gmail.com>
2020-11-16 15:44:03 -08:00
Christoph Weitkamp 1f4053538f
[km200] Fixed representation-property for discovery result (#9042)
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2020-11-16 12:34:35 -08:00
Ondrej Pecta 8aa4be628a
[jablotron] fixed updating of JA100 PG channels (#9003)
* [jablotron] fixed bug when bridge stays offline forever in some cases
* [jablotron] fixed the JA100 channel update bug

Signed-off-by: Ondrej Pecta <opecta@gmail.com>
2020-11-16 12:31:49 -08:00
Marcel d6d68c7a96
[miio] update readme (#9014)
* [miio] update readme

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2020-11-16 12:26:50 -08:00
Gaël L'hopital b523c873cc
[VolvoOnCall] SAT corrections and some channels enhancements (#8997)
* Sat enhancements and some channels enhancements
* Reformating files
* Documentation correction

Signed-off-by: clinique <gael@lhopital.org>
2020-11-16 12:21:17 -08:00
Christoph Weitkamp 896640db3f
[avmfritz] Avoid a hidden NPE when getIdentifier() of an uninitialized ThingHandler is called (#9040)
* Avoid a hidden NPE when getIdentifier() of an uninitialized ThingHandler is called
* Fixed Powerline546EHandler

Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2020-11-16 18:09:30 +01:00
Wouter Born 57177ccdff
[plugwise] Use ThingHandlerService for discovery (#9041)
This simplifies the PlugwiseHandlerFactory code so it no longer needs to register and keep track of a discovery service for each bridge.

Also contains a few other improvements:

* fix lastRequest timestamp not updated when sending messages to discover node properties
* use java.time Duration and Instant
* use List.of, Set.of
* remove redundant null suppression because of EEAs

Signed-off-by: Wouter Born <github@maindrain.net>
2020-11-15 17:29:02 -08:00
J-N-K 09b0e3fb1b
[snmp] nullness improvements (#9038)
Signed-off-by: Jan N. Klug <jan.n.klug@rub.de>
2020-11-15 17:24:02 -08:00
Marcel 1e5aaf948c
[miio] add support for lumi.curtain.hagl05 Xiaomi youpin Curtain Controller (Wi-Fi) (#9017)
* [miio] add support for lumi.curtain.hagl05
* [miio] improve channel description
* [miio] improved mapping for curtain hagl05
* [miio] fix channelTypes

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2020-11-15 17:19:00 -08:00
Marcel 406b7e4392
[miio] Add support for mijia.vacuum.v2 (#9036)
* [miio] Add support for mijia.vacuum.v2

related issue #9005
* [miio] fix channelTypes based on review

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2020-11-15 17:17:59 -08:00
Fabian Wolter 3fbb07d8c6
[lcn] doc: add .things example (#9031)
Signed-off-by: Fabian Wolter <github@fabian-wolter.de>
2020-11-15 12:41:45 -08:00
lolodomo 3b162f2f92
[netatmo] Deprecated tag "required" for configuration parameter (#9035)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2020-11-15 12:34:20 +01:00
lolodomo 3499acfcf3
[hue] Deprecated tag "required" for configuration parameter (#9034)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2020-11-15 12:28:44 +01:00
lolodomo 7daea2dfd5
[freebox] Deprecated tag "required" for configuration parameter (#9033)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2020-11-15 12:26:34 +01:00
lolodomo deea965cc6
[remoteopenhab] Deprecated tag "required" for configuration parameter (#9032)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2020-11-15 11:28:30 +01:00
lolodomo 07abbafadc
[remoteopenhab] Introduce things for the remote things and add support for HTTPS (#8909)
* [remoteopenhab] Introduce things for the remote things

Signed-off-by: Laurent Garnier <lg.hc@free.fr>

* Adapt code to change in core

Signed-off-by: Laurent Garnier <lg.hc@free.fr>

* Review comment: scheduler.execute

Signed-off-by: Laurent Garnier <lg.hc@free.fr>

* Fixed tables in README

Signed-off-by: Laurent Garnier <lg.hc@free.fr>

* Review comment: ThingHandlerService

Signed-off-by: Laurent Garnier <lg.hc@free.fr>

* Add support for HTTPS communication

Signed-off-by: Laurent Garnier <lg.hc@free.fr>

* Few changes to satisfy build

Signed-off-by: Laurent Garnier <lg.hc@free.fr>

* Avoid SSE timeout exception after one minute when no event received

Fix #8977

Signed-off-by: Laurent Garnier <lg.hc@free.fr>

* Check connection job: do nothing when the thing was ONLINE and the REST API is still reachable

Signed-off-by: Laurent Garnier <lg.hc@free.fr>

* Review comment: super.deactivate

Signed-off-by: Laurent Garnier <lg.hc@free.fr>

* Review comments: README

Signed-off-by: Laurent Garnier <lg.hc@free.fr>

* Review comment: buildChannels parameter renamed

Signed-off-by: Laurent Garnier <lg.hc@free.fr>

* Imrpoved logging when the REST API is failing

Signed-off-by: Laurent Garnier <lg.hc@free.fr>

* Review comment: fasle

Signed-off-by: Laurent Garnier <lg.hc@free.fr>

* Review comment: deprecated "required" tag for channel parameter

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2020-11-15 10:59:38 +01:00
J-N-K d055c057d7
[omnikinverter]fix missing dispose (#9010)
* fix missing dispose

Signed-off-by: Jan N. Klug <jan.n.klug@rub.de>
2020-11-14 15:27:21 -08:00
Patrick Fink 9e7836b4f9
[bluetooth.bluegiga] Fix / concretize bluegiga parameter descriptions (#9026)
Signed-off-by: Patrick Fink <mail@pfink.de>
2020-11-14 17:45:26 +01:00
Patrick Fink a3e3f15ed8
[bluetooth.bluegiga] Fix scan interval descriptions (#9025)
Signed-off-by: Patrick Fink <mail@pfink.de>
2020-11-14 16:12:19 +01:00
J-N-K 1073f0086d
[neeo] fix ClassNotFoundException and switch to constructor injection (#9006)
Signed-off-by: Jan N. Klug <jan.n.klug@rub.de>
2020-11-14 16:11:06 +01:00
Marcel 02341d3536
[miio] Use generic channeltypes if none provided (#8999)
To prevent channels not showing up in OH3 main UI

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2020-11-13 15:09:39 -08:00
J-N-K a09123b1a2
[deconz] fix websocketId creation (#9019)
Signed-off-by: Jan N. Klug <jan.n.klug@rub.de>
2020-11-13 15:02:21 -08:00
Marcel 13a37f0c8c
[miio] add support for scishare smart capsule coffee machine s1102 (#9015)
Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2020-11-13 14:48:15 -08:00
J-N-K ba4c96d99d
[infrastructure] move infered nullness warnings to error and update EEA (#8949)
Signed-off-by: Jan N. Klug <jan.n.klug@rub.de>
2020-11-12 21:07:11 +01:00
Andrew Fiddian-Green 0856a0b3f2
[hdpowerview] deferred instantiation of JAX-RS client (#9002)
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2020-11-11 19:49:27 -08:00
robnielsen 5b7f1b0e67
[insteon] added ability to configure the channels with parameters from the ui (#8959)
Signed-off-by: Rob Nielsen <rob.nielsen@yahoo.com>
2020-11-11 19:11:17 -08:00
robnielsen 3c3e9adbb1
[insteon] sort the channels by channel id so they show up sorted in the ui (#8966)
Signed-off-by: Rob Nielsen <rob.nielsen@yahoo.com>
2020-11-11 11:29:55 -08:00
Marcel 258f709ab8
[miio] Add zhimi.fan.za1 (#8998)
Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2020-11-11 11:28:39 -08:00
Matthew Skinner 7e5be7ef47
[telegram] Add support for sendVideo (MP4) and sendAnimation (GIF) (#8969)
* Add sendVideo and sendAnimation features.
* Re-order functions to keep inline with other functions.
* Readme change to trigger new build.
* Add ability to use raw file paths to send video and animations.
* Change Paths.get to Path.of as JavaDocs recommend.
* Allow absolute paths in SendPhoto methods and update readme.md
* Support for no caption with photo.
* Add absolute path support for png and webp.
* Add all file types requested.
* Remove multiple OR and only do lowercase once.

Signed-off-by: Matthew Skinner <matt@pcmus.com>
2020-11-10 19:50:58 -08:00
Gaël L'hopital 5a1428dddc
[Linky] Some enhancements and corrections on the linky binding (#8871)
* Some enhancements and corrections on the linky binding
spotless apply
Adressing code review comments
* Adressing potential NPR.
* Code review findings correction
* Pleasing SAT checks

Signed-off-by: clinique <gael@lhopital.org>
2020-11-10 09:08:02 -08:00
Gaël L'hopital adde339414
[VigiCrues] Adding missing header to HubEauResponse (#8996)
* Adding missing header to HubEauResponse
* Hard to merge !

Signed-off-by: clinique <gael@lhopital.org>
2020-11-10 09:03:34 -08:00
J-N-K c0118930be
[digitalstrom] fix NPE (#8992)
* fix NPE
* fix formatting

Signed-off-by: Jan N. Klug <jan.n.klug@rub.de>
2020-11-09 23:43:13 -08:00
J-N-K 132f05bba5
[lgwebos] fix NPE (#8995)
Signed-off-by: Jan N. Klug <jan.n.klug@rub.de>
2020-11-09 23:42:03 -08:00
J-N-K 643c4059ab
[samsungtv] fix NPE (#8991)
Signed-off-by: Jan N. Klug <jan.n.klug@rub.de>
2020-11-09 23:41:04 -08:00
Gaël L'hopital afe711994a
[meteoalerte] Addressing Issue #8543 (#8961)
* [meteoalerte] Addressing Issue #8543

* Small change
* Adding charset to byte conversion

Signed-off-by: clinique <gael@lhopital.org>
2020-11-09 12:51:39 -08:00
Mark Hilbush 4579fae00a
[ambientweather] Add WS-2902B weather station (#8954)
Signed-off-by: Mark Hilbush <mark@hilbush.com>
2020-11-09 09:13:26 -08:00
Gaël L'hopital 94245b627d
[OpenUV] Correcting a SAT finding. (#8967)
* Correcting a SAT finding.
Adding alert levels compatible with MeteoAlarm and Vigicrues
* Adressing code review.
* spotless apply

Signed-off-by: clinique <gael@lhopital.org>
2020-11-09 08:55:35 -08:00
J-N-K 8de5652ed1
[http] Initial contribution (#8521)
Signed-off-by: Jan N. Klug <jan.n.klug@rub.de>
2020-11-09 17:53:44 +01:00
Gaël L'hopital 3a4eaae1e9
[Vigicrues] OH3 enhancements (#8952)
* Staging work
Saving my work
Vigicrues extensions for OH3
First code review
* Code review and some corrections
* Code review enhancements
Changed alert to Number

* Code review corrections
* Correcting my error
* Adressing SAT finding

Signed-off-by: clinique <gael@lhopital.org>
2020-11-09 08:41:48 -08:00
Marcel 918408eac1
[miio] Allow for quantity Type (#8756)
* [miio] Allow for quantity Type in the basic handler

This extends the miio:basic handler with the option to define channels
with QuantityType e.g. to use number:temperature

* [miio] add missing breaks

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2020-11-09 08:39:50 -08:00
Marcel 9f22e64ffd
[miio] update readme with db location details (#8987)
Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2020-11-08 19:17:13 -08:00
Kai Kreuzer 93b9662797
[mactts] Allow spaces within voice name (#8985)
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2020-11-08 14:09:55 -08:00
Gaël L'hopital 370c367bc3
[astro] Correcting some SAT finding and a blocking point (#8964)
Signed-off-by: clinique <gael@lhopital.org>
2020-11-08 12:09:08 -08:00
Connor Petty bb9a286167
Fix duplicate channel bug (#8980)
Signed-off-by: Connor Petty <mistercpp2000+gitsignoff@gmail.com>
2020-11-08 11:17:19 +01:00
Sami Salonen d3bf62bb3b
[fmiweather] Discovery: advertising all discovered thing types (#8976)
* [fmiweather] Discovery: advertising all discovered thing types
* [fmiweather] CitiesOfFinland using Set.of
* [fmiweather] using Set.of

Signed-off-by: Sami Salonen <ssalonen@gmail.com>
2020-11-07 16:23:44 -08:00
J-N-K fdebb33059
[deconz] add doorlock support (#8965)
Signed-off-by: Jan N. Klug <jan.n.klug@rub.de>
2020-11-07 15:55:33 -08:00
J-N-K 6616353baa
[fmiweather] fix thing definition XML error (#8974)
Fixes #8971

Signed-off-by: Jan N. Klug <jan.n.klug@rub.de>
2020-11-07 09:34:23 +01:00
Sami Salonen fa4b127090
[fmiweather] Binding description stylized (#8968)
* [fmiweather] Binding description stylized

Signed-off-by: Sami Salonen <ssalonen@gmail.com>
2020-11-07 09:33:20 +01:00
Hans-Jörg Merk 39cb4fcaa3
[intesis] Fix channel state options not set when channel exists (#8963)
Signed-off-by: Hans-Jörg Merk <github@hmerk.de>
2020-11-05 11:58:41 -08:00
J-N-K 4342bb1cb3
[deconz] fix brightness factor (#8956)
Signed-off-by: Jan N. Klug <jan.n.klug@rub.de>
2020-11-04 14:32:14 -08:00
robnielsen 0722bd71f5
[insteon] remove all @SuppressWarnings("null") (#8937)
Signed-off-by: Rob Nielsen <rob.nielsen@yahoo.com>
2020-11-04 21:05:01 +01:00
Wouter Born b423f93b1f
Remove Map null annotation workarounds (#8916)
These workarounds to prevent false positives can be removed now the EEAs allow for proper null analysis.

Signed-off-by: Wouter Born <github@maindrain.net>
2020-11-04 13:57:24 +01:00
J-N-K 1dccf67909
[deconz] fix lastSeenPolling and compile warnings (#8918)
Signed-off-by: Jan N. Klug <jan.n.klug@rub.de>
2020-11-03 14:23:57 -08:00
J-N-K aaa464a255
[deconz] support for IncreaseDecreaseType commands (#8943)
* support for IncreaseDecreaseType commands
* fix spotless

Signed-off-by: Jan N. Klug <jan.n.klug@rub.de>
2020-11-03 14:10:33 -08:00
Andi Bräu 1c93eb9737
[revogi] Initial contribution - Resubmitted for OH3 (#8534)
* Rename binding and resubmit to OH3

Signed-off-by: Andreas Bräu <ab@andi95.de>
2020-11-03 09:13:08 -08:00
Matthew Skinner c49eeb2528
[WLed] Initial contribution - Binding for LED strings with a large range of built in FX. (#8669)
* V3
* Fix null compiler warnings.

Signed-off-by: Matthew Skinner <matt@pcmus.com>

Co-authored-by: Fabian Wolter <github@fabian-wolter.de>
Co-authored-by: Connor Petty <mistercpp2000+gitsignoff@gmail.com>
2020-11-03 09:09:40 -08:00
Korbinian Probst 067a8f7953
[senechome] implement more data points (3.0) (#8875)
* Add KorbinianP to CODEOWNERS for senechome
* Implement Current, Voltage and Power for all three Phases
* Bugfix last commit, values are inside array
* Implement Grid Frequency
* Fix name of currentGridVoltagePerPhase
* Extend README.md with new parameters
* Implement SenecBatteryStateValue for easier comparison of values in rules
* Implement new statistic data points and battery voltage

batteryVoltage
liveBatCharge
liveBatDischarge
liveGridExport
* Bugfix item types
* Implement Review findings, change channelBatteryStateValue to QuantityType
* Revert change of channelBatteryStateValue from DecimalType to QuantityType

Signed-off-by: Korbinian Probst <kp.droid.dev@gmail.com>
2020-11-02 23:33:08 -08:00
Jürgen Baginski f8fd06e4b7
[Tankerkoenig] Fixes #8876 (#8940)
* [Tankerkoenig] Update StationHandler

Incooperated check for 'null' iot to prevent NullPointerExceptions.
* [Tankerkoenig] Updated WebserviceHandler

Fixed false parsing of OpeningTimes.
* Applied a spotless check   Signed-off-by: Jürgen Baginski <opus42@gmx.de>

Signed-off-by: Jürgen Baginski <opus42@gmx.de>
2020-11-02 22:48:05 -08:00
J-N-K a3d33fa60b
[tr064] Initial contribution (#8523)
* Initial contribution

Signed-off-by: Jan N. Klug <jan.n.klug@rub.de>
2020-11-02 21:36:19 -08:00
Mark Hilbush 5c4c89a0c9
[weathercompany] Fix wind speed units (#8944)
Signed-off-by: Mark Hilbush <mark@hilbush.com>
2020-11-02 21:56:02 +01:00
Wouter Born da490ece4e
[lifx] Improve selector logic (#8941)
* Properly handle datagrams that are not immediately available so no NPEs are logged on debug
* Properly handle sockets channels that are not connected so no NPEs are logged on debug
* Prevent load/garbage by reusing ByteBuffer and not allocating trace logging strings

Fixes #8932

Signed-off-by: Wouter Born <github@maindrain.net>
2020-11-02 10:15:59 +01:00
boehan 87c16da527
[comfoair] Re-implement device options as channels (#8829)
Signed-off-by: Hans Böhm <h.boehm@gmx.at>
2020-11-02 09:19:39 +01:00
Kai Kreuzer 482436328e
Return QuantityTypes for number items with dimension (#8938)
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2020-11-02 00:26:21 +01:00
Marcel 71566e47af
[miio] add poweroff properties to zhimi powerstrip (#8899)
Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2020-11-01 14:32:56 -08:00
Jochen Klein e8565d0be6
[mqtt.generic] Fix JUnit tests (#8921)
* Fix JUnit tests
* remove extra character in copyright comment
* Cleanup mockito warnings

Signed-off-by: Jochen Klein <git@jochen.susca.de>
2020-11-01 13:51:51 -08:00
Christoph Weitkamp 4de9e0f204
[kodi] Reduce polling by checking linkage first (#8912)
* Reduce polling by checking linkage first

Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2020-11-01 22:29:18 +01:00