Commit Graph

68 Commits

Author SHA1 Message Date
Wouter Born
8672ed0208
Start license headers with /* instead of /** (#18061)
Prevents JavaDoc tooling issues because these tools check comments starting with `/**`.

Signed-off-by: Wouter Born <github@maindrain.net>
2025-01-07 22:33:03 +01:00
Jeremy
8a442d9aff
[insteon] Fix scene channel state updates (#18050)
Signed-off-by: Jeremy Setton <jeremy.setton@gmail.com>
2025-01-06 21:51:11 +01:00
Jeremy
51b5c89b6b
[insteon] Add device refresh all command parameter (#18051)
Signed-off-by: Jeremy Setton <jeremy.setton@gmail.com>
2025-01-06 13:09:20 +01:00
Jeremy
19ca89c301
[insteon] Fix legacy all link broadcast message not processed (#18049)
Signed-off-by: Jeremy Setton <jeremy.setton@gmail.com>
2025-01-06 13:08:17 +01:00
Jeremy
11baab4231
[insteon] Fix x10 device message handling (#18031)
Signed-off-by: Jeremy Setton <jeremy.setton@gmail.com>
2025-01-05 00:44:31 +01:00
Jeremy
d54a51b732
[insteon] Add modem database backup restore console commands (#17958)
Signed-off-by: jsetton <jeremy.setton@gmail.com>
2025-01-04 21:10:41 +01:00
Wouter Born
d6476042ec
Update license headers to 2025 (#18015)
* Update license headers to 2025

Signed-off-by: Wouter Born <github@maindrain.net>
2025-01-02 00:30:12 +01:00
Jeremy
33d3577230
[insteon] Fix motion sensor device type config typo (#18002)
Signed-off-by: Jeremy Setton <jeremy.setton@gmail.com>
2024-12-30 09:07:38 +01:00
Jeremy
24f4fc3d70
[insteon] Add led brightness on level channel parameter (#17987)
Signed-off-by: jsetton <jeremy.setton@gmail.com>
2024-12-27 00:19:58 +01:00
Jeremy
bbdf3e3479
[insteon] Fix led command stack overflow error (#17977)
Signed-off-by: jsetton <jeremy.setton@gmail.com>
2024-12-26 23:54:24 +01:00
Jeremy
c7e7f3059a
[insteon] Fix legacy backward compatibility (#17981)
Signed-off-by: jsetton <jeremy.setton@gmail.com>
2024-12-25 23:04:43 +01:00
Jeremy
1b75e03ca8
[insteon] Refactor iostream transport classes (#17930)
Signed-off-by: jsetton <jeremy.setton@gmail.com>
2024-12-22 00:47:36 +01:00
Jeremy
2ab9822605
[insteon] Use shared jetty http client (#17922)
Signed-off-by: jsetton <jeremy.setton@gmail.com>
2024-12-19 23:39:33 +01:00
Jacob Laursen
6e2eb70950 Simplify DateTimeType handling for Insteon
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2024-12-19 11:56:36 +01:00
Jeremy
a94e4a1c50
[insteon] Convert legacy threads to use scheduler service (#17904)
Signed-off-by: jsetton <jeremy.setton@gmail.com>
2024-12-18 20:19:18 +01:00
lsiepel
fb54c2baca
Normalize thread names (#17804)
Signed-off-by: Leo Siepel <leosiepel@gmail.com>
2024-12-08 01:15:43 +01:00
Jeremy
7a5ba4e9b0
[insteon] Refactor msg definition/factory and product data classes (#17537)
Signed-off-by: jsetton <jeremy.setton@gmail.com>
2024-10-10 21:15:31 +02:00
Jeremy
fbf61e636c
[insteon] Update remote device support (#17540)
* [insteon] Fix remote device not polled when awake

Signed-off-by: jsetton <jeremy.setton@gmail.com>
2024-10-10 21:02:52 +02:00
Jeremy
d923eb97ce
[insteon] Rewrite with backward compatibility (#17146)
* [insteon] Restructure legacy code for rewrite

Signed-off-by: jsetton <jeremy.setton@gmail.com>
2024-10-10 06:49:49 +02:00
Holger Friedrich
54fd13b0c1
Reduce SAT warnings (#17406)
* Reduce SAT warnings

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2024-09-13 17:20:11 +02:00
robnielsen
c5a3753dd2
[insteon] redact password from thing status and log file when hub initialization fails (#16075)
Signed-off-by: Rob Nielsen <rob.nielsen@yahoo.com>
2024-02-19 14:46:53 +01:00
Wouter Born
a2868bb0dc
Use diamond operator and remove redundant type arguments (#16249)
Signed-off-by: Wouter Born <github@maindrain.net>
2024-01-09 23:46:15 +01:00
Wouter Born
3415397a83
Remove unnecessary semicolons (#16214)
This helps with stopping the proliferation of unnecessary semicolons.

Signed-off-by: Wouter Born <github@maindrain.net>
2024-01-05 23:56:58 +01:00
Jacob Laursen
f4596f581e
Update license headers to 2024 (#16168)
* Update copyright year in configuration
* Update license headers
* Manually update nibeheatpump headers (.cpp/.h/.ino)
* Manually update smsmodem header
* Manually update hueemulation header
* Manually update addon-header.xml header

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2024-01-01 18:14:57 +01:00
Wouter Born
c58d894bf0
Use OnOffType.from to reduce code (#16101)
You can create an `OnOffType` using a boolean nowadays which reduces the amount of code.

Signed-off-by: Wouter Born <github@maindrain.net>
2023-12-23 19:06:21 +01:00
Holger Friedrich
f24a4305b8
Improve javadoc for some addons (#15701)
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2023-10-08 00:25:04 +02:00
Holger Friedrich
cbf4411034
Improve javadoc for all addons (#15667)
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2023-09-30 21:49:12 +02:00
Holger Friedrich
edaf17b345
Java 17 features (H-M) (#15520)
- add missing @override
- Java style array syntax
- remove redundant modifiers
- always move String constants to left side in comparisons
- simplify lambda expressions and return statements
- use replace instead of replaceAll w/o regex
- instanceof matching and multiline strings
- remove null check before instanceof

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2023-09-08 14:36:59 +02:00
robnielsen
216b41a2ef
[insteon] Add connection details (#14864)
Signed-off-by: Rob Nielsen <rob.nielsen@yahoo.com>
2023-04-21 14:04:07 +02:00
Wouter Born
83cbe746d0
Remove redundant modifiers from interfaces (#14843)
Signed-off-by: Wouter Born <github@maindrain.net>
2023-04-18 13:07:04 +02: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
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
Дилян Палаузов
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
robnielsen
24e9228699
[insteon] set network to ONLINE after driver is initialized (#13030)
* [insteon] set network to ONLINE after driver is initialized

Signed-off-by: Rob Nielsen <rob.nielsen@yahoo.com>
2022-07-26 19:49:05 +02:00
robnielsen
3349cf4945
[insteon] set device offline if it doesn't exist in the plm/hub database (#12904)
* [insteon] set device offline if it doesn't exist in the plm/hub database
* [insteon] use a flag to indicate if a device is linked or not
* [insteon] set config to @NonNullByDefault({}) instead of @Nullable
* [insteon] cleanup

Signed-off-by: Rob Nielsen <rob.nielsen@yahoo.com>
2022-06-14 23:26:08 +02:00
robnielsen
53db5c4822
[insteon] change .equals() to == for ThingStatus equality check (#12826)
Signed-off-by: Rob Nielsen <rob.nielsen@yahoo.com>
2022-05-27 16:12:04 +02:00
robnielsen
88e7ba3774
[insteon] set device to offline if network is not online after initialization (#12790)
* [insteon] set device to offline if network is not online during initialization

Signed-off-by: Rob Nielsen <rob.nielsen@yahoo.com>
2022-05-27 14:14:43 +02:00
robnielsen
5b79e18289
[insteon] ignore commands if device is not online (#12787)
Signed-off-by: Rob Nielsen <rob.nielsen@yahoo.com>
2022-05-23 21:56:35 +02:00
Wouter Born
14058c1603
[insteon] Prevent null values from being inferred when printing to console (#12243)
This prevents the null analysis from inferring null values when printing to a Console.

Related to openhab/openhab-core#2742

Signed-off-by: Wouter Born <github@maindrain.net>
2022-02-08 21:27:17 +01:00
robnielsen
37c028ddc0
[insteon] Ignore missing network handler when disposing a device (#12169)
Signed-off-by: Rob Nielsen <rob.nielsen@yahoo.com>
2022-01-30 18:50:47 +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
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
robnielsen
3e94bb1e19
[insteon] added representation property for devices (#10908)
Signed-off-by: Rob Nielsen <rob.nielsen@yahoo.com>
2021-07-06 19:51:09 +02:00
robnielsen
84a4896ffc
[insteon] add a read timeout when getting data from Insteon 2245-222 hub (#10708)
Signed-off-by: Rob Nielsen <rob.nielsen@yahoo.com>
2021-05-17 22:12:02 +02:00
robnielsen
9ba28a50cc
[insteon] Fix SAT warnings (#10688)
Signed-off-by: Rob Nielsen <rob.nielsen@yahoo.com>
2021-05-14 10:22:55 +02:00