Commit Graph

1033 Commits

Author SHA1 Message Date
Marcel
8fde1c3988
[miio] fix bundle restart error (#10190)
Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2021-02-25 15:53:19 -08:00
eugen
23ff9a0221
[homekit] make use of openHAB mDNS service (#10076)
* make use of openHAB mdns service
* remove unnecessary null check
* add network configuration back

Signed-off-by: Eugen Freiter <freiter@gmx.de>
2021-02-25 15:51:07 -08:00
Marcel
d16bb98ed3
[miio] add support 5 zhimi heaters (#10231)
* [miio] Add zhimi heaters

add new
zhimi.heater.ma2 Mi Smart Space Heater S
zhimi.heater.ma3 Mi Smart Baseboard Heater E
zhimi.heater.mc2 Mi Smart Space Heater S
zhimi.heater.na1 Smartmi Smart Fan
zhimi.heater.nb1 Smartmi Smart Fan Heater

improving existing
zhimi.heater.za1 Smartmi Radiant Heater Smart Version
zhimi.heater.za2 Smartmi Smart Convector Heater 1S
zhimi.heater.zb1 Smartmi Smart Convector Heater 1S

* [miio] add some more options
* remove accidental development file
* [miio] fix number:duration
* [miio] remove channeltype from heaters

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2021-02-25 15:45:56 -08:00
Pete
cdf044c070
[bluetooth] Fix disappearing bluetooth devices in Inbox (#10187)
* [bluetooth] Notify things again when they are removed from listeners like Inbox
* [bluetooth] Add javadoc on retractDiscoveryResult()

Signed-off-by: Peter Rosenberg <prosenb.dev@gmail.com>
2021-02-25 14:51:34 -08:00
Christoph Weitkamp
71ffce707e
[deconz] Pimp properties and channel types with proper categories (#10217)
* Pimp properties and channel types with proper categories
* Update bundles/org.openhab.binding.deconz/src/main/resources/OH-INF/thing/sensor-thing-types.xml

Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>

Co-authored-by: Matthew Skinner <matt@pcmus.com>
2021-02-25 14:13:59 -08:00
Bob A
fb26536d97
[alarmdecoder] Doc update (#10143)
* [alarmdecoder] Doc update

Signed-off-by: Bob Adair <bob.github@att.net>
2021-02-25 14:12:12 -08:00
Mark Hilbush
9af7ae8884
[squeezebox] Add sleep channel (#10196)
Signed-off-by: Mark Hilbush <mark@hilbush.com>
2021-02-25 13:56:02 -08:00
Pawel Pieczul
3a19b29662
[loxone] Support for HTTPS websocket connections. (#10185)
Signed-off-by: Pawel Pieczul <pieczul@gmail.com>
2021-02-25 13:46:04 -08:00
Marcel
e86cc6b219
[miio] add support for Smartmi Standing Fan 3 zhimi.fan.za5 (#10229)
Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2021-02-25 10:30:48 -08:00
eugen
50a01b439d
[homekit] extend support of inverted flag to other accessories (#10212)
Signed-off-by: Eugen Freiter <freiter@gmx.de>
2021-02-25 10:28:34 -08:00
Marcel
6d2211a2e9
[miio] add support for deerma Humidifier (#10181)
* [miio] deerma Humidifier

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2021-02-25 10:25:39 -08:00
Marcel
d1d42c4de9
[miio] additional vacuum channels for advanced rules (#10180)
* [miio] add feature channels
* [miio] additional vacuum channels for advanced rules
* [miio] update readme

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2021-02-25 10:22:45 -08:00
Kai Kreuzer
8928e8520c
[bluetooth] Adapt labels of discovery results to standard (#10209)
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2021-02-25 10:17:39 -08:00
MikeTheTux
a9bddff5ad
[keba] Improve connection establishment and stability (#10179)
Signed-off-by: Michael Weger <weger.michael@gmx.net>

* - worked in review findings
- introduced QuantityTypes
- removed redundant pwmpilotcurrent (duplicate of maxpilotcurrent)
- added maxpilotcurrentdutycyle
2021-02-25 16:29:40 +01:00
Matthew Skinner
6b624f0e1c
[ipcamera] Improve Dahua alarms (#10078)
Signed-off-by: Matthew Skinner <matt@pcmus.com>
2021-02-24 18:07:48 +01:00
Fredo70
7050a1478e
[mystrom] Add support for myStrom Bulb (#9910)
* Add support to myStrom Bulb

Add properties to myStrom devices and an action to refresh the properties.

Signed-off-by: Frederic Chastagnol <fchastagnol@fredoware.ch>

* Fixes according to review comments

Signed-off-by: Frederic Chastagnol <fchastagnol@fredoware.ch>

* Update bundles/org.openhab.binding.mystrom/README.md

Co-authored-by: J-N-K <J-N-K@users.noreply.github.com>

* Fixes according to review comments

Signed-off-by: Frederic Chastagnol <fchastagnol@fredoware.ch>

* Use system color temperature channel type

channel type system.color-temperature is used and values mapped from 1-18 to 0-100%

Signed-off-by: Frederic Chastagnol <fchastagnol@fredoware.ch>

* Better tracking of colour and brightness values

Format power state
Signed-off-by: Frederic Chastagnol <fchastagnol@fredoware.ch>

Co-authored-by: J-N-K <J-N-K@users.noreply.github.com>
2021-02-23 23:33:12 +01:00
Markus Michels
fd1f7ebe75
[shelly] Add Shelly Motion, minor improvements (#10054)
* Support for Shelly Motion, some minotr improvements, README updated

Signed-off-by: Markus Michels <markus7017@gmail.com>

* minor changes

Signed-off-by: Markus Michels <markus7017@gmail.com>

* Bug fixes from hardening

Signed-off-by: Markus Michels <markus7017@gmail.com>

* review changes applied

Signed-off-by: Markus Michels <markus7017@gmail.com>

* review change

Signed-off-by: Markus Michels <markus7017@gmail.com>

* review changes, fix creations of sensors#motion and device#externalPower
for H%T; moved images/uiroller*.png to doc/images

Signed-off-by: Markus Michels <markus7017@gmail.com>

* missing in last fix

Signed-off-by: Markus Michels <markus7017@gmail.com>
2021-02-23 09:48:13 +01:00
Stefan Triller
fe7b91f4b7
[novafinedust] Use fire and forget commands to configure device (#10210)
Since the device does not follow its own protocol, we do not evaluate its
replies to our configuration commands but rather do a fire and forget.

Signed-off-by: Stefan Triller <github@stefantriller.de>
2021-02-22 19:13:51 +01:00
J-N-K
a30b5dfd00
remove @J-N-K from CODEOWNERS (#10108)
Signed-off-by: Jan N. Klug <jan.n.klug@rub.de>
2021-02-20 18:29:05 +01:00
lolodomo
17f7041524
[voicerss] Add support for voices (#10184)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2021-02-20 17:21:52 +01:00
Daniel Weber
fd1c96677e
[enocean] Improved device discovery and added SMACK capability (#10157)
* Added SMACK teach in
 * Teached in devices can be teach out on a repeated teach in
 * Improved detection of RPS devices, device types can be better distinguished now
 * Bugfixes for discovery fallback to GenericThings
 * Responses to message requests are send automatically now, no need for linking SEND_COMMAND channel

Fixes #10156

Signed-off-by: Daniel Weber <uni@fruggy.de>
2021-02-20 17:13:28 +01:00
Andrew Fiddian-Green
a9f440dba2
[hue] Eliminate NPE in #9985 (#10199)
* [hue] extra null check

Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2021-02-19 20:16:26 +01:00
Pantastisch
1c5f0d1797
[icloud] Add german translation (#10164)
Signed-off-by: Panagiotis Doulgeris panagiotis.doulgeris@outlook.com
Signed-off-by: Pantastisch <45369229+Pantastisch@users.noreply.github.com>
2021-02-19 14:35:23 +01:00
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