Commit Graph

58 Commits

Author SHA1 Message Date
Jiri Kraus 9687c3da0a
[velux] Updated Discovery instructions for scenes and actuators (#14009)
* Updated Discovery instructions for scenes and actuators

Updated Discovery instructions as after KLF200 is auto discovered and configured discovery of scenes and actuators need to be manually triggered.

* @jirikraus Updated Discovery instructions for scenes and actuators

Formatting update to address comment from @andrewfg.
2022-12-27 16:08:12 +01:00
J-N-K 9f3b8e1c04
Raise minimum JDK version to 17 (#13276)
Signed-off-by: Jan N. Klug <github@klug.nrw>
2022-12-19 20:39:42 +01:00
J-N-K 4d6d6443ef
fix spotless after release (#14014)
Signed-off-by: Jan N. Klug <github@klug.nrw>
2022-12-19 15:22:17 +01:00
openhab-bot 7993786dc9 [unleash-maven-plugin] Preparation for next development cycle. 2022-12-19 00:55:11 +00:00
Дилян Палаузов ef836a15dc
typos: success, successful (#13997) 2022-12-18 14:18:24 +01:00
Дилян Палаузов 0ffc5257d5
Typos a/an (#13876) 2022-12-08 21:12:49 +01:00
Дилян Палаузов 2a5d6beb64
Typos a/an (#13846) 2022-12-05 18:47:43 +01:00
Дилян Палаузов 6c1373f7c2
Typos a/an (#13819) 2022-12-02 13:07:31 +01:00
Andrew Fiddian-Green 79309cb746
[velux] Bridge status shows offline when communication fails (#13406)
* [velux] dynamically update bridge on-/off- line state

Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2022-09-25 13:17:10 +02:00
Andrew Fiddian-Green ddd25316d9
[velux] Correction to channel label (#13379)
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>

Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2022-09-11 16:16:44 +02:00
Andrew Fiddian-Green 9123e1349e
[velux] Vane position channel is visible when required (#13271)
* [velux] make vanePosition channel dynamic
* [velux] change category of window position from 'blinds' to 'window'

Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2022-09-11 12:44:16 +02:00
Andrew Fiddian-Green 41fcdd6c71
[velux] Add an action to simultaneously set main and vane positions (#13199)
* [velux] add moveMainAndVane action
* [velux] add claridications to read me
* [velux] refactor actions and translate
* [velux] fix thing lookup

Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2022-08-15 12:36:25 +02:00
Andrew Fiddian-Green b075d3781c
[velux] Implement new API, and log critical device errors (#13212)
* [velux] use new API, and log StatusReply codes
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>

Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2022-08-12 09:26:51 +02:00
Andrew Fiddian-Green b9782484c6
[velux] Add support for vane/slat position (#12618)
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2022-07-31 15:15:25 +02:00
Kai Kreuzer 440f603e88
Apply spotless and resolver (#13027)
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2022-06-27 16:00:37 +02:00
openhab-bot ed4858ebbb [unleash-maven-plugin] Preparation for next development cycle. 2022-06-26 18:18:40 +00:00
Andrew Fiddian-Green 485ee144b0
[velux] Improvements to documentation (#12604)
* [velux] update readme per #12601; delete dead web links
* [velux] improve readability

Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2022-04-18 19:43:14 +02:00
Andrew Fiddian-Green e9cb9c30d0
[velux] Improve shutdown exception handling (#12356)
* [velux] add isDisposing flag to accelerate shutdown

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

* [velux] refactor Poller into a separate class

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

* [velux] use new Poller class; fix startup, shutdown, and exception code

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

* [velux] demote confusing log message

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

* [velux] slightly more elegant interrupt flag set / check

Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2022-03-19 15:00:30 +01:00
J-N-K 60f9f60faf
Adjustments after changing null-annotations for updating properties (#12221)
Signed-off-by: Jan N. Klug <github@klug.nrw>
2022-02-08 18:35:16 +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
Marcel cc47ef7f3e
pom update from http to https reference (#11833)
Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2021-12-23 19:40:44 +01:00
Kai Kreuzer 48746f5e3f Apply spotless
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2021-12-20 09:07:55 +01:00
openhab-bot 6dc031e6cf [unleash-maven-plugin] Preparation for next development cycle. 2021-12-20 00:30:46 +00:00
openhab-bot 4f59c5e8b0
New Crowdin updates (#11539)
* New translations powermax.properties (French)

* New translations openhabcloud.properties (German)

* New translations avmfritz.properties (German)

* New translations mail.properties (German)

* New translations hue.properties (German)

* New translations airquality.properties (French)

* New translations ntp.properties (German)

* New translations velux.properties (German)

* New translations mail.properties (German)

* New translations hue.properties (German)

* New translations avmfritz.properties (German)

* New translations pixometer.properties (German)

* New translations openuv.properties (French)
2021-11-11 13:26:04 +01:00
Wouter Born 589400e223
Fix/suppress PMD CompareObjectsWithEquals findings (#11476)
Newer PMD versions discover more CompareObjectsWithEquals findings.

Related to https://github.com/openhab/static-code-analysis/pull/423

Signed-off-by: Wouter Born <github@maindrain.net>
2021-11-02 10:43:53 +01:00
openhab-bot 28fb126754
New Crowdin updates (#11469)
* New translations lgwebos.properties (French)

* New translations intesis.properties (German)

* New translations zway.properties (German)

* New translations velux.properties (German)

* New translations pushsafer.properties (German)

* New translations pushover.properties (German)

* New translations hue.properties (German)

* New translations rotel.properties (French)

* New translations openuv.properties (French)

* New translations synopanalyzer.properties (French)

* New translations nikohomecontrol.properties (Dutch)
2021-10-31 10:57:32 +01:00
Wouter Born 3253fbece8
Align translation filenames with Crowdin (#11362)
Crowdin is configured to generate translations for languages without countries.

Signed-off-by: Wouter Born <github@maindrain.net>
2021-10-10 11:02:53 +02: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
openhab-bot 0ce4e8cb56
New Crowdin updates (#10570)
Signed-off-by: Wouter Born <github@maindrain.net>
2021-10-03 22:14:10 +02:00
Kai Kreuzer bebab9ce29 applied spotless
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2021-06-27 23:25:35 +02:00
jenkins 8c5c81e256 [unleash-maven-plugin] Preparation for next development cycle. 2021-06-27 17:35:01 +00:00
Christoph Weitkamp 541a71d1a1
[velux] Removed license header from properties files (#10613)
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2021-04-29 15:12:34 +02:00
Jerome Luckenbach 10f88c0934
Fix http -> https where applyable. (#10573)
Signed-off-by: Jerome Luckenbach <github@luckenba.ch>
2021-04-24 20:39:51 +02:00
Andrew Fiddian-Green 0b375dc28a
[velux] Fix synchronisation of handler initialization and disposal (#10449)
* [velux] break on socket timeout if interrupted flag set

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

* [velux] pause initialize until pending dispose is done

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

* [velux] synchronization key is IP address not ThingUID

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

* [velux] reduce logging level

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

* [velux] reduce logging level, improve user comprehensibility

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

* [velux] access updateBindingState() externally via static method

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

* [velux] tweak logging

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

* [velux] defer refreshBindingInfo until after initialized / disposed

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

* [velux] refactor method names to show the type of scheduler they run on

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

* [velux] don't terminate thread early

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

* [velux] restore calls to updateBindingState

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

* [velux] logger cosmetics

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

* [velux] reduce logging levels

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

* [velux] change logger level

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

* [velux] synch on ip address object instead of Future<>; make shutdown timeout explicit; disable HSM on shutdown

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

* [velux] add lock modifier, remove duplicate synchronized, refactor HSM shutdown

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

* [velux] shutdown code was not being called

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

* [velux] don't convert InterruptedException to IOException

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

* [velux] let shutdown explicity stop the polling loop

Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2021-04-22 23:23:26 +02:00
Hilbrand Bouwkamp 13a58b9458
Adds exceptions for KarafAddonFeatureCheck (#8613)
* Adds exceptions for KarafAddonFeatureCheck

Signed-off-by: Hilbrand Bouwkamp <hilbrand@h72.nl>
2021-04-08 22:55:29 +02:00
Andrew Fiddian-Green ad7472847f
[velux] fix 'required' tag again (#10417)
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2021-03-30 21:34:07 +02:00
Andrew Fiddian-Green 361a6726fc
[velux] Stability checks and improvements in slip io (#10119) 2021-03-26 17:13:37 +01:00
lolodomo 47ed851aa6
[velux] Fix deprecated tag "required" (#10362)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2021-03-21 16:40:29 +01:00
Hilbrand Bouwkamp 8889762bef
Removal of reference to PaperUI (#9905)
Related to #8607.

In some cases removed information that is actually generic information and should not be in binding readme.

Signed-off-by: Hilbrand Bouwkamp <hilbrand@h72.nl>
2021-01-22 09:51:24 +01:00
Andrew Fiddian-Green 3a0561becd
[velux] Remove jar from prior PR (#9822)
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2021-01-14 10:06:46 +01:00
Andrew Fiddian-Green b4705eb75c
[velux] Fixed a couple of bugs if the Bridge contains one or more Scenes (#9794)
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2021-01-13 23:01:01 +01: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
Andrew Fiddian-Green 27a02cac5a
[velux] Enabled background discovery (#9477)
* [velux] enable background discovery
* [velux] spotless
* [velux] adopt reviewer feedback

Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2020-12-27 17:55:20 -08:00
Wouter Born ecac667258
Apply Spotless, update skeleton project version, resolve itest runbundles (#9459)
Signed-off-by: Wouter Born <github@maindrain.net>
2020-12-22 10:37:44 +01:00
jenkins e4554f4aa6 [unleash-maven-plugin] Preparation for next development cycle. 2020-12-21 10:36:42 +00:00
Andrew Fiddian-Green ce5d5ca61d
[velux] fix bugs with Somfy devices, and switch devices (#9245)
* [velux] add data type to config params in readme
* [velux] eliminate mvn warning
* [velux] fix Somfy bugs: uniqueindex = serial number or name
* [velux] fix inconsistent switch state logic
* [velux] cosmetics on BRIDGE_THING_TYPE_UID

Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2020-12-08 09:20:14 -08:00
Andrew Fiddian-Green 072113f51b
[velux] hub discovery; representation properties; socket lock up issues (#8777)
* [velux] set explicit timeouts & keepalives on socket
* [velux] implement mdns service
* [velux] fix representation property names
* [velux] fix representation properties
* [velux] finalize mdns
* [velux] spotless
* [velux] use both mDNS and regular DNS to resolve ip addresses
* [velux] complete class rewrite using asynchronous polling thread
* [velux] refactor bridgeDirectCommunicate to simplify looping
* [velux] asynchronous polling means Thread.sleep no longer needed
* [velux] faster synch of actuator changes
* [velux] use single thread executor instead of thread pool
* [velux] faster synch of actuator changes
* [velux] shut down task executor

Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2020-12-01 09:05:51 -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
J-N-K bd664ff0c8
[infrastructure] add external null-annotations (#8848)
Signed-off-by: Jan N. Klug <jan.n.klug@rub.de>
2020-10-31 00:29:03 +01:00
Andrew Fiddian-Green 178e657d80
[velux] fix discovery service de- and re- registration (#8673)
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2020-10-08 19:13:35 +02:00