Commit Graph

29 Commits

Author SHA1 Message Date
openhab-bot
ed717c2c95
New Crowdin updates (#14531)
* New translations systeminfo.properties (German)
* New translations tado.properties (German)
* New translations bluetooth.properties (German)
* New translations bluetooth.properties (German)
* New translations mybmw.properties (German)
* New translations gardena.properties (German)
* New translations astro.properties (German)
* New translations avmfritz.properties (German)
* New translations chromecast.properties (German)
* New translations hue.properties (German)
* New translations logreader.properties (German)
* New translations icalendar.properties (German)
* New translations max.properties (German)
* New translations comfoair.properties (German)
* New translations denonmarantz.properties (German)
* New translations deutschebahn.properties (German)
* New translations dwdpollenflug.properties (German)
* New translations ecotouch.properties (German)
* New translations epsonprojector.properties (German)
* New translations exec.properties (German)
* New translations homematic.properties (German)
* New translations hpprinter.properties (German)
* New translations http.properties (German)
* New translations magentatv.properties (German)
* New translations awattar.properties (German)
2023-03-04 17:20:03 +01:00
lolodomo
8c09334943
[gardena] Adjust thread name for WEB clients (avoid IAE) (#14349)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2023-02-19 20:56:59 +01:00
J-N-K
89d0689e36
fix i18n for bindings (#14235)
Also-By: Jacob Laursen <jacob-github@vindvejr.dk>
Signed-off-by: Jan N. Klug <github@klug.nrw>
2023-01-21 12:14:51 +01:00
J-N-K
5f8214f08a
Adapt to core changes (addon.xml) (#13289)
Signed-off-by: Jan N. Klug <github@klug.nrw>
2023-01-15 20:31:42 +01:00
Holger Friedrich
4e44de3894
Fix SAT warnings (#14202)
* Fix SAT warnings

- checkstyle.ModifierOrderCheck
- checkstyle.OneStatementPerLineCheck
- checkstyle.NeedBracesCheck
- PMD.UseStandardCharsets
- PMD.UseCollectionIsEmpty
- PMD.UnusedLocalVariable
- PMD.SimplifyBooleanReturns where reasonable, suppress where
readability is better without change
- PMD.SimplifyBooleanExpressions

* Include StandardCharsets

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2023-01-13 08:11:06 +01:00
maniac103
f16f524877
[gardena] Fix server ping timeout logic (#14203)
On server timeouts, it's possible for multiple minutes to elapse
between receiving the last pong on the old connection and attempting to
send the next ping on the new connection. If that time span exceeded 5
minutes, the binding went into a minutely reconnection loop, because it
never attempted to send a ping anymore, which led to lastPong not being
updated anymore.
To fix this, replace the timing dependent timestamp handling by a simple
counter which counts how many consecutive ping attempts didn't receive
an answer, and closing the connection after 5 unsuccessful ping
attempts. That new counter is now also reset whenever the connection is
restarted.

Fixes #14188

Signed-off-by: Danny Baumann <dannybaumann@web.de>
2023-01-11 15:05:19 +01:00
Jacob Laursen
4dd6d3a8a2
Update license headers to 2023 (#14154)
* Update copyright year in configuration
* Update license headers

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2023-01-06 09:49:54 +01:00
Дилян Палаузов
0ffc5257d5
Typos a/an (#13876) 2022-12-08 21:12:49 +01:00
Дилян Палаузов
6c1373f7c2
Typos a/an (#13819) 2022-12-02 13:07:31 +01:00
openhab-bot
d0f12a7fd5
New translations gardena.properties (German) (#13256) 2022-08-14 00:00:40 +02:00
Andrew Fiddian-Green
bff2298b20
[gardena] synchronized (#13253)
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>

Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2022-08-12 17:32:51 +02:00
Gerhard Riegler
2d53243de7
[gardena] Fixed connection tracker (#13238)
* Removed provider header, no longer necessary
* Fixed connection tracker not starting after some websocket restarts

Signed-off-by: Gerhard Riegler <gerhard.riegler@gmail.com>
2022-08-12 16:54:24 +02:00
Andrew Fiddian-Green
ac12e5bfed
[gardena] Improve API rate limit handling (#13016)
* [gardena] eliminate dangling references on dispose
* [gardena] add fixes for 429 errors
* [gardena] apply rate limiting to binding restarts
* [gardena] eliminate NPE if startup fails with exception

Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2022-08-04 20:20:40 +02:00
Gerhard Riegler
ad9b4fbf79
[gardena] Adaptation of the login for API version 1.1 (#13050)
* Adaptation of the login for API version 1.1
* Fixed logging statement
* Fixed logging message
* Reverted changes in the german translation

Signed-off-by: Gerhard Riegler <gerhard.riegler@gmail.com>
2022-07-01 17:38:39 +02:00
Andrew Fiddian-Green
b5d7d22c1f
[gardena] eliminate ClassCastException (quick fix) (#13004)
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2022-06-24 18:25:43 +02:00
Jacob Laursen
3465e8f30d
[gardena] Fix null annotation issue (and compiler warning) (#12957)
* Fix compiler warning
* Add basic test coverage for DataItem deserialization
* Add full prefixes to attributes variables
* Add missing newlines at end of test payload files
* Add full prefix to attributes variable

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-06-23 09:11:20 +02:00
Andrew Fiddian-Green
4036888433
[gardena] remove compiler warnings (#12947)
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2022-06-16 21:44:25 +02:00
Bruetti1991
fd9fa722d3
[gardena] Fix handling of websocket connection losses that causes memory leaks (#11825)
* [gardena] Fix handling of websocket connection losses that causes memory leaks

* The binding no longer restarts websockets more than once if the connection is lost

Signed-off-by: Nico Brüttner <n@bruettner.de>
2022-06-14 21:12:14 +02:00
openhab-bot
15d1610952
New Crowdin updates (#12050)
* New translations tradfri.properties (Italian)

* New translations mycroft.properties (French)

* New translations deutschebahn.properties (German)

* New translations gardena.properties (German)

* New translations luftdateninfo.properties (German)

* New translations network.properties (Finnish)

* New translations publictransportswitzerland.properties (Finnish)

* New translations mycroft.properties (Finnish)

* New translations pushover.properties (German)

* New translations yamahamusiccast.properties (Italian)

* New translations ecotouch.properties (German)

* New translations voicerss.properties (French)
2022-01-28 07:58:33 +01:00
Hilbrand Bouwkamp
da59cdd255
Update license headers to 2022 (#11973)
Signed-off-by: Hilbrand Bouwkamp <hilbrand@h72.nl>
2022-01-06 18:14:47 +01:00
Wouter Born
07a1976c81
Add default translations for binding add-ons (#11760)
* Add default translations for binding add-ons

This makes the texts used by these add-ons translatable with Crowdin.

To keep the PR simple, it only adds default translations for add-ons which do not yet have any default translations properties file.
We can do follow up PRs for adding missing key/values to add-ons that already have these files or to remove duplications.

There are several add-ons in this PR that do have non-English translation files, so I'll upload those to Crowdin when the PR is merged.

Signed-off-by: Wouter Born <github@maindrain.net>
2021-12-15 18:40:21 +01:00
Wouter Born
798abaa4ca
Switch properties files encoding from ISO-8859-1 to UTF-8 (#11349)
* Switch properties files encoding from ISO-8859-1 to UTF-8

Crowdin will generate translations in this encoding, so this prevents a lot of diffs which makes it easier to review future Crowdin PRs.

Related to openhab/openhab-core#2298

Signed-off-by: Wouter Born <github@maindrain.net>
2021-10-09 19:56:49 +02:00
Gerhard Riegler
69bc7183d6
Fixed OutOfMemory error if initializing fails (#10924)
Signed-off-by: Gerhard Riegler <gerhard.riegler@gmail.com>
2021-07-15 19:48:01 +02:00
Wouter Born
0c36650179
Avoid star imports and add missing braces (#10521)
Fixes the following SAT findings:

* AvoidStarImportCheck (125)
* NeedBracesCheck (39)

Signed-off-by: Wouter Born <github@maindrain.net>
2021-04-15 16:12:05 +02:00
Wouter Born
d6364aceb1
Update license headers to 2021 (#9620)
Signed-off-by: Wouter Born <github@maindrain.net>
2021-01-02 22:03:14 +01:00
Gerhard Riegler
3b9c3cde8f
[gardena] Fixed illegal character in consumerName (#9407)
* Fixed illegal character in consumerName
* Fixed class hashCode

Signed-off-by: Gerhard Riegler <gerhard.riegler@gmail.com>
2020-12-17 17:42:29 -08:00
Gerhard Riegler
442a7cd31e
[gardena] Rewriting the Gardena binding (#8869)
* Rewriting the Gardena binding

Signed-off-by: Gerhard Riegler <gerhard.riegler@gmail.com>
2020-12-12 11:16:23 -08:00
Kai Kreuzer
007c3b56e5
removed deprecated author information from binding.xml (#9113)
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2020-11-23 19:06:33 -08:00
Kai Kreuzer
6df6783b60 added migrated 2.x add-ons
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2020-09-21 03:37:19 +02:00