Commit Graph

134 Commits

Author SHA1 Message Date
Andrew Fiddian-Green
f7295bd00f
[hdpowerview] Battery channels visible only when required (#13324)
* [hdpowerview] add batteryKind field
* [hdpowerview] battery channels visible depending on batteryKind

Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2022-08-28 13:55:18 +02:00
Andrew Fiddian-Green
0a41c3f2f6
[hdpowerview] Channels are visible depending on shade capabilities (#13275)
* [hdpowerview] create channels dynamically
* [hdpowerview] revert from channel creation to channel removal
* [hdpowerview] add category

Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2022-08-23 22:03:43 +02:00
Jacob Laursen
c7f8507cae
[hdpowerview] Refactor tests (#13175)
* Move test providers to dedicated folder
* Simplify resource loading
* Clarify what is being tested
* Extract online communication test to separate class
* Fix SAT findings
* Rename variable to comply with naming convention

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-07-30 20:43:17 +02:00
Jacob Laursen
5ec86ec614
Add additional hub properties (#13174)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-07-28 08:43:17 +02:00
Jacob Laursen
9ec6f7d12e
Add shade RF RSSI for hub/repeater (#13096)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-07-25 12:56:03 +02:00
Andrew Fiddian-Green
f7a228e9e9
[hdpowerview] override capabilities for shade types 54,55,56 (#13169)
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2022-07-24 15:02:43 +02:00
Jacob Laursen
0577ee8ad4
Fix excessive firmware version updates (#13155)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-07-21 19:32:42 +02:00
Andrew Fiddian-Green
4f57ae7879
[hdpowerview] add shades 31 & 33 (#13110)
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2022-07-10 17:25:15 +02:00
Andrew Fiddian-Green
650fc523b5
[hdpowerview] Return capabilities if capabilitiesOverride is not defined (#13031)
* [hdpowerview] bug fix capabilitiesOverride
* [hdpowerview] adopt reviewer requests
* [hdpowerview] suppress log warning on hub v1
* [hdpowerview] adopt reviwer suggestions

Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2022-06-30 10:40:37 +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
Jacob Laursen
b5489057b6
[hdpowerview] Refactor null-handling, maintenance period, response logging (#12950)
* Treat HDPowerViewWebTargets as non-null since initialized by initialize()
* Simplify maintenance period logic slightly
* Improve response logging

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-06-19 14:12:51 +02:00
openhab-bot
48c14e613c
New translations hdpowerview.properties (Danish) (#12963) 2022-06-19 08:45:42 +02:00
Jacob Laursen
72f947dee0
Regenerate i18n texts (#12951)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-06-17 07:31:24 +02:00
Jacob Laursen
ebca0812d1
Fix signalStrength channel update after REFRESH command (#12930)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-06-13 07:46:20 +02:00
Andrew Fiddian-Green
c806c76631
[hdpowerview] Corrections to shade database and capabilities (#12902)
* [hdpowerview] add type 66 shutters to database
* [hdpowerview] shade database updates
* [hdpowerview] shade database additions and corrections
* [hdpowerview] enhance database features
* [hdpowerview] fix capabilities 8, 9 functionality
* [hdpowerview] adjust tests to match new capabilities
* [hdpowerview] correct method visibility
* [hdpowerview] test type 44
* [hdpowerview] remove comment
* [hdpowerview] name change
* [hdpowerview] remove comments attribute
* [hdpowerview] refactor capabilities code
* [hdpowerview] 'hard' properties now hidden
* [hdpowerview] adopt reviewer suggestion
* [hdpowerview] refactor constant names

Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2022-06-10 20:10:31 +02:00
Jacob Laursen
f986183a21
[hdpowerview] Fix output to console from tests and eliminate warnings (#12824)
* Avoid logging to console
* Fix redundant null checks

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-06-04 08:44:44 +02:00
Andrew Fiddian-Green
668eb4d3a2
[hdpowerview] add type 66 shutters to database (#12857)
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2022-06-01 22:38:18 +02:00
Andrew Fiddian-Green
308bb3013a
[hdpowerview] Change method names to match documentation (#12796)
* [hdpowerview] refactor method names

Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2022-05-24 21:50:41 +02:00
Andrew Fiddian-Green
af4ad689ac
[hdpowerview] add type 38 shade to database (#12761)
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2022-05-18 17:36:57 +02:00
openhab-bot
5005dc002f
New Crowdin updates (#12392)
* New translations bluetooth.properties (Finnish)
* New translations danfossairunit.properties (Danish)
* New translations hdpowerview.properties (Danish)
* New translations jruby.properties (Italian)
* New translations miele.properties (Danish)
* New translations mqtt.properties (Italian)
* New translations openwebnet.properties (Italian)
2022-03-07 21:25:05 +01:00
Fabian Wolter
d35e96ab3f
[hdpowerview] Remove unnecessary init checks and fix Thing status detail (#12331)
* [hdpowerview] Remove unnecessary init checks and fix Thing status detail

Signed-off-by: Fabian Wolter <github@fabian-wolter.de>
2022-02-28 22:53:33 +01:00
Jacob Laursen
2d54347b65
[hdpowerview] Divide thing descriptions into separate files (#12364)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-02-23 22:43:51 +01:00
Jacob Laursen
0b992cd50b
[hdpowerview] Fix SAT warning (#12365)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-02-23 22:39:18 +01:00
Fabian Wolter
223c9f929b
[hdpowerview] Let the framework change the child Thing statuses (#12330)
Signed-off-by: Fabian Wolter <github@fabian-wolter.de>
2022-02-23 15:23:19 +01:00
Jacob Laursen
c03dbfd520
Interrupt current thread on InterruptedException (#12323)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-02-20 14:22:40 +01:00
Jacob Laursen
2e72ac78fd
[hdpowerview] Add support for setting repeater LED color and brightness (#12308)
* Add support for setting repeater LED color and brightness.

Fixes #12307

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-02-19 21:48:38 +01:00
Jacob Laursen
1be50736e3
Fix recent regression when bridge is offline while initializing child things. (#12259)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-02-10 23:34:14 +01:00
Andrew Fiddian-Green
a3448a57d3
[hdpowerview] Fix for capabilities:1 shades (#12237)
* [hdpowerview] fix capabilities:1

Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2022-02-08 13:16:32 +01:00
Jacob Laursen
e9deeccf49
Eliminate risk of bad firmware response breaking shade/scene updates. (#12214)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-02-05 21:23:36 +01:00
Jacob Laursen
97422175c7
Update README after latest changes. (#12173)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-02-05 09:26:08 +01:00
Jacob Laursen
97db73938d
Improve error handling for unknown shades and timeouts. (#12181)
Fixes #12180

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-02-03 23:45:41 +01:00
Jacob Laursen
fd6c8eeb80
[hdpowerview] Add shade identify command (#12175)
* Add shade identify command.

Fixes #12174 

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-01-31 18:38:40 +01:00
Jacob Laursen
dab48ddd95
[hdpowerview] Optimize initialization of shades (#12113)
* Optimize initialization of shades.

Fixes #12071

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

* Avoid hashmap reallocation during initialization.

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-01-28 07:47:32 +01:00
Jacob Laursen
608d0ae23a
[hdpowerview] Fix autoupdate quirk. (#12141)
Fixes #12140

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-01-27 21:38:29 +01:00
Jacob Laursen
369b985192
[hdpowerview] Convert calibrate to command channel. (#12138)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-01-27 20:49:27 +01:00
Andrew Fiddian-Green
8a2d507b21
[hdpowerview] Added support for rear blackout panel (#12098)
* [hdpowerview] refactor enum constant names
* [hdpowerview] add support for blackout shades
* [hdpowerview] unit tests for capabilities 8 & 9
* [hdpowerview] delete no longer valid comment
* [hdpowerview] blackout shade position is never UNDEF
* [hdpowerview] updated read me
* [hdpowerview] refactor unit tests into two classes

Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2022-01-25 20:09:14 +01:00
Jacob Laursen
9d361c1fa3
[hdpowerview] Add support for repeaters (#12061)
* Add support for repeaters.

Fixes #12060

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

* Simplify thing type filtering.

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

* Improve robustness of configuration ID validation/initialization.

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

* Convert repeater-identify to command channel.

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

* Fix logged warning.

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

* Skip unneeded bridge status logic.

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

* Skip redundant logging.

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

* Fix chanenl type label for blinking enabled.

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-01-24 22:42:53 +01:00
Andrew Fiddian-Green
c828d81dbb
[hdpowerview] Update shade database (#12081)
* [hdpowerview] update shade database

* [hdpowerview] add type 65 shade capabilities 8

Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2022-01-21 20:32:28 +01:00
Jacob Laursen
e44dfe7dbc
[hdpowerview] Refactor dynamic channels (#11853)
* Extract dynamic channel creation to separate classes.
* Avoid double list allocations.
* Add test coverage for scenarios with no channels built.
* Extract common builder stuff to super class.
* Fix grammar.
* Reduce constructor access modifiers.
* Removed unneeded this keyword for protected method.
* Fix null annotation issues.

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-01-17 13:41:33 +01:00
Jacob Laursen
fee45a5b94
[hdpowerview] Refactor exception handling (#12049)
* Refactor exception handling.

Fixes #12048

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-01-15 19:16:09 +01:00
Jacob Laursen
2832567fc9
[hdpowerview] Add support for calibrating a shade (#12002)
* Add support for calibrating a shade.

Fixes #11767

* Fix startup problems by decoupling capabilities cache from updateSoftProperties.
* Minor refactoring of capabilities and shade id handling.
* Dispose faster/safer by killing any remaining tasks.
* Set shade thing status to UNKNOWN until we receive any data for shade.
* Fix position update glitch after setting position.
* Remove unneeded catch after shade id refactoring.
* Document return values in Javadoc.
* Avoid logging InterruptedException during dispose.
* Add calibration example item.
* Reduce nesting.
* Add myself as reviewer for binding.
* Add Andrew Fiddian-Green as reviewer for binding.
* Handle JsonParseException.
* Fix alphabetic order.

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-01-14 22:59:01 +01:00
Andrew Fiddian-Green
67ccf858f8
[hdpowerview] update shade database (#12045)
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2022-01-14 19:43:11 +01:00
Jacob Laursen
d07348b216
[hdpowerview] Fix SAT warnings (#12032)
* Fix SAT warnings about missing @NonNullByDefault.
* Move part of firmware JSON response validation to HDPowerViewWebTargets.

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-01-14 19:35:56 +01:00
Jacob Laursen
78fd621ad9
Use standard firmware property constant. (#11989)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-01-07 21:31:59 +01:00
Jacob Laursen
05ebeea86b
[hdpowerview] Add firmware information properties for hub and shade. (#11980)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-01-07 10:33:52 +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
Andrew Fiddian-Green
d45bcdb7aa
[hdpowerview] Fix secondary position bug. Add shade database and properties. (#11698)
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2022-01-04 20:23:48 +01:00
Jacob Laursen
5c9da5687c
Support refresh command for signalStrength items. (#11944)
Fixes #11942

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-01-03 13:36:36 +01:00
Jacob Laursen
e8df66f1d0
[hdpowerview] Refresh battery level when receiving refresh command (#11933)
* Refresh battery level when receiving REFRESH command.

Fixes #11932

Update README with shade refresh logic.

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-01-02 13:44:51 +01:00
Jacob Laursen
155ecf4d25
Fix scene group support for Hub v1. (#11857)
Fixes #11856

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2021-12-26 16:38:20 +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
jlaur
817de38683
[hdpowerview] Update positions after triggering scene/scene group (#11768)
* Update positions after triggering scene/scene group.
* Compare enum values directly with ==
* Fix re-entrant calls.

Fixes #11697

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2021-12-20 20:32:48 +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
jlaur
caa9e3500d
Fix deprecated channels on reinitialization. (#11779)
Fixes #11778

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2021-12-15 11:41:50 +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
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
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
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
jlaur
805d56dc08
[hdpowerview] Add Hub configuration option hardRefreshBatteryLevel (#11260)
* Add Hub configuration option hardRefreshBatteryLevel for refreshing battery status more frequently.
* Explicitly update battery channels to Undefined when data is missing or invalid.

Fixes #11259

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2021-09-18 13:55:04 +02:00
jlaur
56a0449ce1
[hdpowerview] Add new battery level channel (#11206)
* Introduce new batteryLevel channel.

Fixes #11205

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2021-09-08 20:36:59 +02:00
jlaur
0087c8c828
[hdpowerview] Add new signal strength channel (#11198)
* Add new signal strength channel.

Fixes #11197

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2021-09-04 15:49:33 +02:00
jlaur
3a36b1e70d
Fix channel lowBattery being updated to ON when no battery status available. (#11201)
Fixes #11200

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2021-09-04 15:48:19 +02:00
jlaur
4e50a985e6
[hdpowerview] Add new batteryVoltage channel (#11155)
* Add new batteryVoltage channel.

Fixes #11154

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

* Fix documentation for lowBattery.

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

* Organized channels into two groups: Shade and Battery.

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

* Revert breaking change.

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2021-08-26 18:57:27 +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
Wouter Born
1633c705a1
Use Collection.isEmpty (#10525)
Fixes 47 SAT UseCollectionIsEmpty findings.

Signed-off-by: Wouter Born <github@maindrain.net>
2021-04-15 21:00:47 +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
Kai Kreuzer
66dbc6fbf0
[hdpowerview] Correctly embed dependency in binding (#10450)
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2021-04-03 21:59:15 +02:00
Kai Kreuzer
104360e094
Change dependency group id to version available on Maven Central (#10350)
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2021-03-19 13:42:45 +01:00
Andrew Fiddian-Green
596b261d47
[hdpowerview] Eliminate nightly crash dump in OH3 (#10118)
* [hdpowerview] refactor from jax-rs to http client
* [hdpowerview] adopt proposals of code reviewer
* [hdpowerview] adopt additional proposals of code reviewer
* [hdpowerview] provide exception class name

Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2021-02-16 12:22:27 -08: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
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
J-N-K
97d9bda0a1
[hdpowerview] fix classnotfoundexception (#9224)
Signed-off-by: Jan N. Klug <jan.n.klug@rub.de>
2020-12-04 10:25:41 -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
Andrew Fiddian-Green
0856a0b3f2
[hdpowerview] deferred instantiation of JAX-RS client (#9002)
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2020-11-11 19:49:27 -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
5fe7cc5810
[hdpowerview] discovery could wrongly return a ThingUID based on a hub's Ipv6 address instead of its Ipv4 address (#8778)
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2020-10-18 20:26:50 +02:00
Hilbrand Bouwkamp
003c3af985
Remove immediate = true from all Components (#8615)
We recommend not to use this on add-ons.

Signed-off-by: Hilbrand Bouwkamp <hilbrand@h72.nl>
2020-10-01 20:27:01 -07:00
Wouter Born
7f39d01a0f
Remove/ignore Eclipse project files (#8529)
Fixes #8451

Signed-off-by: Wouter Born <github@maindrain.net>
2020-09-21 22:50:37 +02:00
Wouter Born
bd82ca82df
Migrate tests to JUnit 5 (#8519)
Signed-off-by: Wouter Born <github@maindrain.net>
2020-09-21 18:21:26 +02: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