Commit Graph

1905 Commits

Author SHA1 Message Date
Jacob Laursen
7b3a1c9fc2
Create concrete handlers for Insight, Motion and Socket/Light Switch. (#12120)
No logic/code changes yet, just extraction/separation.

Fixes #12105

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-01-28 08:23:24 +01:00
openhab-bot
15d1610952
New Crowdin updates (#12050)
* New translations tradfri.properties (Italian)

* New translations mycroft.properties (French)

* New translations deutschebahn.properties (German)

* New translations gardena.properties (German)

* New translations luftdateninfo.properties (German)

* New translations network.properties (Finnish)

* New translations publictransportswitzerland.properties (Finnish)

* New translations mycroft.properties (Finnish)

* New translations pushover.properties (German)

* New translations yamahamusiccast.properties (Italian)

* New translations ecotouch.properties (German)

* New translations voicerss.properties (French)
2022-01-28 07:58:33 +01:00
jimtng
87b0dbfd06
[jrubyscripting] Update jruby version to 9.3.3.0 (#12143)
Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
2022-01-28 07:47:38 +01:00
Jacob Laursen
dab48ddd95
[hdpowerview] Optimize initialization of shades (#12113)
* Optimize initialization of shades.

Fixes #12071

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>

* Avoid hashmap reallocation during initialization.

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-01-28 07:47:32 +01:00
Jacob Laursen
608d0ae23a
[hdpowerview] Fix autoupdate quirk. (#12141)
Fixes #12140

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-01-27 21:38:29 +01:00
Jacob Laursen
369b985192
[hdpowerview] Convert calibrate to command channel. (#12138)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-01-27 20:49:27 +01:00
GiviMAD
89b8b2eb0a
[porcupineks] add library to NOTICE file and update to porcupine 2.1 (#12137)
Signed-off-by: Miguel Álvarez Díez <miguelwork92@gmail.com>
2022-01-27 20:19:27 +01:00
GiviMAD
702ffcdc22
[googlestt] add library to NOTICE file (#12136)
Signed-off-by: Miguel Álvarez Díez <miguelwork92@gmail.com>
2022-01-27 20:00:04 +01:00
Christian Wild
3d9717caf9
[tapocontrol] now supports energy monitoring of P110 device (#12017)
* [tapocontrol] added energy monitoring for P110
* [tapocontrol] corrected textual thing configuration in readme

Signed-off-by: Christian Wild <christian@wild-bw.de>
2022-01-27 08:46:30 +01:00
GiviMAD
07e02cf459
[googlestt] initial contribution (#12055)
* [googlestt] initial contribution

Signed-off-by: Miguel Álvarez Díez <miguelwork92@gmail.com>
2022-01-27 00:24:51 +01:00
eugen
ec93c3600e
[homekit] quick restart on network changes (#12072)
* quick restart on network changes

* only restart if needed
* add null check

Signed-off-by: Eugen Freiter <freiter@gmx.de>
2022-01-26 20:19:03 +01:00
Benjamin Lafois
d6da67435a
[somfytahoma] [Improvement] Fix cozytouch support and add waterheatersystem support (#11855)
* Add support for Cozytouch and WaterHeaterSystem

Signed-off-by: Benjamin Lafois <benjamin.lafois@gmail.com>
2022-01-26 20:12:46 +01:00
lolodomo
56b2f47be6
[porcupineks] Enhanced documentation (#12116)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-01-25 20:18:09 +01:00
Andrew Fiddian-Green
8a2d507b21
[hdpowerview] Added support for rear blackout panel (#12098)
* [hdpowerview] refactor enum constant names
* [hdpowerview] add support for blackout shades
* [hdpowerview] unit tests for capabilities 8 & 9
* [hdpowerview] delete no longer valid comment
* [hdpowerview] blackout shade position is never UNDEF
* [hdpowerview] updated read me
* [hdpowerview] refactor unit tests into two classes

Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2022-01-25 20:09:14 +01:00
Jacob Laursen
9d361c1fa3
[hdpowerview] Add support for repeaters (#12061)
* Add support for repeaters.

Fixes #12060

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>

* Simplify thing type filtering.

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>

* Improve robustness of configuration ID validation/initialization.

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>

* Convert repeater-identify to command channel.

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>

* Fix logged warning.

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>

* Skip unneeded bridge status logic.

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>

* Skip redundant logging.

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>

* Fix chanenl type label for blinking enabled.

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-01-24 22:42:53 +01:00
olivierkeke
3d24cfc535
[teleinfo] improve documentation for Linky Standard TIC mode (#12093)
* Improve standard tic mode channels description
* Add textual configuration for standard tic mode
* Add new supported hardware

Signed-off-by: Olivier Marceau <hollysaiqs@marceau.ovh>
2022-01-24 21:37:16 +01:00
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
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
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