Commit Graph

51 Commits

Author SHA1 Message Date
Zhivka Dimova
e655ddb65d
[enocean]: remove extra channel (#17429)
Remove CHANNEL_DIMMER from D2_01_08 and add CHANNEL_DIMMER to D2_01_09
Fix #15079

Signed-off-by: Zhivka Dimova <zhivka.dimova@myforest.net>
2024-10-05 15:10:54 +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
Zhivka Dimova
35add30e0c
[enocean] fix temperature values for D2_50 eep (#16975)
Fixes #16974

Signed-off-by: Zhivka Dimova <zhivka.dimova@myforest.net>
2024-07-13 14:31:09 +02:00
lsiepel
5e0e9ce51e
Update lastnpe EEA to 2.4.0 (#16875)
Signed-off-by: Leo Siepel <leosiepel@gmail.com>
2024-07-11 13:51:10 +02:00
Holger Friedrich
c9c1b42fe1
[enocean] Fix Java 21 build (#16615)
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2024-04-05 21:03:43 +02: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
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
Andrew Fiddian-Green
08364c36f2
[enocean] Addon suggestion finder xml (#16089)
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2023-12-28 13:21:27 +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
cf10b3e9c7
Java 17 features (A-G) (#15516)
- 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

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2023-09-05 22:30:16 +02:00
Daniel Weber
b9b9bbb74c
[enocean] Fix humidity and temperature readings for EEP family A5_10 (#15506)
* Updated A5-10 EEP family (corrected readings, added new channels)
 * Changed fanSpeedStage channel to type Number and added new options to it
 * Added dayNightModeState channel

Fixes #15458

Signed-off-by: Daniel Weber <uni@fruggy.de>
2023-08-28 22:49:20 +02:00
Jacob Laursen
a9d6d805f4
[enocean] Fix disposal of running tasks (#15329)
* Fix disposal of running tasks

Fixes #15328

---------

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2023-07-31 17:10:17 +02:00
Gwendal Roulleau
2961593cfd
[enocean] Fix unusable bundle after a refactoring about null annotation (#15302)
Fix bundle unusable after #14023 (closes #15181)
Fix a case issue with some directory
Fix trigger channel issue

Signed-off-by: Gwendal Roulleau <gwendal.roulleau@gmail.com>
2023-07-26 13:21:59 +02:00
mlobstein
36b2dbfbc9
Declare connection for bindings A thru F (#14901)
* Declare connection for bindings A-F

Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
2023-04-29 10:10:19 +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
Zhivka Dimova
b6004a77de
[enocean] Add support for EEP in group A5_09 (#13793)
* [enocean] Support for gas sensors from A5_09 group

Implementing support for gas sensors with EEP A5_09_02, 04, 05, 08, 09,
0C, 0D, adding new changels - CO, CO2, VOC, VOCId, TVOC and regenerate
I18N properties file

Fixes #13785, #13472

Signed-off-by: Zhivka Dimova <zhivka.dimova@myforest.net>
2023-03-29 23:00:31 +02:00
lsiepel
d4a231e8a9
[enocean] Add null annotations (#14023)
* mainly null annotations

Signed-off-by: lsiepel <leosiepel@gmail.com>

* checkstyle fixes

Signed-off-by: lsiepel <leosiepel@gmail.com>

* another checkstyle pass

Signed-off-by: lsiepel <leosiepel@gmail.com>

* Fix review comments

Signed-off-by: lsiepel <leosiepel@gmail.com>

* fix  most review comments

Signed-off-by: lsiepel <leosiepel@gmail.com>

* Generic => temp_generic

Signed-off-by: lsiepel <leosiepel@gmail.com>

* temp_generic => generic

Signed-off-by: lsiepel <leosiepel@gmail.com>

* Generic fix try 2

Signed-off-by: lsiepel <leosiepel@gmail.com>

* another generic commit

Signed-off-by: lsiepel <leosiepel@gmail.com>

* Final pass for changing generic packages/folder

Signed-off-by: lsiepel <leosiepel@gmail.com>

* Mised comment

Signed-off-by: lsiepel <leosiepel@gmail.com>

* Conflict folder change trial 1

Signed-off-by: lsiepel <leosiepel@gmail.com>

* Conflict folder change final

Signed-off-by: lsiepel <leosiepel@gmail.com>

* Conflict folder change trial 2

Signed-off-by: lsiepel <leosiepel@gmail.com>

* Move folder

Signed-off-by: lsiepel <leosiepel@gmail.com>

* Review comment

Signed-off-by: lsiepel <leosiepel@gmail.com>

---------

Signed-off-by: lsiepel <leosiepel@gmail.com>
2023-03-28 11:05:37 +02:00
Zhivka Dimova
4069d854fb
[enocean] Fix condition in getPositionData-D2_05_00 (#14558)
Fix #14528

Signed-off-by: Zhivka Dimova <zhivka.dimova@myforest.net>
2023-03-09 13:08:36 +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
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
Zhivka Dimova
622654ff1d
[enocean] Handle messages with MSC RORG (#13786) (#13792)
Setting senderId for MSC RORG and set rorg to Unknown when there is no
mach with the supported(handled) RORG types.
Fixes #13786

Signed-off-by: Zhivka Dimova <zhivka.dimova@myforest.net>
2022-11-30 20:55:36 +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
SoCsOnFPGAsGuy
5c741fda9e
[enocean] enable usage of Nodon roller-shutter repeater mode (#12133)
* [enocean] enable repeater mode selection for NODON rollershutter
* [enocean] adds new EEP definition for NODON rollershutter to README.md

Signed-off-by: Marcel Eckert <mrcleckert@aol.com>
2022-01-30 11:12:03 +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
openhab-bot
c23f6adf13
New Crowdin updates (#11832)
* New translations astro.properties (Finnish)
* New translations astro.properties (German)
* New translations bluetooth.properties (German)
* New translations boschshc.properties (Italian)
* New translations comfoair.properties (German)
* New translations dwdunwetter.properties (German)
* New translations epsonprojector.properties (German)
* New translations gpio.properties (German)
* New translations heliosventilation.properties (German)
* New translations homeconnect.properties (German)
* New translations homematic.properties (German)
* New translations ipp.properties (German)
* New translations jruby.properties (Hungarian)
* New translations jsscripting.properties (German)
* New translations jsscripting.properties (Hungarian)
* New translations map.properties (German)
* New translations map.properties (Hungarian)
* New translations mqttbroker.properties (Italian)
* New translations nanoleaf.properties (German)
* New translations ocean.properties (German)
* New translations openhabcloud.properties (Finnish)
* New translations samsungtv.properties (Hungarian)
* New translations shelly.properties (German)
* New translations snmp.properties (German)
* New translations sonos.properties (German)
* New translations spotify.properties (German)
* New translations tr064.properties (German)
* New translations tradfri.properties (German)
* New translations unifi.properties (German)
* New translations unifi.properties (Hungarian)
* New translations valloxmv.properties (Finnish)
* New translations volvooncall.properties (German)
* New translations xslt.properties (German)
2021-12-29 13:16:52 +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
Thomas Lauterbach
9cc3f441fd
[enocean] Fix concurrency exception on startup (#11408)
* made listeners a ConcurrentHashMap
* synchronized access to listeners and eventListeners collections of EnOceanTransceiver
* reverted ConcurrentHashMap change as NULL-Key is required

Fixes #11393

Also-by: Daniel Weber <uni@fruggy.de>
Signed-off-by: Thomas Lauterbach <lauterbachthomas@gmail.com>
2021-10-21 00:08:18 +02:00
Thomas Lauterbach
a253250427
[enocean] Add support for Soda Handles (EEP D2-06-01) (#11230)
* added data validation

Signed-off-by: Thomas Lauterbach <lauterbachthomas@gmail.com>

* Revert "added data validation"

This reverts commit 945101056b.

Signed-off-by: Thomas Lauterbach <lauterbachthomas@gmail.com>

* added calibration channels

Signed-off-by: Thomas Lauterbach <lauterbachthomas@gmail.com>

* added calibration channels

Signed-off-by: Thomas Lauterbach <lauterbachthomas@gmail.com>

* initial d20601 impl

Signed-off-by: Thomas Lauterbach <lauterbachthomas@gmail.com>

* fixed D20601 temp and battery

Signed-off-by: Thomas Lauterbach <lauterbachthomas@gmail.com>

* README updated and changed D20601 to mechanical handle

Signed-off-by: Thomas Lauterbach <lauterbachthomas@gmail.com>

* spotless

Signed-off-by: Thomas Lauterbach <lauterbachthomas@gmail.com>

* use common events

Signed-off-by: Thomas Lauterbach <lauterbachthomas@gmail.com>

* fix spotless

Signed-off-by: Thomas Lauterbach <lauterbachthomas@gmail.com>

* Revert "added calibration channels"

This reverts commit 6287b4be19fc37e8d1c2211109628fff513ecc8e.

Signed-off-by: Thomas Lauterbach <lauterbachthomas@gmail.com>

* Revert "added calibration channels"

This reverts commit fca8b4b11d1df0345bc02466311cf3f139044562.

Signed-off-by: Thomas Lauterbach <lauterbachthomas@gmail.com>

* Revert "Revert "added data validation""

This reverts commit e8ff27fa44461a108f3942f5e9547d72bb280d65.

Signed-off-by: Thomas Lauterbach <lauterbachthomas@gmail.com>

* Revert "added data validation"

This reverts commit 8d7bd95629426640d9f63d53c05335f3dcbd9b5b.

Signed-off-by: Thomas Lauterbach <lauterbachthomas@gmail.com>

* added more comments and fixed channel labels

Signed-off-by: Thomas Lauterbach <lauterbachthomas@gmail.com>

* added state enums

Signed-off-by: Thomas Lauterbach <lauterbachthomas@gmail.com>

* added missing modifiers

Signed-off-by: Thomas Lauterbach <lauterbachthomas@gmail.com>

* fixed typo in comment

Signed-off-by: Thomas Lauterbach <lauterbachthomas@gmail.com>

* upstream changes

Signed-off-by: Thomas Lauterbach <lauterbachthomas@gmail.com>

Co-authored-by: Thomas Lauterbach <lauterbachthomas@gmail.com>
2021-10-16 18:47:58 +02:00
CountBigBang
4b13a26f15
[enocean] Add second action for two rocker switches (Fixes #9750) (#10769)
* Added new channel:
   * secondActionPressed: Indicates if second action of rocker switch is pressed too
* Added two new profiles for channel rockerSwitchAction:
   * rockerswitchaction-toggle-switch
   * rockerswitchaction-toggle-player
* EnOceanSensorHandler can now handle extensible channels too
* EEP F6-02 refactoring

Also-by: Dietmar Franzen <dfranzen@fb3.fra-uas.de>
Signed-off-by: Daniel Weber <uni@fruggy.de>
2021-10-12 21:01:57 +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
Thomas Lauterbach
02c2513e28
[enocean] Adds support for the D2_06_50 EEP type (#10949)
* Initial D2_06_20 EEP Implementation.

Signed-off-by: Thomas Lauterbach <lauterbachthomas@gmail.com>

* added data validation

Signed-off-by: Thomas Lauterbach <lauterbachthomas@gmail.com>

* added channels for calibration

Signed-off-by: Thomas Lauterbach <lauterbachthomas@gmail.com>

* added manufacturer ID for discovery

Signed-off-by: Thomas Lauterbach <lauterbachthomas@gmail.com>

* Revert "added data validation"

This reverts commit 945101056b.

Signed-off-by: Thomas Lauterbach <lauterbachthomas@gmail.com>

* fixing discovery by setting manufacturerId

Signed-off-by: Thomas Lauterbach <lauterbachthomas@gmail.com>

* fix spotless

Signed-off-by: Thomas Lauterbach <lauterbachthomas@gmail.com>

* added calibration channels

Signed-off-by: Thomas Lauterbach <lauterbachthomas@gmail.com>

* removed validation override

Signed-off-by: Thomas Lauterbach <lauterbachthomas@gmail.com>

* added manufacturer suffix

Signed-off-by: Thomas Lauterbach <lauterbachthomas@gmail.com>

* channel description updated

Signed-off-by: Thomas Lauterbach <lauterbachthomas@gmail.com>

* added calibration channels

Signed-off-by: Thomas Lauterbach <lauterbachthomas@gmail.com>

* mentioning calibration channels in documentation

Signed-off-by: Thomas Lauterbach <lauterbachthomas@gmail.com>

* shortened thing label

Signed-off-by: Thomas Lauterbach <lauterbachthomas@gmail.com>

Co-authored-by: Thomas Lauterbach <lauterbachthomas@gmail.com>
2021-07-31 12:24:10 +02:00
lolodomo
8367aaebc1
[enocean] Standardize config URI (#11009)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2021-07-17 23:36:39 +02:00
hofingerandi
48e13858a9
[enocean] Add support for eltako rollershutter frm60 (#10852)
* added eltako frm60, based on eltako fsb

Signed-off-by: Andreas Hofinger  <andreas.hofinger@gmx.net>
2021-06-21 22:31:42 +02:00
David
2bb7c62dec
[enocean] Fix discovery of D2-50 devices (#10577)
This change accepts a new message type which is sent by some air ventilation devices durin teach in. This is required for the search feature to detect these devices correctly.

Signed-off-by: David Schumann <david@dev-core.org>
2021-05-01 10:24:23 +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
lolodomo
65b7467e56
[enocean] Do not set attr "required" for the param "senderIdOffset" (#10370)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2021-03-21 19:18:11 +01:00
lolodomo
ebdb9164a3
[enocean] Fix deprecated tag "required" (#10353)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2021-03-20 16:13:55 +01:00
Wouter Born
f3503430b4
Rework more commons-lang usages (#10314)
* Reworks many commons-lang usages to use standard Java
* Updates all remaining commons.lang imports to commons.lang3

Related to openhab/openhab-addons#7722

Signed-off-by: Wouter Born <github@maindrain.net>
2021-03-16 12:38:16 +01:00
Daniel Weber
fd1c96677e
[enocean] Improved device discovery and added SMACK capability (#10157)
* Added SMACK teach in
 * Teached in devices can be teach out on a repeated teach in
 * Improved detection of RPS devices, device types can be better distinguished now
 * Bugfixes for discovery fallback to GenericThings
 * Responses to message requests are send automatically now, no need for linking SEND_COMMAND channel

Fixes #10156

Signed-off-by: Daniel Weber <uni@fruggy.de>
2021-02-20 17:13:28 +01:00
Daniel Weber
96f15c59ba
[enocean] Added support for Heat Recovery Ventilation devices (#9465) (#9468)
* [enocean] Added support for Heat Recovery Ventilation devices (#9465)

 * Implemented EEP family D2_50
 * Added new thing type (heatRecoveryVentilation) and channels for heat recovery ventilation units

Fixes #9465

* [enocean] Added support for Heat Recovery Ventilation devices (#9465)

 * code refactoring (JAVA11 improvements)

Fixes #9465

* [enocean] Added support for Heat Recovery Ventilation devices (#9465)

 * Removed unnecessary EEP classes
 * Made final fields static
 * Added @NonNullByDefault to EEP Class

Fixes #9465

* [enocean] Added support for Heat Recovery Ventilation devices (#9465)

 * Removed @NonNullByDefault to not mess up PR with non related changes

Fixes #9465

Signed-off-by: Daniel Weber <uni@fruggy.de>
2021-02-03 22:18:35 -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
Daniel Weber
2434e95b05
[enocean] Added tariff info for AutomatedMeterSensor ThingType channels (#9333) (#9361)
* Added new channel parameter tariff to channels instantpower, totalusage, currentFlow, cumulativeValue, counter and currentNumber
 * Parameter is currently just read by EEP A5_12, which is used by AutomatedMeterSensor ThingType
 * AutomatedMeterSensor ThingType has extensible channels now

Fixes #9333

Signed-off-by: Daniel Weber <uni@fruggy.de>
2020-12-13 11:21:00 -08:00
Wouter Born
d2e5c3e7dd
Remove SmartHome leftovers (#9283)
Signed-off-by: Wouter Born <github@maindrain.net>
2020-12-08 18:03:49 +01:00
Wouter Born
ac6f08908f
Use renamed Units class (#9267)
Signed-off-by: Wouter Born <github@maindrain.net>
2020-12-07 10:34:02 +01: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
eb19117bbc
fix wrong formatting in state description (#9051)
Signed-off-by: Jan N. Klug <jan.n.klug@rub.de>
2020-11-17 11:55:22 +01:00