Commit Graph

1989 Commits

Author SHA1 Message Date
Jacob Laursen
bb9cb906d1
[wemo] Refactor duplicated code (#12101)
* Extract getHost() and getUDN() to common handler base class.
* Delete AbstractWemoHandler as it serves no purpose.
* Extract isUpnpDeviceRegistered() to base class.
* Fix typo.

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-01-24 21:26:35 +01:00
lolodomo
ea21f2ff47
[pollytts] Mention where to find configuration settings (#12107)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-01-24 21:13:39 +01:00
lolodomo
ffb03d572d
[voicerss] Mention where to find configuration settings (#12108)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-01-24 21:12:57 +01:00
lolodomo
0166fdaee6
[TTS services] Enhance doc to explain how to setup default voice (#12099)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-01-23 22:50:50 +01:00
Hans-Jörg Merk
d9c31e626a
[wemo] make UPnP more robust and fix polling/portscan (#12001)
* [wemo] make UPnP more robust
* [wemo] change thing status updates

Signed-off-by: Hans-Jörg Merk <github@hmerk.de>
2022-01-23 22:49:52 +01:00
Cody Cutrer
d4fb20d529
[homekit] use quantity type conversions for temperature characteristics (#12083)
if an Item associated with a temperature characteristic has a QuantityType
(of dimension Temperature) as its state, regardless of current unit,
use that to convert to celsius instead of any other configuration.

Note that this is only for supply values to HomeKit; commands coming from
HomeKit will still send a DecimalType with units according to the HomeKit-wide
useFahrenheit configuration.

Signed-off-by: Cody Cutrer <cody@cutrer.us>
2022-01-23 13:40:14 +01:00
Jonathan Gilbert
6bd37cb02a
[jsscripting] JS script engine no longer watches node_modules for scripts (#11830)
Signed-off-by: Jonathan Gilbert <jpg@trillica.com>
2022-01-23 11:46:13 +01:00
lolodomo
4af260d0e6
[voicerss] Updated documentation (config, voices) (#12088)
* [voicerss] Updated documentation (config, voices)

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

* Removed "actually"

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

* Use HTTPS to reference API WEB site in documentation

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-01-23 11:04:47 +01:00
lolodomo
107c72e958
[pollytts] Fix typo in documentation (#12089)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-01-22 22:35:50 +01:00
Flole998
158f8341d5
Add channels for screensaver state and virtual keyboard state (#11984)
Include OnAVStart for playing state detection

Fixes: #7542

Signed-off-by: Flole <flole@flole.de>
2022-01-22 22:34:48 +01:00
Frank Seidinger
dd08a2a1e3
[knx] GroupRead / SendToKNX fails with NullPointerException #12040 (#12074)
* Fixed NullPointerException due to missing SecureApplicationLayer in creation of ProcessCommunicationResponder

Signed-off-by: Frank Seidinger <frank.seidinger@gmail.com>
2022-01-22 20:38:33 +01:00
lolodomo
e9c9acdbfd
[voicerss] Fix bad audio format code and use HTTPS URL instead of HTTP (#12092)
Fix #12091

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-01-22 19:12:38 +01:00
Marcel
d196dc2c92
[miio] Implement lumi devices support for gateways (#11688)
* [miio] Implement lumi devices support for gateways v3 WIP

Adding support for the following models:
* Aqara LED Light Bulb (Tunable White) (modelId: lumi.light.aqcn02)
* IKEA E27 white spectrum opal (modelId: ikea.light.led1545g12)
* IKEA E27 white spectrum clear (modelId: ikea.light.led1546g12)
* IKEA E14 white spectrum (modelId: ikea.light.led1536g5)
* IKEA GU10 white spectrum (modelId: ikea.light.led1537r6)
* IKEA E27 warm white (modelId: ikea.light.led1623g12)
* IKEA GU10 warm white (modelId: ikea.light.led1650r5)
* IKEA E14 warm white (modelId: ikea.light.led1649c5)
* Door lock (modelId: lumi.lock.v1)
* Aqara Door Lock (modelId: lumi.lock.aq1)
* Aqara Door Lock S2 (modelId: lumi.lock.acn02)
* Aqara Door lock S2 Pro (modelId: lumi.lock.acn03)
* Mi Smart Plug (Zigbee) (modelId: lumi.plug.mmeu01)
* Mi Temperature and Humidity Sensor (modelId: lumi.sensor_ht.v1)
* Mi Window and Door Sensor (modelId: lumi.sensor_magnet.v2)
* Mi Motion Sensor (modelId: lumi.sensor_motion.v2)
* Water Leak Sensor (modelId: lumi.sensor_wleak.aq1)
* Aqara Temperature and Humidity Sensor (modelId: lumi.weather.v1)

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>

* Work in progress support plug

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>

* [miio] cleanup, improve messages and initialization

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>

* [miio] Cleanup to prepare for PR

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>

* [miio] add missing placeholder

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>

* [miio] resolve merge issue

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>

* [miio] update readme after rebase

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>

* [miio] Update from review comments and warnings/checkstyle cleanup

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>

* [miio] update readme after merge and update json to updated format

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>

* [miio] Improve online indication

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>

* reset

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>

* Update readme

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>

* [miio] update from review comments

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>

* [miio] feedback codereview

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2022-01-22 18:57:01 +01:00
Andreas Brenk
03b53475ba
[voicerss] Add support for WAV audio format (#11916)
* [voicerss] add unit test for supported formats
* [voicerss] add support for WAV audio format

Signed-off-by: Andreas Brenk <mail@andreasbrenk.com>
2022-01-22 16:53:05 +01:00
GiviMAD
efa8963d20
[porcupineks] Keyword Spotter, initial contribution (#12028)
* initial contribution

Signed-off-by: Miguel Álvarez Díez <miguelwork92@gmail.com>
2022-01-22 14:02:02 +01:00
lolodomo
f75c04d5d4
[googletts] Configuration example via text file in documentation (#12087)
* [googletts] Configuration example via text file in documentation

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-01-22 11:31:36 +01:00
lolodomo
5c373923e8
[pollytts] Small changes in configuration in documentation (#12086)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-01-22 10:45:01 +01:00
lolodomo
f823e11d3a
[picotts] Added new chapter for configuration in documentation (#12085)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-01-22 09:57:39 +01:00
Andrew Fiddian-Green
c828d81dbb
[hdpowerview] Update shade database (#12081)
* [hdpowerview] update shade database

* [hdpowerview] add type 65 shade capabilities 8

Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2022-01-21 20:32:28 +01:00
Christoph Weitkamp
caa3359f53
Fixed build by improve config handling (#12078)
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2022-01-21 14:04:43 +01:00
Christopher Schirner
cc437d86e2
Add note for Unifi OS default port (#11812)
Co-authored-by: schinken <mail+github@schinken.io>
2022-01-21 10:36:52 +01:00
Richard Koshak
df7d111bce
changedSince returns a boolean, not a Number (#12079) 2022-01-20 16:51:39 +01:00
Gleb Dyskin
28adfb9d1e
Update README.md (#12057)
Editing wrong channels in items
2022-01-20 15:19:15 +01:00
Matt Filetto
d8ca7d20ca
[onkyo] Add support for TX-NR609 (#12067)
* binding: [onkyo]: add TX-NR609
* Basically a 616 but with some THX Listening Modes not on other models
* [onkyo]: add "PLIIx Music + THX Music" Listening Mode

Signed-off-by: Matt Filetto <matt.filetto@gmail.com>
2022-01-19 18:15:22 +01:00
Christoph Weitkamp
58ff256288
[androiddebugbridge] Added mDNS discovery for Fire TV Stick (#11881)
* Added mDNS discovery for Fire TV Stick

Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2022-01-18 09:02:38 +01:00
Kai Kreuzer
39ee01687f
Fix NPE when Thing configuration changes (#12070)
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2022-01-18 00:03:46 +01:00
mlobstein
71b4fcbac7
[oppo] Fix Play Mode and Disc Type updates (#12066)
* Fix Play Mode and Disc Type updates

Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
2022-01-17 20:29:23 +01:00
Markus Eckhardt
94401fc798
[km200] Added JCE check and removed some warnings (#11841)
* Added a check if JCE is installed
* removed warnings

Signed-off-by: Markus Eckhardt <github@familie-eckhardt.eu>
2022-01-17 18:47:38 +01:00
Jacob Laursen
e44dfe7dbc
[hdpowerview] Refactor dynamic channels (#11853)
* Extract dynamic channel creation to separate classes.
* Avoid double list allocations.
* Add test coverage for scenarios with no channels built.
* Extract common builder stuff to super class.
* Fix grammar.
* Reduce constructor access modifiers.
* Removed unneeded this keyword for protected method.
* Fix null annotation issues.

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-01-17 13:41:33 +01:00
Christoph Weitkamp
8b3bb313eb
[pushover] Improved exception handling (#12023)
* Improved exception handling

Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2022-01-16 18:07:36 +01:00
Wouter Born
b0765271d3
Upgrade to Karaf 4.3.6 (#12058)
* Syncs the karaf.version so the new Maven plugin is used
* Resolves itest runbundles for the new runtime dependencies

Signed-off-by: Wouter Born <github@maindrain.net>
2022-01-16 14:25:19 +01:00
Wouter Born
bfe059c585
[mielecloud] Fix tests by adding missing email configuration parameter (#12056)
The validation did not fail previously because it was broken and fixed in https://github.com/openhab/openhab-core/pull/2683

Signed-off-by: Wouter Born <github@maindrain.net>
2022-01-15 21:27:59 +01:00
Jacob Laursen
fee45a5b94
[hdpowerview] Refactor exception handling (#12049)
* Refactor exception handling.

Fixes #12048

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-01-15 19:16:09 +01:00
Jacob Laursen
ddfab66849
Update username for Andy Lintner. (#12046)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-01-15 18:39:08 +01:00
lolodomo
2623632ac7
[electroluxair] Add missing default translation properties (#12053)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-01-15 17:47:58 +01:00
lolodomo
0e62c88e7f
[yamahamusiccast] Add missing default translation properties (#12054)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-01-15 17:46:40 +01:00
Jonathan Gilbert
4d88ad06ae
[jsscripting] Wrapped GraalJS ScriptEngines now also Autocloseable (#12022)
Signed-off-by: Jonathan Gilbert <jpg@trillica.com>
2022-01-15 17:44:15 +01:00
Christoph Weitkamp
67b701b6b4
[jdbc] Removed check if item exists to allow to truncate data for clean-ups (#12052)
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2022-01-15 17:09:54 +01:00
Joan Pujol
0df790c687
[influxdb] Fix previous item state performance issues (#11993)
Fixes #11878

Signed-off-by: Joan Pujol <joanpujol@gmail.com>
2022-01-15 16:39:19 +01:00
Christoph Weitkamp
bb2e4c7c65
[jdbc] Implement 'ModifiablePersistenceService' interface (#11922)
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2022-01-15 14:29:06 +01:00
openhab-bot
344a4ceae3
New Crowdin updates (#11960)
* New translations openweathermap.properties (Italian)

* New translations openweathermap.properties (German)

* New translations icalendar.properties (Italian)

* New translations network.properties (German)

* New translations atlona.properties (Italian)

* New translations yeelight.properties (Italian)

* New translations yioremote.properties (Italian)

* New translations astro.properties (German)

* New translations deconz.properties (German)

* New translations deconz.properties (Italian)

* New translations pollytts.properties (German)

* New translations mqtt.properties (Italian)

* New translations publictransportswitzerland.properties (Italian)

* New translations mqtt.properties (Italian)

* New translations mqtt.properties (Italian)

* New translations ipp.properties (German)
2022-01-14 23:30:41 +01:00
Jacob Laursen
2832567fc9
[hdpowerview] Add support for calibrating a shade (#12002)
* Add support for calibrating a shade.

Fixes #11767

* Fix startup problems by decoupling capabilities cache from updateSoftProperties.
* Minor refactoring of capabilities and shade id handling.
* Dispose faster/safer by killing any remaining tasks.
* Set shade thing status to UNKNOWN until we receive any data for shade.
* Fix position update glitch after setting position.
* Remove unneeded catch after shade id refactoring.
* Document return values in Javadoc.
* Avoid logging InterruptedException during dispose.
* Add calibration example item.
* Reduce nesting.
* Add myself as reviewer for binding.
* Add Andrew Fiddian-Green as reviewer for binding.
* Handle JsonParseException.
* Fix alphabetic order.

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-01-14 22:59:01 +01:00
eugen
843ca55c68
fix Fahrenheit conversion (#12024)
Signed-off-by: Eugen Freiter <freiter@gmx.de>
2022-01-14 22:56:50 +01:00
Andrew Fiddian-Green
67ccf858f8
[hdpowerview] update shade database (#12045)
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2022-01-14 19:43:11 +01:00
Jacob Laursen
d07348b216
[hdpowerview] Fix SAT warnings (#12032)
* Fix SAT warnings about missing @NonNullByDefault.
* Move part of firmware JSON response validation to HDPowerViewWebTargets.

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-01-14 19:35:56 +01:00
Christoph Weitkamp
e3e4cd667d
[ipp] Added representation property and code improvements (#12039)
* Added representation property

Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2022-01-14 11:32:58 +01:00
alexf2015
1ee5906fc7
[digitalstrom] Adoptions due to API changes in DSS Update 1.19.2 (#12033)
* added support for DSUID in DSS response data while being compatible to removed DSID which might still be in use due to older firmware versions.
* fixed a NPE and also fixed json parameter naming.
* applied improvements from DSUID class
* fixed variable name, made dsid member final, added author

Signed-off-by: Alexander Friese <af944580@googlemail.com>
2022-01-14 08:38:20 +01:00
lolodomo
ae50e32364
[digitalstrom] Update CODEOWNERS (#12041)
As discussed in #12033 , the mentioned authors for the digitalstrom binding will no more contribute or review.

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-01-14 08:03:25 +01:00
Martin van Wingerden
71011b2431
[rfxcom] Updates / small fixes (#12037)
* [rfxcom] Updates / small fixes

Added support for:
 - CHIME - Alfawise, dBell
 - HUMIDITY - HUM3 - Inovalley S80 plant humidity sensor
 - LIGHTING1 - Oase Inscenio FM Master

Fixes #10251

Signed-off-by: Martin van Wingerden <martin@martinvw.nl>
2022-01-13 14:12:19 +01:00
maniac103
a4c579b753
[homematic] Fix long button press handling for HM-IP devices (#11982)
* [homematic] Fix long button press handling for HM-IP devices

HM devices have the following long press cycle:
PRESS_CONT
PRESS_LONG
PRESS_CONT (N times for repetion)
PRESS_LONG_RELEASE

while (at least some) HM-IP devices use this one:
PRESS_LONG
PRESS_LONG_START
PRESS_LONG (N times for repetition)
PRESS_LONG_RELEASE

Add support for the latter case while keeping support for the former
case.

Signed-off-by: Danny Baumann <dannybaumann@web.de>

* [homematic] Track 'uses LONG_START datapoint' flag per-device
2022-01-13 09:09:19 +01:00