Commit Graph

1746 Commits

Author SHA1 Message Date
Christoph Weitkamp
e9ac2be397
[urtsi] Fixed leading spaces in translations (#11757)
* Fixed leading spaces in translations
* Add @text in binding.xml
* Added @text in urtsi.properties

Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2021-12-12 12:02:14 +01:00
Matthew Skinner
6077ce3c44
[ipcamera] Add new channel lastEventData for detailed extra data on alarms (#11748)
* Add new channel
* Last Event Data channel finished.
* Remove info logging.
* Fix bugs
* Fix ONVIF wont use different ports in xaddr paths.

Signed-off-by: Matthew Skinner <matt@pcmus.com>
2021-12-12 09:08:53 +01:00
Mark Herwege
cafed142e7
Add virtual flag handling. (#11751)
Signed-off-by: Mark Herwege <mark.herwege@telenet.be>
2021-12-11 19:39:40 +01:00
Martin Herbst
adecb53042
[homematic] Improve (re)connect handling to Homematic gateways (#11429)
* Use globally unique id for registration of callback to allow ...

the connection of multiple OH installations with one CCU.

The bridge id is not sufficient for this purpose because it is same in
all OH installations.


Signed-off-by: Martin Herbst <develop@mherbst.de>

* Retry callback re-registration after connection is resumed

Some services on the CCU need longer to start and are not available
immediately after the connection to the CCU has been resumed.

Improves the solution for #8808

Fixes #10439

Signed-off-by: Martin Herbst <develop@mherbst.de>

* Description was missing.

Signed-off-by: Martin Herbst <develop@mherbst.de>

* Changed setting name and description to avoid confusion


Signed-off-by: Martin Herbst <develop@mherbst.de>

* Added a troubleshooting tip to solve a communication problem


Signed-off-by: Martin Herbst <develop@mherbst.de>

* Shortened the label name to follow the guide lines

Signed-off-by: Martin Herbst <develop@mherbst.de>

* Print more information about the reason for the failure

Signed-off-by: Martin Herbst <develop@mherbst.de>

* Using scheduler thread pool and simplified configuration

Instead of configuring separate values for retry delays and number of
retries only the maximum time for retries can be configured.
The init method uses fixed delays.

Signed-off-by: Martin Herbst <develop@mherbst.de>

* Don't retry to send if gateway does not answer at all

Signed-off-by: Martin Herbst <develop@mherbst.de>

* Improved reconnect handling

- unregister callback not necessary if connection is lost
- wait 30s until clients and servers are restarted to give the gateway
some time to recover

Signed-off-by: Martin Herbst <develop@mherbst.de>

* Spotless

Signed-off-by: Martin Herbst <develop@mherbst.de>

* Cancel an active future if the binding is stopped

Signed-off-by: Martin Herbst <develop@mherbst.de>
2021-12-11 18:34:22 +01:00
openhab-bot
a1cded9fa3
New Crowdin updates (#11712)
* New translations ambientweather.properties (Italian)

* New translations amazondashbutton.properties (Italian)

* New translations openwebnet.properties (Italian)

* New translations lghombot.properties (Swedish)

* New translations playstation.properties (Swedish)

* New translations urtsi.properties (German)

* New translations chromecast.properties (German)

* New translations openhabcloud.properties (French)

* New translations openhabcloud.properties (Hungarian)

* New translations openhabcloud.properties (German)

* New translations logreader.properties (German)

* New translations googletts.properties (German)

* New translations avmfritz.properties (German)

* New translations thingstate.properties (French)

* New translations sncf.properties (French)

* New translations openweathermap.properties (German)

* New translations twitter.properties (French)

* New translations nikohomecontrol.properties (French)

* New translations gce.properties (French)

* New translations synopanalyzer.properties (French)

* New translations vigicrues.properties (French)

* New translations airquality.properties (French)

* New translations meteoblue.properties (French)

* New translations xmltv.properties (French)

* New translations sncf.properties (French)
2021-12-11 18:03:51 +01:00
Wouter Born
e7849c0060
Add default translations for persistence add-ons (#11754)
This makes the texts used by these add-ons translatable with Crowdin.

Signed-off-by: Wouter Born <github@maindrain.net>
2021-12-11 18:02:00 +01:00
Wouter Born
1b3818c329
Add default translations for transform add-ons (#11755)
This makes the texts used by these add-ons translatable with Crowdin.

Signed-off-by: Wouter Born <github@maindrain.net>
2021-12-11 18:01:29 +01:00
Florian Albrecht
13ca0d5500
[mqtt] Fix avail topics subscription after Brige Restart (#9851)
Fixes #9850

Signed-off-by: Florian Albrecht <cw.florian.albrecht@gmx.de>
2021-12-11 17:57:13 +01:00
nimric
ba3dfe3ed6
[jdbc] Add support for TimescaleDB (#11090) (#11091)
Signed-off-by: Riccardo Nimser-Joseph <github@nimric.de>

Co-authored-by: Riccardo Nimser-Joseph <github@nimric.de>
2021-12-11 17:50:40 +01:00
Sönke Küper
f2996aa723
Updated jsoup to 1.14.3 and adjusted some addons to use the provided version instaed of compile time dependency. (#11643)
Signed-off-by: Sönke Küper <soenkekueper@gmx.de>

Co-authored-by: Sönke Küper <soenkekueper@gmx.de>
2021-12-11 17:21:42 +01:00
jlaur
9f339c8ec4
[hdpowerview] Add support for enabling/disabling automations (#11637)
* Add support for enabling/disabling automations.

Fixes #11516

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

* Fix class description.

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

* Document automation channel and channel groups.

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

* Update scene example in documentation.

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

* Consolidate method for getting channel map.

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

* Extract channel updating from data fetching methods.

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

* Draft implementation of better automation description.

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

* Simplify and optimize building weekday string.

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

* Further simplify building weekday string.

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

* Update scheduled event channels when modified.

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

* Update scene channels when modified.

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

* Update scene group channels when modified.

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

* Fix cache synchronization during initialization.

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

* Reduced code duplication.

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

* Shorten time formatting.

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

* Danish translations for dynamic channels.

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

* Simplify, optimize and fix dynamic channel creation.

Channel order is now preserved when updating an existing channel.

Scenes and scene collection are sorted correctly.

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

* Provide backwards compatibility for deprecated channels.

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

* Document purpose of createDeprecatedSceneChannels.

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

* Cleaned up poll method for improved readability.

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

* Fix potential race condition when initialize() is called while updating channels.

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2021-12-11 17:20:11 +01:00
Flole998
145bd0ec97
[Homematic] Fix "Channel not found for Datapoint"-Errors (#11493)
Signed-off-by: Flole <flole@flole.de>
2021-12-11 17:02:27 +01:00
dalgwen
374a89a9fb
[pulseaudio] Add reencoding to play more audio formats (#11630) (#11631)
Add a pass to reencode PCM sound in 16 bit, 44100 hz, 2 channels, before sending it to the pulseaudio audio sink.

Signed-off-by: Gwendal Roulleau <gwendal.roulleau@gmail.com>

Co-authored-by: Gwendal Roulleau <gwendal.roulleau@gmail.com>
2021-12-11 13:08:03 +01:00
Frieso Aeschbacher
15b83cc40f
[dominoswiss] Initial contribution (#11585)
* Added Dominoswiss to CODEOWNERS and POMs

Signed-off-by: Frieso Aeschbacher <frieso.aeschbacher@gmail.com>

* Intitial contribution of Dominoswiss Binding

Signed-off-by: Frieso Aeschbacher <frieso.aeschbacher@gmail.com>

* Typo in pom.xml

Signed-off-by: Frieso Aeschbacher <frieso.aeschbacher@gmail.com>

* Fixed inputs from fwolter

Signed-off-by: Frieso Aeschbacher <frieso.aeschbacher@gmail.com>

* Fixed inputs from fwolter

Signed-off-by: Frieso Aeschbacher <frieso.aeschbacher@gmail.com>

* Fixed localWriter Issue

Signed-off-by: Frieso Aeschbacher <frieso.aeschbacher@gmail.com>

* Update bom/openhab-addons/pom.xml

Signed-off-by: Fabian Wolter <github@fabian-wolter.de>

Co-authored-by: Fabian Wolter <github@fabian-wolter.de>
2021-12-11 13:05:41 +01:00
Flole998
ebf2a76311
[Hueemulation] Fix xy change response (#10692)
Signed-off-by: Flole <flole@flole.de>
2021-12-11 11:35:33 +01:00
Jonathan Gilbert
c1b10c8363
Added simple Shared Cache into scope (#11693)
Signed-off-by: Jonathan Gilbert <jpg@trillica.com>
2021-12-11 11:13:55 +01:00
Wouter Born
e4b0d3f7ac
[plugwise] Fix 'power' channel not correctly updated with power production (#11746)
This fixes the issue that the 'power' channel would not update with the correct state because the number of pulses in the PowerInformationResponseMessage is signed instead of unsigned.
When the binding detected these strange readings it would normally log: "Circle (...) is in a kind of error state ...".

Signed-off-by: Wouter Born <github@maindrain.net>
2021-12-11 10:56:48 +01:00
Paul
3586146145
Fix link to JN-UG-3091.pdf #11736 (#11743)
Signed-off-by: prsnbrg <mail@paulrosenberg.de>
2021-12-10 15:46:03 +01:00
eugen
b89ae048e2
[homekit] make min/max values for Color Temperature configurable (#11717)
* make min/max values for ColorTemprature configurable

Signed-off-by: Eugen Freiter <freiter@gmx.de>
2021-12-10 00:20:28 +01:00
Mark Herwege
46971554e3
[nikohomecontrol] Fix dimmer control sequence (#11737)
* Fix dimmer control sequence

Signed-off-by: Mark Herwege <mark.herwege@telenet.be>
2021-12-09 18:59:18 +01:00
Stewart Cossey
85929a1d31
Fix smart water alert level. (#11734)
Signed-off-by: Stewart Cossey <stewart.cossey@gmail.com>
2021-12-09 12:35:29 +01:00
Stewart Cossey
dc11890f32
Change status channel from hash map values to state description options. (#11739)
Signed-off-by: Stewart Cossey <stewart.cossey@gmail.com>
2021-12-09 09:00:18 +01:00
eugen
1d65e10bba
[homekit] add setting to block homekit user/pairing deletion (#11731)
* add setting to block homekit user deletion and unpairing
* add logging
* remove . from settings label

Signed-off-by: Eugen Freiter <freiter@gmx.de>
2021-12-08 12:14:44 +01:00
Matthew Davies
8a8384e4e6
Update README.md (#11730)
Changed FanState channel to Switch and corrected small typing error

Signed-off-by: raveydavies <matthew.davies@skynet.be>
2021-12-07 22:57:41 +01:00
Bob A
25bfaa2372
[lutron] Explicitly enable proper monitoring types for HomeWorks connections (#11726)
* [lutron] Set default monitoring types for HomeWorks

Signed-off-by: Bob Adair <bob.github@att.net>
2021-12-07 21:17:11 +01:00
Wouter Born
fccfae81ee
[pollytts] Add default translations properties file (#11728)
Signed-off-by: Wouter Born <github@maindrain.net>
2021-12-07 17:47:53 +01:00
Marcel
b1bdcf7686
[miio] Fix zhimi.airpurifier.vb2 channel unit (#11722)
Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2021-12-07 12:50:10 +01:00
Christoph Weitkamp
95a2b333dd
Added support for HAN-FUN Color and Dimmable bulbs (#11723)
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2021-12-07 09:32:39 +01:00
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
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
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
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
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
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