Commit Graph

64 Commits

Author SHA1 Message Date
Andrew Fiddian-Green
108067ac4b
[lifx] fix QuantityType command (#17943)
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2024-12-21 12:13:41 +01:00
Holger Friedrich
639a1cb263
Prepare for OH 5.0.0 (#17906)
* Switch to 5.0.0-SNAPSHOT
* Fix spotless after unleash
* resolve itest runbundles

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2024-12-15 20:30:05 +01:00
openhab-bot
f80fd3d18c [unleash-maven-plugin] Preparation for next development cycle. 2024-12-15 13:46:58 +00:00
Andrew Fiddian-Green
2080c85524
[various] Lamp handlers expose min/max Color Temperature in state description (#17641)
* Lamp handlers expose min/max Colour Temperature in state description
* add color temperature validit and range checks

Signed-off-by: AndrewFG <software@whitebear.ch>
2024-11-02 00:07:20 +01:00
lsiepel
20b889c029
Markdown Documentation fixes (#17526)
Signed-off-by: Leo Siepel <leosiepel@gmail.com>
2024-10-10 22:42:51 +02:00
Wouter Born
d362ae7d3e
[lifx] Add support for new LIFX products (#17386)
Allows for discovering the new LIFX B10 and T10 Candle products and their features.

See: https://github.com/LIFX/products/blob/master/products.json

Signed-off-by: Wouter Born <github@maindrain.net>
2024-09-07 22:49:53 +02:00
lsiepel
71a208b91b
Apply Spotless after release (#17016)
* Spotless

Signed-off-by: Leo Siepel <leosiepel@gmail.com>
2024-07-07 23:20:16 +02:00
openhab-bot
4b5e4646ac [unleash-maven-plugin] Preparation for next development cycle. 2024-07-07 18:09:31 +00:00
Wouter Born
79f71ee020
[lifx] Add support for new LIFX products (#16618)
* [lifx] Add support for new LIFX products

Allows for discovering all the new LIFX products and their features including:

* LIFX Ceiling
* LIFX Outdoor Neon
* LIFX PAR38
* LIFX Round/Square Path
* LIFX Round Spot

See:

* https://github.com/LIFX/products/blob/master/products.json
* https://www.lifx.com/products/neon-flex-16ft-outdoor
* https://www.lifx.com/products/supercolor-1600lm-par38
* https://www.lifx.com/products/spot-light-round
* https://www.lifx.com/products/path-light-round
* https://www.lifx.com/products/path-light-square

Signed-off-by: Wouter Born <github@maindrain.net>
2024-04-06 14:09:44 +02: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
533cc666ab
Apply spotless after release (#16097)
* Apply spotless after release
* itests: resolve bundles

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2023-12-22 23:30:38 +01:00
openhab-bot
83e0485219 [unleash-maven-plugin] Preparation for next development cycle. 2023-12-22 14:37:48 +00:00
Wouter Born
5177cf1e0c
[lifx] Add support for new LIFX products (#15957)
Allows for discovering all the new LIFX products and their features:

* LIFX Neon
* LIFX String

See:

* https://github.com/LIFX/products/blob/master/products.json
* https://www.lifx.com.au/products/neon-flex-2m-indoor
* https://www.lifx.com.au/products/lifx-string-light

Signed-off-by: Wouter Born <github@maindrain.net>
2023-11-25 22:56:04 +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
Kai Kreuzer
72607d3bee Apply spotless
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2023-07-24 01:20:31 +02:00
openhab-bot
809fceaff3 [unleash-maven-plugin] Preparation for next development cycle. 2023-07-23 19:19:01 +00: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
Wouter Born
f21f7bc8b3
Add more connection details to add-ons (#14813)
* Add more connection details to add-ons

Signed-off-by: Wouter Born <github@maindrain.net>
2023-04-15 21:23:24 +02:00
Wouter Born
2a2f6ffb58
[lifx] Add support for newer downlights (#14362)
Allows for discovering the new downlights (PID 121, 122) and their features.

See: https://github.com/LIFX/products/blob/master/products.json

Signed-off-by: Wouter Born <github@maindrain.net>
2023-02-08 23:50:40 +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
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
Cody Cutrer
f619798f81
[lifx] Handle and provide QuantityType for color-temperature-abs channel (#14025)
See https://github.com/openhab/openhab-core/pull/3129

Signed-off-by: Cody Cutrer <cody@cutrer.us>
2022-12-24 00:00:57 +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
Jerome Luckenbach
0e68936663
[Documentation] Markdown improvements f to m (#13866)
Signed-off-by: Jerome Luckenbach <github@luckenba.ch>
2022-12-08 21:36:05 +01:00
pali
590b2cb4f7
[lifx] Set tagged flag accordingly for unicast and broadcast messages (#13744)
* Set tagged flag accordingly
* Update packets

Also-by: Wouter Born <github@maindrain.net>
Signed-off-by: Pauli Anttila <pauli.anttila@gmail.com>
2022-12-05 10:00:10 +01:00
Дилян Палаузов
78534e8106
Typos a/an (#13812) 2022-12-01 14:30:50 +01:00
lolodomo
aea2fd4002
[lifx] Fix all code analysis findings (#13638)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-11-01 15:31:37 +01: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
lolodomo
b25753cb17
[lifx] Cleanup semantic tags (#12274)
Related to #12262

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-02-13 12:48:06 +01:00
lolodomo
1197c67bbb
Replace unknown category DimmableLight by Light (#12264)
Also replace unknwon category DimmableCT by ColorLight

Fix #12263

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-02-13 09:40:29 +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
Wouter Born
58d6123696
[lifx] Add support for new LIFX products (#12179)
Allows for discovering all the new LIFX products and their features.

Signed-off-by: Wouter Born <github@maindrain.net>
2022-01-31 12:35:54 +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
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
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
Wouter Born
81e201d163
[lifx] Add missing products (#11405)
Adds the products with IDs 93, 112, 113, 114 so that they can be discovered and the right features are available.

Fixes #11402

Signed-off-by: Wouter Born <github@maindrain.net>
2021-10-18 20:37:46 +02:00
Wouter Born
89ef91bad3
[lifx] Add channels for controlling absolute color temperature in Kelvin (#11309)
* [lifx] Add channels for controlling absolute color temperature in Kelvin

Adds an 'abstemperature' channel to all Thing Types for controlling the absolute color temperature in Kelvin.
MultiZone lights also have 'abstemperaturezone' channels that allow for controlling the color temperature of a zone in Kelvin.
These channels make it easier to use the same color temperature with lights that have a different color temperature range.
Furthermore the channel type tags have been updated which simplifies using the generated items with the semantic model.

Signed-off-by: Wouter Born <github@maindrain.net>
2021-09-27 22:00:01 +02:00
Wouter Born
344011c2ad
[lifx] Support HEV clean cycle (#11262)
* Implement HEV packets
* Add colorhevlight thing type with a hevcycle channel
* Update documentation

Signed-off-by: Wouter Born <github@maindrain.net>
2021-09-19 11:45:06 +02:00
Wouter Born
6c3e937f02
[lifx] Add missing color feature to a few products (#11180)
Updates the LIFX Candle (PID 68) and LIFX Clean (PID 90, 99) products to support color features.

Signed-off-by: Wouter Born <github@maindrain.net>
2021-08-31 19:43:38 +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