Commit Graph

138 Commits

Author SHA1 Message Date
Holger Friedrich
df884ac643
Upgrade SAT plugin to 0.16.0 (#16582)
Modify code which leads to build error with new version of SpotBugs.

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2024-03-31 10:43:44 +02:00
maniac103
afa65f251d
[hue] Shrink step size for increase/decrease commands (#16538)
A step size of 30 with a value range of 0..100 leads to only 4 steps,
which additionally are spaced unevenly. Shrink the step size to 10,
which yields 10 evenly spaced steps.
While at it, also deduplicate the increase/decrease code, which had
slightly different implementation in both branches.

Signed-off-by: Danny Baumann <dannybaumann@web.de>
2024-03-18 11:56:42 +01:00
Jacob Laursen
3ca7777422
Fix NullPointerException (#16356)
Resolves #16180

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2024-02-04 12:06:14 +01:00
Jacob Laursen
daea030c11
Refactor java.util.Date usages to java.time.Instant (#16239)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2024-01-13 17:12:49 +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
4fe00bb2bf
Remove redundant feature dependencies (#16204)
* Remove redundant feature dependencies

The following features are already dependencies of openhab-runtime-base:

* openhab-core-base
* openhab-core-model-item
* openhab-core-model-script
* openhab-transport-mdns

See also: https://github.com/openhab/openhab-addons/pull/16202#issuecomment-1876875456

* Remove redundant openhab.tp-jackson and openhab.tp-jaxb feature dependencies

Signed-off-by: Wouter Born <github@maindrain.net>
2024-01-05 20:00:24 +01:00
J-N-K
3136425b39
Adapt to core changes (ThingHandlerService) (#16107)
Related to: https://github.com/openhab/openhab-core/pull/3957

Signed-off-by: Jan N. Klug <github@klug.nrw>
2024-01-03 11:50:55 +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
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
Andrew Fiddian-Green
d2e271d053
[hue] recreate missing scene channel (#16038)
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2023-12-16 21:16:02 +01:00
Mark Herwege
463cebcbdf
change mdns add-on discovery syntax (#16060)
Signed-off-by: Mark Herwege <mark.herwege@telenet.be>
2023-12-16 14:14:32 +01:00
Jacob Laursen
f45630064a
Fix scene channel updates (#16018)
Fixes #16000

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

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2023-12-12 08:46:29 +01:00
Jacob Laursen
849117c7a4
[hue] Improve handling of unknown resource ID (API v2) (#16020)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2023-12-08 15:53:58 +01:00
Andrew Fiddian-Green
3814f37d9a
Make bindings discoverable on system startup (#15817)
* [discovery-methods] mDNS discovery methods
* [discovery-methods] UPnP discovery methods

---------

Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2023-12-07 20:34:45 +01:00
openhab-bot
5b98e41b7a
New translations hue.properties (Italian) (#16011) 2023-12-06 17:24:48 +01:00
Andrew Fiddian-Green
4476e6dcd0
[hue] Fix edge cases for broken lights (#15999)
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2023-12-06 15:22:04 +01:00
Jacob Laursen
2fae1dd99e
Use auto update policy 'veto' for light channels (#15984)
Resolves #15983

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2023-12-05 18:56:46 +01:00
Jacob Laursen
a76187fa3a
Fix multiple state updates (#15905)
Fixes #15700

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2023-12-04 22:40:31 +01:00
Andrew Fiddian-Green
73ec188067
[hue] eliminate scenes having the same name (#15976)
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2023-11-29 22:36:44 +01:00
Jacob Laursen
b80273a88a
[hue] Refactor method to reduce nesting and code duplication(#15971)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2023-11-29 12:20:57 +01:00
Jacob Laursen
c7aed14a49
Reorganize API classes (#15934)
Resolves #15731

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2023-11-25 12:33:59 +01:00
openhab-bot
6db0b18ab3
New translations hue.properties (Italian) (#15874) 2023-11-09 18:48:41 +01:00
Andrew Fiddian-Green
4f6d33bb79
[hue] Support new home security products (#15601)
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2023-11-09 08:09:20 +01:00
Jacob Laursen
740f80fff1
Reduce log level for logging of unknown resource types (#15815)
Resolves #15468

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2023-11-03 14:02:58 +01:00
Jacob Laursen
1702631303
[hue] Add channels for time of last sensor update (API v2) (#15552)
* Add channels for last motion/temperature sensor update (API v2)
* Add channel for last light level sensor update (API v2)
* Add channel for last rotary steps update (API v2)
* Add channel for last button update (API v2)

Resolves #15546

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2023-10-26 23:52:00 +02:00
Andrew Fiddian-Green
a0bc1e0f8b
[hue] Support smart scenes (#15388)
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2023-10-17 14:35:21 +02:00
Gemertw
57b265574d
Update readme_v2.md (#15656)
Under demo.items the button-last-event channel was of the Number type. I have changed this to String.
In the channels for devices section this was already corrected but is not 'live' yet?

Signed-off-by: Gemertw <59452423+Gemertw@users.noreply.github.com>
2023-10-14 19:35:01 +02:00
Andrew Fiddian-Green
247c0973b6
[hue] Support timed effects (#15408)
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2023-10-14 19:30:15 +02:00
Jacob Laursen
4b0c551065
[hue] Fix channel refresh (API v2) (#15736)
* Fix refresh/initial state request

Fixes #15735

* Fix channel updates when thing comes online
Fixes #15669

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
Also-by: Andrew Fiddian-Green <software@whitebear.ch>
2023-10-14 19:18:52 +02:00
Andrew Fiddian-Green
2382a557d3
[hue] support new effects (#15732)
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2023-10-10 19:11:36 +02: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
Jacob Laursen
e9305c3709
[hue] Cleanup code (#15715)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2023-10-07 15:08:02 +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
Jacob Laursen
c9e6417754
Fix NUPnP discovery after firmware change (#15622)
Fixes #15598

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2023-09-23 19:05:32 +02:00
openhab-bot
6a31dfaebe
New translations hue.properties (Italian) (#15572) 2023-09-10 07:55:43 +02:00
Jacob Laursen
9bbcb85f59
[hue] Fix and improve error logging and status descriptions for API v2 (#15512)
* Provide detailed error information on failed commands
* Log as info when command succeeds
* Revert collect(Collectors.toList()) refactoring
* Provide exception message in status description

Fixes #15511

---------

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2023-09-09 12:05:38 +02:00
Andrew Fiddian-Green
7fb9efc885
[hue] Improve connection stability (#15477)
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2023-08-26 17:19:37 +02:00
Jacob Laursen
db651f9e92
[hue] Fix exception being displayed in bridge status description (#15475)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2023-08-24 06:39:27 +02:00
Jacob Laursen
bf892b6b96
[hue] Fix compiler warnings (#15419)
* Fix compiler warnings
* Fix integration test compiler/SAT warnings

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2023-08-21 21:14:18 +02:00
openhab-bot
2886175120
New Crowdin updates (#15407)
* New translations hue.properties (Italian)

* New translations deconz.properties (Italian)

* New translations anel.properties (Italian)

* New translations atlona.properties (Italian)

* New translations electroluxair.properties (Italian)

* New translations groupepsa.properties (Italian)

* New translations somneo.properties (Italian)

* New translations meater.properties (Italian)

* New translations juicenet.properties (Italian)

* New translations volumio.properties (Italian)

* New translations asuswrt.properties (Italian)
2023-08-12 08:09:15 +02:00
Andrew Fiddian-Green
297640aa77
[hue] Fix bug due to parallel PUT commands (#15324)
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2023-08-09 17:45:34 +02:00
Jacob Laursen
92238bcb8b
Reintroduce LK Wiser dimmer work-around for API v2 (#15316)
Fixes #15315

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2023-07-31 13:22:58 +02:00
Andrew Fiddian-Green
ae36108cbd
[hue] Fix reconnection, parallel commands, trigger channels, and light level formula (#15169)
* [hue] post merge tweaks

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

* [hue] abandon internal restart

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

* [hue] remove externalRestartScheduled flag

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

* [hue] serialize PUT calls

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

* [hue] GET requests shall not activate trigger channels

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

* [hue] fix LightLevel formula

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

* [hue] fix Button DTO null error

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

---------

Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2023-07-27 14:55:17 +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
Andrew Fiddian-Green
bd4a8385e0
[hue] Implement CLIP 2 / API v2 (#13570)
* [hue] Implement CLIP 2 / API v2

---------

Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2023-07-02 00:48:31 +02:00
Jacob Laursen
939c9caa1b
Fix NullPointerException (#14989)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2023-05-13 21:25:23 +02:00
lolodomo
fb16e90168
[hue] Restore UPnP discovery for old bridges (#14914)
* [hue] Restore UPnP discovery for old bridges

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2023-05-02 21:19:14 +02:00