Commit Graph

1906 Commits

Author SHA1 Message Date
eugen
4f26c65c0c
restart HomeKit bridge on network changes (#11720)
Signed-off-by: Eugen Freiter <freiter@gmx.de>

Co-authored-by: Eugen Freiter <freiter@gmx.de>
2021-12-06 19:11:36 +01:00
Christoph Weitkamp
6e7e75efb3
Rerun i18n tool (#11721)
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2021-12-06 18:52:54 +01:00
Wouter Born
4ee2b6e1bb
[dsmr] Add missing English translations (#11713)
Without these English defaults Crowdin would remove Dutch translations.

Signed-off-by: Wouter Born <github@maindrain.net>
2021-12-05 22:12:41 +01:00
Wouter Born
7c5e252ed7
[mqtt] Add missing English translations (#11714)
Without these English defaults Crowdin would remove German translations.

Signed-off-by: Wouter Born <github@maindrain.net>
2021-12-05 22:07:39 +01:00
Wouter Born
b097463d7e
Rename English i18n properties to follow Crowdin naming conventions (#11709)
This allows these files to be used for creating translations with Crowdin.

Signed-off-by: Wouter Born <github@maindrain.net>
2021-12-05 20:14:44 +01:00
Wouter Born
bb10e342ab
Remove unnecessary executable permissions (#11710)
These files are marked as executable for no good reason at all.

Signed-off-by: Wouter Born <github@maindrain.net>
2021-12-05 19:29:44 +01:00
Daniel Lienert
b9d0d033bf
[systeminfo] Fix Thing and Sitemap example (#11708)
Signed-off-by: Daniel Lienert <daniel@lienert.cc>
2021-12-05 17:51:31 +01:00
jlaur
b28a3f3765
Fix initialization of shade handler. (#11707)
Fixes #11702

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2021-12-05 17:48:37 +01:00
M Valla
112d2653a7
[openwebnet] Fixes discovery of devices on local bus. Added it translation (#11644)
Signed-off-by: Massimo Valla <mvcode00@gmail.com>
2021-12-05 11:26:36 +01:00
Marcel
b6836b8ef9
[miio] Add support for new dreame vacuum models (p2027,p2028,p2059) (#11669)
Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2021-12-05 11:23:40 +01:00
Mark Hilbush
c1de380771
[sleepiq] Use constructor injection for ClientBuilder (#11700)
Fixes #11696

Signed-off-by: Mark Hilbush <mark@hilbush.com>
2021-12-05 11:20:20 +01:00
openhab-bot
d0bf1e3313
New Crowdin updates (#11663)
* New translations astro.properties (Hungarian)
* New translations chromecast.properties (German)
* New translations chromecast.properties (Hungarian)
* New translations lgwebos.properties (French)
* New translations linky.properties (French)
* New translations logreader.properties (German)
* New translations mail.properties (French)
* New translations mail.properties (Hungarian)
* New translations max.properties (German)
* New translations ntp.properties (Hungarian)
* New translations openhabcloud.properties (Hungarian)
* New translations pushover.properties (German)
* New translations pushsafer.properties (German)
* New translations remoteopenhab.properties (Hungarian)
* New translations transform.properties (French)
* New translations transform.properties (German)
* New translations vigicrues.properties (French)
* New translations voicerss.properties (German)
* New translations volvooncall.properties (French)
* New translations xmltv.properties (French)

* Fix encoding issue

Signed-off-by: Wouter Born <github@maindrain.net>
2021-12-05 11:16:17 +01:00
lolodomo
0a997ec5d3
[openuv] Fix internationalization of discovery result (#11500)
* [openuv] Fix internationalization of discovery result

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2021-12-05 09:39:51 +01:00
Doug Culnane
3d2663cbf7
[renault] Initial Contribution (#11467)
* #11465 Initial renault-api binding
Signed-off-by: Doug Culnane <doug@culnane.com>
2021-12-05 09:33:32 +01:00
bruestel
9340213eb0
[homeconnect] Add oven control (#11706)
Signed-off-by: Jonas Brüstel <jonas@bruestel.net>
2021-12-05 09:30:35 +01:00
Gaël L'hopital
cb0c4bbcb4
[SNCF] A binding to get French railways arrivals and departures (#11607)
* SNCF : new binding

Signed-off-by: clinique <gael@lhopital.org>
2021-12-04 18:33:50 +01:00
lolodomo
83f5f01267
[miio/ntp] Fix wrong "Date" channel category (#11699)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2021-12-04 17:05:58 +01:00
Christoph Weitkamp
ac752b97a7
[chromecast] Added pattern for DateTime channel types (#11694)
* Added pattern for DateTime channel types

Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2021-12-04 16:59:50 +01:00
Gaël L'hopital
4605edeb29
[Sagercaster] Reintroducing timestamp channel (#11665)
[Sagercaster] Reintroducing timestamp channel 

Signed-off-by: clinique <gael@lhopital.org>
2021-12-04 16:55:48 +01:00
Marcel
13bae622ac
[miio] Improve binding description (#11690)
* [miio] Improve binding description

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2021-12-04 16:36:05 +01:00
Marcel
2a9e264075
[miio] add support for Mi Smart Humidifer S (deerma.humidifier.jsqs) (#11687)
Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2021-12-04 15:31:52 +01:00
Christoph Weitkamp
7abd6b5413
[chromecast] Added configuration flag to disable background discovery (#11689)
* Added configuration flag to disable background discovery

Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2021-12-04 15:03:29 +01:00
Christoph Weitkamp
6da7defddf
Added pattern for DateTime channel types (#11681)
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2021-12-04 14:50:13 +01:00
Matthew Davies
6c6c93e8f0
[venstarthermostat] more functions issue enhancement 10823 (#11305)
* Adding several functions to binding to mimic local API

Signed-off-by: raveydavies <matthew.davies@skynet.be>

* Adding functionality according to API

Signed-off-by: raveydavies <matthew.davies@skynet.be>

* Updating Read me with new capability

Signed-off-by: raveydavies <matthew.davies@skynet.be>

* Additional commit with requested changes to pull request

Signed-off-by: raveydavies <matthew.davies@skynet.be>

* Updates to address all comments on previous commit.

Signed-off-by: raveydavies <matthew.davies@skynet.be>

* Updates as requested in review.

Signed-off-by: raveydavies <matthew.davies@skynet.be>

* Corrections for check style warnings

Signed-off-by: raveydavies <matthew.davies@skynet.be>

* Updates to address feedback from lolodomo.

Signed-off-by: raveydavies <matthew.davies@skynet.be>

* Changes to address feedback from lolodomo's review

Signed-off-by: raveydavies <matthew.davies@skynet.be>

* FanState changed to Switch, Exception handling added as per review.

Signed-off-by: raveydavies <matthew.davies@skynet.be>
2021-12-04 10:49:22 +01:00
Marcel
82ac5ee2d9
[miio] i18n translation handling for basic channels (#11576)
Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2021-12-02 09:08:17 +01:00
Christoph Weitkamp
7c8a197e17
[avmfritz] Exclude other Powerline products from discovery (#11682)
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2021-12-02 09:07:17 +01:00
mlobstein
35338506ce
[radiothermostat] Update thing description for better matching in add-on search (#11675)
Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
2021-12-01 21:58:36 +01:00
mlobstein
6fe68b4d15
[nuvo] Update thing description for better matching in add-on search (#11674)
Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
2021-12-01 21:57:46 +01:00
Daniël van Os
7e6a54baab
[homewizard] Fix issue with missing gas values (#11666)
This commit fixes a crash that happens when the smart meter does not provide gas values. The crash was caused by the empty timestamp.

Signed-off-by: Daniël van Os <daniel@supercell.nl>
2021-12-01 21:53:11 +01:00
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