Commit Graph

1838 Commits

Author SHA1 Message Date
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
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