Commit Graph

860 Commits

Author SHA1 Message Date
leoguiders
0082cd11ae
[modbus.sunspec] Fix decimal number handling for inverter channel types (#10195)
Signed-off-by: Jan Philipp Giel <mail@philsown.de>
2021-02-18 14:07:31 +01:00
Jan Gustafsson
0853aa7cea
[tellstick] Fix for #9841, adding support for Tellstick local API. (#10020)
* Fix for #9841.

Signed-off-by: Jan Gustafsson <jannegpriv@gmail.com>
2021-02-18 09:33:22 +01:00
Stefan Roellin
8a4b87e04e
[mpd] fix invalid volume (#10166)
Fixes #10142.

Signed-off-by: Stefan Roellin <stefan@roellin-baumann.ch>
Also-by: Jan N. Klug <jan.n.klug@rub.de>
2021-02-17 21:06:34 +01:00
Niklas Dörfler
c0cec8028c
[pilight] Pilight Binding initial contribution (#9744)
Signed-off-by: Niklas Dörfler <niklas@doerfler-el.de>
2021-02-17 19:59:54 +01:00
Henrik Tóth
2b3e08de43
[pixometer] Update README.md, Typos corrected (#10168)
Accepted without sign-off under small patch exemption.
2021-02-17 17:36:13 +01:00
Gaël L'hopital
da5c4c8650
[Synopanalyzer] Adding French localization, correction on overcast channel (#10113)
* Adding French localization of the binding
* Correction on overcast channel
* Correcting nullable issues

Signed-off-by: clinique <gael@lhopital.org>
2021-02-17 11:50:14 +01:00
Seb Boulet
cb9a118581
[gpio] Added instructions in case raspi-config is not available (#9899)
Signed-off-by: Seb Boulet <SebBoulet@users.noreply.github.com>
2021-02-17 11:47:42 +01:00
Sami Salonen
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
lolodomo
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 Wagenknecht
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 Dye
6f9d80ea9e
[OmniLink] Fix OmniLink temperature/humidity sensors (#10130)
Signed-off-by: Ethan Dye <mrtops03@gmail.com>
2021-02-16 12:48:07 -08:00
Pete
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-Green
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
eugen
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
leoguiders
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 Dye
5c3c1db52e
[OmniLink] Fix spelling of status (#10161)
Signed-off-by: Ethan Dye <mrtops03@gmail.com>
2021-02-15 09:33:11 -08:00
pali
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 Kreuzer
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
lolodomo
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 Petty
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 bOi
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
mgwoj
90ff809cb6
[http] Added example and explanation how to provide multiple headers (#10141) 2021-02-13 19:44:34 -08:00
Fabian Wolter
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 Weitkamp
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
pali
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 Weitkamp
28510e8260
[melcloud] Fixed representation property (#10133)
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2021-02-13 12:10:26 -08:00
Christian Oeing
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
pali
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 Weitkamp
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 Weitkamp
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
goopilot
4493c915db
Update README.md (#10124)
Signed-off-by: Alexandr Salamatov <wpgnetworks@gmail.com>
2021-02-11 08:42:46 +01:00
Markus Storm
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
goopilot
5a0a325344
[folderwatcher] Initial contribution (#10045)
Signed-off-by: Alexandr Salamatov <wpgnetworks@gmail.com>
2021-02-10 19:45:47 +01:00
Georg Siebke
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-Green
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
GiviMAD
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 Rumpf
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
niebochod
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 Herbst
ac02141d0b
[Homematic] Removed Apache Commons (#10035)
Signed-off-by: Martin Herbst <develop@mherbst.de>
2021-02-08 23:26:56 +01:00
Florian Mueller
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 Triller
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
Flole998
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 Isaacson
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-K
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-K
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 Weitkamp
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-K
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 Weitkamp
1210fec9f9
Adjustments for nullness annotated TypeParser (#10068)
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2021-02-07 11:43:17 +01:00
eugen
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
mlobstein
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