Commit Graph

2472 Commits

Author SHA1 Message Date
Wolfgang Klimt 61de1a5387
[awattar] Initial contribution (#11976)
* First alpha version of the awattar binding

Signed-off-by: wolfii <wolfgang.klimt@consol.de>
Signed-off-by: Wolfgang Klimt <github@klimt.de>

* Corrected typos

Signed-off-by: wolfii <wolfgang.klimt@consol.de>
Signed-off-by: Wolfgang Klimt <github@klimt.de>

* More typos

Signed-off-by: wolfii <wolfgang.klimt@consol.de>
Signed-off-by: Wolfgang Klimt <github@klimt.de>

* Improved time handling to consider time zone.

Signed-off-by: wolfii <wolfgang.klimt@consol.de>
Signed-off-by: Wolfgang Klimt <github@klimt.de>

* Corrected logical time problem, start adding nextprice thing

Signed-off-by: wolfii <wolfgang.klimt@consol.de>
Signed-off-by: Wolfgang Klimt <github@klimt.de>

* Added support for Austria

Signed-off-by: wolfii <wolfgang.klimt@consol.de>
Signed-off-by: Wolfgang Klimt <github@klimt.de>

* Use List instead of Set

Signed-off-by: wolfii <wolfgang.klimt@consol.de>
Signed-off-by: Wolfgang Klimt <github@klimt.de>

* Minor corrections

Signed-off-by: Wolfgang Klimt <github@klimt.de>

* Removed unneeded handler, corrected fetching of prices

Signed-off-by: Wolfgang Klimt <github@klimt.de>

* Added i18n, updated documentation

Signed-off-by: Wolfgang Klimt <github@klimt.de>

* Corrected pom.xml after rebase

Signed-off-by: Wolfgang Klimt <github@klimt.de>

* Updated version to 3.3.0-SNAPSHOT

Signed-off-by: Wolfgang Klimt <github@klimt.de>

* Corrected findings of Code analysis tool

Signed-off-by: Wolfgang Klimt <github@klimt.de>

* Updated copyright notice

Signed-off-by: Wolfgang Klimt <github@klimt.de>

* Updates to get rid of compiler warnings

Signed-off-by: Wolfgang Klimt <github@klimt.de>

* Worked on review comments from @fwolter

Obeyed most of the review comments. Exceptions:

* binding is already added to bom/openhab-addons/pom.xml (at least I found it there and there was a commit notice in git log)
* mvn license:format brought back 2021, so I manually set everything to 2022. Should I try to rebase my whole branch?
* In two places the binding needs to adjust to minute boundaries, hence scheduleWithFixedDelay will not work.
* I removed empty trailing lines, but mvn spotless:apply brought them back
* The OhInfXmlUsageCheck seems to be wrong.
* The ConstantNameCheck in AwattarUtil seems to be mislead by the fact that all members of the class are static, including the logger. From my point of view it is not a real "constant".

Signed-off-by: Wolfgang Klimt <github@klimt.de>

* Updated Readme to match code changes

Signed-off-by: Wolfgang Klimt <github@klimt.de>

* Further work on review comments from @fwolter

Signed-off-by: Wolfgang Klimt <github@klimt.de>

* Corrected config definition

Signed-off-by: Wolfgang Klimt <github@klimt.de>

* Changed Copyright to 2022

Signed-off-by: Wolfgang Klimt <github@klimt.de>

* Review comments from @fwolter. Improved timezone handling

Signed-off-by: Wolfgang Klimt <github@klimt.de>

Co-authored-by: wolfii <wolfgang.klimt@consol.de>
2022-05-02 08:22:47 +02:00
openhab-bot 3cac11b16b
New Crowdin updates (#12673)
* New translations groupepsa.properties (Italian)
* New translations jellyfin.properties (Italian)
2022-05-01 20:51:59 +02:00
Florian Hotze 69c3b0f353
[yamahamusiccast] Fix VolumeDB channel resets on UDP event (#12671)
* [yamahamusiccast] Fix VolumeDB resets on UDP event
* [yamahamusiccast] Update channel description & docs

Fixes [yamahamusiccast] VolumeDB channel resets to -80 on player channel change #12656.

Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
2022-05-01 12:50:10 +02:00
lolodomo 346337fd9a
[groupepsa] Add default translations (#12669)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-04-30 21:07:57 +02:00
openhab-bot aec277d446
New translations sonos.properties (French) (#12670) 2022-04-30 21:01:07 +02:00
GiviMAD f4b888a8fd
[androiddebugbridge] add start intent channel (#12438)
* [androiddebugbridge] add start intent channel

Signed-off-by: Miguel Álvarez Díez <miguelwork92@gmail.com>
2022-04-30 20:32:11 +02:00
lolodomo f94e2af673
[jellyfin] Add default translations (#12668)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-04-30 19:46:49 +02:00
Arjan Mels 8e7c78cef5
[groupepsa] Initial Contribution (#10332)
* Initial commit: template only

Signed-off-by: Arjan Mels <github@mels.email>

* Initial version

Signed-off-by: Arjan Mels <github@mels.email>

* Minor cleanup after rebase

Signed-off-by: Arjan Mels <github@mels.email>

* Corrected type "peugot" => "peugeot"

Signed-off-by: Arjan Mels <github@mels.email>

* Improved Exception messages
Corrected URL

Signed-off-by: Arjan Mels <github@mels.email>

* Switched from vin to id
Changed nextDelayedTime from ZonedDateTime to Duration
Added vehcile etails and additional info retrieval

Signed-off-by: Arjan Mels <github@mels.email>

* Before rebase

Signed-off-by: Arjan Mels <github@mels.email>

* Various fixes

Signed-off-by: Arjan Mels <github@mels.email>

* Updated tests

Signed-off-by: Arjan Mels <github@mels.email>

* Changed double to BigDecimal to keep accuracy
Added lastupdated channel
Small corrections

Signed-off-by: Arjan Mels <github@mels.email>

* Updated to 3.1.0-SNAPSHOT

Signed-off-by: Arjan Mels <github@mels.email>

* Added README.md

Signed-off-by: Arjan Mels <github@mels.email>

* Changed channels to lowerCamelCase

Signed-off-by: Arjan Mels <github@mels.email>

* Minor corrections

Signed-off-by: Arjan Mels <github@mels.email>

* Corrected lastUpdated in thing-types.xml

Signed-off-by: Arjan Mels <github@mels.email>

* Fixed ToStringbuilder

Signed-off-by: Arjan Mels <github@mels.email>

* corrected capitalization in thing-types.xml and Constants

Signed-off-by: Arjan Mels <github@mels.email>

* Corrected URL for Citroen

Signed-off-by: Arjan Mels <github@mels.email>

* Added groupepsa binding to bom pom.xml

Signed-off-by: Arjan Mels <github@mels.email>

* Updated copyrights

Signed-off-by: Arjan Mels <github@mels.email>

* Fixed CheckStyle warnings

Signed-off-by: Arjan Mels <github@mels.email>

* Fixed check style notifications

Signed-off-by: Arjan Mels <github@mels.email>

* Updated readme

Signed-off-by: Arjan Mels <github@mels.email>

* Corrected capitalization of thing-types.xml

Signed-off-by: Arjan Mels <github@mels.email>

* Updated pom. xml to 3.3.0-SNAPSHOT

Signed-off-by: Arjan Mels <github@mels.email>

* Updated copyright messages

Signed-off-by: Arjan Mels <github@mels.email>

* Various minor cleanups
Cleanup of the README.md
Removed unnecessary license header form the feature.xml file
Various null annotation corrections
Further cleanup of thing-types.xml
Cleanup of groupepsa.properties

Signed-off-by: Arjan Mels <github@mels.email>

* Logging updates

Signed-off-by: Arjan Mels <github@mels.email>

* Updated dependencies
Added dependencies to NOTICE

Signed-off-by: Arjan Mels <github@mels.email>

* Ignore lastposition for isConnected check

Signed-off-by: Arjan Mels <github@mels.email>

* Updated to use ThingHandlerService

Signed-off-by: Arjan Mels <github@mels.email>

* Fixed various review findings

Signed-off-by: Arjan Mels <github@mels.email>

Co-authored-by: Arjan Mels <github@mels.email>
2022-04-30 19:44:53 +02:00
J-N-K 7adfc482da
Bump commons-io (#12665)
This brings commons-io in-line with version in core.

Signed-off-by: Jan N. Klug <github@klug.nrw>
2022-04-30 11:55:18 +02:00
GiviMAD e6628cf63a
[jellyfin] initial contribution (#11939)
* [jellyfin] initial contribution

Signed-off-by: Miguel Álvarez Díez <miguelwork92@gmail.com>

* [jellyfin] update parent version

Signed-off-by: Miguel Álvarez Díez <miguelwork92@gmail.com>

* update license header year

Signed-off-by: Miguel Álvarez Díez <miguelwork92@gmail.com>

* add example to readme

Signed-off-by: Miguel Álvarez Díez <miguelwork92@gmail.com>

* apply pr review

Signed-off-by: Miguel Álvarez Díez <miguelwork92@gmail.com>

* apply pr review

Signed-off-by: Miguel Álvarez Díez <miguelwork92@gmail.com>

* apply pr review

Signed-off-by: Miguel Álvarez Díez <miguelwork92@gmail.com>

* add third-party info

Signed-off-by: Miguel Álvarez Díez <miguelwork92@gmail.com>

* upgrade sdk to release 1.2.0

Signed-off-by: Miguel Álvarez Díez <miguelwork92@gmail.com>
2022-04-30 10:58:14 +02:00
Gwendal Roulleau ae20f93f19
[pulseaudio] Allow flexible parameters to find a given pulseaudio device (#12598)
* [pulseaudio] Allow flexible parameters to find a given pulseaudio device

To identify the device on the pulseaudio server, you can now use the description instead of the technical id (a.k.a. "name").
To filter furthermore, you can also use the parameter additionalFilters (optional regular expressions that need to match a property value of a device on the pulseaudio server)

Closes #12555

Signed-off-by: Gwendal Roulleau <gwendal.roulleau@gmail.com>
2022-04-28 23:25:23 +02:00
Dan Cunningham c48ba25915
[iaqualink] Fix isssue using manual pool IDs (#12659)
Fixes #12654

Signed-off-by: Dan Cunningham <dan@digitaldan.com>
2022-04-27 16:08:57 +02:00
schmieeed 5f172c1557
Update README.md (#12658)
Comma's are missing + Thing name example added
2022-04-27 13:44:43 +02:00
eugen f310cf7ca0
[homekit] add support for additional homekit accessories (#12536)
Signed-off-by: Eugen Freiter <freiter@gmx.de>
2022-04-26 19:37:54 +02:00
Jacob Laursen d584daf334
Fix name of DSL action (#12655)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-04-26 10:51:03 +02:00
ulfwin fdc3206d84
Update README.md (#12652)
I have tried this binding with Tellstick Net v1, and it works (through Telldus Live)
2022-04-25 21:02:22 +02:00
Björn Lange 6b8db4fe0d
[mielecloud] Fix washing machine can be started channel is not updated (#12583)
* Add tests to ensure that parsing works correctly
* Fetch /actions on server sent event
* Refactor onServerSentEvent
* Remove ActionStateFetcher
* Manually construct BigDecimal

Signed-off-by: Björn Lange <bjoern.lange@itemis.de>
2022-04-25 20:13:47 +02:00
Kristof Rado cda38435e9
Fix ONLINE state when device response status is 203 (#12587)
Signed-off-by: Kristof Rado <rado.krisi@gmail.com>
2022-04-25 19:41:00 +02:00
Jacob Laursen e659ceeade
[wemo] Optimize port detection (#12651)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-04-25 17:47:23 +02:00
Florian Hotze 33ce468dab
[dwdunwetter] Update docs to clarify CellID selection (#12588)
* [dwdunwetter] Improve docs for CellID
* [dwdunwetter] Update Thing config for README changes
* [dwdunwetter] Update German README

Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
2022-04-25 14:34:05 +02:00
Wouter Born 8e28ef0c58
[mybmw] Add default translations (#12649)
* [mybmw] Add default translations
* Remove >

Signed-off-by: Wouter Born <github@maindrain.net>
2022-04-25 11:52:48 +02:00
jimtng f4532a9e88
[jrubyscripting] Fix UI configuration property id (#12650)
Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
2022-04-25 11:18:50 +02:00
Jacob Laursen 241a613d65
[wemo] Fix UPnP resubscription after lost network connection (#12648)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-04-25 11:16:47 +02:00
Hans-Jörg Merk 270c917e66
[mail] Fix UnsupportedDataTypeException (#12568)
Also-by: Jan N. Klug <jan.n.klug@rub.de>
Signed-off-by: Hans-Jörg Merk <github@hmerk.de>
2022-04-25 11:01:58 +02:00
Bernd Weymann c8d64ddeeb
[mybmw] new binding contribution (#12006)
* solve pom.xml conflict

Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>

* authorization working

Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>

* Fully Authorization integration & cleanup

Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>

* make project compilable

Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>

* make code compilable & buildable

Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>

* fix discovery test

Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>

* fix property test

Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>

* fix unit tests

Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>

* unit tests fixed

Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>

* solve checkstyle high & medium

Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>

* include all status update channel calls

Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>

* correct Closed/Connected/Locked states

Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>

* add charge statistics

Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>

* add ChargingProfile channels

Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>

* add charging sessions

Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>

* add discovery properties

Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>

* provide general check-control info

Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>

* add test data for different vehicles

Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>

* fix some checkstyle

Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>

* add more vehicles to unit test

Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>

* add F11 test

Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>

* add service mileage

Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>

* add check controls

Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>

* add fingerprint mechanism

Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>

* cleanup channels after rework

Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>

* bugfixe requesting vehicles

Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>

* fix brand handling

Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>

* anonymous fingerprint

Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>

* add charge statistics channels

Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>

* add tire channels

Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>

* remove range max channels

Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>

* resolve last checkstyle issues

Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>

* fix chrge profile updates

Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>

* fix remote service execution

Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>

* fix image handling

Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>

* adapt service & checkcontrol handling

Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>

* bugfix session selection

Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>

* rework km / mi handling

Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>

* introduce fallbacks for range calculations

Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>

* unit tests for all available vehicle fingerprints

Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>

* bugfixes during creation of HMI and translations

Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>

* bugfix translation and language selection

Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>

* introduce climate-now start / stop

Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>

* bugfixes translation

Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>

* add all fuelindicator fields

Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>

* correct remote service ids, commands and translations

Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>

* cleanup remote requsts and responses

Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>

* add remote response examples

Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>

* rework command options

Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>

* remove unused timezoneprovider

Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>

* locale language debugging

Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>

* fix range value calculation

Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>

* introduce charge-info channel

Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>

* localize charge info string

Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>

* smaller charge status fixes

Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>

* 1st readme adaptions plus corresponding bugfixes

Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>

* bugfix date time conversion

Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>

* readme channel group update

Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>

* add motion status

Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>

* raw test anonymous fingerprint

Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>

* revert motion status

Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>

* bugfixes todo sections

Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>

* china login

Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>

* remove unnecessary info logging

Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>

* spell check and example update

Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>

* resolve codeowner conflicts

Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>

* delete rex responses

Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>

* bugfix linux characters

Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>

* bugfix unit test with static time comparison

Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>

* Copyright header adaption

Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>

* add raw data channel

Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>

* add address channel

Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>

* add motion channel

Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>

* add mild hybrid vehicle support

Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>

* review comment corrections

Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>

* correct review comments

Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>

* resolve bom conflict

Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>
2022-04-25 08:12:55 +02:00
Ondrej Pecta ad71ca0055
[prowl] Added the message priority setting feature (#12647)
Signed-off-by: Ondrej Pecta <opecta@gmail.com>
2022-04-24 21:00:20 +02:00
boc-tothefuture 433ab4dcd4
Fix Nuvo Grand Concerto Detection (#12613)
Signed-off-by: Brian OConnell <broconne@gmail.com>
2022-04-24 09:14:24 +02:00
Doug Culnane dfd4beac82
[renault] API key to configuration parameter and rule update. (#12636)
* [renault] API key to configuration parameter and rule update.

Signed-off-by: Doug Culnane <doug@culnane.net>
2022-04-23 09:10:33 +02:00
Дилян Палаузов 6451afae5c
automation.jsscripting/README: hypelink (#12638) 2022-04-22 15:29:26 +02:00
Дилян Палаузов e44eb7d679
automation.jsscripting/README: typo (#12637) 2022-04-22 15:28:10 +02:00
Bernd Weymann 3aaebde800
BMW ConnectedDrive binding removal (#12634)
Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>
2022-04-22 10:47:53 +02:00
Mark Herwege 3123810b98
Fix null pointer exception for invalid protocolInfo. (#12632)
Signed-off-by: Mark Herwege <mark.herwege@telenet.be>
2022-04-22 08:53:58 +02:00
Ethan Dye aefdf06db0
[OmniLink] Remove extraneous newlines (#12630)
Signed-off-by: Ethan Dye <mrtops03@gmail.com>
2022-04-20 18:18:19 +02:00
Gaël L'hopital 3b77d114fc
[somfytahoma] Adding Moving channel to Rollershutter (#12605)
* Adding Moving channel to Rollershutter

Signed-off-by: clinique <gael@lhopital.org>
2022-04-19 19:17:14 +02:00
Ethan Dye b6fa985fa3
[OmniLink] Fix daylight savings when setting date/time (#12546)
* Fix daylight savings when setting date/time
* Use an action to set date/time
* Add default time zone detection and i18n

Signed-off-by: Ethan Dye <mrtops03@gmail.com>
2022-04-18 22:07:58 +02:00
Andrew Fiddian-Green 485ee144b0
[velux] Improvements to documentation (#12604)
* [velux] update readme per #12601; delete dead web links
* [velux] improve readability

Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2022-04-18 19:43:14 +02:00
stuart938503 a9c203998c
[TapoControl] Added guidance for internet isolation of P110 (#12620)
* Added guidance for internet isolation of P110

* Update bundles/org.openhab.binding.tapocontrol/README.md

Co-authored-by: Fabian Wolter <github@fabian-wolter.de>
2022-04-18 19:41:01 +02:00
lolodomo 6b56b40fe1
[sonos] Avoid empty thing (type) ID in discovery (#12626)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-04-18 19:36:56 +02:00
lolodomo e42202d2e5
[luftdateninfo] Fix tests (fix thing UID and thing type UID) (#12624)
Fix #12622

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-04-18 19:35:48 +02:00
lolodomo 4329115f00
[irobot] Fix failing test (fix thing UID) (#12623)
Fix #12621

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-04-18 19:35:17 +02:00
Markus Michels 532a03375a
[shelly] TRV+Motion2 support, various fixes & enhancements (#12325)
* TRV support, various fixes & enhancements

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

* #12236 fixed

Signed-off-by: Markus Michels <markus7017@gmail.com> (github: markus7017)
Signed-off-by: markus7017 <markus7017@gmail.com>
Signed-off-by: Markus Michels <markus7017@gmail.com>

* TRV support competed

Signed-off-by: Markus Michels <markus7017@gmail.com> (github: markus7017)
Signed-off-by: markus7017 <markus7017@gmail.com>
Signed-off-by: Markus Michels <markus7017@gmail.com>

* Complete TRV support

Signed-off-by: Markus Michels <markus7017@gmail.com> (github: markus7017)
Signed-off-by: markus7017 <markus7017@gmail.com>
Signed-off-by: Markus Michels <markus7017@gmail.com>

* - TRV polling optimized

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

* # WARNING: head commit changed in the meantime

- Shelly Motion 2 support
- TRV polling optimized
- channel creatiom of ledStatusLed fixed if no ledPowerLed was created
- Handling of sensor.status_error fixed when = no error (0/"0")
- channel timerActive was missing for Dimmer 1/2
- Motion timestamp channels were 1h off
- exception with data format while initializing a bulb fixed
- README updated

Signed-off-by: Markus Michels <markus7017@gmail.com> (github: markus7017)
Signed-off-by: markus7017 <markus7017@gmail.com>
Signed-off-by: Markus Michels <markus7017@gmail.com>

* - added new TRV value boost minute, polling remnoved on valve position
changes (req. latest firmware)
- fix: don't create accu channels for roller
- fix: fix Id for some status messages

Signed-off-by: Markus Michels <markus7017@gmail.com> (github: markus7017)
Signed-off-by: Markus Michels <markus7017@gmail.com>

* log types revised

Signed-off-by: Markus Michels <markus7017@gmail.com> (github: markus7017)
Signed-off-by: Markus Michels <markus7017@gmail.com>
2022-04-18 19:32:16 +02:00
lolodomo 2d1b337987
[avmfritz] Do not create a thing type UID using an empty ID (#12617)
Fix #12614

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-04-18 19:25:40 +02:00
lolodomo c1073cd89f
[rotel] Refactor to separate comm handling from protocol handling (#12521)
* [rotel] Refactor to separate comm handling from protocol handling

Each protocol is now handled in a separate class.

Allow to reduce the size of class RotelConnector

Signed-off-by: Laurent Garnier <lg.hc@free.fr>

* buildCommandMessage now throwing RotelException

Comment added when RotelException is catched without any specific
handling

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-04-18 19:23:52 +02:00
lolodomo 9a7df9fb5b
[transform.map] Fix tests on Windows (#12625)
Fix #12619

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-04-18 19:22:02 +02:00
JacekKac cc2cde2ace
typo in valve accessorie (#12616) 2022-04-18 13:50:22 +02:00
Ondrej Pecta 640ee600d9
[somfytahoma] improvements for the Hitachi air to water heating system (#12612)
Signed-off-by: Ondrej Pecta <opecta@gmail.com>
2022-04-17 20:22:37 +02:00
lolodomo 2a4482a26a
[sonos] Discovery of unsupported models without exception (#12609)
* [sonos] Discovery of unsupported models without exception
* Unit tests added for method extractModelName
* Replace extractModelName by buildThingTypeIdFromModelName

Transform the found model name into a valid thing type ID when trying
to match a thing type

This could avoid an IllegalArgumentException thrown by the discovery
service when new models will be introduced on the market.

Should be compatible with Bubble UPnP Server which modifies the model
name

A message is now logged for unsupported Sonos models.

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-04-16 22:38:44 +02:00
lolodomo 77ed54d338
[sonos] Support added for models Five and Roam SL (#12607)
Fix #12596
Fix #12610

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-04-16 14:23:20 +02:00
J-N-K 320dd8ab00
[transform.map] Refactor service to use TransformationConfigurationRegistry (#12433)
This is the reference implementation for using the new `TransformationConfigurationRegistry`. The localization tests can be omitted as this is covered by tests in the core component.

Signed-off-by: Jan N. Klug <github@klug.nrw>
2022-04-14 00:04:16 +02:00
Wouter Born abc786c6a2
Replace deprecated Google OAuth OOB flow (#12602)
This replaces the deprecated OOB OAuth flow used in the Nest Binding and Google STT/TTS add-ons.

Instead they will now use https://www.google.com as redirect_uri.
The instructions in the README and config descriptions have been updated for this change.

See: https://developers.googleblog.com/2022/02/making-oauth-flows-safer.html#disallowed-oob

Fixes #12455

Signed-off-by: Wouter Born <github@maindrain.net>
2022-04-12 22:39:10 +02:00
Kai Kreuzer a868111a54
Remove synchronization to avoid deadlocks (#12603)
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2022-04-12 09:10:03 +02:00
Дилян Палаузов 15f67c1457
[transform.javascript] Fix typo (#12597) 2022-04-11 12:21:24 +02:00
Gwendal Roulleau 2be9a658d5
[pulseaudio] Small bugfixes and rewrite (#12581)
* [pulseaudio] small fixes and rewrite

- All classes are now @NonNullByDefault
- all build warnings cleared
- no more need for a watchdog scheduled thread for every pulseaudio device : the bridge now handles sending information to child
- fix bug : exception at startup when child handler try to get information from the bridge too soon is now handled by waiting 2 seconds if necessary
- fix bug : playing MP3 with high bitrate is now OK with the replacement of the ResetableInputStream by a standard BufferedInputStream that handle mark/reset method better
- fix bug : ghost device listener no longer receive event after dispose
- fix bug : discovery doesn't show already added thing anymore
- Updating the status bridge to ONLINE only AFTER the update method is done.
- Use the bridgeStatusChanged method in the childhandler to get opportunity to test if the child could go ONLINE, (and by the way initialize the audiosink and audiosource, has they also need information from the bridge)

Signed-off-by: Gwendal Roulleau <gwendal.roulleau@gmail.com>
Co-authored-by: Laurent Garnier <lg.hc@free.fr>
2022-04-10 00:25:45 +02:00
Holger Friedrich f65ee6c3a8
[knx] Add option to use CEMI frame format for serial devices. (#12593)
CEMI frame format is used by newer serial devices like kBerry.
Calimero library can be configured to use CEMI instead of default EMI.

Followup on #10407. Relates to #4026.

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2022-04-09 18:17:52 +02:00
Wouter Born b3ade70e29
Fix SAT MarkdownCheck image location findings (#12591)
This fixes all the MarkdownCheck "Images must be located in the doc/ folder." findings.

Fixes #12590

Signed-off-by: Wouter Born <github@maindrain.net>
2022-04-09 16:56:13 +02:00
joepadmiraal 47526b1f01
Remove duplicate text and some spelling errors in the Spotify addon readme. Signed-off-by: Joep Admiraal <joep@groovytunes.nl> (#12592) 2022-04-09 16:25:24 +02:00
mlobstein 7613cbcd76
[epsonprojector] Fix discovery service to prevent erroneous inbox items (#12586)
* Fix discovery service to prevent erroneous inbox items
* improve EPSON string matching

Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
2022-04-09 16:10:36 +02:00
sheilbronn 0370ac61ba
Update README.md (#12580)
Clarify/Correct the explanation of poll/reply example.
2022-04-09 10:36:00 +02:00
Holger Friedrich 08d03d9ddf
[knx] Minor wording changes to documentation (#12589)
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2022-04-09 09:18:10 +02:00
Holger Friedrich 7e35341f23
[knx] Handle exceptions during initial read (#12520)
fixes #7239

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2022-04-08 22:25:14 +02:00
Andrew Fiddian-Green 9bb68a7415
[openthermgateway] warning log if trying to create a legacy Thing type (#12585)
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2022-04-07 20:21:59 +02:00
openhab-bot 921bd95af6
New Crowdin updates (#12578)
* New translations digitalstrom.properties (German)

* New translations pixometer.properties (German)

* New translations amazondashbutton.properties (German)

* New translations amazondashbutton.properties (Hungarian)

* New translations amazondashbutton.properties (Italian)

* New translations amazondashbutton.properties (Ukrainian)
2022-04-05 21:07:04 +02:00
jesperskriasoft 873d615316
[luxom] Initial contribution (#12310)
Signed-off-by: Kris Jespers <kriasoft@telenet.be>
2022-04-05 20:02:27 +02:00
Wouter Born 707ecaf47b
Reduce Mockito stubbing warnings (#12576)
See also: openhab/openhab-core#2893

Signed-off-by: Wouter Born <github@maindrain.net>
2022-04-05 00:06:49 +02:00
lolodomo da9c34b13c
[km200] Cleanup semantic tags (#12573)
Related to #12262

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-04-04 23:45:55 +02:00
lolodomo 36fcdb9dd4
Fix unexpected leading space in default translations (#12574)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-04-04 21:48:54 +02:00
lolodomo 2202e0b56e
Don't limit serial port options (#12572)
* Don't limit serial port options

Related to openhab/openhab-core#2798

* [herzborg] Remove default value for serial port parameter

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-04-04 21:48:09 +02:00
Thomas Karl Pietrowski 2a2389a7e5
[senechome] Avoid null pointer errors (#12512)
Looks like the new generation of SenecIES power storage systems, which are using LiPo technology, provide additional data in the JSON array.
This data is not available in the old generation, which lead to missing data, when asking for a key and in further null pointer exceptions when going deeper in the data structure.

Therefore making a trivial check to detect the new generation of devices and skip the troubling section entirely.
CON: The section of items would not be updated. A to-do is of course to split the old and new generation into separate models of devices.

Fixes #11606

Also-By: Erwin Guib <eguib@web.de>
Also-By: Korbinian Probst <kp.droid.dev@gmail.com>
Signed-off-by: Thomas Karl Pietrowski <thopiekar@gmail.com>
2022-04-04 15:06:42 +02:00
Gaël L'hopital cdf4101a94
[linky] Adressing issue #11642 (#12561)
* [linky] Addressing issue #11642
Apparently all the mess came from default write buffer size of Jetty client. Maybe during an update of jetty lib in the core.
I also corrected daily data that does not seem to accept J+1 anymore and three SAT findings

While I was here, enhanced LinkyException

Signed-off-by: clinique <gael@lhopital.org>
2022-04-04 10:14:43 +02:00
dalgwen f1a1bd5f1d
[marytts] Fix incorrect wav header (#12571)
With this simple fix, MaryTTS creates the correct wav header for the audio inputstream (audioformat is now assigned before we use it)

Signed-off-by: Gwendal Roulleau <gwendal.roulleau@gmail.com>
2022-04-04 08:50:30 +02:00
Gaël L'hopital 94301eee8c
[synopanalyzer] Incorrect octa reported (#12541)
* Some stations does not report octa dimension, thus leading the binding to incorrect values.
Enhanced discovery process
Code enhancements
SAT corrections
Enhanced Exception catching.

Signed-off-by: clinique <gael@lhopital.org>
2022-04-03 18:55:53 +02:00
Fabian Wolter 3520621c1b
[pidcontroller] Add ability to limit the I-part (#12565)
* [pidcontroller] Add ability to limit the I-part

* Apply iMinValue & iMaxValue to the integral result accumulator

Signed-off-by: Fabian Wolter <github@fabian-wolter.de>

* Set iMinResult, iMaxResult default value to NaN

Co-authored-by: Lenno Nagel <lenno@nagel.ee>
2022-04-03 17:38:56 +02:00
maniac103 28ce7ebaed
[homematic] Validate datapoint values before writing to config (#12557)
* [homematic] Validate datapoint values before writing to config

HM config datapoint values on some devices can be out of their valid
range in some cases, particularly if they are unused by the device
currently [1]. Since openhab-core now validates attempts to update
configuration by the thing handlers, make sure we always send a valid
configuration even for those affected datapoints.

[1] One example for such behaviour is HmIPW-DRBL4, which has multiple
    datapoints which depend on each other
    - POWERUP_JUMPTARGET can have values OFF, ON, OFF_DELAY, ON_DELAY
    - POWERUP_ONDELAY_VALUE, POWERUP_ONDELAY_UNIT are only used if
      POWERUP_JUMPTARGET has value ON_DELAY
    - likewise, POWERUP_OFFDELAY_VALUE and POWERUP_OFFDELAY_UNIT are
      only used if POWERUP_JUMPTARGET has value OFF_DELAY
    - if e.g. the POWERUP_JUMPTARGET is OFF, e.g. POWERUP_ONDELAY_VALUE
      might stay uninitialized by CCU and/or device itself, in which
      case it may be reported with an invalid value

Signed-off-by: Danny Baumann <dannybaumann@web.de>
2022-04-03 11:39:59 +02:00
Wouter Born 79245b5d89
[networkupstools] Fix NutApiTest failing on Windows (#12564)
On Windows the PrintWriter used in the NutConnector adds different line endings causing some tests to fail.

Signed-off-by: Wouter Born <github@maindrain.net>
2022-04-03 11:12:32 +02:00
Wouter Born 0f56369b2a
[nanoleaf] Fix LayoutTest failing on Windows (#12563)
On Windows the view has different line endings causing some tests to fail.
For readability the big strings have also been moved into files.

Signed-off-by: Wouter Born <github@maindrain.net>
2022-04-03 10:44:28 +02:00
Dan Cunningham 5712de5e63
[jdbc] Rework TimescaleDB code to actually work (#12525)
Fixes #12513

Signed-off-by: Dan Cunningham <dan@digitaldan.com>
2022-04-02 18:11:32 +02:00
Jacob Laursen 1239dda691
[wemo] Prevent excessive currentPower channel updates (#12461)
* Introduce algorithm for preventing excessive currentPower updates
* Increase calculation accuracy
* Rename currentPowerAccurate to currentPowerRaw
* Remove duplicated line
* Use interface when declaring double ended queue
* Reformat README to one sentence per line
* Rename constants for consistency and readability

Fixes #12460

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-04-02 12:46:26 +02:00
jimtng 115f5ab534
[jrubyscripting] Update to JRuby 9.3.4.0 (#12559)
Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
2022-04-02 10:01:25 +02:00
Andrew Fiddian-Green 52701ef1c8
[tado] Add support for fanLevel, verticalSwing, horizontalSwing, light API (#12470)
* [tado] fix issue #12160 (first attempt)
* [tado] code style
* [tado] option descriptors
* [tado] add level5
* [tado] fan level and swing not allowed on heating or hot water
* [tado] warn about possible un-supported state values
* [tado] minor formatting
* [tado] harmonise getter methods for fan and swing state
* [tado] include all options in xml
* [tado] remove 's' from capabilities list names (go figure..)
* [tado] add OFF option
* [tado] add support for light channel, and dynamic channel decriptions
* [tado] tweak ReadMe for more clarity
* [tado] adopt reviewer suggestions

Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2022-04-02 09:59:13 +02:00
Gaël L'hopital 2652ab647b
[openuv] Fix time channels not being updated (#12558)
* [openuv] time channels not filled

Signed-off-by: clinique <gael@lhopital.org>
2022-04-01 23:23:54 +02:00
jimtng 77c765085e
[jrubyscripting] Accept generic global variable names (#12539)
Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
2022-04-01 23:17:03 +02:00
Kai Kreuzer e8c944281a
[tesla] Set the token creation time as it is no longer provided in the response (#12547)
* Set the token creation time as it is no longer provided in the response
Address CME
Reauthenticate in case of 401 responses

Signed-off-by: Kai Kreuzer <kai@openhab.org>
2022-04-01 21:33:15 +02:00
dalgwen ecf8aa32b0
[pulseaudio] Fix misconfiguration example in README (#12553)
Signed-off-by: Gwendal Roulleau <gwendal.roulleau@gmail.com>

Co-authored-by: Gwendal Roulleau <gwendal.roulleau@gmail.com>
2022-04-01 09:24:53 +02:00
Kai Kreuzer 9d2b04de33
[tesla] Remove (broken) options to obtain refresh token through credentials (#12537)
* Remove (broken) option to obtain refresh token through credentials
* Remove outdated event streaming code
* Update README

Signed-off-by: Kai Kreuzer <kai@openhab.org>
2022-03-31 09:11:55 +02:00
Jacob Laursen 8c6534300a
[miele] Use framework's HTTP client (#12545)
* Refactor to use framework's Jetty HTTP client
* Do not try to parse HTML as JSON on failed HTTP calls
* Improve handler initialization log messages

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-03-30 07:03:46 +02:00
eugen a2a5c2e6ff
add support for dimmer (#12540)
Signed-off-by: Eugen Freiter <freiter@gmx.de>
2022-03-29 18:57:52 +02:00
Stefan Triller 3c0d27dad8
[novafinedust] Fix measurement parsing overflow (#12543)
Fixes #12542

Signed-off-by: Stefan Triller <github@stefantriller.de>
2022-03-29 18:54:21 +02:00
Andrew Fiddian-Green 4f4dfcca20
[openthermgateway] Various improvements (#12507)
* [openthermgateway] various tweaks

Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2022-03-28 21:40:35 +02:00
Florian Hotze bd1f5f8bc4
[yamahamusiccast] New channel for volume in decibel (#12519)
* Added volume in decibel channel.
* Fixed default value for syncVolume to match the docs.
* Use QuantityType with unit DECIBEL for volumeDB.

Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
2022-03-28 08:51:33 +02:00
Jacob Laursen 2d3f0d68c0
[miele] Fix configuration validation and optimize performance (#12510)
* Update bridge status to UNKNOWN before scheduling polling job
* Reduced error log levels to warning
* Validate configuration and leave initialize() with status UNKNOWN
* Extract JSON-RPC handling to separate class
* Use already stored applianceId
* Keep listeners in Set to eliminate duplicates and improve performance
* Reduce access levels for variables exposed to subclasses unneededly
* Initialize translation provider with default language in constructor to avoid nullness
* Divide listener interface into two: discovery and appliance status
* Optimize communication between bridge and handlers
* Fix thing status transitions and support gone appliances
* Do not check/schedule jobs for each listener registration
* Optimize listener registration by using cached appliances
* Optimize state/property updates and reduce logging level for properties
* Fix concurrency issue during handler initialization
* Simplify online/offline transitions
* Use cached appliances for discovery listener callback
* Avoid unneeded call every 15 seconds receiving response with ~5.5 KB payload
* Fix devices being removed after failed RPC calls
* Fix method parameter descriptions

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-03-28 07:14:55 +02:00
eugen f1176a062b
[homekit] add support for complex accessories (#12346)
* Add complex accessories

Signed-off-by: Eugen Freiter <freiter@gmx.de>
2022-03-28 00:11:44 +02:00
Daniel Rosengarten 53bb6f48ad
[velbus] New module VMBELPIR + Improvement clock alarms management (#12390)
* [velbus] Add new functionality PRESSED and LONG PRESSED and fix bug

New functionnality :
Add the the possibility to simulate the PRESSED and LONG PRESSED message of an input.

Module supported with button simulation :
VMB1RYS (button : CH6)
VMB6IN (buttons : CH1 ... CH6)
VMB2PBN, VMB6PBN, VMB7IN, VMB8IR, VMB8PB, VMB8PBU, VMBEL1, VMBEL2, VMBEL4, VMBGP1, VMBGP1-2, VMBGP2, VMBGP2-2, VMBGP4, VMBGP4-2, VMBGP4PIR, VMBGP4PIR-2 (buttons : CH1 ... CH8)
VMBELO, VMBGPOD, VMBGPOD-2 (buttons : CH1 ... CH32)

Fix bug :

The channels names were not correctly assigned to the thing properties. The last channel had the default name, not the one retrieved from the module.

* Add trigger on channel when using button simulation

Remove uneeded  Thread.sleep in code.
Trigger the events PRESSED, LONG_PRESSED, RELEASED on the linked trigger channel when using the button simulation.

* Fix redundant superinterface DiscoveryService

Redundant superinterface DiscoveryService for the type VelbusThingDiscoveryService, already defined by AbstractDiscoveryService.

* Fix bug #11521

Typo in the Counter Channel name for VMB7IN.

* [velbus] Add VMBELPIR module

* [velbus] Updates clock alarms management

Changes the clocks alarm management :
- Global alarms are now set from the bridge thing.
- Local alarms are still set from the module thing, but the alarm type channels on modules are now readonly.

Reduces the flooding of the bus by adding a delay of 10 seconds before sending the update on the bus :
- Removes the send on the bus after each update of a clock alarm value.
- Sends only the values of the last update after 10 seconds.

Signed-off-by: Daniel Rosengarten <github@praetorians.be>
2022-03-27 23:21:17 +02:00
openhab-bot cd1bf9c950
New Crowdin updates (#12523)
* New translations digitalstrom.properties (German)

* New translations dwdpollenflug.properties (German)

* New translations openweathermap.properties (French)

* New translations rotel.properties (French)

* New translations elroconnects.properties (French)

* New translations prowl.properties (French)
2022-03-27 23:15:52 +02:00
Ondrej Pecta c22a33d651
[somfytahoma] Improved compatibility with the Somfy Connectivity Kit (#12532)
Signed-off-by: Ondrej Pecta <opecta@gmail.com>
2022-03-27 20:05:18 +02:00
jimtng c5b6ce97bb
[fronius] Add Autonomy and Self Consumption channels (#12420)
* Add Autonomy and Self Consumption channels
* Change Inverter channels from DecimalType to QuantityType
* Convert ValueUnit to QuantityType, honour the unit from ValueUnit
* Replace custom unit converter with QuantityType's unit conversion
* Return QuantityType of zero for missing ValueUnit data, to be consistent with P_AC.
* Return UnDefType.NULL for other missing data
* De-duplicate URL parsing routine

Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
2022-03-27 19:10:24 +02:00
Ondrej Pecta 0c2901f3ed
[somfytahoma] added support for the Shutter thing (#12495)
Signed-off-by: Ondrej Pecta <opecta@gmail.com>
2022-03-27 19:04:00 +02:00
mlobstein c81506b44d
[yamahareceiver] Remove Apache commons libraries (#12527)
Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
2022-03-27 15:53:21 +02:00
mlobstein 80cb1ed251
[denonmarantz] Remove Apache StringUtils (#12526)
Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
2022-03-27 12:39:02 +02:00
agsochi 250efd3c0b
Update README.md (#12528)
Fixed textual config
2022-03-27 12:22:36 +02:00
Holger Friedrich 414d7a84e6
[knx] Reduce compiler warnings (#12518)
added NonNullByDefault annotations
rename functions and local variables not matching the naming scheme

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2022-03-27 11:27:39 +02:00
lolodomo 9b7478c1fb
[rotel] Support of MKII models (#12522)
There is no difference between original and MKII models regarding
available inputs and way to control the device.

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-03-27 10:21:56 +02:00
Kai Kreuzer 2ebad7b4d7
[tesla] Adapt access token handling to changes in Tesla API (#12530)
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2022-03-27 09:27:02 +02:00
lolodomo 1734d6ed82
[rotel] Support added for Michi models (P5, X3 and X5) (#12524)
Also fix command to set balance (different syntax in ASCII V1 and V2)

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-03-26 21:17:40 +01:00
Conte Andrea 4774f8a7e7
[openwebnet] fixing support for central unit (#12514)
* - read Temperature set in central unit at startup
* - ignoring what 4002 which may lead to unpredicted behaviours
- usage of own 0.8.0 from mvalla (new getWhatParameter method)
* attempt to integrate own 0.8.0
* - read setTemp (MANUAL mode) at startup
- read mode (OFF/PROTECTION/WEEKLY/SCENARIO/MANUAL) at startup
- persist selected mode (see issue 12401)
* remove unnecessary logs
* - fix typo
- own4j 0.8.1
* fix placeholder count

Signed-off-by: Conte Andrea <andrea@conte.com>
2022-03-25 17:32:10 +01:00
Christoph Weitkamp 8e6e493fc9
Fixed minor spelling mistake (#12515)
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2022-03-25 12:34:11 +01:00
Gaël L'hopital 107a05aa5e
[openuv] Correcting an uncatched exception in json deserialization (#12511)
* Correcting an uncatched exception in json deserialization

Signed-off-by: clinique <gael@lhopital.org>
2022-03-24 14:59:33 +01:00
lsiepel 5cd28f7096
[plugwiseha] Fix Zone thermostat not updating (#12509)
* Fix Zone thermostat not updating

Signed-off-by: Leo Siepel <leosiepel@gmail.com>
2022-03-23 19:26:40 +01:00
tonwi b347491d60
[rotel] Extension of amplifier A14's channel list (#12447)
* A14: new channels: tcbypass, balance, speakera and speakerb
* Specific balance set command for models A1x
* Channels added on other models
* In state TCBYPASS ON: 1) Ignore user adjustments on BASS/TREBLE. 2) Reset BASS/TREBLE to 0.

Signed-off-by: Wilhelm Tonsern <wto.wit01@gmx.net>
Also-by: Laurent Garnier <lg.hc@free.fr>
2022-03-22 20:48:18 +01:00
openhab-bot 109ba0ec06
New translations windcentrale.properties (Dutch) (#12503) 2022-03-22 13:29:08 +01:00
Conte Andrea 85a5eb3a87
removed (duplicate) refreshDevice() at bridgeStatusChanged (#12502)
Signed-off-by: Conte Andrea <andrea@conte.com>
2022-03-21 19:25:39 +01:00
Jacob Laursen f21bbc5945
[miele] Add null annotations and improve error handling robustness (#12497)
* Add null annotations and improve error handling robustness
* Fix compliancy with rule ConstantNameCheck

Fixes #12496

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-03-21 16:49:03 +01:00
Mark Herwege 7c29e4d565
[elroconnects] New binding for Elro Connects (#11189)
* Adjustments after review.

Signed-off-by: Mark Herwege <mark.herwege@telenet.be>

* Fix pom.xml formatting.

Signed-off-by: Mark Herwege <mark.herwege@telenet.be>

* Some fixes and removed redundant null checks.

Signed-off-by: Mark Herwege <mark.herwege@telenet.be>

* Proper thread naming.

Signed-off-by: Mark Herwege <mark.herwege@telenet.be>

* Adjust brand name capitalization. Some README adjustments.

Signed-off-by: Mark Herwege <mark.herwege@telenet.be>

* Fix format issue.

Signed-off-by: Mark Herwege <mark.herwege@telenet.be>

* Fix threadname.

Signed-off-by: Mark Herwege <mark.herwege@telenet.be>

* Update development cycle

Signed-off-by: Mark Herwege <mark.herwege@telenet.be>

* Review fixes

Signed-off-by: Mark Herwege <mark.herwege@telenet.be>

* Avoid communication restart when disposing

Signed-off-by: Mark Herwege <mark.herwege@telenet.be>

* Update CODEOWNERS

Signed-off-by: Mark Herwege <mark.herwege@telenet.be>

* Code review.

Signed-off-by: Mark Herwege <mark.herwege@telenet.be>

* Background discovery

Signed-off-by: Mark Herwege <mark.herwege@telenet.be>

* Fix formatting

Signed-off-by: Mark Herwege <mark.herwege@telenet.be>

* Create i18n properties file

Signed-off-by: Mark Herwege <mark.herwege@telenet.be>

* Add IP Adress parameter

Signed-off-by: Mark Herwege <mark.herwege@telenet.be>

* Moved hostname resolving out of initialize

Signed-off-by: Mark Herwege <mark.herwege@telenet.be>
2022-03-20 20:18:57 +01:00
M Valla 5f9096b63e
[openwebnet] fixed generic device thing-type; added a time limit to devices refresh at boot (#12489)
Signed-off-by: Massimo Valla <mvcode00@gmail.com>
2022-03-20 09:53:50 +01:00
Christoph Weitkamp 5a9e70ca6a
[androiddebugbridge] Added DynamicCommandOptionsProvider to populate 'start-package' Channel (#12491)
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2022-03-20 08:56:58 +01:00
Andrew Fiddian-Green e9cb9c30d0
[velux] Improve shutdown exception handling (#12356)
* [velux] add isDisposing flag to accelerate shutdown

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

* [velux] refactor Poller into a separate class

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

* [velux] use new Poller class; fix startup, shutdown, and exception code

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

* [velux] demote confusing log message

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

* [velux] slightly more elegant interrupt flag set / check

Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2022-03-19 15:00:30 +01:00
Wouter Born a6f5b48dd5
[mqtt] Fix most SAT findings (#12492)
Signed-off-by: Wouter Born <github@maindrain.net>
2022-03-19 09:27:41 +01:00
Gaël L'hopital af8202e668
[icalendar] Adding ability to handle events without DTEND (#12482)
Signed-off-by: clinique <gael@lhopital.org>
2022-03-19 08:52:17 +01:00
Jacob Laursen 963a73ee74
Minor value cache tweaks (#12493)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-03-19 08:43:12 +01:00
Conte Andrea 1918afc3a9
[openwebnet] handle Thermo Central Unit monitoring messages (#12485)
* - handled what=30 (failure discovered ), what=22 (at least 1 probe in off), what=23 (at least 1 probe in protection), what=24 (at least 1 probe in manual)
- related channels added
* - update README
- ignore messages from probes and central unit and keep track only of messages from a real thermostat
* add example of failureDiscovered channel
* Update bundles/org.openhab.binding.openwebnet/src/main/resources/OH-INF/thing/channels.xml
* changed capital letters (atLeastOneProbeOFF -> atLeatOneProbeOff) as suggested

Signed-off-by: Conte Andrea <andrea@conte.com>
2022-03-18 19:00:48 +01:00
Doug Culnane 812ac5c4d6
[renault] API key update. (#12487)
Signed-off-by: Doug Culnane <doug@culnane.net>
2022-03-18 08:14:21 +01:00
GiviMAD fee7f7e9c5
[pulseaudio] source: use thread safe collection and force reconnection (#12441)
* [pulseaudio] use thread safe collection
* [pulseaudio] source: connect pipe before store ref
* [pulseaudio] source: improve warning messages
* [pulseaudio] fix IOException when closing all sources
* [pulseaudio] prevent warning when InterruptedIOException on source close

Signed-off-by: Miguel Álvarez Díez <miguelwork92@gmail.com>
2022-03-18 00:41:00 +01:00
openhab-bot 409a4a6fac
New Crowdin updates (#12484)
* New translations bluetooth.properties (Italian)
* New translations mycroft.properties (Italian)
* New translations bluetooth.properties (Italian)
* New translations bluetooth.properties (Italian)
* New translations prowl.properties (Italian)
2022-03-16 21:23:57 +01:00
Conte Andrea 7b8529e9bc
[openwebnet] added channel "function" for Central Unit (#12483)
* added channel "function" for Central Unit

Signed-off-by: Conte Andrea <andrea@conte.com>
2022-03-16 19:10:46 +01:00
openhab-bot b1827c773d
New translations watsonstt.properties (Italian) (#12473) 2022-03-13 22:04:40 +01:00
Wouter Born a47a1056ba
Remove MQTT system broker leftovers (#12472)
The MqttService was used to keep track of the system MQTT brokers.
Since there are none the dependency can be removed.

Related to: openhab/openhab-core#2842
See also: #12157

Signed-off-by: Wouter Born <github@maindrain.net>
2022-03-13 21:45:59 +01:00
Wouter Born cb1c1e586e
[mail] Fix unstable MailBuilderTest (#12471)
When a URL attachment is used a check is done if an InputStream to the URL can be opened to see if it is valid.
Because the openHAB website was used the test would fail when the website has issues:

```
[ERROR]  org.openhab.binding.mail.MailBuilderTest.withURLAttachmentReturnsMultiPartEmail  Time elapsed: 10.391 s  <<< ERROR!
org.apache.commons.mail.EmailException: Invalid URL set:http://www.openhab.org
	at org.openhab.binding.mail.MailBuilderTest.withURLAttachmentReturnsMultiPartEmail(MailBuilderTest.java:77)
Caused by: java.io.IOException: Server returned HTTP response code: 520 for URL: http://www.openhab.org
	at org.openhab.binding.mail.MailBuilderTest.withURLAttachmentReturnsMultiPartEmail(MailBuilderTest.java:77)
```

It will now use a file URL instead so it is no longer depends on a website.

Signed-off-by: Wouter Born <github@maindrain.net>
2022-03-13 20:26:32 +01:00
Ondrej Pecta 43fe75ba2e
[prowl] Initial contribution (#10967)
Signed-off-by: Ondrej Pecta <opecta@gmail.com>
2022-03-13 17:37:59 +01:00
Christoph Weitkamp 9e6b901d53
Fixed parameter ordering while storing values (#12467)
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2022-03-13 12:13:00 +01:00
Christoph Weitkamp 8e414d45a0
Added support for DECT 302 (#12466)
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2022-03-13 11:10:19 +01:00
Wouter Born 03e626018d
[ipp] Update cups4j and dependencies (#12443)
Updates cups4j to 0.7.8 and syncs the cups4j dependencies.

Signed-off-by: Wouter Born <github@maindrain.net>
2022-03-13 11:05:58 +01:00
GiviMAD 480cddbf2c
STT service improvements (#12453)
* [googlestt|voskstt] change default maxSilenceSeconds to 3
* [watsonstt] add singleUtterance mode, rename inativityTimeout to maxSilenceSeconds and minor improvements
* [watsonstt] trim transcription

Signed-off-by: Miguel Álvarez Díez <miguelwork92@gmail.com>
2022-03-12 23:06:51 +01:00
jimtng eb9bde9fe8
[fronius] Add a note about enabling Night Mode on the device (#12463)
Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
2022-03-12 14:51:04 +01:00
robnielsen 210a027053
[tradfri] reduce logging levels (#12462)
Signed-off-by: Rob Nielsen <rob.nielsen@yahoo.com>
2022-03-12 08:53:01 +01:00
Ondrej Pecta 6112e447aa
[somfytahoma] improved compatibility with Somfy Connectivity Kit (#12459)
Signed-off-by: Ondrej Pecta <opecta@gmail.com>
2022-03-11 23:15:15 +01:00
Jerome Luckenbach 357dcd459b
[pushover] Add featured integration paragraph (#12452)
Signed-off-by: Jerome Luckenbach <github@luckenba.ch>
2022-03-10 21:28:21 +01:00
RadOle 1a2dcc65fb
[mihome] Update README.md (#11926)
Following https://www.openhab.org/docs/configuration/rules-dsl.html#rule-examples
one can find receivedEvent is now implicitly available in every rule that has a channel-based trigger
2022-03-10 21:24:32 +01:00
Gaël L'hopital 6da183495d
[andoiddebugbridge] Update README (#12454)
* Update README.md

Added working compatibility mention with Freebox Pop Player.
2022-03-10 12:23:58 +01:00
Cody Cutrer d06cc6a60a
[homekit] do unit conversion for min/max heating/cooling temps (#12450)
this is especially important if you use the same item for both
TargetTemperature and HeatingThresholdTemperature characteristics,
since the former was already doing unit conversion for min/max.

Signed-off-by: Cody Cutrer <cody@cutrer.us>
2022-03-09 08:53:01 +01:00
Reinhard Plaim ba03fef082
[goecharger] Add API V2 support (#12400)
* add API V2 support
* handle InterrupedException explicitly

Signed-off-by: Reinhard Plaim <reinhardplaim@gmail.com>
2022-03-08 15:37:39 +01:00
Ethan Dye 378a037df9
Bump jomnilink (#12444)
Signed-off-by: Ethan Dye <mrtops03@gmail.com>
2022-03-08 08:58:09 +01:00
lolodomo e3ca3b01bf
[pulseaudio] Fix exception handling when connecting (#12423)
Fix bridge/thing status update
Also update log levels

Fix #12419
Fix #12424

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-03-08 00:01:54 +01:00
glassl 20f6b52e71
Fix links to SmartThings capabilities reference doc (#12439)
Signed-off-by: Lenny Glassmann <lennyglassmann@gmail.com>
2022-03-07 23:52:56 +01:00
Marcel 739463896a
[miio] Add support for Xiaomi Mi Air Purifier 3C BHR4518GL (zhimi.airp.mb4a) (#12076)
Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2022-03-07 23:47:17 +01:00
dependabot[bot] f28ef254cf
[jdbc] Update PostgreSQL JDBC driver to 42.3.3 (#12442)
* Bumps [postgresql](https://github.com/pgjdbc/pgjdbc) from 9.4.1212 to 42.3.3.
* Update docs and feature
* Update README

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Wouter Born <github@maindrain.net>
2022-03-07 22:35:20 +01:00
Martin Herbst a533b19130
[homematic] Prevent the use of exponential notation (#12436)
* Prevent the use of exponential notation

The CCU does not accept exponential notation in TCL scripts.

Fix #12301

Signed-off-by: Martin Herbst <develop@mherbst.de>
2022-03-07 22:04:33 +01:00
Flole998 0e0b9afe08
[homematic] Fix invalid default values ending up in the thing type (#12437)
Sometimes invalid default values ended up in the default value for a channel of a thing type. Initializing the thing would fail completely complaining that it is not an allowed option. This patch makes sure those values are actually valid and attempts to correct them if they are invalid.

Signed-off-by: Flole <flole@flole.de>
2022-03-07 21:51:17 +01:00
Arne Seime 38a14b821d
[millheat] Possibly wrong use of isHoliday instead of canChangeTemp (#12413)
* Possibly wrong use of isHoliday instaed of canChangeTemp

Signed-off-by: Arne Seime <arne.seime@gmail.com>
2022-03-07 21:37:08 +01:00
dependabot[bot] 29cba86a23
[bluetooth.generic] Update commons-beanutils to 1.9.4 (#12130)
Bumps commons-beanutils from 1.9.3 to 1.9.4.

---
updated-dependencies:
- dependency-name: commons-beanutils:commons-beanutils
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-07 21:31:13 +01:00
openhab-bot 5005dc002f
New Crowdin updates (#12392)
* New translations bluetooth.properties (Finnish)
* New translations danfossairunit.properties (Danish)
* New translations hdpowerview.properties (Danish)
* New translations jruby.properties (Italian)
* New translations miele.properties (Danish)
* New translations mqtt.properties (Italian)
* New translations openwebnet.properties (Italian)
2022-03-07 21:25:05 +01:00
Andrew Fiddian-Green ba07a870fe
[openthermgateway] Add support for Ventilation/Heat Recovery units (#12367)
* [openthermgateway] clean version of prior PR
* [openthermgateway] fix NoSuchMethod exception
* [openthermgateway] create thread according to OH guidelines
* [openthermgateway] fix annotation warning
* [openthermgateway] framework handles bridge status changes
* [openthermgateway] implement learnings from PR #12356
* [openthermgateway] add ReadMe chapter on migration v3.2 .. v3.3
* [openthermgateway] delete duplicate OpenThermGatewayBindingConstants class
* [openthermgateway] remove redundant else clause, remove npe warning
* [openthermgateway] log to debug rather than info; eliminate static import
* [openthermgateway] eliminate static import
* [openthermgateway] suppress unused argument warning
* [openthermgateway] delete xml definitions for no longer used 'otgw' Thing type

Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2022-03-06 21:18:02 +01:00
Sami Salonen 4d01af7165
[ambientweather] Update socket.io dependency used by ambientweather (#12429)
Discussed in https://github.com/openhab/openhab-addons/pull/11153#issuecomment-904545669

Signed-off-by: Sami Salonen <ssalonen@gmail.com>
2022-03-06 09:36:03 +01:00
Johannes Ott 8a394c6427
[deconz] Add support for lowbattery flag from state response (#12422)
* Add support for lowbattery flag from state response

Signed-off-by: Johannes Ott <mail@johannes-ott.net>
2022-03-05 21:51:21 +01:00
jimtng e6179aafa2
[fronius] Add the new channels to the documentation (#12394)
* [fronius] Document the recently added inverter power and soc channels

Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
2022-03-05 10:43:31 +01:00
Martin van Wingerden 39ebfe2b07
[rfxcom] Support for Lucciair DC Speed (#12038)
* [rfxcom] Support speed for luca DC version
* [rfxcom] Handle null value for speed
* [rfxcom] Update readme and add migration channel

Signed-off-by: Martin van Wingerden <martin@martinvw.nl>
2022-03-05 10:34:31 +01:00
Jacob Laursen a3b6f74764
[wemo] Fix thing status transitions (#12416)
* Fix status transitions

Fixes #12415

* Fix integration tests
* Fix missing status update for some devices after HTTP call

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-03-05 01:08:45 +01:00
GiviMAD 3ed28ae745
[pulseaudio] fix null pointer exception and ensure source bg task stops (#12414)
* [pulseaudio] fix null pointer exception and ensure source bg task stops

Signed-off-by: Miguel Álvarez Díez <miguelwork92@gmail.com>
2022-03-04 22:40:04 +01:00
Sönke Küper cf0597aea2
[deutschebahn] Fixed order of stops (#12406)
* Fixed order of stops
* As execution was made synchronous in #12235 timeout is not needed any more

Signed-off-by: Sönke Küper <soenkekueper@gmx.de>
2022-03-04 20:51:27 +01:00
Sönke Küper b209d9a51a
[deutschebahn] Fixed timing issue in test case (#12404)
Signed-off-by: Sönke Küper <soenkekueper@gmx.de>
2022-03-04 08:48:20 +01:00
Gaël L'hopital 84687674d2
[network] Removed last references to org.apache... (#12341)
* Removed unwanted files
* Badly spelled variable and incident code refactor

Signed-off-by: Gaël L'hopital <gael@lhopital.org>
Signed-off-by: clinique <gael@lhopital.org>
2022-03-04 08:45:23 +01:00
Jacob Laursen d4938a6942
[wemo] Add missing channel categories and semantic tags (#12411)
* Extract thing descriptions into separate files
* Add missing channel categories
* Add semantic tags for temperature and humidity
* Fix typo

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-03-04 08:38:45 +01:00
GiviMAD fb9f0d8d43
[porcupineks] fix build-in keywords on windows, fix service name and add missed modified (#12410)
* [porcupineks] fix windows and add modified
* [porcupineks] fix service name

Signed-off-by: Miguel Álvarez Díez <miguelwork92@gmail.com>
2022-03-03 22:47:02 +01:00
jimtng 2cce90f83d
[fronius] Fix DecimalType constructor change (#12371)
Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
2022-03-03 18:49:49 +01:00
GiviMAD 094cb7f12d
[pulseaudio] register audio sources in openhab (#12376)
* [pulseaudio] register audio sources in openha
* [pulseaudio] fix audio source reconnection
* [pulseaudio] audio source check record property and customize SOTimeout
* [pulseaudio] use pipe streams
* [pulseaudio] synchronize commands and update after module load

Signed-off-by: Miguel Álvarez Díez <miguelwork92@gmail.com>
2022-03-03 13:01:07 +01:00
Jacob Laursen c5a2a1fbdf
[deconz] Fix compiler warning (#12403)
* Fix compiler warning and info.

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-03-03 10:15:45 +01:00
Jacob Laursen 93e3a710e1
Simplify getWemoURL usages in handlers (#12397)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-03-02 21:51:42 +01:00
Matthew Skinner 7da00f1d68
Digest fix for doorbird. (#12399)
Signed-off-by: Matthew Skinner <matt@pcmus.com>
2022-03-02 13:21:40 +01:00
Wouter Born d7d6798a97
[rrd4j] Upgrade to rrd4j 3.8.1 (#12398)
This should prevent a resource leak when generating graphs.

See: https://github.com/rrd4j/rrd4j/blob/master/changelog.txt

Signed-off-by: Wouter Born <github@maindrain.net>
2022-03-02 11:03:17 +01:00
Fabian Wolter d35e96ab3f
[hdpowerview] Remove unnecessary init checks and fix Thing status detail (#12331)
* [hdpowerview] Remove unnecessary init checks and fix Thing status detail

Signed-off-by: Fabian Wolter <github@fabian-wolter.de>
2022-02-28 22:53:33 +01:00
Stefan Triller dd687435ec
[tradfri] use serial as discovery representation property instead of host (#12389)
Signed-off-by: Stefan Triller <github@stefantriller.de>
2022-02-28 18:53:16 +01:00
jimtng 166e4ec1b6
[jrubyscripting] Filter out empty require options (#12386)
Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
2022-02-28 18:09:57 +01:00
jimtng 6c25e8b528
[jrubyscripting] Add auto-require scripts option (#12381)
Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
2022-02-28 09:04:52 +01:00
Jacob Laursen d56b2e4dbe
[wemo] Refactor Insight Switch parser (#12380)
* Extract Insight parser to separate class and provide unit tests

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-02-27 21:13:08 +01:00
Jan Vybíral 923f720a5c
[nuki] Fixed configuration reload on initialization (#12276)
* Fixed bug where thing configuration was not reloaded after reinitialization
* Added better logging when processing bridge callback

Signed-off-by: Jan Vybíral <jan.vybiral1@gmail.com>
2022-02-27 19:46:32 +01:00
Conte Andrea b2765a3895
[openwebnet] adding support for central unit (#12062)
* - read 'standAlone' flag from thing
- send standAlone flag to own4j for setting the temperature on central unit
- own4j 0.7.1 required
* added localmode and central unit thing
* added localOffSet channel to readme.md
* added remoteControl, batteryStatus and modeCentralUnit for bus_thermo_cu
* added weekly and scenarios to modeCentralUnit
* - manual setting of a zone to T temperature (with persistence in central unit)
- manual setting of central unit to T temperature (all zones)
- set the central unit in OFF mode (all zones)
- set central unit in thermal protection (all zones)
- set central unit in antifreeze mode (all zones)
- weekly program activation command (all zones)
- scenario activation command (all zones)
* renamed cu's channels name
* removed unused channel 'modeCentralUnit" from readme
* fix #12298
* - add configuration section (where) for BusThermoCentralUnit
- strings ("OK", "KO", "ENABLED", "DISABLED" converted to constants
- fix typo

Signed-off-by: Conte Andrea <andrea@conte.com>

Co-authored-by: M Valla <12682715+mvalla@users.noreply.github.com>
2022-02-27 19:11:45 +01:00
Ondrej Pecta 339df2cb3a
[somfytahoma] changed the severity of unsuported devices logging (#12372)
Signed-off-by: Ondrej Pecta <opecta@gmail.com>
2022-02-27 17:44:49 +01:00
nesys 8f9cf7bcf5
Update README.md (#12378)
Included a working configuration and added few notes as discussed and agreed here: https://community.openhab.org/t/new-warn-in-log-since-fresh-3-0-1/119012/3
2022-02-27 10:36:39 +01:00
lolodomo aa7931d0c5
[ipobserver] Cleanup semantic tags (#12379)
Related to #12262

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-02-27 01:16:35 +01:00
M Valla d2d6ce5782
[openwebnet] Fix Things synchronization at boot / reconnect (#11975)
* [openwebnet] Fixes #11972: shutters are not refreshed at boot
* [openwebnet] added refreshDelay property
* [openwebnet] updated openwebnet4j to 0.7.1
* [openwebnet] improved where parameter description
* [openwebnet] updated to own4j 0.7.1 release
* [openwebnet] improved synch at boot
* [openwebnet] cleaned up refreshChannelState() and refreshDevice(), moved code to base class.
Added supportsRefreshAllDevices()
* [openwebnet] moved lastAllDevicesRefreshTS to sub-classes.
Set CEN/CEN+ things to ONLINE automatically.
* [openwebnet] improved comments/javadocs. Added connectSchedule to dispose()

Signed-off-by: Massimo Valla <mvcode00@gmail.com>
2022-02-26 19:38:49 +01:00
robnielsen 9fd87f52ef
[tradfri] fix null pointer exception when sending command to a device that is offline (#12347)
* [tradfri] fix null pointer exception when sending command to thing that is offline
* [tradfri] changed coapClient from @NinNullByDefault({}) to @Nullable

Signed-off-by: Rob Nielsen <rob.nielsen@yahoo.com>
2022-02-26 16:10:59 +01:00
David 38c896edc5
[govee] Fix Govee H5102 detection (#12373)
Signed-off-by: davidoe <1133989+davidoe@users.noreply.github.com>
2022-02-26 14:14:33 +01:00
Luca Calcaterra a78f73eecd
fix t31 fire and system statuses (#12252)
Signed-off-by: Luca Calcaterra <calcaterra.luca@gmail.com>
2022-02-26 11:04:11 +01:00
Christoph Weitkamp 505258c234
Fix build after DecimalType changes (#12374)
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2022-02-26 01:07:05 +01:00
lsiepel da0234f69c
[plugwiseha] Fix bug introduced with #12349 (#12366)
* Fix bug introduced with #12349

Signed-off-by: Leo Siepel <leosiepel@gmail.com>
2022-02-25 13:33:58 +01:00
Ondrej Pecta 0737ee6bef
[somfytahoma] added support for the Rain sensor thing (#12368)
Signed-off-by: Ondrej Pecta <opecta@gmail.com>
2022-02-25 09:11:08 +01:00
Stefan Triller 791ad37ba6
[novafinedust] Fix RFC2217 serial port in configuration (#12370)
Fixes #12369

Signed-off-by: Stefan Triller <github@stefantriller.de>
2022-02-25 08:26:50 +01:00
lsiepel ea9d77ff71
[plugwiseha] Add and enhance channels (#12349)
* Add two-channels, fix scene and docs

Signed-off-by: Leo Siepel <leosiepel@gmail.com>
2022-02-23 23:52:07 +01:00
Jacob Laursen 2d54347b65
[hdpowerview] Divide thing descriptions into separate files (#12364)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-02-23 22:43:51 +01:00
Jacob Laursen 0b992cd50b
[hdpowerview] Fix SAT warning (#12365)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-02-23 22:39:18 +01:00
GiviMAD 673397b826
[voskstt] add linux arm and linux aarch64 binaries (#12355)
* [voskstt] add linux arm and linux aarch64 binaries
* [voskstt] change preload model configuration default to false
* [voskstt] add supported platforms to readme

Signed-off-by: Miguel Álvarez Díez <miguelwork92@gmail.com>
2022-02-23 21:09:49 +01:00
Wouter Born 0d5b1ba61e
[deutschebahn] Disable unstable DeutscheBahnTimetableHandlerTest (#12358)
This test keeps failing making our builds unstable.

See #12235

Signed-off-by: Wouter Born <github@maindrain.net>
2022-02-23 18:15:08 +01:00
Jacob Laursen 327391d483
[danfossairunit] Fix: Unsafe interpretation of method return type as '@NonNull' (#12303)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-02-23 16:53:27 +01:00
openhab-bot cbe76507ab
New translations flicbutton.properties (Italian) (#12351) 2022-02-23 16:33:22 +01:00
Wouter Born c028deefbe
Fix Java 17 compilation and test issues (#12353)
* Adds --add-opens to the surefire-maven-plugin config required for deserialization using Gson/XStream
* Upgrades plugin dependencies to JDK 17 compatible versions
* Replaces some reflection that no longer works on JDK 17
* Fixes issues when mocking Random
* Run Nashorn dependant tests only on JDK < 15

Signed-off-by: Wouter Born <github@maindrain.net>
2022-02-23 16:13:56 +01:00
Fabian Wolter 223c9f929b
[hdpowerview] Let the framework change the child Thing statuses (#12330)
Signed-off-by: Fabian Wolter <github@fabian-wolter.de>
2022-02-23 15:23:19 +01:00
Sami Salonen 579bc70f6e
[bluetooth.ruuvitag] Corrected movement counter channel description (#12352)
* [bluetooth.ruuvitag] Corrected movement counter channel description

Signed-off-by: Sami Salonen <ssalonen@gmail.com>
2022-02-23 13:41:14 +01:00
Cody Cutrer 923fb12b7d
[mqtt.homie] handle exceptions parsing attributes (#12254)
fixes #10711

technically this code is in mqtt.generic, but it's only used by Homie.

in particular, if an incoming string doesn't match an enum, this will now
just ignore the value instead of raising an exception to be caught somewhere inside
of Hive MQTT, and eventually timing out and logging that mandatory topics weren't
received, instead of logging a pointer to the actual problem. this makes it so that
if there's a homie $datatype openhab doesn't understand (like duration), it will be
able to get to the point of just choosing a string channel

also did some minor debug logging cleanup for mqtt:
 * fixed a typo
 * when logging homie device name from the thing handler, use the config deviceid,
   since we likely don't have the attributes from MQTT yet

Signed-off-by: Cody Cutrer <cody@cutrer.us>
2022-02-23 13:38:00 +01:00
Ondrej Pecta 957b69277d
[somfytahoma] Added support for the Hitachi Yutaki devices (#12302)
Signed-off-by: Ondrej Pecta <opecta@gmail.com>
2022-02-23 08:45:14 +01:00
jimtng c0ebdbdb6b
[daikin] Fix Special Mode and Streamer support (#12324)
* [daikin] Fix Special Mode support

Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
2022-02-23 08:37:25 +01:00
Mark Hilbush 307450352c
Properly handle when zm installed on root directory (#12348)
Signed-off-by: Mark Hilbush <mark@hilbush.com>
2022-02-23 00:38:02 +01:00
lsiepel 2e1ea32e8f
[plugwiseha] Improve cache and timeout handling (#12345)
* Rework caching and timeout handling
* Fix another caching related issue

Signed-off-by: Leo Siepel <leosiepel@gmail.com>
2022-02-22 21:00:43 +01:00
eugen 9e6b952b66
fix storage usage (#12305)
Signed-off-by: Eugen Freiter <freiter@gmx.de>
2022-02-22 06:50:19 +01:00
Wouter Born 00e16f5b4e
[flicbutton] Fix SAT `@NonNull` findings (#12334)
Signed-off-by: Wouter Born <github@maindrain.net>
2022-02-20 23:42:45 +01:00
Gaël L'hopital cabcaa9698
[network] Adressing issue #11503 (#12316)
Signed-off-by: clinique <gael@lhopital.org>
2022-02-20 23:24:49 +01:00
lolodomo 6ef311304f
Remove some of the empty XML tag "description" (#12332)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-02-20 23:16:16 +01:00
lolodomo d868f0bbd9
[flicbutton] Add missing i18n translations properties (#12333)
Related to #9234

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-02-20 23:15:42 +01:00
openhab-bot 7d0809db31
New Crowdin updates (#12229)
* New translations deconz.properties (Italian)
* New translations dynamodb.properties (Finnish)
* New translations guntamatic.properties (Italian)
* New translations ipp.properties (German)
* New translations luxtronikheatpump.properties (German)
* New translations mqtt.properties (Italian)
* New translations openwebnet.properties (German)
* New translations voskstt.properties (Italian)
* New translations watsonstt.properties (Italian)
2022-02-20 22:02:01 +01:00
Patrick Fink 6c104e241a
[flicbutton] Initial contribution FlicButton Binding (#9234)
* [flicbutton] Initial contribution FlicButton Binding

Signed-off-by: Patrick Fink <mail@pfink.de>

* [flicbutton] Add config parameter address for FlicButton thing

Signed-off-by: Patrick Fink <mail@pfink.de>

* [flicbutton] Run spotless

Signed-off-by: Patrick Fink <mail@pfink.de>

* [flicbutton] Code cleanup & docs improvement

Signed-off-by: Patrick Fink <mail@pfink.de>

* Apply suggestions from code review

Co-authored-by: Fabian Wolter <github@fabian-wolter.de>

* [flicbutton] Update LICENSE

Signed-off-by: Patrick Fink <mail@pfink.de>

* [flicbutton] Apply suggestions from code review (2) & update to 3.1-SNAPSHOT

Signed-off-by: Patrick Fink <mail@pfink.de>

* [flicbutton] Apply suggestions from code review (3) & fix offline status

Signed-off-by: Patrick Fink <mail@pfink.de>

* [flicbutton] Fix 3rd party source for proper IDE integration

Signed-off-by: Patrick Fink <mail@pfink.de>

* [flicbutton] Simplify config parsing

Signed-off-by: Patrick Fink <mail@pfink.de>

* [flicbutton] Move everything to internal package

Signed-off-by: Patrick Fink <mail@pfink.de>

* [flicbutton] Remove hyphens from port parameter docs example

Signed-off-by: Patrick Fink <mail@pfink.de>

* [flicbutton] Change maintainer to openHAB project

Signed-off-by: Patrick Fink <mail@pfink.de>

* Apply docs suggestions + update to 3.2.0-SNAPSHOT

Signed-off-by: Patrick Fink <mail@pfink.de>

Co-authored-by: Matthew Skinner <matt@pcmus.com>

* [flicbutton] Fix bridge offline & reconnect handling

Signed-off-by: Patrick Fink <mail@pfink.de>

* [flicbutton] Close open socket on dispose

Signed-off-by: Patrick Fink <mail@pfink.de>

* [flicbutton] Improve exception error message in ThingStatus

Signed-off-by: Patrick Fink <mail@pfink.de>

* [flicbutton] Fix README title

Signed-off-by: Patrick Fink <mail@pfink.de>

* [flicbutton] Improve exception error message in ThingStatus

Signed-off-by: Patrick Fink <mail@pfink.de>

* [flicbutton] Style fixes

Signed-off-by: Patrick Fink <mail@pfink.de>

* [flicbutton] Use trace log level for button clicks & status changes

Signed-off-by: Patrick Fink <mail@pfink.de>

* Apply doc improvements from code review

Signed-off-by: Patrick Fink <mail@pfink.de>

Co-authored-by: Matthew Skinner <matt@pcmus.com>

* [flicbutton] Add binding to bom/openhab-addons

Signed-off-by: Patrick Fink <mail@pfink.de>

* [flicbutton] Cleanup / remove guava leftover

Signed-off-by: Patrick Fink <mail@pfink.de>

* [flicbutton] Remove online status description

Signed-off-by: Patrick Fink <mail@pfink.de>

* [flicbutton] Improve flicd hostname label

Signed-off-by: Patrick Fink <mail@pfink.de>

Co-authored-by: Fabian Wolter <github@fabian-wolter.de>

* [flicbutton] Do not catch IllegalArgumentException anymore as its not neeed

Signed-off-by: Patrick Fink <mail@pfink.de>

* [flicbutton] Use debug log level instead of info

Signed-off-by: Patrick Fink <mail@pfink.de>

* [flicbutton] Update version and license

Signed-off-by: Patrick Fink <mail@pfink.de>

* [flicbutton] Fix SAT warnings, e.g. add null handling annotations

Signed-off-by: Patrick Fink <mail@pfink.de>

* [flicbutton] Fix SAT warnings (2)

Signed-off-by: Patrick Fink <mail@pfink.de>

* [flicbutton] Concurrency refactoring & fixes

Signed-off-by: Patrick Fink <mail@pfink.de>

* [flicbutton] Cancel initialization task also when already running

Signed-off-by: Patrick Fink <mail@pfink.de>

* [flicbutton] Add javadoc and move FLIC_OPENHAB_EVENT_TRIGGER_MAP constant to constants class

Signed-off-by: Patrick Fink <mail@pfink.de>

* [flicbutton] Use ThingStatusDetail.OFFLINE.GONE when Flic button was removed from bridge

Signed-off-by: Patrick Fink <mail@pfink.de>

* [flicbutton] Fix FlicSimpleclientDiscoveryServiceImpl javadoc

Signed-off-by: Patrick Fink <mail@pfink.de>

* [flicbutton] Fix required definition of thing types

Signed-off-by: Patrick Fink <mail@pfink.de>

Co-authored-by: Fabian Wolter <github@fabian-wolter.de>
Co-authored-by: Matthew Skinner <matt@pcmus.com>
2022-02-20 21:53:30 +01:00
Wouter Born 51bbd34cd7
[bluetooth] Add missing default translations (#12329)
This will allow for translating the Bluetooth Binding in Crowdin.

Signed-off-by: Wouter Born <github@maindrain.net>
2022-02-20 20:26:10 +01:00
Wouter Born 8559651166
[mqtt] Add default translations (#12328)
This will allow for translating the MQTT Binding in Crowdin.

Signed-off-by: Wouter Born <github@maindrain.net>
2022-02-20 20:12:31 +01:00
GiviMAD 27538fa87f
[watsonstt] lazy abort (#12318)
* [watsonstt] lazy abort

Signed-off-by: Miguel Álvarez Díez <miguelwork92@gmail.com>
2022-02-20 14:25:47 +01:00
Jacob Laursen c03dbfd520
Interrupt current thread on InterruptedException (#12323)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-02-20 14:22:40 +01:00
GiviMAD 4d77608da1
[googlestt] lazy abort (#12317)
Signed-off-by: Miguel Álvarez Díez <miguelwork92@gmail.com>
2022-02-20 12:45:31 +01:00
Christoph Weitkamp a517e6e768
[openweathermap] Call Thread.currentThread().interrupt() on InterruptedException (#12314)
* Call Thread.currentThread().interrupt() on InterruptedException

Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2022-02-20 12:35:51 +01:00
GiviMAD 9bb43461fb
[voskstt] initial contribution (#12249)
Signed-off-by: Miguel Álvarez Díez <miguelwork92@gmail.com>
2022-02-19 21:52:04 +01:00
jimtng 6000bc75fb
[daikin] Add the ability to disable background discovery (#12300)
Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
2022-02-19 21:50:12 +01:00
Jacob Laursen 2e72ac78fd
[hdpowerview] Add support for setting repeater LED color and brightness (#12308)
* Add support for setting repeater LED color and brightness.

Fixes #12307

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-02-19 21:48:38 +01:00
Wouter Born 33b613d283
[hueemulation] Provide non-null context to TriggerHandlerCallback (#12320)
This prevents NPEs and a compilation issue when openhab/openhab-core#2763 is merged.

Signed-off-by: Wouter Born <github@maindrain.net>
2022-02-19 21:37:51 +01:00
Christoph Weitkamp 187937fbd1
Catch exception in case of connection to database failed during activation of servive (#12313)
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2022-02-19 21:37:23 +01:00
ranzen84 3b0c2ca19f
Update README.md (#12322) 2022-02-19 21:35:11 +01:00
eugen f29034fe87
[homekit] mark item dirty only if it has homekit metadata (#12293)
* mark item dirty only if it has homekit metadata

Signed-off-by: Eugen Freiter <freiter@gmx.de>
2022-02-19 09:21:52 +01:00
Christoph Weitkamp bc7e01726f
[openweathermap] Code cleanup (#12311)
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2022-02-18 08:47:35 +01:00
Christoph Weitkamp b5e480bd30
Allow default sound parameter value (#12309)
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2022-02-17 23:03:31 +01:00
Ben Jones 2b80c0ea97
[amplipi] Add support for incremental volume control (#12297)
Signed-off-by: Ben Jones <ben.jones12@gmail.com>
2022-02-17 09:30:30 +01:00
jimtng f18ee99b08
[daikin] Fix communication errors by retrying failed http requests (#12239)
* [daikin] Fix communication errors by retrying failed http requests

Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
2022-02-16 07:35:19 +01:00
Pawel 85866c63c0
[bluetooth.airthings] Catch all exceptions in a scheduled task to prevent future executions from being suppressed (#12261)
* Fixes #9862

Catch all exceptions in scheduled task to prevent future executions from being suppressed.

Signed-off-by: Pawel Switalski <switalski.pw@gmail.com>
Signed-off-by: Pawel <s-pw@example.com>
2022-02-16 07:30:39 +01:00
jimtng baa9aacf50
[fronius] Fix communication errors by retrying failed http requests (#12255)
* [fronius] Fix communication errors by retrying failed http requests

Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
2022-02-15 23:50:37 +01:00
lolodomo 909d3d8c42
[omnilink] Removed tags from channel type lock_switch (#12288)
Related to #12262

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-02-14 12:42:45 +01:00
lolodomo 4330e96ce7
[airquality] Cleanup semantic tags (#12290)
Related to #12262

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-02-14 07:49:04 +01:00
lolodomo ab83767fcf
[millheat] Cleanup semantic tags (#12289)
Related to #12262

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-02-14 07:48:24 +01:00
lolodomo a0c31e0cfa
[deconz] Cleanup semantic tags (#12287)
* [deconz] Cleanup semantic tags

Related to #12262

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-02-13 22:50:50 +01:00
lolodomo 43d1175c78
[vigicrues] Cleanup semantic tags (#12286)
Related to #12262

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-02-13 21:49:11 +01:00
lolodomo 78a5d5d6ad
[openweathermap] Cleanup semantic tags (#12285)
Related to #12262

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-02-13 21:35:20 +01:00
lolodomo 02033c229d
[sonyprojector] Fix tags for channel type powerstate (#12283)
Related to #12262

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-02-13 21:16:53 +01:00
lolodomo f484faafd0
[sagercaster] Cleanup semantic tags (#12284)
Related to #12262

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-02-13 21:12:58 +01:00
lolodomo 631c7d8c79
[souliss] Remove tags from channel type power (#12282)
Related to #12262

Follow-up #12269

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-02-13 20:41:36 +01:00
Jacob Laursen b750d85a11
Use system channel types for humidity and outdoor temperature (#12277)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-02-13 19:56:51 +01:00
lolodomo 7d3f3c56a7
[souliss] Fix semantic tags (#12269)
Related to #12262

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-02-13 16:26:01 +01:00
lolodomo 8b91e2172f
[openwebnet] Fix tags for channel shutter (#12271)
Related to #12262

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-02-13 12:50:47 +01:00
lolodomo c576b1e894
[dmx] Fix tags for channel color_temperature (#12265)
Related to #12262

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-02-13 12:49:52 +01:00
lolodomo b25753cb17
[lifx] Cleanup semantic tags (#12274)
Related to #12262

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

Fix #12263

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-02-13 09:40:29 +01:00
Dan Cunningham b7e064a872
[hydrawise] Support unused zones (#12275)
* [hydrawise] Support unused zones
Fixes #12209

Signed-off-by: Dan Cunningham <dan@digitaldan.com>
2022-02-13 09:15:20 +01:00
lolodomo a7e6fe648d
[max] Use defined semantic tags (#12268)
Related to #12262

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-02-12 23:11:26 +01:00
lolodomo e0b1c58c5a
[shelly] Category added to channel type sensorHumidity (#12266)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-02-12 23:09:00 +01:00
lolodomo 97d07c9316
[yeelight] Cleanup semantic tags (#12270)
Related to #12262

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-02-12 23:06:12 +01:00
Doug Culnane 605c06107f
[renault] Renault more channels and HVAC ON / toggle charge mode (#12095)
* [renault] Add more channels to Renault Binding.
* [renault] Improve example rule to reduce API use.

Signed-off-by: Culnane Douglas <douglas.culnane@extern.a1.at>
2022-02-12 20:22:35 +01:00
lolodomo 223eb5e24d
[feican] Add semantic tags on channel color_temperature (#12272)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-02-12 19:05:07 +01:00
eugen 5901479f0e
[homekit] update java hap library (#12267)
* update hap
* correction for categories

Signed-off-by: Eugen Freiter <freiter@gmx.de>
2022-02-12 15:07:58 +01:00
Matthew Skinner 35a6fdde60
[ipobserver] Add support for WiFi version and push based method. (#12151)
* Add support for Wifi version of ipObserver.
* make config private again.
* Add logging.
* Remove tags

Signed-off-by: Matthew Skinner <matt@pcmus.com>
2022-02-12 09:34:16 +01:00
Jacob Laursen 1be50736e3
Fix recent regression when bridge is offline while initializing child things. (#12259)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-02-10 23:34:14 +01:00
Hilbrand Bouwkamp 888cf00245
[tplinksmarthome] Added KL400, KL430 lightstrip support (#12000)
Closes #8709

Additional:
- Added action to send and receive json commands to a tplink device. This can be used for test purposes or to run commands not available through channels.

Fixes:
- Power channel of a bulb is defined as QuantityType in xml, therefor it should create the state using QuantityType
- Retry getting values 5 times before setting the device offline. Reduced socket time out to 2 seconds as it normally should react quickly and if it times out it tries again.

Also-by: Dustin Masters <ceo@dustinsoftware.com>
Signed-off-by: Hilbrand Bouwkamp <hilbrand@h72.nl>
2022-02-10 19:58:24 +01:00
jimtng a0236bf993
[fronius] Add support for Fronius Smart Meter 65A (#12258)
Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
2022-02-10 18:54:01 +01:00
MikeTheTux 70e57e43e2
[guntamatic] Added 'biosmart' and 'generic' thingtype, robustness improvements on control interface (#12146)
* * added 'biosmart' and 'generic' type. * robustness improvements on control interface

Signed-off-by: Michael Weger <weger.michael@gmx.net>
2022-02-09 21:02:59 +01:00
Jacob Laursen b23254fc3a
Fix unreachable lights and sensors being marked as GONE. (#12245)
Fixes #12244

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-02-09 20:26:57 +01:00
Ethan Dye fdf8ebec98
[OmniLink] Refactor parts of code (#12246)
Signed-off-by: Ethan Dye <mrtops03@gmail.com>
2022-02-09 17:59:36 +01:00
Jacob Laursen 24c5105dca
Reduce log level for messages received for unconfigured devices (#12248)
Fixes #12247

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-02-09 07:54:25 +01:00
Hannes Spenger ac32260f22
[fronius] Added Ohmpilot thing and channel realpowersum for thing meter (#11835)
* Added support for fronius ohmpilot and added smart meter power sum.

Signed-off-by: urmet0 <hannes.spenger@gmail.com>
2022-02-09 00:02:40 +01:00
lolodomo b54e1026ae
[hue] Semantics added to channel types (#10977)
* [hue] Semantics added to channel types

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-02-08 23:03:31 +01:00
Ethan Dye 20da017fa2
[OmniLink] Add semantic tags to channels (#11100)
* Add semantic tags to channels
* Use system channels where possible

Signed-off-by: Ethan Dye <mrtops03@gmail.com>
2022-02-08 22:01:57 +01:00
Wouter Born 14058c1603
[insteon] Prevent null values from being inferred when printing to console (#12243)
This prevents the null analysis from inferring null values when printing to a Console.

Related to openhab/openhab-core#2742

Signed-off-by: Wouter Born <github@maindrain.net>
2022-02-08 21:27:17 +01:00
Cody Cutrer 43cef812ae
[mqtt.homie] remove unused constants in tests (#12242)
Signed-off-by: Cody Cutrer <cody@cutrer.us>
2022-02-08 21:01:25 +01:00
GiviMAD 9a086fd6e3
[watsonstt] initial contribution (#12161)
* [watsonstt] initial contribution

Signed-off-by: Miguel Álvarez Díez <miguelwork92@gmail.com>
2022-02-08 20:52:02 +01:00
lolodomo 99cfb65aba
[openweathermap] Semantics added to channel types (#10972)
Also fix few categories to use only official categories

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-02-08 19:06:25 +01:00
J-N-K 60f9f60faf
Adjustments after changing null-annotations for updating properties (#12221)
Signed-off-by: Jan N. Klug <github@klug.nrw>
2022-02-08 18:35:16 +01:00
Andrew Fiddian-Green a3448a57d3
[hdpowerview] Fix for capabilities:1 shades (#12237)
* [hdpowerview] fix capabilities:1

Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2022-02-08 13:16:32 +01:00
GiviMAD 4e6bc0976e
[porcupineks] fix null pointer exception and file bundle extraction on Windows OS (#12234)
Signed-off-by: Miguel Álvarez Díez <miguelwork92@gmail.com>
2022-02-07 18:53:14 +01:00
jimtng d46367dfd0
[mqtt] Remove references to the System Broker (#12233)
Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
2022-02-07 16:03:41 +01:00
olivierkeke e89a5e6996
[teleinfo] Refactor channel config files for Linky standard mode (#12204)
* Refactor channel config files
* Remove duplicate PAPP channel type

Signed-off-by: Olivier Marceau <hollysaiqs@marceau.ovh>
2022-02-07 16:02:48 +01:00
jimtng 267a8aac7c
[jrubyscripting] convert presets from java class to ruby class (#12047)
Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
2022-02-06 21:50:56 +01:00
maniac103 f29d86cf4f
[homematic] Remove state description step size handling (#12192)
The RPC protocol doesn't provide this value, so it always was made up
more or less arbitrarily. Since the UI now uses this value for
validation purposes, there are cases where valid values can not be
entered due to this step size (particularly for datapoints with more
than 1 decimal digit).

Fixes #12183

Signed-off-by: Danny Baumann <dannybaumann@web.de>
2022-02-06 20:21:59 +01:00
Christoph Weitkamp d707420ec5
[jdbc] Fixed ClassCastException for ColorItem / HSBType (#12225)
* Fixed ClassCastException for ColorItem / HSBType

Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2022-02-06 15:45:03 +01:00
Christian Kittel 0028b8d13c
Prevent Null Pointer Exception if socket connection is broken (#12223)
Signed-off-by: EvilPingu <ckittel@gmx.de>
2022-02-06 15:43:00 +01:00
GiviMAD 19fd145368
[googlestt] emit correct recognition events (#12210)
Signed-off-by: Miguel Álvarez Díez <miguelwork92@gmail.com>
2022-02-06 13:42:32 +01:00
Jacob Laursen 1422253adf
Fix inbox entries for already configured devices. (#12217)
Fixes #12216

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-02-06 12:16:45 +01:00
basse04 caed360c37
[kostalinverter] Fix to, prevent randomly stops of binding. (#12124)
* [kostalinverter] Fix to, prevent randomly stops of binding.

Signed-off-by: basse04 <orjan.backsell@gmail.com>
2022-02-06 11:02:32 +01:00
jimtng a3bd8caba9
[mqtt.generic] Support transformationPattern for thing's availabilityTopic (#12167)
* [mqtt.generic] Support transformationPattern for thing's availability payload
* [mqtt] Remove org.apache.commons.lang3.StringUtils dependency

Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
2022-02-06 10:30:06 +01:00
Jacob Laursen 85ffbe37db
[wemo] Fix already configured devices in inbox (#12215)
* Reuse UDN configuration parameter definition.
* Fix inbox entries for already configured devices.

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-02-06 09:50:29 +01:00
Jacob Laursen e9deeccf49
Eliminate risk of bad firmware response breaking shade/scene updates. (#12214)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-02-05 21:23:36 +01:00
Christian Kittel b9a838bf18
Fixing Issue if server returns not 200 while signing in (#12211)
Signed-off-by: EvilPingu <ckittel@gmx.de>
2022-02-05 21:21:51 +01:00
digitlength e872e14894
Update README.md (#12168)
Added outgoing data section
2022-02-05 20:44:45 +01:00
Andrew Fiddian-Green b76551f4d7
[siemenrds] Update in ReadMe about getting an API key (#12212)
* [siemenrds] update ReadMe about the api key

Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2022-02-05 20:34:34 +01:00
Sonic-Amiga 7a407523dc
[herzborg] Herzborg binding (#9327)
Supports Herzborg curtain motors over RS-485 network

Signed-off-by: Pavel Fedin <pavel_fedin@mail.ru>
Co-authored-by: Matthew Skinner <matt@pcmus.com>
Co-authored-by: Fabian Wolter <github@fabian-wolter.de>

Co-authored-by: Matthew Skinner <matt@pcmus.com>
Co-authored-by: Fabian Wolter <github@fabian-wolter.de>
2022-02-05 19:08:05 +01:00
Jacob Laursen 8ebd4e9047
[wemo] Improve GENA subscription reliability and error handling (#12148)
* Consolidate service subscriptions in base class.
* Remove unsynchronized and unneeded cache of subscriptions.
* Do not unregister participant when removing subscription.
* Fix status wrongly set to ONLINE when exception is thrown.
* Refactor error handling for WemoHttpCall.
* Adjust log level for communication errors.
* Add automatic subscription renewal.
* Fix more ONLINE/OFFLINE status transition issues.
* Adjust log level when getWemoURL fails because device is offline.
* Remove redundant logging.

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-02-05 18:56:58 +01:00
Stian Kjoglum 882e52647d
Enhancement for websocket re-econnectivity & fix item/channel response (#12191)
Signed-off-by: Stian Kjoglum <stiankj@online.no>
Signed-off-by: kjoglum <stiankj@online.no>
2022-02-05 11:09:07 +01:00
Jacob Laursen 97422175c7
Update README after latest changes. (#12173)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-02-05 09:26:08 +01:00
eugen fde78b3fea
make onChange synchronized (#12205)
Signed-off-by: Eugen Freiter <freiter@gmx.de>

Co-authored-by: Eugen Freiter <freiter@gmx.de>
2022-02-05 08:39:17 +01:00
jimtng 73b805b115
[mqtt] connectionStateChanged(CONNECTED) called twice (#12200)
Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
2022-02-04 23:32:56 +01:00
Jacob Laursen 97db73938d
Improve error handling for unknown shades and timeouts. (#12181)
Fixes #12180

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-02-03 23:45:41 +01:00
lolodomo 02776d8585
[voicerss] Null annotations added on the main service class (#12190)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-02-03 19:48:14 +01:00
Balisz 3c7d4d8a38
[playstation] Clarified the part to obtain configuration info (#12194)
* Clarified the part to obtain configuration info
2022-02-03 16:32:16 +01:00
jimtng 5f48b72e16
[mqtt] Fix translation file names (#12193)
Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
2022-02-03 16:27:55 +01:00
openhab-bot 9a8e14ba19
New Crowdin updates (#12188)
* New translations http.properties (Italian)

* New translations ambientweather.properties (French)

* New translations automower.properties (French)

* New translations electroluxair.properties (French)

* New translations mqttbroker.properties (Hungarian)

* New translations mqttbroker.properties (Italian)
2022-02-03 13:03:42 +01:00
jimtng 80819ca503
[mqtt] Support birth and shutdown message (#12152)
Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
2022-02-03 12:42:54 +01:00
Kai Kreuzer ca1e2b0e42
[tesla] Introduce "allowWakeUpForCommands" option (#12184)
* Introduce "allowWakeUpForCommands" option

Signed-off-by: Kai Kreuzer <kai@openhab.org>
2022-02-02 20:28:48 +01:00
lolodomo 624efab678
[voicerss] Fix and enhance the external tool to prefill the cache (#12155)
* [voicerss] Fix and enhance the external tool to prefill the cache
* Make the tool independent of core openHAB
* Fix the parsing of the command arguments.
* Allow to provide optional audio codec and format.
* Null annotations added on most of the classes
* Simplified doc about classpath
* Suppress obsolete mention of open issue in doc

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-02-02 18:39:35 +01:00
jimtng de6de1a22d
[daikin] Fix NPE when setting zones on startup (#12165)
Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
2022-02-02 17:35:15 +01:00
jimtng 36ab0cdc87
[mqtt] Remove MQTT System Broker (#12157)
Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
2022-02-02 14:00:33 +01:00
Christoph Weitkamp ca73548af2
[hue] Fixed setting wrong values for ledindocation configuration (#12182)
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2022-02-01 08:42:17 +01:00
jimtng 5b1627c426
[mqtt] publishMQTT Action accepts a bytearray payload (#12170)
* [mqtt] MQTT Action publishMQTT accept byte array

Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
2022-02-01 00:51:46 +01:00
olivierkeke 87975feab2
[teleinfo] Update translation files (#12156)
* Apply maven i18n plugin

Signed-off-by: Olivier Marceau <hollysaiqs@marceau.ovh>
2022-02-01 00:44:58 +01:00