Commit Graph

1827 Commits

Author SHA1 Message Date
Wouter Born
2f035b53b6
Add i18n-maven-plugin dependency (#11648)
When the plugin dependency is managed you can also use the plugin without adding GAV parameters to commands.

E.g. it allows for using it with:

```
mvn i18n:generate-default-translations
```

Signed-off-by: Wouter Born <github@maindrain.net>
2021-12-01 18:53:01 +01:00
mlobstein
6e665b3503
[tivo] Minor update and cleanup README.md (#11673)
Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
2021-12-01 12:22:29 +01:00
Hans-Jörg Merk
7fbcd714c0
[wemo] Fix receiving empty binary state during poll (#11679)
Signed-off-by: Hans-Jörg Merk <github@hmerk.de>
2021-12-01 11:58:59 +01:00
Hilbrand Bouwkamp
384fdad56e
[tplinksmarthome] Fixed invalid channels in KL125/KL135. (#11680)
These are color bulbs and should have the color channel instead of the brightness channel.
Closes #11660

Signed-off-by: Hilbrand Bouwkamp <hilbrand@h72.nl>
2021-12-01 11:57:09 +01:00
mlobstein
1417b9c4dd
[kaleidescape] Fix incorrect word in player ui documentation (#11676)
Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
2021-12-01 09:48:30 +01:00
eugen
66d6a3f0a3
[homekit] switch to official Java HAP lib release (#11671)
Signed-off-by: Eugen Freiter <freiter@gmx.de>
2021-12-01 09:43:41 +01:00
Marcel
c6798ea4fa
[miio] add support for BT Gateway switch on chuangmi.plug.212a01 (#11657)
* [miio] add support for BT Gateway switch on chuangmi.plug.212a01

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

* [miio] improve conversion & add test for it

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

* [miio] add one empty string test

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

* [miio] remove unnessesary exceptions

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

* [miio] add one more test for different inputs

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

* [miio] typo

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2021-11-29 12:34:09 +01:00
Marcel
f8d8f9a9fe
[miio] Add support Mi Fresh Air Ventilator C1-80 zhimi.airfresh.ua1 (#11579)
Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2021-11-29 11:00:19 +01:00
Marcel
497cffb084
[miio] fix Error parsing miot data null for new miot devices (#11658)
Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2021-11-29 10:57:58 +01:00
paphko
0adacaf596
[anel] Initial contribution of the Anel NET-PwrCtrl binding for OH3 (#10952)
* Initial contribution of the Anel NET-PwrCtrl binding for OH3.

Signed-off-by: Patrick Koenemann <git@paphko.de>

* Adjustments based on code review.

Signed-off-by: Patrick Koenemann <git@paphko.de>

* Further adjustments according to second review.

Signed-off-by: Patrick Koenemann <git@paphko.de>

* Checkstyle warnings revmoed.

Signed-off-by: Patrick Koenemann <git@paphko.de>
2021-11-29 09:45:29 +01:00
Florian Hotze
9bde2df3b4
[jsscripting] Improve docs with Actions (#11624)
Updated the documentation with:
* Core Actions
* Cloud Notification Actions
* Persistence Extensions
* Ephemeris Actions
* Types and Units

Instead of the single "imports", the default scope
(openhab-core/DefaultScriptScopeProvider.java) is used.
It's imported as `openhab`, services are under `openhab.service`.

As the helper library is on the way (openhab/openhab-js):
* Added note about console.log and logging in general.
* Added note that the lib is on the way.

Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
2021-11-29 09:44:26 +01:00
jlaur
33e751c437
[miele] Localization of state, program and phase (#11603)
* Initial changes for state, program and phase localization.
* Fix bridge configuration reload.
* Extracted DeviceMetaData from MieleBridgeHandler.
* Fix fallback to gateway text.
* Consolidate getMieleEnum in DeviceMetaData.
* Localize thing offline texts and increased accuracy.
* Validate language during bridge initialization.
* Interpret magic value for temperature.
* Add missing i18n channel label/description strings.
* Add missing washing machine phase texts in Dutch.
* Add missing French dishwasher phase texts.

Fixes #11602

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2021-11-29 08:16:08 +01:00
Marcel
bea7197ede
[miio] add missing vacuum status codes (#11659)
Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2021-11-29 00:29:40 +01:00
Wouter Born
a45b40d6c3
Update bnd to 6.1.0 (#11650)
For release notes, see:

https://github.com/bndtools/bnd/wiki/Changes-in-6.1.0

Related to openhab/openhab-core#2583

Signed-off-by: Wouter Born <github@maindrain.net>
2021-11-28 21:58:08 +01:00
Wouter Born
84de053847
Use Maven 3.8.4 in GHA CI builds (#11649)
This new version fixes a few regressions, see:

https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12316922&version=12350685

Signed-off-by: Wouter Born <github@maindrain.net>
2021-11-28 19:32:50 +01:00
Wouter Born
1afe90d314
Report SAT Errors with GHA Annotations (#11652)
Let's test the GHA annotations for errors also in this repo!

Similar to openhab/openhab-core#2543

Signed-off-by: Wouter Born <github@maindrain.net>
2021-11-28 19:31:53 +01:00
Sönke Küper
50d5622e79
[deutschebahn] Initial contribution: New binding for DeutscheBahn Fahrplan (#11384)
* Created binding for DeutscheBahn Timetable API.

Signed-off-by: Sönke Küper <soenkekueper@gmx.de>

* Disabled schema validation and used original schema. Added tests for hannover hbf which has non schema conforming responses.

Signed-off-by: Sönke Küper <soenkekueper@gmx.de>

* Added information about UNDEF and NULL channel values.

Signed-off-by: Sönke Küper <soenkekueper@gmx.de>

* Added sample widget and screenshot

Signed-off-by: Sönke Küper <soenkekueper@gmx.de>

* Filtering duplicate messages

Signed-off-by: Sönke Küper <soenkekueper@gmx.de>

* Fixed some typos.

Signed-off-by: Sönke Küper <soenkekueper@gmx.de>

* Updated to jUnit5

Signed-off-by: Sönke Küper <soenkekueper@gmx.de>

* Applied review remarks in Readme

Signed-off-by: Sönke Küper <soenkekueper@gmx.de>

* Applied some review remarks

Signed-off-by: Sönke Küper <soenkekueper@gmx.de>

* 0000: Fixed compile warnings

Signed-off-by: Sönke Küper <soenkekueper@gmx.de>

Co-authored-by: Sönke Küper <soenkekueper@gmx.de>
2021-11-28 18:34:30 +01:00
openhab-bot
95e1479c5d
New Crowdin updates (#11634)
* New translations deconz.properties (German)

* New translations sonos.properties (French)

* New translations openuv.properties (French)

* New translations synopanalyzer.properties (French)
2021-11-28 16:47:15 +01:00
Wouter Born
73ed075d4e
[lifx] Improve InterruptedException handling (#11653)
When the binding is stopped sleeping threads are interrupted by design.
By throwing the InterruptedException, it should be caught in LifxSelectorUtil.sendPacket (which is waiting for the packet interval to elapse), which will then abort sending a packet.

This prevents:

```
[ERROR] [lifx.internal.util.LifxThrottlingUtil] - An exception occurred while putting the thread to sleep : 'sleep interrupted'
```

Signed-off-by: Wouter Born <github@maindrain.net>
2021-11-28 16:37:29 +01:00
Christian Wild
612afd2e07
[Tapocontrol] Binding to control Tapo (by TP-Link) Devices (#11111)
* [tapocontrol] New Source Upload

Signed-off-by: Christian Wild <christian@wild-bw.de>

* [tapocontrol] Delete bundles/org.openhab.binding.tapocontrol directory

Signed-off-by: Christian Wild <christian@wild-bw.de>

* [tapocontrol] Snapshot 3.2

Signed-off-by: Christian Wild <christian@wild-bw.de>

* [tapocontrol] Update CODEOWNERS

Fixed bindingname

Signed-off-by: Christian Wild <christian@wild-bw.de>

* [tapocontrol] Update README.md

Signed-off-by: Christian Wild <christian@wild-bw.de>

* [tapocontrol] new "Bridge-Version"

Credentials (TapoCloud) where now set in a bridge device.
Things now had to be attached to a bridge.

Signed-off-by: Christian Wild <christian@wild-bw.de>

* [tapocontrol] fixed device discovery bug

fixed device discovery bug
added bridge to thing-types.xml

Signed-off-by: Christian Wild <christian@wild-bw.de>

* [tapocontrol] Update bundles/org.openhab.binding.tapocontrol/README.md

Co-authored-by: Fabian Wolter <github@fabian-wolter.de>
Signed-off-by: Christian Wild <christian@wild-bw.de>

* [tapocontrol] code cleanup and optimization

- general code cleanup and optimization
- limited max connections and queued requests to 10 per destination
- device error handling revised
- review remarks of pull request processed

Signed-off-by: Christian Wild <christian@wild-bw.de>

* [tapocontrol] solved review requests

Signed-off-by: Christian Wild <christian@wild-bw.de>

* [tapocontrol] LightStrip L900 basicly supported

Signed-off-by: Christian Wild <christian@wild-bw.de>

* [tapocontrol] fixed review requests

Signed-off-by: Christian Wild <christian@wild-bw.de>

* [tapocontrol] fixed compiler warnings

Signed-off-by: Christian Wild <christian@wild-bw.de>

Co-authored-by: Fabian Wolter <github@fabian-wolter.de>
2021-11-28 15:29:21 +01:00
Christoph Weitkamp
35dbde1189
[map] Fixed wrong i18n properties and added label of Profile (#11646)
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2021-11-28 15:18:39 +01:00
lolodomo
e0f72d5a7c
[linky] Few debug logs added (#11647)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2021-11-28 13:31:56 +01:00
Christoph Weitkamp
addb990a5b
Added representation-property to thing type definitions (#11640)
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2021-11-26 23:01:44 +01:00
antroids
0797e5d611
[MQTT.Homeassistant] added myself to CODEOWNERS (#11612)
Signed-off-by: Anton Kharuzhy <publicantroids@gmail.com>
2021-11-24 21:26:23 +01:00
Wouter Born
e223c599c0
Resolve runbundles for JUnit and Mockito dependency upgrades (#11617)
Signed-off-by: Wouter Born <github@maindrain.net>
2021-11-23 23:05:09 +01:00
mlobstein
43ff86c1b4
Fix setpoint parsing error (#11635)
Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
2021-11-23 13:18:30 +01:00
openhab-bot
860244b18b
New Crowdin updates (#11608)
* New translations openhabcloud.properties (French)

* New translations transform.properties (French)

* New translations voicerss.properties (French)

* New translations actions.properties (German)

* New translations errors.properties (German)

* New translations stateflags.properties (German)

* New translations nanoleaf.properties (German)

* New translations surepetcare.properties (German)

* New translations deconz.properties (German)

* New translations tr064.properties (German)

* New translations deconz.properties (German)

* New translations openhabcloud.properties (German)

* New translations astro.properties (French)

* New translations hue.properties (French)

* New translations ntp.properties (French)

* New translations feed.properties (German)

* New translations lgwebos.properties (French)

* New translations gce.properties (French)

* New translations airquality.properties (French)

* New translations airquality.properties (French)

* New translations rotel.properties (French)

* New translations feed.properties (German)

* New translations hue.properties (French)

* New translations mail.properties (German)

* New translations sonyprojector.properties (French)

* New translations tradfri.properties (French)

* New translations powermax.properties (French)
2021-11-22 00:58:03 +01:00
Kai Kreuzer
59444937bf
[amplipi] Add discovery and PA support (#11586)
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2021-11-21 23:12:43 +01:00
Marcel
b80f41f3b8
[max] Added default translation properties file (#11626)
Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2021-11-21 21:28:40 +01:00
Wouter Born
aff059b9b6
[nest] Fix place holders issue (#11622)
When the docs are generated any {{ }} constructs are substituted with variables.
As a result the docs are less easy to understand.

Signed-off-by: Wouter Born <github@maindrain.net>
2021-11-21 17:52:32 +01:00
Wouter Born
d4d13fb74e
[googletts] Fix place holders issue (#11623)
When the docs are generated any {{ }} constructs are substituted with variables causing the place holders to get lost.
As a result the docs are less easy to understand.

Signed-off-by: Wouter Born <github@maindrain.net>
2021-11-21 17:51:43 +01:00
Christoph Weitkamp
859e255186
[feed] Change patter for DateTime channel types to be considered by i18n-tool (#11618)
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2021-11-21 15:56:13 +01:00
Christoph Weitkamp
f9695f2d8d
[tr064] Added default i18n properties file (#11619)
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2021-11-21 15:54:43 +01:00
Wouter Born
926240770b
Resolve runbundles for UoM dependency upgrades (#11610)
Signed-off-by: Wouter Born <github@maindrain.net>
2021-11-21 12:40:56 +01:00
Wouter Born
e6fd01d2ab
Update Jackson version to 2.12.5 (#11609)
This is the version used in the feature provided by openhab-core.

Signed-off-by: Wouter Born <github@maindrain.net>
2021-11-21 10:22:28 +01:00
Luca Calcaterra
aa93314b39
Update thing-types.xml (#11614)
fix T14 typical - must be switch instead of trigger
Signed-off-by: Luca Calcaterra <calcaterra.luca@gmail.com>
2021-11-20 20:18:29 +01:00
Gaël L'hopital
2eb0ff5502
[XMLTV] Preparing for Crowdin and code refining. (#11594)
* Preparing for Crowdin and code refining.

Signed-off-by: Gaël L'hopital <gael@lhopital.org>

* Satisfying SAT

Signed-off-by: Gaël L'hopital <gael@lhopital.org>

* Preventing two potential NPE

Signed-off-by: Gaël L'hopital <gael@lhopital.org>

* Code review comments taken in account

Signed-off-by: clinique <gael@lhopital.org>

* Reverting description removal

Signed-off-by: clinique <gael@lhopital.org>

* Forgot spotless apply

Signed-off-by: clinique <gael@lhopital.org>
2021-11-20 18:48:03 +01:00
antroids
4a3a9d5873
[MQTT.Homeassistant] make the mqtt.vacuum implementation compilant with the specification (#11562)
Signed-off-by: Anton Kharuzhy <publicantroids@gmail.com>
2021-11-20 12:44:09 +01:00
Matthew Skinner
ec863117ea
[wled] Abstract json api for better segment support (#11509)
* Change to json for states


Signed-off-by: Matthew Skinner <matt@pcmus.com>

* Add 3rd colours.


Signed-off-by: Matthew Skinner <matt@pcmus.com>

* Segments now mostly work


Signed-off-by: Matthew Skinner <matt@pcmus.com>

* changes to json api fully made


Signed-off-by: Matthew Skinner <matt@pcmus.com>

* Mirror and Reverse channels added.


Signed-off-by: Matthew Skinner <matt@pcmus.com>

* Remove old channels when needed.


Signed-off-by: Matthew Skinner <matt@pcmus.com>

* Simplify return

Signed-off-by: Matthew Skinner <matt@pcmus.com>

* Add support for named presets


Signed-off-by: Matthew Skinner <matt@pcmus.com>

* Dont add empty preset 0 to list


Signed-off-by: Matthew Skinner <matt@pcmus.com>

* Add preset saving with custom names


Signed-off-by: Matthew Skinner <matt@pcmus.com>

* Tidy up


Signed-off-by: Matthew Skinner <matt@pcmus.com>

* Rename function for clarity


Signed-off-by: Matthew Skinner <matt@pcmus.com>

* Add more channels

Signed-off-by: Matthew Skinner <matt@pcmus.com>

* Clean up


Signed-off-by: Matthew Skinner <matt@pcmus.com>

* Fix bugs and update readme for new channels


Signed-off-by: Matthew Skinner <matt@pcmus.com>
2021-11-20 12:41:46 +01:00
Marcel
58f40a5c73
[miio] add support Mi Smart Humidifier deerma.humidifier.jsq5 (#11577)
https://community.openhab.org/t/mi-smart-antibacterial-humidifier-not-recognized/127562

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2021-11-20 12:34:00 +01:00
Marcel
bd49ad40b1
[miio] Move (remaining) channel details to json files (#11568)
Move remaining channel details to the respective channels to simplify
and avoid mistakes/errors.

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2021-11-20 12:32:10 +01:00
Dan Cunningham
d0837ae8a2
[myq] Fixes breaking API changes to the MyQ binding (#11601)
Signed-off-by: Dan Cunningham <dan@digitaldan.com>
2021-11-20 00:17:27 +01:00
Wouter Born
163a34fca4
Add missing bundles to openhab-addons BOM (#11605)
Missing bundles in this BOM can cause issues like:

* Karaf feature projects building before bundle add-on projects completed
* Incremental build issues
* Other projects using the BOM having to manually add dependency management for these bundles

Signed-off-by: Wouter Born <github@maindrain.net>
2021-11-19 16:45:59 +01:00
Trinitus01
a350bb34d5
[icloud] iCloud response invalid: null (second time) (#11600)
* fixed: iCloud response invalid: null (second time)

Signed-off-by: Tom Blum <trinitus01@googlemail.com>

* added: re-added fmly parameter

Signed-off-by: Tom Blum <trinitus01@googlemail.com>
2021-11-19 13:14:45 +01:00
mlobstein
09f3b03ee2
[monopriceaudio] Clarify supported models and documentation (#11591)
* Clarify supported models and documentation

Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>

* Clarify supported models and documentation

Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>

* Add notes for amps with built-in serial over IP

Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>

* Add notes for amps with built-in serial over IP

Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>

* fix spotless error

Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>

* substitute controller/amplifier

Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
2021-11-18 09:02:17 +01:00
Pawel Pieczul
5ffac34c7a
[loxone] Sauna controller implementation (#11270)
Signed-off-by: Pawel Pieczul <pieczul@gmail.com>
2021-11-18 00:40:26 +01:00
Marcel
0165ea7659
[windcentrale] Add default translations (#11596)
Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2021-11-16 21:19:50 +01:00
openhab-bot
bf5cea09ed
New Crowdin updates (#11573)
* New translations intesis.properties (German)

* New translations avmfritz.properties (German)

* New translations hue.properties (German)

* New translations pixometer.properties (German)

* New translations volvooncall.properties (French)

* New translations tr064.properties (French)

* New translations transform.properties (German)

* New translations googletts.properties (German)

* New translations avmfritz.properties (German)

* New translations googletts.properties (German)

* New translations sonyprojector.properties (French)

* New translations meteoblue.properties (French)

* New translations avmfritz.properties (German)

* New translations mail.properties (German)

* New translations hue.properties (German)

* New translations astro.properties (French)
2021-11-16 01:10:28 +01:00
jlaur
43090b9b29
[samsungtv] Fix reconnect after first connection to TV is lost (#11487)
* Fix reconnect after first connection to TV is lost.

Fixes #7055

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

* Reduced log level to TRACE for logging of entered methods several times per second.

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2021-11-16 00:01:06 +01:00
jlaur
8c83c27c57
[hdpowerview] Add support for scene groups (#11534)
* Add support for scene collections.

Fixes #11533

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

* Add unit test for parsing of scene collections response.

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

* Add default i18n properties file.

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

* Fix CAT: File does not end with a newline.

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

* Update documentation with scene collections.

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

* Fix CAT: File does not end with a newline.

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

* Fix formatting.

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

* Fix CAT: File does not end with a newline.

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

* Split offline tests into separate distinct tests.

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

* Increase test coverage for scene/scene collection parsing.

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

* Internationalization of dynamic scene/scene collection channels.

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

* Rename scene collections to scene groups.

Renamed for all user-oriented texts/references to be consistent with now abandoned feature of the PowerView app.

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

* Change custom text keys to not collide with framework.

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

* Avoid multiple thing updates.

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

* Add missing label/description texts for secondary channel.

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

* Remove unneeded @Nullable annotations.

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2021-11-15 23:53:23 +01:00