Commit Graph

1811 Commits

Author SHA1 Message Date
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
Wouter Born
2973f6d890
[jrubyscripting] Fix Maven project name (#11590)
It was missing the "Bundles" parts like used in other projects.

Signed-off-by: Wouter Born <github@maindrain.net>
2021-11-15 15:39:27 +01:00
boc-tothefuture
633582522c
[jrubyscripting] JRuby Scripting initial contribution (#11538)
Also-by: Jimmy Tanagra <jimmy@tanagra.id.au>
Signed-off-by: Brian O'Connell <broconne@gmail.com>
2021-11-15 14:21:29 +01:00
Marcel
4d8c6b304b
[miio] support sending openclose commands (#11581)
* [miio] support sending openclose commands

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

* [miio] fix contact sending

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

* [miio] switch

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2021-11-14 13:40:05 +01:00
Boris Krivonog
edafc1970b
[nikobus] added option to set rollershutter position (#11548)
Signed-off-by: Boris Krivonog boris.krivonog@inova.si
Signed-off-by: Boris Krivonog <boris.krivonog@inova.si>
2021-11-14 11:33:39 +01:00
jlaur
666214749b
[danfossairunit] Add default i18n properties file (#11580)
* Fix namespace issue.

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

* Add default i18n properties file.

Fixes #11578

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

* Internationalize thing status descriptions.

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

* Add missing configuration option description.

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2021-11-14 11:13:22 +01:00
Wouter Born
585a671e36
Use POM packaging with index BOMs (#11520)
Looks like only the POM dependencies are used by the indexer, so the JAR is unused and useless as this warning correctly indicates when you build them:

```
[WARNING] JAR will be empty - no content was marked for inclusion!
```

Signed-off-by: Wouter Born <github@maindrain.net>
2021-11-13 13:44:37 +01:00
lolodomo
99144d6193
[sonyprojector] Allow translation of exception messages that can be d… (#11392)
* [sonyprojector] Allow translation of exception messages that can be displayed in MainUI

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2021-11-13 00:29:32 +01:00
lolodomo
43b8aadf13
[remoteopenhab] Add all default translations to properties file (#11373)
Allows translating the remote openHAB binding strings with Crowdin.

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2021-11-12 22:00:31 +01:00
mlobstein
5c8e2a2bbf
[nuvo] Minor README edit and move logo to openhab-docs (#11556)
Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
2021-11-12 21:19:09 +01:00
lolodomo
b63545636a
[meteoblue] Add default translations to properties file (#11561)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2021-11-12 21:16:33 +01:00
lolodomo
5694d8a3c8
[voicerss] Add default translations to properties file (#11575)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2021-11-12 21:14:54 +01:00
Sami Salonen
dcca9c0ac6
[openhabcloud] reconnect on connection errors (#11153)
* [openhabcloud] reconnect on connection errors

According to documentation (albeit for 2.x Socket IO version) [1],
reconnection is responsibility of the user on connect_error events.

[1] Lifecycle diagram in
  https://socketio.github.io/socket.io-client-java/socket_instance.html

Signed-off-by: Sami Salonen <ssalonen@gmail.com>

* [openhabcloud] Update Socket IO dependency to 1.0.1

Signed-off-by: Sami Salonen <ssalonen@gmail.com>

* [openhabcloud] feature.xml updated also with socket io 1.0.1

Signed-off-by: Sami Salonen <ssalonen@gmail.com>

* [openhabcloud] Re-connect manually on error events when not connected

Signed-off-by: Sami Salonen <ssalonen@gmail.com>

* [openhabcloud] less loud logging on retries

Signed-off-by: Sami Salonen <ssalonen@gmail.com>

* [openhabcloud] removing unnecessary conditional in logging

Signed-off-by: Sami Salonen <ssalonen@gmail.com>

* [openhabcloud] javadoc corrections and clarifications

Signed-off-by: Sami Salonen <ssalonen@gmail.com>
2021-11-12 21:06:47 +01:00
lolodomo
58e7cb67bb
[rfxcom] Add default translations to properties file (#11532)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2021-11-12 11:43:06 +01:00
Christoph Weitkamp
c048268aa7
Added default i18n properties file (#11574)
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2021-11-12 11:37:01 +01:00
Christoph Weitkamp
65e22f2f12
[googletts] Added default i18n properties file (#11569)
* Added default i18n properties file

Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>

* Incorported comments from review

Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2021-11-12 10:15:19 +01:00
Andrew Fiddian-Green
cb13ec6f1a
[hdpowerview] Secondary shade position was inverted (#11552)
* [hdpowerview] get secondary shade position value was inverted

Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>

* [hdpowerview] remove testing Jar from PR

Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2021-11-12 01:23:25 +01:00