Commit Graph
853 Commits
Author SHA1 Message Date
Sami SalonenandGitHub fbf55d5886 [modbus] fix defaults for tcp and serial things and some other minor cleanup (#10147)
* [modbus] More strict nullness. Remove apache.commons.lang from itests
* [modbus] Defaults for tcp and serial things according to docs
* [modbus] further explicit defaults
* [modbus] document default encoding for serial.
RTU is pretty much the only one used in the field.
Previous default was ascii implicitly.
* [modbus] verify defaults are used for undefined configuration parameters

Signed-off-by: Sami Salonen <ssalonen@gmail.com>
2021-02-17 11:41:40 +01:00
lolodomoandGitHub fe496c7389 [rotel] Fix command to select PC USB source (ASCII v2 mode) (#10165)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2021-02-17 11:38:27 +01:00
Eiko WagenknechtandGitHub 4495c53f7e [homematic] [doc] Usage of custom ID not supported (#10131)
Fixes https://github.com/openhab/openhab-addons/issues/10114

Signed-off-by: Eiko Wagenknecht <eiko.wagenknecht@web.de>
2021-02-16 15:28:11 -08:00
Ethan DyeandGitHub 6f9d80ea9e [OmniLink] Fix OmniLink temperature/humidity sensors (#10130)
Signed-off-by: Ethan Dye <mrtops03@gmail.com>
2021-02-16 12:48:07 -08:00
PeteandGitHub 7abeb97396 [bluetooth.generic] Enable BLE notification for linked channels (#10122)
* [bluetooth] Add BluetoothDevice.isNotifying()
* [bluetooth] Improve Characteristic properties support
* [bluez] Improve Characteristic properties support
* [bluetooth] Add BluetoothDevice.canNotify()
* [bluez] Also catch DBusExecutionException on read value
* [bluetooth.generic] Activate notifications for linked channels where characteristics are able to notify
* [bluez] Adjust javadoc
* [bluegiga] Add BluetoothDevice.isNotifying() support
* [bluegiga] Fix notification enabled check
* [bluetooth] move canNotify() to Characteristic
* [bluegiga] rename notificationEnabled to notifying
* [bluetooth.generic] use handlerToChannels to subscribe to notifications
* [bluetooth.generic] implement TODOs of canRead()/canWrite()
* [bluetooth.generic] optimize ChannelUID
* [bluetooth.generic] use channelUids for link check

Signed-off-by: Peter Rosenberg <prosenb.dev@gmail.com>
2021-02-16 12:26:34 -08:00
Andrew Fiddian-GreenandGitHub 596b261d47 [hdpowerview] Eliminate nightly crash dump in OH3 (#10118)
* [hdpowerview] refactor from jax-rs to http client
* [hdpowerview] adopt proposals of code reviewer
* [hdpowerview] adopt additional proposals of code reviewer
* [hdpowerview] provide exception class name

Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2021-02-16 12:22:27 -08:00
eugenandGitHub e828baccca [homekit] add support for flag "inverted" to lock accessory (#10169)
* add support for inverted to lock
* run spotless

Signed-off-by: Eugen Freiter <freiter@gmx.de>
2021-02-16 10:19:37 -08:00
leoguidersandGitHub caa445a22b [modbus.sunspec] Handle floating point numbers for voltage types (#10175)
Signed-off-by: Jan Philipp Giel <mail@philsown.de>
2021-02-16 18:57:04 +01:00
Ethan DyeandGitHub 5c3c1db52e [OmniLink] Fix spelling of status (#10161)
Signed-off-by: Ethan Dye <mrtops03@gmail.com>
2021-02-15 09:33:11 -08:00
paliandGitHub 71dbf2ed1b [bluetooth.bluegiga] Introduced better initialization functionality (#10148)
* [bluetooth.bluegiga] Introduced better initialization functionality

+ other improvements
* [bluetooth.bluegiga] Review change
* [bluetooth.bluegiga] Fixed typo

Signed-off-by: Pauli Anttila <pauli.anttila@gmail.com>
2021-02-15 09:08:14 -08:00
Kai KreuzerandGitHub 928859ab86 [bluetooth.generic] Define supported bridge types for generic BT devices (#10155)
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2021-02-14 14:33:07 -08:00
lolodomoandGitHub 944682d1f1 [remoteopenhab] Connection to the remote server through openHAB Cloud (#10138)
Fix #10055

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2021-02-14 20:00:14 +01:00
Connor PettyandGitHub b9c5a0d158 [bluetooth] Expire discovery snapshots so that devices can be rediscovered (#10099)
Signed-off-by: Connor Petty <mistercpp2000+gitsignoff@gmail.com>
2021-02-14 19:52:18 +01:00
cURLy bOiandGitHub 77c9138598 [voicerss] Added all supported languages (#10146)
Extended the original collection with all the languages currently listed on the VoiceRSS API website. Please consider including in main branch.

Signed-off-by: cURLy bOi <curly.boi.89@gmail.com>
2021-02-14 17:00:03 +01:00
mgwojandGitHub 90ff809cb6 [http] Added example and explanation how to provide multiple headers (#10141) 2021-02-13 19:44:34 -08:00
Fabian WolterandGitHub 1604149f5c [lcn] Fix RVar setpoint modification for modules before 2006 (#10115)
Signed-off-by: Fabian Wolter <github@fabian-wolter.de>
2021-02-13 13:55:21 -08:00
Christoph WeitkampandGitHub b4ca793963 [hue] Removed internal vendor Map and minor additional improvements (#10137)
* Removed internal vendor Map and minor additional improvements
* Incorporated comments from review

Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2021-02-13 13:48:40 -08:00
paliandGitHub 5b20a7df1c [nibeheatpump] Fixed compile error in RasPi (#10135)
Signed-off-by: Pauli Anttila <pauli.anttila@gmail.com>
2021-02-13 12:11:17 -08:00
Christoph WeitkampandGitHub 28510e8260 [melcloud] Fixed representation property (#10133)
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2021-02-13 12:10:26 -08:00
Christian OeingandGitHub a796e472ec [boschshc] Release v1.1 (#10097)
* #72 changed use units of measure for the twinguard humidity and purity values

all other QuantityTypes in bindingcode are fine

* #77 changed title of binding to Bosch Smart Home

Replaced the SHC occurrences with Smart Home,
to avoid technical names.

* #62 Try to restart long polling when it fails before taking the thing offline

* #62 Run subscribe request on a new thread instead of using the thread of the previous long polling http request

This might be the reason why the subscribe request does never finish or finishes with a timeout

* #74 Run the whole long polling response handling in a new thread to not get timeout from HTTP client

* #74 Schedule initial access when long polling fails unexpected

We need to try to reconnect again and again (with 15 seconds between the requests) as the controller may have been restarted (update, manual restart,...). This is already done by the initial access, so I reuse that mechanism.

* Use direct formatting of logger.trace instead of String.format

* #76 Use i18n texts instead of raw translations for status messages about failed long polling

* #76 Use logger.debug instead of logger.warn for long poll error as it is handled now

* #78 defined api-version

each HTTP request will use now the defined "avp-version=2.1" for request to the smart home controller

* logging bundle version

removed the old static version string
access OSGi bundle version information instead

* #75 improved initial access

- added isOnline check and isAccessPossible now failed in case HTTPStatus is an error
- same HTTPStatus check done to all blocking send() request calls
- using i18n strings for all bridge updateStatus calls
- skipped the 'controller' and use only 'Bosch Smart Home' in descriptions
- added more @Nullable annotations
* added newline

Signed-off-by: Gerd Zanker <gerd.zanker@web.de>
Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
2021-02-13 12:09:30 -08:00
paliandGitHub 51db639853 [bluetooth.enoceanble] Changed logging level for discovered devices (#10134)
Signed-off-by: Pauli Anttila <pauli.anttila@gmail.com>
2021-02-13 12:00:17 -08:00
Christoph WeitkampandGitHub 6829ff657a [deconz] Fixed wrong channel type for extended color light (#10132)
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2021-02-13 12:50:20 +01:00
Christoph WeitkampandGitHub 9ee4e942e8 [deconz] Use system default channel types for lights (#10126)
* Use system default channel types for lights

Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2021-02-12 11:52:18 +01:00
goopilotandGitHub 4493c915db Update README.md (#10124)
Signed-off-by: Alexandr Salamatov <wpgnetworks@gmail.com>
2021-02-11 08:42:46 +01:00
Markus StormandGitHub 48a5a17b81 [modbus.sunspec] fix wrong unit in binding docs (#10120)
Signed-off-by: Markus Storm <markus.storm@gmx.net>
2021-02-10 19:47:23 +01:00
goopilotandGitHub 5a0a325344 [folderwatcher] Initial contribution (#10045)
Signed-off-by: Alexandr Salamatov <wpgnetworks@gmail.com>
2021-02-10 19:45:47 +01:00
Georg SiebkeandGitHub 95259b1095 [somfytahoma] Retry command submission when tahoma gateway is busy. (#10023)
* Retry command submission when tahome gateway is busy.
* Changed log level, cosmetic changes
* Store list of scheduled retries; cancelled when handler is disposed.
* Made retryFutures thread-safe

Signed-off-by: Georg Siebke <github@georgsiebke.de>
2021-02-09 13:03:22 -08:00
Andrew Fiddian-GreenandGitHub 18e028a632 [hue] Implementing "[discovery.upnp] Devices may apply a grace period" (#9985)
* [hue] implement PR #2144 in openhab.core
* [hue] add binding configuration parameter; return long

Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2021-02-09 12:52:11 -08:00
GiviMADandGitHub f8d5ae081b [androiddebugbridge] check device awake state and minor fixes (#10106)
* check device awake state and minor fixes
* avoid update awake channel when not linked

Signed-off-by: Miguel <miguelwork92@gmail.com>
2021-02-08 17:25:52 -08:00
Michael RumpfandGitHub 717ef5950a GH-9936 Fixed datatype for brightness of the ambient light (#10065)
The ceiling10 Yeelight lamp has 2 dimmer for brightness:
"bright" for the main light and bg_bright for the ambient light.
Both are of type dimmer and accept percentage values between 1 and 100.
This fix changes the datatype of the bg_bright property from Number
to Dimmer in the device mapping database file ceiling4, which is also
the one that is used for the ceiling10 lamp.

Accepted without sign-off under minor change exemption.
2021-02-08 23:40:02 +01:00
niebochodandGitHub a3f54134ca [pushover] Update README.md (#10094)
"format" parameter value for HTML seems that should be "html", not "HTML"

"HTML" seems to have no affect when using sendPriorityMessage, but "html" works.

Accepted without sign-off under minor change exemption.
2021-02-08 23:34:38 +01:00
Martin HerbstandGitHub ac02141d0b [Homematic] Removed Apache Commons (#10035)
Signed-off-by: Martin Herbst <develop@mherbst.de>
2021-02-08 23:26:56 +01:00
Florian MuellerandGitHub a58676dc41 [Broadlinkthermostat] Initial contribution (#9260)
Signed-off-by: Florian Mueller <f.l.o.mueller@web.de>
2021-02-08 23:08:09 +01:00
Stefan TrillerandGitHub f9fbb765fb [smartmeter] Fix Thing OFFLINE Communication Error due Exception in last PR (#10088)
Fixes #10087

Signed-off-by: Stefan Triller <github@stefantriller.de>
2021-02-08 23:05:10 +01:00
Flole998andGitHub c01f5ceb72 [Tankerkoenig]: Lower minimum refresh interval (#10070)
As per https://creativecommons.tankerkoenig.de (in the "Terms"-section) we should not make more than 1 request per 5 minutes, this changes the limit accordingly and allows doing so.

Signed-off-by: Flole <flole@flole.de>
2021-02-08 23:03:58 +01:00
Ron IsaacsonandGitHub 7898f4f911 [powermax] Improved error handling for Powermax binding (#9817)
* Improved error handling for Powermax binding

Catch all exceptions, and take all Powermax things offline in the event
of a communication failure. Also adds a 5-minute watchdog for
connections in Standard (non-Powerlink) mode.

* More Powermax error handling improvements

1. Mark the bridge and all things as offline when communication is lost
2. Bubble all I/O exceptions up to the bridge status
3. Set all channels to UnDefType.NULL when bridge goes offline
4. Ignore CRC errors on messages of type 0xF1
5. Don't try and download partition settings for panels that don't support partitions
6. Fix logging levels to avoid unnecessary non-DEBUG messages

Signed-off-by: Ron Isaacson <isaacson.ron@gmail.com>
2021-02-08 22:48:38 +01:00
J-N-KandGitHub b65e932650 [amazonechocontrol] fix smarthome device naming (#10084)
* fix smarthome device naming
* toString

Signed-off-by: Jan N. Klug <jan.n.klug@rub.de>
2021-02-07 13:56:31 -08:00
J-N-KandGitHub 7269cbfbf5 [loxone] fix representation property (#10086)
Signed-off-by: Jan N. Klug <jan.n.klug@rub.de>
2021-02-07 19:44:39 +01:00
Christoph WeitkampandGitHub ca359153d8 [googletts] Remove references to Paper UI (#10089)
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2021-02-07 15:23:46 +01:00
J-N-KandGitHub 97298e55a7 [networkupstools] fix tests (#10082)
Signed-off-by: Jan N. Klug <jan.n.klug@rub.de>
2021-02-07 13:44:47 +01:00
Christoph WeitkampandGitHub 1210fec9f9 Adjustments for nullness annotated TypeParser (#10068)
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2021-02-07 11:43:17 +01:00
eugenandGitHub 8a2ac82b07 [homekit] make min and max temperature units depedent on useFahrenheitTemperature setting (#10074)
Signed-off-by: Eugen Freiter <freiter@gmx.de>
2021-02-06 23:04:32 -08:00
mlobsteinandGitHub 10b9b562ad [epsonprojector] Always set ready=true on disconnect and improve documentation (#10079)
* Always set ready on disconnect and improve documentation
* improve documentation

Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
2021-02-06 18:32:34 -08:00
cedricboonandGitHub fa307e203e [velbus] Fixed reading of alarm clock status on VMB4AN. (#10058)
Added support for VMBVP1

Signed-off-by: Cedric Boon <cedric.boon@hotmail.com>
2021-02-06 18:30:29 -08:00
eugenandGitHub 9f0ec10a7d [homekit] add support for dimmer item for slat accessories (#10019)
Signed-off-by: Eugen Freiter <freiter@gmx.de>
2021-02-06 17:59:14 +01:00
Hilbrand BouwkampandGitHub 93fac19be8 [denonmarantz] Update protocol reference in readme (#10044)
Signed-off-by: Hilbrand Bouwkamp <hilbrand@h72.nl>
2021-02-06 17:21:57 +01:00
e04cf82c10 [helioseasycontrols] Internationalization + actions for messages - Attempt 2 (#9772)
* Internationalization + actions for messages

- Internationalization of UI relevant texts
- Better support for the error/warning/info/status messages received
from the device

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

* Review inputs + improvements

- inputs from @ssalonen
- additional action to retrieve all messages collectively
- added rule example for handling the collective message action
- added semantic tags in items example

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

* mvn spotless:apply

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

* Update bundles/org.openhab.binding.modbus.helioseasycontrols/README.md

Co-authored-by: Fabian Wolter <github@fabian-wolter.de>
Signed-off-by: Bernhard Bauer <bern77@gmail.com>

* Update bundles/org.openhab.binding.modbus.helioseasycontrols/README.md

Co-authored-by: Fabian Wolter <github@fabian-wolter.de>
Signed-off-by: Bernhard Bauer <bern77@gmail.com>

* Update bundles/org.openhab.binding.modbus.helioseasycontrols/src/main/java/org/openhab/binding/modbus/helioseasycontrols/internal/HeliosEasyControlsHandler.java

Co-authored-by: Fabian Wolter <github@fabian-wolter.de>
Signed-off-by: Bernhard Bauer <bern77@gmail.com>

* Update bundles/org.openhab.binding.modbus.helioseasycontrols/src/main/resources/OH-INF/i18n/helioseasycontrols_de.properties

Co-authored-by: Fabian Wolter <github@fabian-wolter.de>
Signed-off-by: Bernhard Bauer <bern77@gmail.com>

* Update bundles/org.openhab.binding.modbus.helioseasycontrols/src/main/resources/OH-INF/thing/thing-types.xml

Co-authored-by: Fabian Wolter <github@fabian-wolter.de>
Signed-off-by: Bernhard Bauer <bern77@gmail.com>

* Review inputs from @fwolter

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

* Inputs from @fwolter

- changed return type for actions with a single return value
- corrected findings from static code analysis

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

* Removed configurationPid from TranslationProvider

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

* Changes requested by @fwolter

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

* Changed log level to debug when catching InterruptedException

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

Co-authored-by: Fabian Wolter <github@fabian-wolter.de>
2021-02-06 17:19:01 +01:00
lolodomoandGitHub 32fa27aaba [remoteopenhab] Suppress the IP check (#10049)
Fix #10026

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2021-02-06 17:15:52 +01:00
lolodomoandGitHub 5141781fe7 [remoteopenhab] New setting to restart the SSE connection after inact… (#10063)
* [remoteopenhab] New setting to restart the SSE connection after inactivity

Fix #9680

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

* Review comments: doc

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2021-02-06 17:12:22 +01:00
lolodomoandGitHub 3e7ecbf79c [remoteopenhab] Detect a remote server shutdown and reconnect properly (#10060)
when the remote server is alive again

Related to #9680

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2021-02-06 10:52:47 +01:00