]> git.basschouten.com Git - openhab-addons.git/log
openhab-addons.git
4 years ago[souliss] Souliss Binding initial contribution (#11083)
Luca Calcaterra [Sun, 17 Oct 2021 11:31:36 +0000 (13:31 +0200)]
[souliss] Souliss Binding initial contribution (#11083)

* Initial Contribution

Signed-off-by: Luca Calcaterra <calcaterra.luca@gmail.com>
Co-Authored-By: Tonino Fazio <fazioa@gmail.com>
Signed-off-by: Luca Calcaterra <calcaterra.luca@gmail.com>
* Update pom.xml

spotless-apply

Signed-off-by: Luca Calcaterra <calcaterra.luca@gmail.com>
Co-Authored-By: Tonino Fazio <fazioa@gmail.com>
Signed-off-by: Luca Calcaterra <calcaterra.luca@gmail.com>
* Renamed healty in healthy (simple word error)

Signed-off-by: Luca Calcaterra <calcaterra.luca@gmail.com>
* Update thing-types.xml

onOff to CamelCase
Signed-off-by: Luca Calcaterra <calcaterra.luca@gmail.com>
* camelCase fixed on some types

Signed-off-by: Luca Calcaterra <calcaterra.luca@gmail.com>
* Update bundles/org.openhab.binding.souliss/README.md

Co-authored-by: Matthew Skinner <matt@pcmus.com>
Signed-off-by: Luca Calcaterra <calcaterra.luca@gmail.com>
* Update bundles/org.openhab.binding.souliss/README.md

Co-authored-by: Matthew Skinner <matt@pcmus.com>
Signed-off-by: Luca Calcaterra <calcaterra.luca@gmail.com>
* Update README.md

Signed-off-by: Luca Calcaterra <calcaterra.luca@gmail.com>
* Update README.md

Signed-off-by: Luca Calcaterra <calcaterra.luca@gmail.com>
* Update README.md

Signed-off-by: Luca Calcaterra <calcaterra.luca@gmail.com>
* Update README.md

Signed-off-by: Luca Calcaterra <calcaterra.luca@gmail.com>
* fixed camelCase on thhings parameters

Signed-off-by: Luca Calcaterra <calcaterra.luca@gmail.com>
* Update thing-types.xml

fixed label cases
Signed-off-by: Luca Calcaterra <calcaterra.luca@gmail.com>
* Update thing-types.xml

Signed-off-by: Luca Calcaterra <calcaterra.luca@gmail.com>
* Revert "Update thing-types.xml"

This reverts commit 5c19fbc69dee53f41d56a847bc82660192e0158c.

Signed-off-by: Luca Calcaterra <calcaterra.luca@gmail.com>
* Initial Contribution

Signed-off-by: Luca Calcaterra <calcaterra.luca@gmail.com>
Co-Authored-By: Tonino Fazio <fazioa@gmail.com>
Signed-off-by: Luca Calcaterra <calcaterra.luca@gmail.com>
* Fix some errors (Nullable issues) and pom.xml format

Signed-off-by: Luca Calcaterra <calcaterra.luca@gmail.com>
* Update pom.xml

spotless-apply

Signed-off-by: Luca Calcaterra <calcaterra.luca@gmail.com>
Co-Authored-By: Tonino Fazio <fazioa@gmail.com>
Signed-off-by: Luca Calcaterra <calcaterra.luca@gmail.com>
* Update SoulissT11Handler.java

Default case on switch (handlecommand )

Signed-off-by: Luca Calcaterra <calcaterra.luca@gmail.com>
* added secoresend to t31 skeleton and variable smessage fix declaration

Signed-off-by: Luca Calcaterra <calcaterra.luca@gmail.com>
* Initial Contribution

Signed-off-by: Luca Calcaterra <calcaterra.luca@gmail.com>
Co-Authored-By: Tonino Fazio <fazioa@gmail.com>
Signed-off-by: Luca Calcaterra <calcaterra.luca@gmail.com>
* Update pom.xml

spotless-apply

Signed-off-by: Luca Calcaterra <calcaterra.luca@gmail.com>
Co-Authored-By: Tonino Fazio <fazioa@gmail.com>
Signed-off-by: Luca Calcaterra <calcaterra.luca@gmail.com>
* Update SoulissGatewayHandler.java

Cutted comments and uneccessary log on gw status

Signed-off-by: Luca Calcaterra <calcaterra.luca@gmail.com>
* Renamed healty in healthy (simple word error)

Signed-off-by: Luca Calcaterra <calcaterra.luca@gmail.com>
* fixed camelCase on thhings parameters

Signed-off-by: Luca Calcaterra <calcaterra.luca@gmail.com>
* Update thing-types.xml

Signed-off-by: Luca Calcaterra <calcaterra.luca@gmail.com>
* cleanup and quality code fixes

Signed-off-by: Luca Calcaterra <calcaterra.luca@gmail.com>
* Update SoulissBindingUDPDecoder.java

fixed some npe

Signed-off-by: Luca Calcaterra <calcaterra.luca@gmail.com>
* npe check fix

Signed-off-by: Luca Calcaterra <calcaterra.luca@gmail.com>
* Update SoulissCommonCommands.java

Remove comments unused code

Signed-off-by: Luca Calcaterra <calcaterra.luca@gmail.com>
* Update SoulissCommonCommands.java

commented out code unused

Signed-off-by: Luca Calcaterra <calcaterra.luca@gmail.com>
* Update SoulissCommonCommands.java

remove unused code commented out
Signed-off-by: Luca Calcaterra <calcaterra.luca@gmail.com>
* Update SoulissBindingUDPServerJob.java

remove unused code comments
Signed-off-by: Luca Calcaterra <calcaterra.luca@gmail.com>
* Update SoulissBindingSendDispatcherJob.java

fixed logger trace and remove unused code comments
Signed-off-by: Luca Calcaterra <calcaterra.luca@gmail.com>
* Update bundles/org.openhab.binding.souliss/README.md

Co-authored-by: Matthew Skinner <matt@pcmus.com>
Signed-off-by: Luca Calcaterra <calcaterra.luca@gmail.com>
* removed completely unnecessary comments

Signed-off-by: Luca Calcaterra <calcaterra.luca@gmail.com>
* fixed some thing types cases

Signed-off-by: Luca Calcaterra <calcaterra.luca@gmail.com>
* Update SoulissGatewayHandler.java

removed unnecessary log line
Signed-off-by: Luca Calcaterra <calcaterra.luca@gmail.com>
* Update SoulissGatewayHandler.java

removed unnecessary comment
Signed-off-by: Luca Calcaterra <calcaterra.luca@gmail.com>
* loggers as final !

Signed-off-by: Luca Calcaterra <calcaterra.luca@gmail.com>
* Update SoulissGatewayJobHealthy.java

removed unnecessary logs

Signed-off-by: Luca Calcaterra <calcaterra.luca@gmail.com>
* Update SoulissGatewayJobPing.java

removed unnecessary logs
Signed-off-by: Luca Calcaterra <calcaterra.luca@gmail.com>
* fixed redundancy on types checks

Signed-off-by: Luca Calcaterra <calcaterra.luca@gmail.com>
* Update README.md

fixed examples parms
Signed-off-by: Luca Calcaterra <calcaterra.luca@gmail.com>
* Update SoulissGatewayHandler.java

changed parm var name bridge
Signed-off-by: Luca Calcaterra <calcaterra.luca@gmail.com>
* Update bundles/org.openhab.binding.souliss/src/main/java/org/openhab/binding/souliss/handler/SoulissT11Handler.java

remove comments

Co-authored-by: Matthew Skinner <matt@pcmus.com>
Signed-off-by: Luca Calcaterra <calcaterra.luca@gmail.com>
* Update bundles/org.openhab.binding.souliss/src/main/java/org/openhab/binding/souliss/handler/SoulissT12Handler.java

comments removed

Co-authored-by: Matthew Skinner <matt@pcmus.com>
Signed-off-by: Luca Calcaterra <calcaterra.luca@gmail.com>
* Update bundles/org.openhab.binding.souliss/src/main/java/org/openhab/binding/souliss/handler/SoulissT13Handler.java

comments removed

Co-authored-by: Matthew Skinner <matt@pcmus.com>
Signed-off-by: Luca Calcaterra <calcaterra.luca@gmail.com>
* fixed thing type on README and some case on xml thing types

Signed-off-by: Luca Calcaterra <calcaterra.luca@gmail.com>
* Update README.md

cutted part about manually thing config specs on README . Who use oh already knows it .
Signed-off-by: Luca Calcaterra <calcaterra.luca@gmail.com>
* Code cleanup and optimizations based on @Skinah tips

Signed-off-by: Luca Calcaterra <calcaterra.luca@gmail.com>
* fixes from @Skinah suggestions

Signed-off-by: Luca Calcaterra <calcaterra.luca@gmail.com>
* Signed-off-by: Luca Calcaterra <calcaterra.luca@gmail.com>

Fixed typeid's on costants files

Signed-off-by: Luca Calcaterra <calcaterra.luca@gmail.com>
* various optimizations follow @Skinah tips (thanks!)

Signed-off-by: Luca Calcaterra <calcaterra.luca@gmail.com>
* spotless:apply fix

Signed-off-by: Luca Calcaterra <calcaterra.luca@gmail.com>
* fixes constants and channel id types of t31

Signed-off-by: Luca Calcaterra <calcaterra.luca@gmail.com>
* Fix various NPE warnings

Fixes many ... Some added suppresswarnings.
Signed-off-by: Luca Calcaterra <calcaterra.luca@gmail.com>
* Update SoulissGenericActionMessage.java

Signed-off-by: Luca Calcaterra <calcaterra.luca@gmail.com>
* Refactor handlers into souliss.internal.handler

Signed-off-by: Luca Calcaterra <calcaterra.luca@gmail.com>
* spoless:apply fix

Signed-off-by: Luca Calcaterra <calcaterra.luca@gmail.com>
* spotless:apply

Signed-off-by: Luca Calcaterra <calcaterra.luca@gmail.com>
* fix t19 (securesend parm ,labels and setvalue)

Signed-off-by: Luca Calcaterra <calcaterra.luca@gmail.com>
* Update thing-types.xml

spotless:apply fix

Signed-off-by: Luca Calcaterra <calcaterra.luca@gmail.com>
* Update bundles/org.openhab.binding.souliss/README.md

Co-authored-by: Fabian Wolter <github@fabian-wolter.de>
Signed-off-by: Luca Calcaterra <calcaterra.luca@gmail.com>
* Update bundles/org.openhab.binding.souliss/README.md

Co-authored-by: Fabian Wolter <github@fabian-wolter.de>
Signed-off-by: Luca Calcaterra <calcaterra.luca@gmail.com>
* Update bundles/org.openhab.binding.souliss/README.md

Co-authored-by: Fabian Wolter <github@fabian-wolter.de>
Signed-off-by: Luca Calcaterra <calcaterra.luca@gmail.com>
* Update bundles/org.openhab.binding.souliss/README.md

Co-authored-by: Fabian Wolter <github@fabian-wolter.de>
Signed-off-by: Luca Calcaterra <calcaterra.luca@gmail.com>
* Update bundles/org.openhab.binding.souliss/README.md

Co-authored-by: Fabian Wolter <github@fabian-wolter.de>
Signed-off-by: Luca Calcaterra <calcaterra.luca@gmail.com>
* spotless:apply fix

Signed-off-by: Luca Calcaterra <calcaterra.luca@gmail.com>
* Null checks Warnings removed

(mitigated with local copy of field)  - removed comments

Signed-off-by: Luca Calcaterra <calcaterra.luca@gmail.com>
* syntax sugar fixed of consts and section removed from README

Signed-off-by: Luca Calcaterra <calcaterra.luca@gmail.com>
* moved files to internal package

Signed-off-by: Luca Calcaterra <calcaterra.luca@gmail.com>
* Update SoulissHandlerFactory.java

check types on object and not on strings

Signed-off-by: Luca Calcaterra <calcaterra.luca@gmail.com>
* various fixes based on @fwolter

Signed-off-by: Luca Calcaterra <calcaterra.luca@gmail.com>
* Gateway ip address regex on config param

Signed-off-by: Luca Calcaterra <calcaterra.luca@gmail.com>
* changed description of gateway ip on param

Signed-off-by: Luca Calcaterra <calcaterra.luca@gmail.com>
* formatted tables in README.md

Signed-off-by: Luca Calcaterra <calcaterra.luca@gmail.com>
* removed comments

Signed-off-by: Luca Calcaterra <calcaterra.luca@gmail.com>
* wip for npe checks - breaking functionality :-(

Signed-off-by: Luca Calcaterra <calcaterra.luca@gmail.com>
* spotless fix Author: Luca Calcaterra <calcaterra.luca@gmail.com>

Signed-off-by: Luca Calcaterra <calcaterra.luca@gmail.com>
* fix contrib header in some files

Signed-off-by: Luca Calcaterra <calcaterra.luca@gmail.com>
* reworked udp - only one bridge allowed and  UDP  listen only to bridge port 230

...passing datagramsocket  with soulissnetworkparameter class

Signed-off-by: Luca Calcaterra <calcaterra.luca@gmail.com>
* quite ok. Where to close socket in case of thread interruption ?

Signed-off-by: Luca Calcaterra <calcaterra.luca@gmail.com>
* wip

Signed-off-by: Luca Calcaterra <calcaterra.luca@gmail.com>
* wip2

Signed-off-by: Luca Calcaterra <calcaterra.luca@gmail.com>
* wip3 udp receive but not on vpn

Signed-off-by: Luca Calcaterra <calcaterra.luca@gmail.com>
* Classes names Refactor

Signed-off-by: Luca Calcaterra <calcaterra.luca@gmail.com>
* wip

Signed-off-by: Luca Calcaterra <calcaterra.luca@gmail.com>
* wip

Signed-off-by: Luca Calcaterra <calcaterra.luca@gmail.com>
* replaced datagramsocket with nio socket- seems to be ok

Signed-off-by: Luca Calcaterra <calcaterra.luca@gmail.com>
* Update UDPListenDiscoverRunnable.java

Signed-off-by: Luca Calcaterra <calcaterra.luca@gmail.com>
* Fixed some null checks removed securesend option (only t11 end similar)

Signed-off-by: Luca Calcaterra <calcaterra.luca@gmail.com>
* dummy initial value of raw values - removed thread on decoder line

Signed-off-by: Luca Calcaterra <calcaterra.luca@gmail.com>
* fix t19 ex catch and broadcast function

Signed-off-by: Luca Calcaterra <calcaterra.luca@gmail.com>
* Reworked Config of Gateway as Class (todo check nulls...)

Signed-off-by: Luca Calcaterra <calcaterra.luca@gmail.com>
* Added representation property on gw - some cleanups

Signed-off-by: Luca Calcaterra <calcaterra.luca@gmail.com>
* Update SoulissGatewayHandler.java

cleanup unused vars

Signed-off-by: Luca Calcaterra <calcaterra.luca@gmail.com>
* refactor methods of gw parameters

Signed-off-by: Luca Calcaterra <calcaterra.luca@gmail.com>
* WIP to remove NetworkParameter class

Signed-off-by: Luca Calcaterra <calcaterra.luca@gmail.com>
* wip refactor DiscoverResult

Signed-off-by: Luca Calcaterra <calcaterra.luca@gmail.com>
* wip remove networkparameters

Signed-off-by: Luca Calcaterra <calcaterra.luca@gmail.com>
* WIP remove NetworkParameter Class. Things online only on a health message

Signed-off-by: Luca Calcaterra <calcaterra.luca@gmail.com>
* WIP Fix Topics

Signed-off-by: Luca Calcaterra <calcaterra.luca@gmail.com>
* WIP2 Fix topics

Signed-off-by: Luca Calcaterra <calcaterra.luca@gmail.com>
* Update pom.xml

upgrade  binding version to 3.2 snapshot
Signed-off-by: Luca Calcaterra <calcaterra.luca@gmail.com>
* topics bound to bridge - seems to be ok.

Signed-off-by: Luca Calcaterra <calcaterra.luca@gmail.com>
* remove NetworkParameters class - topics ok but need parse rework

Signed-off-by: Luca Calcaterra <calcaterra.luca@gmail.com>
* code cleanup and bugs check fix

Signed-off-by: Luca Calcaterra <calcaterra.luca@gmail.com>
* Add node and slot to property - other fixes

Signed-off-by: Luca Calcaterra <calcaterra.luca@gmail.com>
* change default interval subscription -cleanup constants

Signed-off-by: Luca Calcaterra <calcaterra.luca@gmail.com>
* WIP WAN Address gw

Signed-off-by: Luca Calcaterra <calcaterra.luca@gmail.com>
* WAN option external network. Fixed Putin on commands - to test well

Signed-off-by: Luca Calcaterra <calcaterra.luca@gmail.com>
* cleanup - safesend check WIP

Signed-off-by: Luca Calcaterra <calcaterra.luca@gmail.com>
* fixed secursend for t11-18

Signed-off-by: Luca Calcaterra <calcaterra.luca@gmail.com>
* WIP Fix null checks

Signed-off-by: Luca Calcaterra <calcaterra.luca@gmail.com>
* Update SoulissGenericHandler.java

fixed wrong assignment of prop
Signed-off-by: Luca Calcaterra <calcaterra.luca@gmail.com>
* null checks fixes for code quality

Signed-off-by: Luca Calcaterra <calcaterra.luca@gmail.com>
* fixed listen port according to gw parm (default 23000)

Signed-off-by: Luca Calcaterra <calcaterra.luca@gmail.com>
* nuances

Signed-off-by: Luca Calcaterra <calcaterra.luca@gmail.com>
* Update thing-types.xml

changed default values
Signed-off-by: Luca Calcaterra <calcaterra.luca@gmail.com>
* CommonCommands to static - other fixes .

seems quite ok, remain T31 to fix (securesend)

Signed-off-by: Luca Calcaterra <calcaterra.luca@gmail.com>
* Update UDPListenDiscoverRunnable.java

Signed-off-by: Luca Calcaterra <calcaterra.luca@gmail.com>
* Update SoulissGatewayHandler.java

changed executor imp for udp
Signed-off-by: Luca Calcaterra <calcaterra.luca@gmail.com>
* restored commoncommands non static

Signed-off-by: Luca Calcaterra <calcaterra.luca@gmail.com>
* Update SendDispatcherRunnable.java

safesendcheck fix (not really)
Signed-off-by: Luca Calcaterra <calcaterra.luca@gmail.com>
* various nuances (sonarlint)

Signed-off-by: Luca Calcaterra <calcaterra.luca@gmail.com>
* Update README.md

Signed-off-by: Luca Calcaterra <calcaterra.luca@gmail.com>
* Update bundles/org.openhab.binding.souliss/README.md

Co-authored-by: Fabian Wolter <github@fabian-wolter.de>
Signed-off-by: Luca Calcaterra <calcaterra.luca@gmail.com>
* Update bundles/org.openhab.binding.souliss/README.md

Co-authored-by: Fabian Wolter <github@fabian-wolter.de>
Signed-off-by: Luca Calcaterra <calcaterra.luca@gmail.com>
* Update README.md

removed explain how oh works on example
Signed-off-by: Luca Calcaterra <calcaterra.luca@gmail.com>
* Update bundles/org.openhab.binding.souliss/README.md

Co-authored-by: Fabian Wolter <github@fabian-wolter.de>
Signed-off-by: Luca Calcaterra <calcaterra.luca@gmail.com>
* Update bundles/org.openhab.binding.souliss/src/main/feature/feature.xml

Co-authored-by: Fabian Wolter <github@fabian-wolter.de>
Signed-off-by: Luca Calcaterra <calcaterra.luca@gmail.com>
* @fwolter various fixes

Signed-off-by: Luca Calcaterra <calcaterra.luca@gmail.com>
* Update SoulissT11Handler.java

wrong header

Signed-off-by: Luca Calcaterra <calcaterra.luca@gmail.com>
* Update SoulissT11Handler.java

Signed-off-by: Luca Calcaterra <calcaterra.luca@gmail.com>
* fix headers descriptions before authors on all classes

Signed-off-by: Luca Calcaterra <calcaterra.luca@gmail.com>
* all var on begin of classes and @nullable sugar syntax

Signed-off-by: Luca Calcaterra <calcaterra.luca@gmail.com>
* removed @nullable on local vars

Signed-off-by: Luca Calcaterra <calcaterra.luca@gmail.com>
* wip comments translations and cleanup

Signed-off-by: Luca Calcaterra <calcaterra.luca@gmail.com>
* cleanup comments and translated them (if italian occourred)

Signed-off-by: Luca Calcaterra <calcaterra.luca@gmail.com>
* @fwolter suggestions for approval...various fixes

Signed-off-by: Luca Calcaterra <calcaterra.luca@gmail.com>
* various fixes based on @fwolter suggestions.

Signed-off-by: Luca Calcaterra <calcaterra.luca@gmail.com>
* various fixes based on @fwolter suggestions.

Signed-off-by: Luca Calcaterra <calcaterra.luca@gmail.com>
* Update SoulissGatewayHandler.java

Signed-off-by: Luca Calcaterra <calcaterra.luca@gmail.com>
* Update thing-types.xml

Signed-off-by: Luca Calcaterra <calcaterra.luca@gmail.com>
* Update UDPListenDiscoverRunnable.java

hexutils usage
Signed-off-by: Luca Calcaterra <calcaterra.luca@gmail.com>
* Update SoulissT22Handler.java

removed unused method
Signed-off-by: Luca Calcaterra <calcaterra.luca@gmail.com>
* Update SoulissT22Handler.java

fix previous commit
Signed-off-by: Luca Calcaterra <calcaterra.luca@gmail.com>
* Update SoulissT11Handler.java

@Nullable on configuration
Signed-off-by: Luca Calcaterra <calcaterra.luca@gmail.com>
* method to put bridge offline (network exception on listener)

Signed-off-by: Luca Calcaterra <calcaterra.luca@gmail.com>
* Update thing-types.xml

changed some channels to trigger type
Signed-off-by: Luca Calcaterra <calcaterra.luca@gmail.com>
* WIP broken

Signed-off-by: Luca Calcaterra <calcaterra.luca@gmail.com>
* Update thing-types.xml

spotless:apply
Signed-off-by: Luca Calcaterra <calcaterra.luca@gmail.com>
* various changes

call super on initialize() of all handlers. Changed to QuantityType where appliable
Signed-off-by: Luca Calcaterra <calcaterra.luca@gmail.com>
* Update SoulissGatewayDiscovery.java

added uniqueId (ip of gateway+node+slot) as representationProperty
Signed-off-by: Luca Calcaterra <calcaterra.luca@gmail.com>
* wip for load discovery component

Signed-off-by: Luca Calcaterra <calcaterra.luca@gmail.com>
* big fixes and code quality improvments

Signed-off-by: Luca Calcaterra <calcaterra.luca@gmail.com>
* fixes

Signed-off-by: Luca Calcaterra <calcaterra.luca@gmail.com>
* Update SoulissGenericHandler.java

Signed-off-by: Luca Calcaterra <calcaterra.luca@gmail.com>
* Update README.md

wrong format ..

Signed-off-by: Luca Calcaterra <calcaterra.luca@gmail.com>
Co-authored-by: Tonino Fazio <fazioa@gmail.com>
Co-authored-by: Matthew Skinner <matt@pcmus.com>
Co-authored-by: Fabian Wolter <github@fabian-wolter.de>
4 years ago[milight] Fix minimum value for parameter repeat (#11367)
Patrick Fink [Sat, 16 Oct 2021 16:49:45 +0000 (18:49 +0200)]
[milight] Fix minimum value for parameter repeat (#11367)

Signed-off-by: Patrick Fink <mail@pfink.de>
4 years ago[enocean] Add support for Soda Handles (EEP D2-06-01) (#11230)
Thomas Lauterbach [Sat, 16 Oct 2021 16:47:58 +0000 (18:47 +0200)]
[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 945101056b7d0a79b6d53985cfcef8e06bf0a8aa.

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>
4 years ago[Smhi] Ensure trailing zeroes are removed before updating channels (#11353)
Anders Alfredsson [Sat, 16 Oct 2021 11:38:51 +0000 (13:38 +0200)]
[Smhi] Ensure trailing zeroes are removed before updating channels (#11353)

* Ensure unnecessary trailing zeroes are removed, to avoid issues with transformations.

Signed-off-by: Anders Alfredsson <andersb86@gmail.com>
* Change to use setScale()

Signed-off-by: Anders Alfredsson <andersb86@gmail.com>
4 years ago[tr064] fix incorrectly reported decibel values for DSL Noise Margin and Attenuation...
Stefan Giehl [Sat, 16 Oct 2021 09:33:31 +0000 (11:33 +0200)]
[tr064] fix incorrectly reported decibel values for DSL Noise Margin and Attenuation (#11337)

* [tr064] fix incorrectly reported decibel values for DSL Noise Margin and Attenuation

Signed-off-by: Stefan Giehl <stefangiehl@gmail.com>
* apply review feedback

Signed-off-by: Stefan Giehl <stefangiehl@gmail.com>
4 years ago[verisure] Adapted to new authentication process and support for non MFA activated...
Jan Gustafsson [Sat, 16 Oct 2021 09:28:08 +0000 (11:28 +0200)]
[verisure] Adapted to new authentication process and support for non MFA activated user. (#11228) (#11265)

* [verisure] Adapted to new authentication process and support for non MFA activated user. (#11228)

Signed-off-by: Jan Gustafsson <jannegpriv@gmail.com>
* Updated after code review.

Signed-off-by: Jan Gustafsson <jannegpriv@gmail.com>
* Updated after code review.

Signed-off-by: Jan Gustafsson <jannegpriv@gmail.com>
* Updated after code review.

Signed-off-by: Jan Gustafsson <jannegpriv@gmail.com>
4 years ago[logreader] Added hint about case sensitive patterns (#11379)
Christoph Weitkamp [Sat, 16 Oct 2021 09:27:10 +0000 (11:27 +0200)]
[logreader] Added hint about case sensitive patterns (#11379)

* [logreader] Added hint about case sensitive patterns

- Added hint about case sensitive patterns

Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
* Incorporated comments from review

Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
* Incorporated comments from review

Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
4 years ago[avmfritz] Added support for DECT500 and HAN-FUN bulbs (#11348)
Christoph Weitkamp [Sat, 16 Oct 2021 05:27:27 +0000 (07:27 +0200)]
[avmfritz] Added support for DECT500 and HAN-FUN bulbs (#11348)

* Added support for DECT500 and HAN-FUN bulbs

Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
* Incorporated comment from review

Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
4 years ago[miele] Document known programs and phases (#11377)
jlaur [Fri, 15 Oct 2021 19:45:21 +0000 (21:45 +0200)]
[miele] Document known programs and phases (#11377)

* Document known programs and phases.
* Clarify description for superfreeze.

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
4 years ago[wemo] fix wrong brightness value for dimmer switch (#11385)
Hans-Jörg Merk [Fri, 15 Oct 2021 17:37:07 +0000 (19:37 +0200)]
[wemo] fix wrong brightness value for dimmer switch (#11385)

* [wemo] fix wrong brightness value for dimmer switch

Signed-off-by: Hans-Jörg Merk <github@hmerk.de>
* Update bundles/org.openhab.binding.wemo/src/main/java/org/openhab/binding/wemo/internal/handler/WemoDimmerHandler.java

Co-authored-by: Hilbrand Bouwkamp <hilbrand@h72.nl>
* Remove @Nullable on simple variable

Co-authored-by: Hilbrand Bouwkamp <hilbrand@h72.nl>
4 years ago[sunspec modbus] fix thing example (#11380)
Markus Storm [Fri, 15 Oct 2021 16:00:40 +0000 (18:00 +0200)]
[sunspec modbus] fix thing example (#11380)

The Thing definition in () in l193 references the *name* that was assigned in l192, correct? So they should match.
Or do I misunderstand the mapping here ?

Signed-off-by: Markus Storm <markus.storm@gmx.net>
4 years ago[benqprojector] Update broken link in README (#11383)
mlobstein [Thu, 14 Oct 2021 16:41:06 +0000 (11:41 -0500)]
[benqprojector] Update broken link in README (#11383)

* Update broken link in README

Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
4 years ago[ekey] initial contribution / oh1 migration (#10996)
Hans-Jörg Merk [Tue, 12 Oct 2021 19:15:14 +0000 (21:15 +0200)]
[ekey] initial contribution / oh1 migration (#10996)

* [ekey] initial contribution / oh1 migration

Signed-off-by: Hans-Jörg Merk <github@hmerk.de>
4 years ago[enocean] Add second action for two rocker switches (Fixes #9750) (#10769)
CountBigBang [Tue, 12 Oct 2021 19:01:57 +0000 (21:01 +0200)]
[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>
4 years ago[sonyprojector] Fix typo in translation keys (#11374)
lolodomo [Tue, 12 Oct 2021 16:59:11 +0000 (18:59 +0200)]
[sonyprojector] Fix typo in translation keys (#11374)

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
4 years ago[sonyprojector] Add all default translations to properties file (#11368)
lolodomo [Mon, 11 Oct 2021 19:46:01 +0000 (21:46 +0200)]
[sonyprojector] Add all default translations to properties file (#11368)

Allows translating the sonyprojector binding strings with Crowdin.

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
4 years ago[upb] Fix race condition (#11366)
Marcus Better [Mon, 11 Oct 2021 19:44:44 +0000 (15:44 -0400)]
[upb] Fix race condition (#11366)

There was a harmless race condition between a message being written
and the PIM being initalized to message mode by the binding. This adds
a latch to ensure writes happen after initalization.

Signed-off-by: Marcus Better <marcus@better.se>
4 years ago[openweathermap] Bridge status set to ONLINE when no attached things (#11360)
lolodomo [Mon, 11 Oct 2021 11:15:46 +0000 (13:15 +0200)]
[openweathermap] Bridge status set to ONLINE when no attached things (#11360)

Fix #11191

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
4 years ago[modbus] Clarifying error messages with invalid configuration (#11292)
Sami Salonen [Mon, 11 Oct 2021 10:41:35 +0000 (13:41 +0300)]
[modbus] Clarifying error messages with invalid configuration (#11292)

Resolves #10814

Signed-off-by: Sami Salonen <ssalonen@gmail.com>
4 years ago[miele] State/program/phase: Add raw channels and improve text channels (#11341)
jlaur [Sun, 10 Oct 2021 18:34:55 +0000 (20:34 +0200)]
[miele] State/program/phase: Add raw channels and improve text channels (#11341)

* Add raw channels for state, program and phase.
* Provide program/phase texts when missing from XGW 3000 and for multicast.
* Consistent handling of missing program/phase text across all appliance types.
* Fix tumble dryer example configuration.
* Changed tumble dryer Finished phase text for consistency.

Fixes #11335

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
4 years agoRemove deprecated XStream.setupDefaultSecurity calls (#11365)
Wouter Born [Sun, 10 Oct 2021 18:30:07 +0000 (20:30 +0200)]
Remove deprecated XStream.setupDefaultSecurity calls (#11365)

The XStream.setupDefaultSecurity method is deprecated since XStream 1.4.18.
It no longer does anything, because this is the default in newer XStream versions.

Signed-off-by: Wouter Born <github@maindrain.net>
4 years agoAlign translation filenames with Crowdin (#11362)
Wouter Born [Sun, 10 Oct 2021 09:02:53 +0000 (11:02 +0200)]
Align translation filenames with Crowdin (#11362)

Crowdin is configured to generate translations for languages without countries.

Signed-off-by: Wouter Born <github@maindrain.net>
4 years ago[ntp] Add default translations properties file (#11363)
Wouter Born [Sun, 10 Oct 2021 08:52:39 +0000 (10:52 +0200)]
[ntp] Add default translations properties file (#11363)

This allows for translating the NTP Binding strings with Crowdin.

Signed-off-by: Wouter Born <github@maindrain.net>
4 years ago[openhabcloud] Add required registration before connection (#11168)
mtraxiot [Sun, 10 Oct 2021 08:14:48 +0000 (19:14 +1100)]
[openhabcloud] Add required registration before connection (#11168)

4 years ago[ipcamera] Fix several issues and some improvements (#11300)
Matthew Skinner [Sun, 10 Oct 2021 08:12:18 +0000 (19:12 +1100)]
[ipcamera] Fix several issues and some improvements (#11300)

* Fixes an issue now that the binding is not polling the snapshot anymore where the jpg could return an old image from cache.
* Fixes an issue that could be caused if you spammed the refresh key whilst watching ipcamera.mjpeg
* Improvements in stopping the servlet and stopping any open streams if the pause button is pressed on a camera thing.
* Reduces memory, thread and open file descriptor resource use.
* Fixes empty passwords create bad log output for logged ffmpeg commands.
* Fix for INSTAR cameras that created a WARN about bad user/pass when setting up the alarm server.

Closes #11301

Signed-off-by: Matthew Skinner <matt@pcmus.com>
4 years ago[powermax] Add null annotations (#11275)
lolodomo [Sun, 10 Oct 2021 08:04:37 +0000 (10:04 +0200)]
[powermax] Add null annotations (#11275)

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
4 years ago[rrd4j] Upgrade rrd4j, improve exception handling (#11355)
Wouter Born [Sat, 9 Oct 2021 19:56:09 +0000 (21:56 +0200)]
[rrd4j] Upgrade rrd4j, improve exception handling (#11355)

* Upgrades rrd4j to 3.8
* Fixes deprecations
* Updates RRD4jChartServlet for ChartProvider API changes
* Improves RRD4jChartServlet exception handling

For the rrd4j changelog see:

https://raw.githubusercontent.com/rrd4j/rrd4j/master/changelog.txt

Related to openhab/openhab-core#2502

Signed-off-by: Wouter Born <github@maindrain.net>
4 years agoUpdate README.md (#11354)
JanSchellenberg [Sat, 9 Oct 2021 17:58:46 +0000 (19:58 +0200)]
Update README.md (#11354)

Added the Teufel 3sixty to the Radio mode list.

4 years agoUpdate bnd to 6.0.0 (#11359)
Wouter Born [Sat, 9 Oct 2021 17:57:33 +0000 (19:57 +0200)]
Update bnd to 6.0.0 (#11359)

For release notes, see:

https://github.com/bndtools/bnd/wiki/Changes-in-6.0.0

Related to openhab/openhab-core#2514

Signed-off-by: Wouter Born <github@maindrain.net>
4 years agoSwitch properties files encoding from ISO-8859-1 to UTF-8 (#11349)
Wouter Born [Sat, 9 Oct 2021 17:56:49 +0000 (19:56 +0200)]
Switch properties files encoding from ISO-8859-1 to UTF-8 (#11349)

* Switch properties files encoding from ISO-8859-1 to UTF-8

Crowdin will generate translations in this encoding, so this prevents a lot of diffs which makes it easier to review future Crowdin PRs.

Related to openhab/openhab-core#2298

Signed-off-by: Wouter Born <github@maindrain.net>
4 years ago[feed] added channel for enclosure link on latest entry (#11345)
Jürgen Pabel [Sat, 9 Oct 2021 16:32:44 +0000 (18:32 +0200)]
[feed] added channel for enclosure link on latest entry (#11345)

Signed-off-by: Juergen Pabel <juergen@pabel.net>
4 years ago[upb] Fix retry logic (#11342)
Marcus Better [Sat, 9 Oct 2021 14:29:09 +0000 (10:29 -0400)]
[upb] Fix retry logic (#11342)

* [upb] Fix retry logic

The retry logic was broken so it never retried. This fixes it and adds
unit tests for the serial communication and retry behavior.

Signed-off-by: Marcus Better <marcus@better.se>
* Remove excessive log

Signed-off-by: Marcus Better <marcus@better.se>
4 years agoAdded support to send an Image directly (#11346)
Christoph Weitkamp [Sat, 9 Oct 2021 13:35:18 +0000 (15:35 +0200)]
Added support to send an Image directly (#11346)

Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
4 years ago[pulseaudio] Fix sink-input configuration and other (#11272) (#11276)
dalgwen [Sat, 9 Oct 2021 09:44:20 +0000 (11:44 +0200)]
[pulseaudio] Fix sink-input configuration and other (#11272) (#11276)

* [pulseaudio] Fix sink-input configuration  and other small improvements (#11272)

The binding requires a parameter to activate the parsing of sink-input entries on the pulseaudio server. This patch :
- document this behaviour
- fix the parsing of these parameters if a configuration file is used (the old method of casting launched a class cast exception)

Other small improvements :
- Force a refresh/new parsing when the configuration changes
- Fix scheduled disconnection : if a sound is played during the grace period, the scheduled disconnection is postponed, not added to the last
- add a possibility to never disconnect the audio sink (in order to have a lower latency when playing sound)
Closes #11272

Signed-off-by: Gwendal Roulleau <gwendal.roulleau@gmail.com>
* Small fixes after proofreading

Signed-off-by: Gwendal Roulleau <gwendal.roulleau@gmail.com>
Co-authored-by: Gwendal Roulleau <gwendal.roulleau@gmail.com>
4 years ago[systeminfo] Fix heap graph too high on axis. (#11351)
Matthew Skinner [Sat, 9 Oct 2021 08:16:23 +0000 (19:16 +1100)]
[systeminfo] Fix heap graph too high on axis. (#11351)

Was calculating the “used heap” based on max heap size and not on the currently allocated size.

Signed-off-by: Matthew Skinner <matt@pcmus.com>
4 years agoAbstract over bin paths using env (#11339)
Matthias Herrmann [Wed, 6 Oct 2021 14:19:38 +0000 (16:19 +0200)]
Abstract over bin paths using env (#11339)

Signed-off-by: Matthias Herrmann <matthias.mh.herrmann@gmail.com>
4 years ago[darksky] Added hint about Dark Sky API deprecation (#11347)
Christoph Weitkamp [Tue, 5 Oct 2021 15:56:56 +0000 (17:56 +0200)]
[darksky] Added hint about Dark Sky API deprecation (#11347)

Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
4 years ago[netatmo] Updated dev portal URLs in 1st step of README (#11194)
hutdev [Mon, 4 Oct 2021 14:33:08 +0000 (16:33 +0200)]
[netatmo] Updated dev portal URLs in 1st step of README (#11194)

URLs for the Netatmo developer portal seem to have changed

4 years ago[myq] Fixes a serious issue that could wipe out cookies across an entire OH instance...
Dan Cunningham [Mon, 4 Oct 2021 05:41:41 +0000 (22:41 -0700)]
[myq] Fixes a serious issue that could wipe out cookies across an entire OH instance for bindings using the shared Jetty client (#11343)

Signed-off-by: Dan Cunningham <dan@digitaldan.com>
4 years agoNew Crowdin updates (#10570)
openhab-bot [Sun, 3 Oct 2021 20:14:10 +0000 (22:14 +0200)]
New Crowdin updates (#10570)

Signed-off-by: Wouter Born <github@maindrain.net>
4 years ago[BMWConnectedDrive] Authorization fix + channel enhancements (#11213) (#11263) (...
Bernd Weymann [Sun, 3 Oct 2021 06:15:07 +0000 (08:15 +0200)]
[BMWConnectedDrive] Authorization fix + channel enhancements (#11213) (#11263) (#11264)

4 years agofix: Support Quantity Types (#11229)
Peter Schraffl [Sat, 2 Oct 2021 23:38:28 +0000 (01:38 +0200)]
fix: Support Quantity Types (#11229)

Signed-off-by: Schraffl Peter <p.schraffl@gmx.at>
4 years ago[magentatv] Fix: Start UPNP listener to catch power off button, thing id in log ...
Markus Michels [Sat, 2 Oct 2021 21:02:28 +0000 (23:02 +0200)]
[magentatv] Fix: Start UPNP listener to catch power off button, thing id in log (#11238)

* Fix: Start UPNP listener to catch power off button, thing id in log
messages

Signed-off-by: Markus Michels <markus7017@gmail.com>
* comment removed

Signed-off-by: Markus Michels <markus7017@gmail.com>
4 years ago[miele] Temperature channel improvements: UoM, categories and descriptions (#11329)
jlaur [Sat, 2 Oct 2021 17:57:22 +0000 (19:57 +0200)]
[miele] Temperature channel improvements: UoM, categories and descriptions (#11329)

* Improvements for temperature channels

Fixes #11317

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
* Added jlaur as miele binding maintainer

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
* Fix spinning speed for washing machines

Fixes #11317

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
* Added time as category for DateTime-related channels

Fixes #11317

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
* Elapsed/remaining time channels are no longer marked as advanced.

Fixes #11317

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
* Fixed type for temperature item examples.

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
* Document all states (cross-appliance).

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
* Improved error handling for getTemperatureState

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
* Split current/target temperature into two channel types for label reuse

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
* Fix possible NullPointerException

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
* Distinguish between oven program temperatures

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
* Mark oven program temperature 1 and 2 as advanced.

Fixes #11317

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
4 years ago[Astro] Removing org.apache.commons.* (#11327)
Gaël L'hopital [Sat, 2 Oct 2021 12:16:23 +0000 (14:16 +0200)]
[Astro] Removing org.apache.commons.* (#11327)

* Removing org.apache.commons.*
Some code cleansing

Signed-off-by: Gaël L'hopital <gael@lhopital.org>
* Some more code cleansing.

Signed-off-by: Gaël L'hopital <gael@lhopital.org>
* Satisfy integration tests

Signed-off-by: Gaël L'hopital <gael@lhopital.org>
* Taking in account @lolodomo feed-back

Signed-off-by: Gaël L'hopital <gael@lhopital.org>
4 years ago[dsmr] Fix payload length calculation for Smarty meters (#11328)
Hilbrand Bouwkamp [Thu, 30 Sep 2021 20:59:54 +0000 (22:59 +0200)]
[dsmr] Fix payload length calculation for Smarty meters (#11328)

Fixes #10932
Supersedes #10933 and adds a unit test.

Also-by: Alexander Hotz <alex.hotz@gmail.com>
Signed-off-by: Hilbrand Bouwkamp <hilbrand@h72.nl>
4 years ago[influxdb] Add info that it's no good idea to override the item tag via metadata...
Matthias Glaub [Thu, 30 Sep 2021 18:59:26 +0000 (20:59 +0200)]
[influxdb] Add info that it's no good idea to override the item tag via metadata (#11316)

* add info that it's no good idea to override the item tag via metadata

closes #11288

Signed-off-by: Matthias Glaub <magl@magl.net>
4 years ago[heliosventilation] reference modbus.helioseasycontrols binding (#11324)
Bernhard Bauer [Thu, 30 Sep 2021 17:21:30 +0000 (19:21 +0200)]
[heliosventilation] reference modbus.helioseasycontrols binding (#11324)

* Update README.md

Signed-off-by: Bernhard Bauer <bern77@gmail.com>
4 years ago[helioseasycontrols] reference heliosventilation binding (#11325)
Bernhard Bauer [Thu, 30 Sep 2021 17:09:24 +0000 (19:09 +0200)]
[helioseasycontrols] reference heliosventilation binding (#11325)

* [helioseasycontrols] reference heliosventilation binding

There are two binding supporting different types of Helios ventilation systems. Cross referencing the bindings in their descriptions should help users identify the right binding for their device.

Signed-off-by: Bernhard Bauer <bern77@gmail.com>
4 years agoBump netty.io to 4.1.68.Final (#11326)
Matthew Skinner [Thu, 30 Sep 2021 16:48:52 +0000 (02:48 +1000)]
Bump netty.io to 4.1.68.Final (#11326)

Update to latest Netty which has 2 security fixes in it.

https://netty.io/news/2021/09/09/4-1-68-Final.html

Signed-off-by: Matthew Skinner <matt@pcmus.com>
4 years ago[systeminfo] Add 2 new channels for Java heap (#11322)
Matthew Skinner [Thu, 30 Sep 2021 07:14:31 +0000 (17:14 +1000)]
[systeminfo] Add 2 new channels for Java heap (#11322)

* Add heap measuring.
* refactor to remove apache.commons

Signed-off-by: Matthew Skinner <matt@pcmus.com>
4 years ago[miele] Fix supercool/superfreeze for fridges/fridge-freezers (#11321)
jlaur [Thu, 30 Sep 2021 07:00:26 +0000 (09:00 +0200)]
[miele] Fix supercool/superfreeze for fridges/fridge-freezers (#11321)

* Fix typos.

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
* Do not expose getTypeClass through interface.

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
* Fix channel supercool for fridges and partially fix supercool/superfreeze for fridge-freezers.

Fixes #11320

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
* Fix two-way channel synchronization for supercool/superfreeze for fridge-freezer.

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
4 years ago[Luxtronik] Fix possible out ouf bound error for older heatpumps (#11318)
Stefan Giehl [Tue, 28 Sep 2021 22:09:34 +0000 (00:09 +0200)]
[Luxtronik] Fix possible out ouf bound error for older heatpumps (#11318)

* [Luxtronik] Fix possible out ouf bound error for older heatpumps

Signed-off-by: Stefan Giehl <stefangiehl@gmail.com>
* fix typo

Signed-off-by: Stefan Giehl <stefangiehl@gmail.com>
4 years ago[tplinksmarthome] Added new devices EP10, EP40, KL125, and KL135 (#11282)
Hilbrand Bouwkamp [Tue, 28 Sep 2021 16:28:15 +0000 (18:28 +0200)]
[tplinksmarthome] Added new devices EP10, EP40, KL125, and KL135 (#11282)

Closes #11156

Signed-off-by: Hilbrand Bouwkamp <hilbrand@h72.nl>
4 years ago[nanoleaf] Reimplement touch detection based on SSE, stabilize behavior, add swipe...
stefan-hoehn [Tue, 28 Sep 2021 07:07:12 +0000 (09:07 +0200)]
[nanoleaf] Reimplement touch detection based on SSE, stabilize behavior, add swipe support (#11133)

* [nanoleaf] reimplement touch detection based on sse, stabilize behavior
* [nanoleaf] add swipe support
* [nanoleaf] add / tested full shapes support

Signed-off-by: Stefan Höhn <stefan@andreaundstefanhoehn.de>
4 years ago[lifx] Add channels for controlling absolute color temperature in Kelvin (#11309)
Wouter Born [Mon, 27 Sep 2021 20:00:01 +0000 (22:00 +0200)]
[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>
4 years ago[mail] Add support for e-mail headers (#11307)
Andrew Fiddian-Green [Mon, 27 Sep 2021 08:38:13 +0000 (09:38 +0100)]
[mail] Add support for e-mail headers (#11307)

Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
4 years ago[danfossairunit] Fix network reliability issues and setting of all channel values...
jlaur [Mon, 27 Sep 2021 05:58:10 +0000 (07:58 +0200)]
[danfossairunit] Fix network reliability issues and setting of all channel values to zero (#11172)

* Fix Potential null pointer accesses
* Added constants for TCP port and poll interval in seconds.
* Extract interface from DanfossAirUnitCommunicationController.
* Remove unused constants which seems to be left-overs from skeleton.
* Added constant for discovery timeout value for readability.
* Created handler subfolder for DanfossAirUnitHandler (like discovery) for consistency with other bindings.
* Handle lost connection gracefully without updating all channels to zero.
* Fix infinitly blocking network calls preventing proper error handling.
* Fix thing status being reset to ONLINE after failing to update all channels.
* Fix error handling when receiving invalid manual fan step.

Fixes #11167
Fixes #11188

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
4 years agoFix/remove outdated "Default Tags" (#11313)
Wouter Born [Mon, 27 Sep 2021 05:33:56 +0000 (07:33 +0200)]
Fix/remove outdated "Default Tags" (#11313)

There used to be the following "Default Tags" which are no longer used in the current semantic model:

* Lighting
* Switchable
* CurrentTemperature
* TargetTemperature
* CurrentHumidity

See:

* https://www.openhab.org/docs/developer/bindings/thing-xml.html#default-tags
* https://www.openhab.org/docs/tutorial/model.html#semantic-model

Signed-off-by: Wouter Born <github@maindrain.net>
4 years ago[pidcontroller] Improve logging (#11312)
Fabian Wolter [Mon, 27 Sep 2021 05:30:16 +0000 (07:30 +0200)]
[pidcontroller] Improve logging (#11312)

Signed-off-by: Fabian Wolter <github@fabian-wolter.de>
4 years ago[mielecloud] Increase timeout for integration tests (#11306)
Björn Lange [Sun, 26 Sep 2021 17:05:35 +0000 (19:05 +0200)]
[mielecloud] Increase timeout for integration tests (#11306)

Signed-off-by: Björn Lange <bjoern.lange@tu-dortmund.de>
4 years agoAllow multi release JARs to resolve (#11303)
Matthew Skinner [Sun, 26 Sep 2021 14:16:07 +0000 (00:16 +1000)]
Allow multi release JARs to resolve (#11303)

This allows bnd to resolve multi release jar files.

A number of people have posted they have troubles adding dependancies on the forum with this error.
`Classes found in the wrong directory: {META-INF/versions/9/module-info.class=module-info}`

Issue about it is here:
https://github.com/bndtools/bnd/issues/2227

An alternative fix is to add the following into each bindings pom.xml

```
  <properties>
    <bnd.fixupmessages>"Classes found in the wrong directory"; is:=warning</bnd.fixupmessages>
  </properties>
```

Not sure what the correct way to handle this is but these are two ways I have tested.

Signed-off-by: Matthew Skinner <matt@pcmus.com>
4 years agoAdd new channels for water and power consumption for washing machines and dishwashers...
jlaur [Sat, 25 Sep 2021 19:09:26 +0000 (21:09 +0200)]
Add new channels for water and power consumption for washing machines and dishwashers. (#11298)

Fixes #11297

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
4 years ago[wolfsmartset] Initial contribution (#10751)
Bo Biene [Sat, 25 Sep 2021 19:07:54 +0000 (21:07 +0200)]
[wolfsmartset] Initial contribution (#10751)

Signed-off-by: Bo Biene <openhab.github@biene.eu>
4 years agoMake sure bridge status is set when returning from initialize (#11289)
Kai Kreuzer [Sat, 25 Sep 2021 17:10:12 +0000 (19:10 +0200)]
Make sure bridge status is set when returning from initialize (#11289)

Signed-off-by: Kai Kreuzer <kai@openhab.org>
4 years agoFix coffee machine auto-discovery. (#11302)
jlaur [Sat, 25 Sep 2021 14:50:24 +0000 (16:50 +0200)]
Fix coffee machine auto-discovery. (#11302)

Fixes #8779

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
4 years agoFix IllegalArgumentException when using oven channel 'type' (#11287)
jlaur [Wed, 22 Sep 2021 19:32:32 +0000 (21:32 +0200)]
Fix IllegalArgumentException when using oven channel 'type' (#11287)

Fixes #11286

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
4 years ago[modbus] Remove helioseasycontrols binding.xml causing binding identification issues...
Wouter Born [Wed, 22 Sep 2021 06:35:06 +0000 (08:35 +0200)]
[modbus] Remove helioseasycontrols binding.xml causing binding identification issues (#11281)

There should only be one binding.xml file for each binding.

Fixes #8973

Signed-off-by: Wouter Born <github@maindrain.net>
4 years ago[metrics] Fix configuration PID and add file based configuration example (#11280)
Wouter Born [Wed, 22 Sep 2021 06:34:09 +0000 (08:34 +0200)]
[metrics] Fix configuration PID and add file based configuration example (#11280)

Fixes #11279

Signed-off-by: Wouter Born <github@maindrain.net>
4 years ago[modbus] DEVELOPERS.md: fix jamod dependency in demo app (#11278)
Sami Salonen [Tue, 21 Sep 2021 20:01:43 +0000 (23:01 +0300)]
[modbus] DEVELOPERS.md: fix jamod dependency in demo app (#11278)

As discussed in #8551. See comment from fwolter at Sep 23 2020.:
https://github.com/openhab/openhab-addons/issues/8551#issuecomment-697237105

Signed-off-by: Sami Salonen <ssalonen@gmail.com>
4 years ago[modbus] Fix link to modbus developer documentation (#11277)
Sami Salonen [Tue, 21 Sep 2021 19:58:54 +0000 (22:58 +0300)]
[modbus] Fix link to modbus developer documentation (#11277)

Resolves #8382

Signed-off-by: Sami Salonen <ssalonen@gmail.com>
4 years ago[mikrotik] Mikrotik RouterOS Binding - Initial contribution (#10014)
Oleg Vivtash [Tue, 21 Sep 2021 17:40:57 +0000 (20:40 +0300)]
[mikrotik] Mikrotik RouterOS Binding - Initial contribution (#10014)

* [mikrotik] Initial contribution
Build fix
Linter concerns fixed
Post-review updates
Apply suggestions from code review

Co-authored-by: Matthew Skinner <matt@pcmus.com>
[mikrotik] Byte channels UOM update
[mikrotik] UOM updates; minor improvements
[mikrotik] ThingTypes update

Signed-off-by: Oleg Vivtash <oleg@vivtash.net>
* [mikrotik] Version bump, bugfix (thanks @radokristof)

Signed-off-by: Oleg Vivtash <oleg@vivtash.net>
* [mikrotik] Raw uptime channel removed

Signed-off-by: Oleg Vivtash <oleg@vivtash.net>
* [mikrotik] Traces removed

Signed-off-by: Oleg Vivtash <oleg@vivtash.net>
* [mikrotik] Readme update

Signed-off-by: Oleg Vivtash <oleg@vivtash.net>
* [mikrotik] More Null checks

Signed-off-by: Oleg Vivtash <oleg@vivtash.net>
* [mikrotik] thing-types update

Signed-off-by: Oleg Vivtash <oleg@vivtash.net>
* [mikrotik] Units update

Signed-off-by: Oleg Vivtash <oleg@vivtash.net>
* [mikrotik] Readme signal update

Signed-off-by: Oleg Vivtash <oleg@vivtash.net>
* [mikrotik] Rate channels unit fix

Signed-off-by: Oleg Vivtash <oleg@vivtash.net>
* [mikrotik] Work on codestyle report and some compiler warnings

Signed-off-by: Oleg Vivtash <oleg@vivtash.net>
* [mikrotik] No more compiler warnings

Signed-off-by: Oleg Vivtash <oleg@vivtash.net>
* [mikrotik] Minus null check

Signed-off-by: Oleg Vivtash <oleg@vivtash.net>
Co-authored-by: Fabian Wolter <github@fabian-wolter.de>
Co-authored-by: Fabian Wolter <github@fabian-wolter.de>
4 years ago[ipcamera] Move to using port 8080 servlet not Netty. (#11160)
Matthew Skinner [Tue, 21 Sep 2021 17:39:46 +0000 (03:39 +1000)]
[ipcamera] Move to using port 8080 servlet not Netty. (#11160)

* Move to using 8080 servlet not Netty.

Signed-off-by: Matthew Skinner <matt@pcmus.com>
* Add some mjpeg features to servlet.

Signed-off-by: Matthew Skinner <matt@pcmus.com>
* Fix autofps bug

Signed-off-by: Matthew Skinner <matt@pcmus.com>
* Reached feature parity.

Signed-off-by: Matthew Skinner <matt@pcmus.com>
* Cleanup serverPort from cameras.

Signed-off-by: Matthew Skinner <matt@pcmus.com>
* bug fixes.

Signed-off-by: Matthew Skinner <matt@pcmus.com>
* Refactor groups.

Signed-off-by: Matthew Skinner <matt@pcmus.com>
* Bug fixes to groups

Signed-off-by: Matthew Skinner <matt@pcmus.com>
* Update readme

Signed-off-by: Matthew Skinner <matt@pcmus.com>
* Cleanup

Signed-off-by: Matthew Skinner <matt@pcmus.com>
* clean up 2.

Signed-off-by: Matthew Skinner <matt@pcmus.com>
* bug fixes.

Signed-off-by: Matthew Skinner <matt@pcmus.com>
* Improve snapshot fetching for autofps.

Signed-off-by: Matthew Skinner <matt@pcmus.com>
* Make functions synchronized.

Signed-off-by: Matthew Skinner <matt@pcmus.com>
* Fixes.

Signed-off-by: Matthew Skinner <matt@pcmus.com>
* Abstract servlets

Signed-off-by: Matthew Skinner <matt@pcmus.com>
* Fix NPE warnings

Signed-off-by: Matthew Skinner <matt@pcmus.com>
* Remove ability to go child or parent folders.

Signed-off-by: Matthew Skinner <matt@pcmus.com>
* autofps improvement

Signed-off-by: Matthew Skinner <matt@pcmus.com>
4 years ago[systeminfo] Upgrade OSHI dependency for latest fixes/improvements (#11274)
Wouter Born [Mon, 20 Sep 2021 12:49:32 +0000 (14:49 +0200)]
[systeminfo] Upgrade OSHI dependency for latest fixes/improvements (#11274)

Upgrades OSHI from 4.5.2 to 5.8.2.

For all OSHI fixes and improvements, see:

https://github.com/oshi/oshi/blob/master/CHANGELOG.md#580-2021-07-18-581-2021-08-22-582-2021-09-05

Signed-off-by: Wouter Born <github@maindrain.net>
4 years ago[openweathermap]: Fix NPE on OneCall-API (#125740) and reduce min refreshInterval...
Oliver Raible [Mon, 20 Sep 2021 05:48:19 +0000 (07:48 +0200)]
[openweathermap]:  Fix NPE on OneCall-API (#125740) and reduce min refreshInterval to support paid plans (#11255)

* fix NullPointerException at OneCall-API
* reduce min refreshInterval from 10 to 1 min to support paid plans

Signed-off-by: ehora <oliver.raible@yapoware.com>
4 years ago[LuxtronikHeatpump] Adds additional setting for heating limit temperature (#11273)
Stefan Giehl [Sun, 19 Sep 2021 20:32:00 +0000 (22:32 +0200)]
[LuxtronikHeatpump] Adds additional setting for heating limit temperature (#11273)

* [Luxtronik Heatpump] Adds additional setting for heating limit temperature

Signed-off-by: Stefan Giehl <stefangiehl@gmail.com>
4 years ago[telegram] [influxdb] Update okhttp3 lib (#11130)
Matthew Skinner [Sun, 19 Sep 2021 20:08:13 +0000 (06:08 +1000)]
[telegram] [influxdb] Update okhttp3 lib (#11130)

Signed-off-by: Matthew Skinner <matt@pcmus.com>
4 years ago[chamberlainmyq] Added new Close Error and Open Error Switch Items fo… (#11115)
ofirster [Sun, 19 Sep 2021 20:06:35 +0000 (23:06 +0300)]
[chamberlainmyq] Added new Close Error and Open Error Switch Items fo… (#11115)

Signed-off-by: Ofir Strull <ofir@veev.com>
4 years ago[mqtt-homeassistant] Refactoring: fixed under_score/CamelCase usages and nullable...
antroids [Sun, 19 Sep 2021 20:04:14 +0000 (23:04 +0300)]
[mqtt-homeassistant] Refactoring: fixed under_score/CamelCase usages and nullable annotations (#11120)

Signed-off-by: Anton Kharuzhy <antroids@gmail.com>
4 years ago[miio] Automatic create experimental support for (unsupported) miot devices (#11149)
Marcel [Sun, 19 Sep 2021 20:01:22 +0000 (22:01 +0200)]
[miio] Automatic create experimental support for (unsupported) miot devices (#11149)

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
4 years ago[kodi] Add channel for KODI JSON-RPC call Input.ButtonEvent (#11181)
Thomas [Sun, 19 Sep 2021 19:59:19 +0000 (21:59 +0200)]
[kodi] Add channel for KODI JSON-RPC call Input.ButtonEvent (#11181)

Signed-off-by: Thomas Schumm <thomas.schumm@yahoo.de>
4 years agoAdded possiblity to send WOL Requests to configured Hostname, also removed unnecessar...
Jonathan S [Sun, 19 Sep 2021 19:55:39 +0000 (21:55 +0200)]
Added possiblity to send WOL Requests to configured Hostname, also removed unnecessary unit from Timeout Annotation in WakeOnLanPacketSenderTest (#11199)

Signed-off-by: Jonathan Saxen <jonathan@saxen.info>
4 years ago[melcloud] Fix thing type id in documentation
DirkSander [Sun, 19 Sep 2021 10:06:27 +0000 (12:06 +0200)]
[melcloud] Fix thing type id in documentation

4 years ago[melcloud] Fix thing type id in documentation
DirkSander [Sun, 19 Sep 2021 10:05:17 +0000 (12:05 +0200)]
[melcloud] Fix thing type id in documentation

4 years ago[lifx] Support HEV clean cycle (#11262)
Wouter Born [Sun, 19 Sep 2021 09:45:06 +0000 (11:45 +0200)]
[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>
4 years agoRename feature.xml in order to exclude it from feature aggregation (#11266)
Kai Kreuzer [Sun, 19 Sep 2021 09:40:55 +0000 (11:40 +0200)]
Rename feature.xml in order to exclude it from feature aggregation (#11266)

Signed-off-by: Kai Kreuzer <kai@openhab.org>
4 years ago[surepetcare] Check for null before updating pet location channels (#11235)
Maarten Blokker [Sun, 19 Sep 2021 09:40:16 +0000 (11:40 +0200)]
[surepetcare] Check for null before updating pet location channels (#11235)

fixes #11234

Signed-off-by: Maarten Blokker <maarten.blokker@outlook.com>
4 years ago[miele] Fix multicast and multi-protocol support (ZigBee/Wi-Fi) (#11244)
jlaur [Sat, 18 Sep 2021 20:59:18 +0000 (22:59 +0200)]
[miele] Fix multicast and multi-protocol support (ZigBee/Wi-Fi) (#11244)

* Fix multicast and multi-protocol support (ZigBee/Wi-Fi)
* Fix channel description referring to hood but also used for oven and other appliances.
* Fix auto-discovery finding already configured things through files.

Fixes #11242

Fixes #11243

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
4 years agoUpgrade to Karaf 4.3.3 (#11261)
Wouter Born [Sat, 18 Sep 2021 17:33:18 +0000 (19:33 +0200)]
Upgrade to Karaf 4.3.3 (#11261)

* Syncs the karaf.version so the new Maven plugin is used
* Resolves itest runbundles for the new runtime dependencies

Signed-off-by: Wouter Born <github@maindrain.net>
4 years ago[telegram] Add event channels and Answer overload (#9251)
Michael Murton [Sat, 18 Sep 2021 13:08:00 +0000 (09:08 -0400)]
[telegram] Add event channels and Answer overload (#9251)

* Add event channels and Answer overload

Signed-off-by: Michael Murton <6764025+CrazyIvan359@users.noreply.github.com>
4 years ago[homematic] Remove double press events and improve long press events for button trigg...
maniac103 [Sat, 18 Sep 2021 12:32:40 +0000 (14:32 +0200)]
[homematic] Remove double press events and improve long press events for button trigger (#11186)

HM devices provide not only 'long press' events, but also 'long
press continued' (sent in configured long press interval) and 'long
press released' events. So far, those events were swallowed in the
button datapoint handler.
Improve the situation by forwarding those events to the button trigger
channel, making them usable in e.g. rules that react on button long
presses.

A double press timeout of 2 seconds is too long and disturbs single
press processing. Additionally, for double press processing to be
useful, the first press would need to be swallowed until double press
timeout elapses, which is not what happened here: the first PRESS was
sent out as SINGLE_PRESS event, making it impossible to meaningfully
distinguish the 'single press' and 'double press' events within rules.

If needed, double press handling can be implemented equally well within
a rule.

Signed-off-by: Danny Baumann <dannybaumann@web.de>
4 years ago[somfytahoma] Fixed rssi channels creation & properties updating (#11254)
Ondrej Pecta [Sat, 18 Sep 2021 11:56:36 +0000 (13:56 +0200)]
[somfytahoma] Fixed rssi channels creation & properties updating (#11254)

Signed-off-by: Ondrej Pecta <opecta@gmail.com>
4 years ago[hdpowerview] Add Hub configuration option hardRefreshBatteryLevel (#11260)
jlaur [Sat, 18 Sep 2021 11:55:04 +0000 (13:55 +0200)]
[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>
4 years agoImprove discovery service (#11258)
mlobstein [Sat, 18 Sep 2021 11:51:30 +0000 (06:51 -0500)]
Improve discovery service (#11258)

Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
4 years agoSupport for SHA-256 (#11240)
Pawel Pieczul [Fri, 17 Sep 2021 06:40:11 +0000 (08:40 +0200)]
Support for SHA-256 (#11240)

Signed-off-by: Pawel Pieczul <pieczul@gmail.com>
4 years ago[metrics] Add Java Management Extensions (JMX) metrics exporter (#11249)
Wouter Born [Thu, 16 Sep 2021 07:11:12 +0000 (09:11 +0200)]
[metrics] Add Java Management Extensions (JMX) metrics exporter (#11249)

* Add Java Management Extensions (JMX) metrics exporter
* Use groups in metrics add-on configuration
* Improve null annotations
* Update documentation

Signed-off-by: Wouter Born <github@maindrain.net>
4 years ago[groovyscripting] Update Groovy to 3.0.9 (#11251)
Wouter Born [Wed, 15 Sep 2021 17:02:17 +0000 (19:02 +0200)]
[groovyscripting] Update Groovy to 3.0.9 (#11251)

For all bugfixes and improvements, see:

http://groovy-lang.org/changelogs/changelog-3.0.9.html

Signed-off-by: Wouter Born <github@maindrain.net>
4 years ago[miio] add support for Smartmi Fresh Air System (zhimi.airfresh.va4&va2) (#11164)
Marcel [Tue, 14 Sep 2021 14:57:57 +0000 (16:57 +0200)]
[miio] add support for Smartmi Fresh Air System (zhimi.airfresh.va4&va2) (#11164)

* [miio] add support for Smartmi Fresh Air System (zhimi.airfresh.va4&va2)

Add support for
* Smartmi Fresh Air System (zhimi.airfresh.va4)
* Smartmi Fresh Air System (zhimi.airfresh.va2)

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
* [miio] fix 2 commands and add some formatting

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
* [miio] fix copy paste error

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
* [miio] airfresh channelnames

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
* [miio] merge & count devices

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
4 years ago[kaleidescape] Add configuration option to auto load metadata channels without rules...
mlobstein [Tue, 14 Sep 2021 14:55:48 +0000 (09:55 -0500)]
[kaleidescape] Add configuration option to auto load metadata channels without rules (#11231)

* Add configuration option to auto load metadata channels

Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
* Debug message

Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
4 years ago[miio] Add support for Yeelight Jade Smart LED Ceiling Light (#11241)
Marcel [Mon, 13 Sep 2021 17:54:35 +0000 (19:54 +0200)]
[miio] Add support for Yeelight Jade Smart LED Ceiling Light (#11241)

Add support for  yeelink.light.ceil26 - Yeelight Jade Smart LED Ceiling
Light C2001

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>