Commit Graph

4582 Commits

Author SHA1 Message Date
Holger Friedrich
5b42c4b071
Java 17 features (#15493)
- add missing @override
- Java style array syntax
- remove redundant modifiers
- always move String constants to left side in comparisons
- simplify lambda expressions and return statements
- use replace instead of replaceAll w/o regex

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2023-08-26 08:52:11 +02:00
Holger Friedrich
d36833feef
[hueemulation] Java 17 features (#15496)
- add missing @override
- Java style array syntax
- remove redundant modifiers
- always move String constants to left side in comparisons
- simplify lambda expressions and return statements

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2023-08-25 17:48:55 +02:00
Konstantin Polihronov
17978b8625
[solax] Initial contribution (#14880)
Signed-off-by: Konstantin Polihronov <polychronov@gmail.com>
2023-08-24 14:39:24 +02:00
Holger Friedrich
ab135421a0
[voice] Make use of Java17 features (#15487)
Use Map/Set/List.of instead of Collections.

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2023-08-24 06:46:18 +02:00
Holger Friedrich
56e7daf898
[io] Use Java 17 features (#15485)
* instanceof matching and multiline strings
* use Map/Set/List.of instead of Collections

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2023-08-24 06:44:56 +02:00
Holger Friedrich
6e49c6e6ec
[transform] Code optimization for Java17: instanceof matching and multiline strings (#15483)
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2023-08-24 06:41:36 +02:00
Jacob Laursen
db651f9e92
[hue] Fix exception being displayed in bridge status description (#15475)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2023-08-24 06:39:27 +02:00
Wouter Born
fef05c3322
Remove build server specific timing from dynamodb and ruuvigateway (#15472)
* Remove build server specific timing from dynamodb and ruuvigateway

There should be no difference between running tests on your own PC or on a build server.
The ruuvigateway tests always fail for me during parallel builds due to its unrealistic timing.

Signed-off-by: Wouter Born <github@maindrain.net>
2023-08-23 20:54:50 +02:00
Holger Friedrich
7b90fbe162
[automation] Use Java 17 features (#15484)
* [automation] Code optimization for Java17: instanceof matching and multiline strings

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>

* [automation] Make use of Java17 features

Use Map/Set/List.of instead of Collections.

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>

* review comment

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>

---------

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2023-08-23 17:27:40 +02:00
Wouter Born
626c6bde4a
Resolve runbundles for CXF upgrade (#15473)
* Resolve runbundles for CXF upgrade

Related to openhab/openhab-core#3770

Signed-off-by: Wouter Born <github@maindrain.net>

* Replace Grizzly JAX-RS Client with Jetty HTTP client in hueemulation tests

It seems that the Grizzly JAX-RS Client implementation does not work well with the new CXF dependencies on the classpath.
As we do not use Grizzly anywhere else it is probably best to also stop using the Grizzly HTTP Server in these tests in the future.

Signed-off-by: Wouter Born <github@maindrain.net>

---------

Signed-off-by: Wouter Born <github@maindrain.net>
2023-08-23 09:14:15 +02:00
Konstantin Polihronov
5f31eeb506
[paradoxalarm] Fix Paradox EVOHD zone parsing fail #10572 (#15441)
* Fix Paradox EVOHD zone parsing fail #10572

* Root cause is that EVOHD and EVO192 have much more zones which are
stored in a different memory map model. They should be treated the same
way. Fix is simple and can be downported to 3.x if decided by the
maintainers

Signed-off-by: Konstantin Polihronov <polychronov@gmail.com>
2023-08-22 08:47:12 +02:00
Wouter Born
42ba975660
[feed] Upgrade jdom2 to 2.0.6.1 (#15476)
This addresses CVE-2021-33813

See: http://www.jdom.org/news/index.html

Signed-off-by: Wouter Born <github@maindrain.net>
2023-08-22 08:31:20 +02:00
lsiepel
f2fc0560fd
[surepetcare] Fix possible timeout bug (#15411)
Fix #11527

* Minor java 17 refactoring
* Spotless

Signed-off-by: lsiepel <leosiepel@gmail.com>
2023-08-21 21:36:07 +02:00
Jacob Laursen
bf892b6b96
[hue] Fix compiler warnings (#15419)
* Fix compiler warnings
* Fix integration test compiler/SAT warnings

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2023-08-21 21:14:18 +02:00
lsiepel
a1b79b6b7b
[homekit] Checkstyle cleanup (#15450)
* Remove package
* java 17 instanceofpattern
* EqualsAvoidNullCheck
* NoEmptyLineSeparatorCheck
* ConstantNameCheck

Signed-off-by: lsiepel <leosiepel@gmail.com>
2023-08-21 20:12:49 +02:00
jimtng
261456badc
[fineoffsetweatherstation] Fix failing tests (#15470) 2023-08-21 06:41:28 +02:00
Holger Friedrich
95ac2eb80b
Use SecureRandom instead of Random (#15459)
Make sure that SecureRadom is used whenever the random number
is used for cryptographic operations, e.g. as nonce/salt.

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2023-08-20 21:29:37 +02:00
Gaël L'hopital
e86998000e
[openuv] Correcting NPE in IconProvider (#15465)
Signed-off-by: Gaël L'hopital <gael@lhopital.org>
2023-08-20 18:06:25 +02:00
jimtng
78381e8b6d
[jrubyscripting] Fix broken image in README.md (#15435)
* [jrubyscripting] Fix broken image in README.md
* [jrubyscripting] Update the base url in the regenerate instructions

Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
2023-08-19 22:41:54 +02:00
Holger Friedrich
52c657ff41
[chatgpt] Set proper default values for channel configuration (#15451)
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2023-08-19 20:49:37 +02:00
jimtng
a293fc8fd9
[jrubyscripting] Fix config description uri (#15457)
This is to match the uri defined in https://github.com/openhab/openhab-addons/pull/15438

Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
2023-08-19 10:48:31 +02:00
lsiepel
5c6fabbb62
[denonmarantz] Fix NPE on connection problem (#15422)
* Checkstyle cleanup
* Fix #15444

Signed-off-by: lsiepel <leosiepel@gmail.com>
2023-08-18 16:33:39 +02:00
Alexander Friese
a435ed2cd0
[easee] Migrate charger state API endpoint, add channels (#14614)
* reworked the way to retrieve Charger state as API endpoint is now deprecated.
* fixed result processing: removed default handling by bridge handler which caused everything to go offline if a single charger had faulty config.
* additional channels / removed obsolete firmware channel

Signed-off-by: Alexander Friese <af944580@googlemail.com>
2023-08-18 13:33:19 +02:00
Wouter Born
79ecb2e4d0
Fix wrong source code URLs in NOTICE files (#15448) 2023-08-17 21:49:01 +02:00
Alexander Friese
e87824d7e8
[easee] Enable write support for smartCharging channel (#14866)
* this fixes #14863

Signed-off-by: Alexander Friese <af944580@googlemail.com>
2023-08-17 17:01:21 +02:00
Florian Hotze
6e349334e4
[jrubyscripting] Allow configuration from add-on page (#15438)
Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
2023-08-16 21:49:20 +02:00
Ondrej Pecta
39bbaa8c85
[somfytahoma] fix NPE in case that HttpClient fails to start (#15442)
Signed-off-by: Ondrej Pecta <opecta@gmail.com>
2023-08-16 20:15:18 +02:00
Jacob Laursen
7ab04b20a1
[jdbc] Fix null annotation warnings (#15426)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2023-08-15 13:24:29 +02:00
lsiepel
c47e833ed9
[dscalarm] Fix checkstyle and warning (#15424)
Signed-off-by: lsiepel <leosiepel@gmail.com>
2023-08-14 22:08:22 +02:00
miloit
c465344c01
[volumio] Removing compiler warnings (#15379)
Signed-off-by: miloit <MichaelLoercher@web.de>
2023-08-14 14:14:50 +02:00
lsiepel
6ace1548b8
[gardena] Fix close all valves command (#15390)
* Fix #15039
* codestyle

Signed-off-by: lsiepel <leosiepel@gmail.com>
2023-08-14 08:10:29 +02:00
Jacob Laursen
1fd7280c51
Upgrade SQLite JDBC driver to 3.42.0.0 (#15412)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2023-08-13 22:13:18 +02:00
J-N-K
196d8095bb
[tr064] Fix clearing of auth (results) (#15415)
* [tr064] Fix clearing of auth (results)

In case of multiple root things the auth store (results and digests) was cleared for all clients instead of only removing the failed auth result or old authentication.

* fix TAM request

Signed-off-by: Jan N. Klug <github@klug.nrw>
2023-08-13 18:55:13 +02:00
Wouter Born
c71a24f8a1
Link to Java 17 documentation (#15406)
This prevents issues because older documentation may not apply to Java 17.

Signed-off-by: Wouter Born <github@maindrain.net>
2023-08-13 13:44:05 +02:00
openhab-bot
2886175120
New Crowdin updates (#15407)
* New translations hue.properties (Italian)

* New translations deconz.properties (Italian)

* New translations anel.properties (Italian)

* New translations atlona.properties (Italian)

* New translations electroluxair.properties (Italian)

* New translations groupepsa.properties (Italian)

* New translations somneo.properties (Italian)

* New translations meater.properties (Italian)

* New translations juicenet.properties (Italian)

* New translations volumio.properties (Italian)

* New translations asuswrt.properties (Italian)
2023-08-12 08:09:15 +02:00
Andrew Fiddian-Green
297640aa77
[hue] Fix bug due to parallel PUT commands (#15324)
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2023-08-09 17:45:34 +02:00
lsiepel
3b9b0236b4
[microtik] Fix changed date format in firmware v7.10 (#15362)
Signed-off-by: lsiepel <leosiepel@gmail.com>
2023-08-06 20:00:12 +02:00
voruti
faceef6fd4
Fix missing cast (#15356)
Signed-off-by: Till von Rüden <dev@tillvonrueden.de>
2023-08-06 10:43:06 +02:00
lsiepel
c4d79a7502
[gpstracker] Fix NumberFormatException (#15337)
Signed-off-by: lsiepel <leosiepel@gmail.com>
2023-08-05 22:41:12 +02:00
Doug Culnane
7d2d86f244
[renault] Small logging improvements. (#15368)
* [renault] HTTP responses to debug not warn.
* [renault] fix logging typo.

---------

Signed-off-by: Doug Culnane <doug@culnane.net>
2023-08-04 11:34:52 +02:00
Wouter Born
0d9cebe513
[allplay] Fix issue tracker link in documentation (#15369)
Signed-off-by: Wouter Born <github@maindrain.net>
2023-08-04 11:32:01 +02:00
Gwendal Roulleau
f98ed3fc22
[pulseaudio] For source, default timeout should be disconnection ASAP (#15314)
* [pulseaudio] For source,  default timeout should be disconnection ASAP

To avoid weird behaviour, such as pulseaudio server storing audio data between inputstream get/read and then sending the backlog all at once when finally reading, we must disconnect immediately thereafter.

---------

Signed-off-by: Gwendal Roulleau <gwendal.roulleau@gmail.com>
Co-authored-by: Gwendal Roulleau <gwendal.roulleau@gmail.com>
2023-08-03 11:01:48 +02:00
Arjen Korevaar
e057e79d2a
[openthermgateway] Remove 'reserved' channels (with invalid channelUIDs) (#15355)
* Removed invalid characters from channel UIDs
* Removed unused message ids

Signed-off-by: Arjen Korevaar <a.korevaar@mephix.com>
2023-08-02 14:51:09 +02:00
lsiepel
5a447375a4
[chromecast] Fix STOP command
Fixes #14516

Signed-off-by: lsiepel <leosiepel@gmail.com>
2023-08-01 21:22:37 +02:00
openhab-bot
846e9aa206
New translations androidtv.properties (Italian) (#15351) 2023-08-01 16:43:40 +02:00
Gaël L'hopital
e792a92a38
[freeboxos] Support randomized MAC addresses by using mDNS name for Wi-Fi hosts (#15299)
* Take care of randomized mac addresses by using mDNS name for wifi hosts.

Signed-off-by: clinique <gael@lhopital.org>
2023-08-01 12:16:59 +02:00
lsiepel
d499f2c777
[bluetooth.bluez] Fix NullPointerException during discovery (#15347)
Signed-off-by: lsiepel <leosiepel@gmail.com>
2023-08-01 10:24:25 +02:00
morph166955
3e1686b1f7
[androidtv] Adds gtvEnabled Option (#15317)
* Adds gtvEnabled

---------

Signed-off-by: Ben Rosenblum <rosenblumb@gmail.com>
2023-07-31 23:37:56 +02:00
Tom Müller
27d784a4b1
[myStrom] Add energy consumption since last API call channel for MyStrom Plug (#15294)
* added missing Ws value for MyStrom Plug

Signed-off-by: Tom Müller <tompetermueller01@gmail.com>
2023-07-31 23:08:45 +02:00
openhab-bot
edc7761cd6
New translations shelly.properties (German) (#15345) 2023-07-31 17:29:52 +02:00
Jacob Laursen
a9d6d805f4
[enocean] Fix disposal of running tasks (#15329)
* Fix disposal of running tasks

Fixes #15328

---------

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2023-07-31 17:10:17 +02:00
Jacob Laursen
92238bcb8b
Reintroduce LK Wiser dimmer work-around for API v2 (#15316)
Fixes #15315

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2023-07-31 13:22:58 +02:00
Arne Seime
3080615262
Increase comm timeout to 30 seconds (#15342)
Signed-off-by: Arne Seime <arne.seime@gmail.com>
2023-07-31 13:04:00 +02:00
morph166955
5dcc5214a6
Fixes DTS Typo (#15338)
Signed-off-by: Ben Rosenblum <rosenblumb@gmail.com>
2023-07-31 08:43:02 +02:00
morph166955
6115cd39a7
[androidtv] Removes unnecessary null checks (#15331)
* Removes unnecessary null checks
* Moves checks to thing-types.xml
* Fix typo
* Update i18n

Signed-off-by: Ben Rosenblum <rosenblumb@gmail.com>
2023-07-30 19:23:04 +02:00
Florian Hotze
bf7f24c099
[jsscripting] Upgrade openhab-js to 4.5.1 to fix cached injection (#15336)
It was found out that a recent change to the webpack config for the library injection bundle heavily affected performance of the evaluation of the cached injection.

openhab-js 4.5.1 fixes that regression and one minor bug, see https://github.com/openhab/openhab-js/blob/main/CHANGELOG.md#451.

Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
2023-07-30 14:47:03 +02:00
Z0l
222270472a
Update README.md (#15334)
Removed quotes from the <shieldGreen> statement to make it work with OH4.

Signed-off-by: Z0l <Z0l@users.noreply.github.com>
2023-07-30 09:32:37 +02:00
Alexander Friese
f24f0f0251
[digitalstrom] Fix StringIndexOutOfBoundsException (#15318) while keeping removal of StringUtils (#15321)
Signed-off-by: Alexander Friese <af944580@googlemail.com>
2023-07-29 11:17:58 +02:00
Jacob Laursen
9aab0f7d12
Fix ArrayStoreException (#15320)
Fixes #15313

Partially reverts #13967

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2023-07-28 10:01:36 +02:00
Jacob Laursen
5732cca7bb
Fix StringIndexOutOfBoundsException (#15319)
Fixes #15318

Reverts #14402

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2023-07-28 10:00:48 +02:00
Markus Michels
f6e750a5ff
[shelly] Fix Plus/Pro Auth support (#15284)
* Reimplement Auth Digist to return response as http header field instead
of being part of post data; avoid sending Basic Auth for Gen2 and
/shelly

Signed-off-by: Markus Michels <markus7017@gmail.com>
2023-07-27 15:41:32 +02:00
Andrew Fiddian-Green
ae36108cbd
[hue] Fix reconnection, parallel commands, trigger channels, and light level formula (#15169)
* [hue] post merge tweaks

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

* [hue] abandon internal restart

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

* [hue] remove externalRestartScheduled flag

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

* [hue] serialize PUT calls

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

* [hue] GET requests shall not activate trigger channels

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

* [hue] fix LightLevel formula

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

* [hue] fix Button DTO null error

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

---------

Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2023-07-27 14:55:17 +02:00
Gaël L'hopital
4eaba31f57
Correcting false assumption (#15307)
Signed-off-by: clinique <gael@lhopital.org>
2023-07-27 08:14:27 +02:00
mlobstein
ca8c843d05
[plex] Use https for local connections (#15306)
Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
2023-07-26 23:44:57 +02:00
Florian Hotze
e1c9213cfc
[jsscripting] Fix timerId not returned by JS timer methods (#15308)
Regression from #15193.
Reported on the community, see https://community.openhab.org/t/openhab-4-0-release-discussion/147957/53?u=florian-h05.

Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
2023-07-26 16:28:46 +02:00
Gwendal Roulleau
2961593cfd
[enocean] Fix unusable bundle after a refactoring about null annotation (#15302)
Fix bundle unusable after #14023 (closes #15181)
Fix a case issue with some directory
Fix trigger channel issue

Signed-off-by: Gwendal Roulleau <gwendal.roulleau@gmail.com>
2023-07-26 13:21:59 +02:00
lolodomo
6dccbcb005
[googletts] Avoid UnsupportedOperationException during dispose (#15305)
Fix #15303

It is not allowed to clear an unmodified hash set.

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2023-07-25 23:54:31 +02:00
Konstantin Polihronov
33dd5e7f70
[paradoxalarm] Implement zone bypass command and additional zone states (#14557)
* Reduce warnings 1

Signed-off-by: Konstantin Polihronov <polychronov@gmail.com>

* 2

Signed-off-by: Konstantin Polihronov <polychronov@gmail.com>

* 3

Signed-off-by: Konstantin Polihronov <polychronov@gmail.com>

* Initial files and package refactoring

Signed-off-by: Konstantin Polihronov <polychronov@gmail.com>

* Implemented zone commands without checksum calculation

Signed-off-by: Konstantin Polihronov <polychronov@gmail.com>

* More stuff

* Added the checksum functionality
* Added more examples to the test

Signed-off-by: Konstantin Polihronov <polychronov@gmail.com>

* Implement ZoneCommand and necessary classes

* Refactor the common logic
* Extract interface Command
* CHange the Response class to use Switch/case

Signed-off-by: Konstantin Polihronov <polychronov@gmail.com>

* Fully implement the test for creating zone command payload

Signed-off-by: Konstantin Polihronov <polychronov@gmail.com>

* Fix build / add headers and author to the new files

Signed-off-by: Konstantin Polihronov <polychronov@gmail.com>

* Add command handling to the zone handler

Signed-off-by: Konstantin Polihronov <polychronov@gmail.com>

* Add command channel to the Zone thing

Signed-off-by: Konstantin Polihronov <polychronov@gmail.com>

* Research of zone states and some TODO notes

Signed-off-by: Konstantin Polihronov <polychronov@gmail.com>

* Retrieval of zone special states from the panel

Signed-off-by: Konstantin Polihronov <polychronov@gmail.com>

* Fix build

Signed-off-by: Konstantin Polihronov <polychronov@gmail.com>

* Add the new channels to the metadata file

Signed-off-by: Konstantin Polihronov <polychronov@gmail.com>

* Add new channels to zone handler

Signed-off-by: Konstantin Polihronov <polychronov@gmail.com>

* Fix indexing in memory map and add more logging

Signed-off-by: Konstantin Polihronov <polychronov@gmail.com>

* Refactoring and potential NPE access fixes

Signed-off-by: Konstantin Polihronov <polychronov@gmail.com>

* Add new property "label" to the discovered zones and partitions

Signed-off-by: Konstantin Polihronov <polychronov@gmail.com>

* Fix zone command issues

* Fix checksum creation
* Fix the parse and confirmation of the response

Signed-off-by: Konstantin Polihronov <polychronov@gmail.com>

* Add the new channels to the README.md

Signed-off-by: Konstantin Polihronov <polychronov@gmail.com>

* Fixed issue with not updating new channels in the zones

* A silly copy/paste mistake

Signed-off-by: Konstantin Polihronov <polychronov@gmail.com>

* Change the type of the new channels from contact to switch

As per community discussion this makes more sense and will be more
intuitive - when something is true -> make it ON, when it's false ->
make it OFF. OPEN and CLOSED are not fitting so well here...

Signed-off-by: Konstantin Polihronov <polychronov@gmail.com>

* Fix issue that the channel label is always NULL

* For both zone and partitions

Signed-off-by: Konstantin Polihronov <polychronov@gmail.com>

* Add new types and channels to the i18n

Signed-off-by: Konstantin Polihronov <polychronov@gmail.com>

---------

Signed-off-by: Konstantin Polihronov <polychronov@gmail.com>
2023-07-25 19:53:09 +02:00
mlobstein
51f3bf6b86
[nuvo] Include NuvoNet source favorites in zone favorite channel (#15292)
* Include NuvoNet source favorites in zone `favorite` channel
* Use existing constants
* VALID_SOURCES to enum list

Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
2023-07-25 01:17:49 +02:00
J-N-K
4c9f207a38
[knx] Refactor manufacturer map (#15297)
* [knx] Refactor manufacturer map

This makes adding new manufacturers easy.

Signed-off-by: Jan N. Klug <github@klug.nrw>
2023-07-24 23:09:46 +02:00
jimtng
6bc21bd856
[jrubyscripting] Upgrade to jruby-9.4.3.0 (#15279)
Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
2023-07-24 12:14:22 +02:00
Kai Kreuzer
72607d3bee Apply spotless
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2023-07-24 01:20:31 +02:00
openhab-bot
809fceaff3 [unleash-maven-plugin] Preparation for next development cycle. 2023-07-23 19:19:01 +00:00
J-N-K
4afe151108
[jsonpath] Fix exception when input string is empty (#15283)
Signed-off-by: Jan N. Klug <github@klug.nrw>
2023-07-23 17:14:16 +02:00
openhab-bot
36741bf004
New Crowdin updates (#15295)
* New translations sonos.properties (German)
* New translations comfoair.properties (German)
* New translations publictransportswitzerland.properties (German)
* New translations watsonstt.properties (German)
* New translations sensorcommunity.properties (German)
2023-07-23 14:22:06 +02:00
Jacob Laursen
0fe144708c
Provide example in JavaScript (#15286)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2023-07-22 22:37:48 +02:00
Dan Cunningham
a6cbf37b75
Updates JSON libary. (#15290)
Fixes #15221

Signed-off-by: Dan Cunningham <dan@digitaldan.com>
2023-07-22 22:29:02 +02:00
jimtng
35be82401d
[jrubyscripting] Update README (#15287)
Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
2023-07-22 16:16:03 +02:00
openhab-bot
37c0e97bff
New Crowdin updates (#15281)
* New translations miele.properties (Danish)
* New translations miele.properties (German)
2023-07-21 12:39:37 +02:00
J-N-K
ae146111c1
[mqtt] Dynamically change accepted item-type for Number channels (#15114)
Signed-off-by: Jan N. Klug <github@klug.nrw>
2023-07-21 11:47:51 +02:00
Jacob Laursen
4fcff61a72
Update default translations (#15280)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2023-07-21 11:34:30 +02:00
morph166955
16816e3e7a
[androidtv] Fix log flood when physical device is not online (#15258)
* Fixes log flood when physical device is not online

---------

Signed-off-by: Ben Rosenblum <rosenblumb@gmail.com>
2023-07-21 08:54:10 +02:00
J-N-K
0beaada48c
Fix rrd4j database start time (#15277)
Signed-off-by: Jan N. Klug <github@klug.nrw>
2023-07-20 21:42:27 +02:00
openhab-bot
f8968b780a
New translations jruby.properties (Italian) (#15274) 2023-07-19 15:06:04 +02:00
M Valla
d756e2e352
[openwebnet] Fix broken link in README (#15273)
* [openwebnet] fix broken link in README, updated description for metedata examples

Signed-off-by: Massimo Valla <mvcode00@gmail.com>
2023-07-19 10:30:01 +02:00
Giovanni Fabiani
74f6b93c75
[openwebnet] Fix README for Sitemap AUX configuration to the correct mapping (#15257)
* [openwebnet] Fix README for Sitemap to the correct mapping of Aux

---------

Signed-off-by: Giovanni Fabiani <fabiani.giovanni@gmail.com>
2023-07-19 10:18:27 +02:00
M Valla
005d594073
[openwebnet] Fix update of Thermo Central Unit atLeastOneProbeX channels and refactoring (#15269)
* [openwebnet] Fixes changing and startup value for Weekly/Scenario modes
Fixes #12599
* [openwebnet] Thermo: Fixed CU setpointTemp not restored
Fixes #14449
* [openwebnet] fix update of atLeastOneProbeX channels for CU Fixes #15103
Bumped lib openwebnet4j to 0.10.1

Signed-off-by: Massimo Valla <mvcode00@gmail.com>
2023-07-18 22:15:33 +02:00
Cody Cutrer
6b4ec31348
[jrubyscripting] loosen default gem version constraint (#15266)
so that the helper library compatible with 4.0.0.M3+ will be used

Signed-off-by: Cody Cutrer <cody@cutrer.us>
2023-07-18 19:56:30 +02:00
Daniel Rosengarten
b650454d94
[velbus] Fix multiple channel status in one packet (#15272)
Fix bug : Manage more than one channel status in the packet.

Signed-off-by: Daniel Rosengarten <github@praetorians.be>
2023-07-18 19:54:20 +02:00
openhab-bot
2f5f37e136
New Crowdin updates (#15271)
* New translations sonnen.properties (French)
* New translations openwebnet.properties (Italian)
2023-07-18 19:46:23 +02:00
J-N-K
eb059b50dc
[avmfritz] Fix update instructions (#15261)
Signed-off-by: Jan N. Klug <github@klug.nrw>
2023-07-18 09:06:47 +02:00
Wouter Born
0c3934f3c8
Use Eclipse formatter 4.25 with Spotless (#15264)
This version still checks test files.

See: openhab/openhab-core#3515

Signed-off-by: Wouter Born <github@maindrain.net>
2023-07-18 09:02:05 +02:00
M Valla
04e7f2f74e
[openwebnet] Binding documentation update for OH4 release (#15250)
Updated: README, `where` parameter description for Things and channels descriptions.
Added `AUTO` option for mode channel-type.
Added `OFF` option for speedFanCoil channel-type.
Updated default translations.

Signed-off-by: Massimo Valla <mvcode00@gmail.com>
2023-07-17 17:40:37 +02:00
joke24
85424d2d9d
Update README.md (#15209)
Added sample to play Web Radio URI.
I had to do a lot of searching to find out, that you have to put "x-rincon-mp3radio://" before the Stream-URL url. Hope this helps someone.

Signed-off-by: joke24 <info@jonaskemmer.de>
2023-07-17 17:27:20 +02:00
Jacob Laursen
3235d6d224
Fix NullPointerException (#15259)
Fixes #15256

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2023-07-17 17:04:04 +02:00
openhab-bot
1bcc89afca
New Crowdin updates (#15253)
* New translations mail.properties (French)

* New translations renault.properties (French)

* New translations netatmo.properties (French)

* New translations bluetooth.properties (French)

* New translations anthem.properties (French)

* New translations plex.properties (French)

* New translations openwebnet.properties (Italian)

* New translations energidataservice.properties (Italian)

* New translations androidtv.properties (Italian)

* New translations netatmo.properties (French)
2023-07-17 14:05:01 +02:00
M Valla
d857fd323a
[openwebnet] Backward support for CU configurations with where="0" (updated) (#15251)
* [openwebnet] Backward support for CU configurations with where="0"
* [openwebnet] fix send in handleSetProgramNumber()

---------

Signed-off-by: Massimo Valla <mvcode00@gmail.com>
2023-07-17 12:36:13 +02:00
morph166955
ca4d332acd
Fixes log flooding from protocol error (#15252)
Signed-off-by: Ben Rosenblum <rosenblumb@gmail.com>
2023-07-17 12:34:34 +02:00
openhab-bot
075592f4df
New Crowdin updates (#15249)
* New translations pollytts.properties (French)
* New translations energidataservice.properties (Danish)
* New translations pollytts.properties (German)
2023-07-16 14:59:07 +02:00
M Valla
a7ab2afbb3
[openwebnet] Backward support for CU configurations with where="0" (#15248)
Signed-off-by: Massimo Valla <mvcode00@gmail.com>
2023-07-16 14:48:13 +02:00
Markus Michels
00da6457f0
fix relay id for devices with more than 1 power meter, fix (#15247)
initialization if device doesn't support scripts (Pro4); fix resetMeter
for EM50 (has 2 power meters); removed channel sensors#open; removed
device#voltage updates for Plus/Pro, needs to be verified

Signed-off-by: Markus Michels <markus7017@gmail.com>
2023-07-16 14:38:40 +02:00
Jacob Laursen
4c3b398398
Extend and simplify date query offset support (#15246)
Fixes #15245

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2023-07-16 14:36:32 +02:00
Matthew Skinner
8701b86a37
[ipcamera] FIX: TAPO branded cameras require xAddr port to be different (#15073)
* FIX TAPO branded cameras require xAddr port to be different from the
main ONVIF PORT
* Fix for old API instar cameras.

---------

Signed-off-by: Matthew Skinner <matt@pcmus.com>
2023-07-16 13:32:40 +02:00
Jacob Laursen
6e85021f6b
Update tariff filter for Nord Energi Net (#15244)
Fixes #15243

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2023-07-16 13:05:16 +02:00
M Valla
c04c00cb63
[openwebnet] Thermo: add support for 4-zones CU (#15111)
* [openwebnet] support for thermo cu discovery
* [openwebnet] fixed discovery for 4-zones CU and support in ThermoHandler
* [openwebnet] updated openwebnet.properties#cu.where.description
* [openwebnet] updated OwnIdTest with CU-4 test
* [openwebnet] Fix ownId for CU 4-zone case. Update README

---------

Signed-off-by: Massimo Valla <mvcode00@gmail.com>
2023-07-16 13:04:25 +02:00
Dominique Lasserre
d449fb8c48
Support processing of Telegram channel messages (#15104)
Signed-off-by: Dominique Lasserre <lasserre.d@gmail.com>
2023-07-16 12:50:10 +02:00
M Valla
3e0099d6d1
[openwebnet] add date time synchronization feature for bus_gateway Things (#15115)
* [openwebnet] fist commit DateTime synch


---------

Signed-off-by: Massimo Valla <mvcode00@gmail.com>
2023-07-16 12:42:52 +02:00
Gwendal Roulleau
59ebd37a88
[pollyTTS] Replace custom TTS cache with common TTS cache (#15228)
* [pollyTTS] Replace custom TTS cache with common TTS cache

---------

Signed-off-by: Gwendal Roulleau <gwendal.roulleau@gmail.com>
2023-07-16 12:24:20 +02:00
morph166955
2a70a2dda8
[sonos] Add DTS Surround 5.1 (#15238)
* Adds DTS Surround 5.1

---------

Signed-off-by: Ben Rosenblum <rosenblumb@gmail.com>
2023-07-16 12:19:38 +02:00
GiviMAD
abb9020be8
[rustpotterks] Upgrade library, fixes gain normalizer (#15239)
Signed-off-by: Miguel Álvarez <miguelwork92@gmail.com>
2023-07-16 10:22:53 +02:00
openhab-bot
bf9b06de03
New translations shelly.properties (German) (#15240) 2023-07-15 18:11:29 +02:00
Christian Wild
d2f4e05295
[asuswrt] Initial contribution (#13815)
Signed-off-by: Christian Wild <christian@wildclan.de>
2023-07-15 14:07:51 +02:00
morph166955
ee687aa1cd
[androidtv] Moves Shim PKI to AndroidTVPKI and adds Trusted CA Certificate functions (#15174)
Signed-off-by: Ben Rosenblum <rosenblumb@gmail.com>
2023-07-15 09:40:41 +02:00
morph166955
cad86bc83b
[androidtv] Adds additional i18n support to ConnectionManagers (#15184)
Signed-off-by: Ben Rosenblum <rosenblumb@gmail.com>
2023-07-15 09:39:45 +02:00
morph166955
4edad54e83
[androidtv] Adds CLI Interface (#15146)
Signed-off-by: Ben Rosenblum <rosenblumb@gmail.com>
2023-07-15 09:38:18 +02:00
Markus Michels
bfbbf3504f
[shelly] Add support for Shelly Plus Mini series, Pro EM-50 and various bug fixes (#15205)
* Shelly BLU support, various fixes
* Shelly Dimmer US added
* Reference to org.eclipse.jetty.websocket updated to 9.4.50.v20221201
* Support for Shelly Wall Display added
* Fixed #15052: channel totalKWH and totalRetruned: correct value is kw/h
(API value needs to be converted from Watt/Min to kw/h)
* Regular power meter returns Watt/Min, the EM/3EM meter returns W/h; this
needs to be handled differently
* Gen2 power meter returns Watt, which needs to be converted to W/h
(and then gets converted to kw&/h for the channel update)
* bug fixes around channel creation, some xml channel declarations fixed
* Support for 1Mini, 1PM Mini and PM Mini added
* Avoid NPE for devices having relay(s), but no meter (like Pro 2); README
updated
* Shelly Pro 3EM-50 added; fixes #15151, #15152 and more
* fix #15218 (only 1 device#resetTotals channel)
* Fix Pro EM50 (it's not a 3EM-50): thing type name is now shellyproem50,
use EM1DataDeleteAllData method rather then EMDataDeleteAllData
* <connection>local</connection> added to addon.xml
* channel group names for i4 fixed, Plus-Roller now has voltage

Signed-off-by: Markus Michels <markus7017@gmail.com>
2023-07-14 21:59:45 +02:00
openhab-bot
b9bd454b8d
New Crowdin updates (#15235)
* New translations lgwebos.properties (French)
* New translations openuv.properties (French)
* New translations exec.properties (French)
* New translations electroluxair.properties (French)
* New translations rollershutter.properties (French)
* New translations vat.properties (French)
* New translations chatgpt.properties (French)
2023-07-14 16:57:03 +02:00
openhab-bot
3018f24e6e
New Crowdin updates (#15233)
* New translations mynice.properties (Italian)

* New translations netatmo.properties (Italian)
2023-07-14 07:40:19 +02:00
J-N-K
571cd6334f
[rrd4j] Improve event handling (#15223)
* [rrd4j] Improve event handling

Signed-off-by: Jan N. Klug <github@klug.nrw>
2023-07-13 22:11:14 +02:00
Gaël L'hopital
1942dfeddc
[netatmo] Add Siren capability to Presence Outdoor Camera (#14485)
* Adding Siren capability to Presence Outdoor Camera
Resolves #14466

---------

Signed-off-by: clinique <gael@lhopital.org>
2023-07-13 18:32:46 +02:00
alexf2015
1fcc4fe70a
[easee] adopt API base URL due to changes (#15229)
Signed-off-by: Alexander Friese <af944580@googlemail.com>
2023-07-13 17:11:26 +02:00
Gaël L'hopital
9b06e231e3
[Openuv] Providing an iconserver (#15191)
* Adding an icon server to OpenUV binding

---------

Signed-off-by: clinique <gael@lhopital.org>
2023-07-13 13:16:56 +02:00
Matthew Skinner
a6b2b92513
Log when cameras do not support BASIC support. (#15168)
Signed-off-by: Matthew Skinner <matt@pcmus.com>
2023-07-13 00:14:28 +02:00
Gaël L'hopital
41e4cc4545
[MyNice] Addition of Courtesy Light Channel (#14797)
* Solving activation / deactivation of IT4Wifi thing glitches.
* Adding Courtesy light
Added command capability of Stop / Move
* Changed misplaced handling of RefreshType

---------

Signed-off-by: clinique <gael@lhopital.org>
2023-07-12 23:01:08 +02:00
morph166955
80eeba48ce
Adds additional checks for parser (#15165)
Signed-off-by: Ben Rosenblum <rosenblumb@gmail.com>
2023-07-12 22:02:45 +02:00
Gwendal Roulleau
7587e0c504
[mimictts] Add LRU cache (#14564)
* [mimictts] Add LRU cache

And simplifies code with new core capabilities (no more need to create temporary files implementing FixedLengthAudioStream)

---------

Signed-off-by: Gwendal Roulleau <gwendal.roulleau@gmail.com>
2023-07-12 21:59:48 +02:00
lolodomo
287cee32a5
[onkyo] Support for more audio streams through the HTTP audio servlet (#15117)
* [onkyo] Support for more audio streams through the HTTP audio servlet

Related to #15113

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2023-07-12 21:54:04 +02:00
lolodomo
af89237d6b
[freebox] Support for more audio streams through the HTTP audio servlet (#15121)
Related to #15113

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2023-07-12 21:50:20 +02:00
lolodomo
25314d408f
[allplay] Support for more audio streams through the HTTP audio servlet (#15201)
* [allplay] Support for more audio streams through the HTTP audio servlet

Related to #15113

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2023-07-12 21:43:55 +02:00
lolodomo
e58991cdf8
[voicerss] Add LRU cache (#14561)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2023-07-12 21:33:55 +02:00
Gaël L'hopital
9814047e21
Added capability to enable / disable background discovery service as well as tune its frenquency (#15222)
Signed-off-by: clinique <gael@lhopital.org>
2023-07-12 21:27:34 +02:00
Gwendal Roulleau
28e6da6342
[marytts] Add LRU cache (#15227)
Signed-off-by: Gwendal Roulleau <gwendal.roulleau@gmail.com>
2023-07-12 19:23:51 +02:00
lolodomo
7c9f66ffb3
[heos] Support for more audio streams through the HTTP audio servlet (#15196)
Related to #15113

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2023-07-12 14:30:00 +02:00
lolodomo
5c32f80c3b
[freeboxos] Align audio sink to freebox binding (#15207)
Related to #15113

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2023-07-12 11:52:06 +02:00
Gwendal Roulleau
18ae834d68
[chromecast] Harmonize exception processing (#15225)
Rethrow a wrapped exception instead of only logging, like the other audio sinks.

Signed-off-by: Gwendal Roulleau <gwendal.roulleau@gmail.com>
2023-07-12 10:54:42 +02:00
Gaël L'hopital
c6a22e04cb
Added siren_tampered notification (#15197)
Signed-off-by: clinique <gael@lhopital.org>
2023-07-12 09:23:12 +02:00
Gaël L'hopital
451aeb6b4a
Resolves issue #15210 (#15212)
Signed-off-by: clinique <gael@lhopital.org>
2023-07-12 08:44:15 +02:00
openhab-bot
0ad8cfbb62
New Crowdin updates (#15224)
* New translations googletts.properties (French)
* New translations shelly.properties (German)
* New translations googletts.properties (German)
2023-07-12 08:22:17 +02:00
Hans Böhm
375083a9ab
[astro] Update README.md (#15006)
* Update README.md

* remove untriggered values

---------

Signed-off-by: Hans Böhm h.boehm@gmx.at
2023-07-12 08:15:06 +02:00
Gwendal Roulleau
2899421ec3
[googletts] Replace custom TTS cache with common TTS cache (#15208)
* [googletts] Replace custom TTS cache with common TTS cache

--------

Signed-off-by: Gwendal Roulleau <gwendal.roulleau@gmail.com>
2023-07-11 00:29:13 +02:00
Florian Hotze
72c0e1f29f
[jsscripting] Upgrade openhab-js to 4.5.0 (#15219)
Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
2023-07-10 23:15:04 +02:00
Jacob Laursen
0a94ee0213
Fix documentation of history/cache (#15202)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2023-07-09 08:47:28 +02:00
Gwendal Roulleau
b17246f00a
[picotts] Add LRU cache (#14565)
* [picotts] Add LRU cache

Signed-off-by: Gwendal Roulleau <gwendal.roulleau@gmail.com>

---------

Signed-off-by: Gwendal Roulleau <gwendal.roulleau@gmail.com>
2023-07-08 18:09:06 +02:00
Markus Michels
5bea9bcfdf
[shelly] Add support for Shelly Wall Dimmer US and Wall Display (#15051)
Signed-off-by: Markus Michels <markus7017@gmail.com>
2023-07-08 17:05:49 +02:00
Jan Gustafsson
5629d75d60
[electroluxair] Update to changed API (#15187)
* Updated to changed API (#15136)

Fixes #15136

Signed-off-by: Jan Gustafsson <jannegpriv@gmail.com>
2023-07-08 12:45:57 +02:00
Gwendal Roulleau
081bf3a9d4
[kodi] Support for more audio streams through the HTTP audio servlet (#15192)
* [kodi] Support for more audio streams through the HTTP audio servlet

[kodi] Audio sink supporting more audio streams

Related to #15113

---------

Signed-off-by: Gwendal Roulleau <gwendal.roulleau@gmail.com>
2023-07-08 11:18:44 +02:00
lolodomo
365e900a1f
[amplipi] Support for more audio streams through the HTTP audio servlet (#15199)
Related to #15113

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2023-07-08 10:23:08 +02:00
Florian Hotze
2d75536f48
[jsscripting] Implement NodeJS-like parameter handling for timer polyfills (#15193)
* [jsscripting] Implement NodeJS-like param handling for timer polyfills
* [jsscripting] Clean-Up ThreadsafeTimer methods

Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
2023-07-07 23:10:35 +02:00
openhab-bot
7a8ef1fdcc
New translations shelly.properties (German) (#15200) 2023-07-07 21:39:29 +02:00
miloit
de1eebd174
[volumio] Initial contribution (#14525)
Signed-off-by: Michael Loercher <MichaelLoercher@web.de>
2023-07-07 12:18:46 +02:00
pali
1ce6e8775f
[ihc] Fix special character issue on item descriptions (#15183)
* [ihc] fix special character issue on item descriptions
* [ihc] Changed thing status to UNKNOWN when initializing

Signed-off-by: Pauli Anttila <pauli.anttila@gmail.com>
2023-07-07 09:32:37 +02:00
Gwendal Roulleau
06abd44a7d
[chromecast] Support for more audio streams through the audio servlet (#15180)
* [chromecast] Support for more audio streams through the HTTP audio servlet

Separates audiosink in its own class.
Improves volume change/restauration and temporary file handling by using the new core capabilities

---------

Signed-off-by: Gwendal Roulleau <gwendal.roulleau@gmail.com>
2023-07-06 21:05:21 +02:00
Gwendal Roulleau
dee79190a9
[squeezebox] Support for more audio streams through the audio servlet (#15194)
* [squeezebox] Support for more audio streams through the audio servlet

Audio sink supporting more audio streams

---------

Signed-off-by: Gwendal Roulleau <gwendal.roulleau@gmail.com>
2023-07-06 21:02:05 +02:00
Gwendal Roulleau
11512a9db9
[doorbird] Support for more audio streams (#15189)
* [doorbird] Support for more audio streams

And proper use of a synchronous base class.

---------

Signed-off-by: Gwendal Roulleau <gwendal.roulleau@gmail.com>
2023-07-06 20:07:18 +02:00
Gwendal Roulleau
94a761f84e
[pulseaudio] Make the process method asynchronous (#15179)
* [pulseaudio] Make the process method asynchronous

And use the new 'complete' system to signal core that the sound is fully played.

---------

Signed-off-by: Gwendal Roulleau <gwendal.roulleau@gmail.com>
2023-07-06 19:21:12 +02:00
Bernhard Bauer
7e07abbcab
Updated README.md (UoM, fixed links) (#15186)
Signed-off-by: Bernhard Bauer <bern77@gmail.com>
2023-07-05 22:47:45 +02:00
Hans Böhm
37cd7a2538
correct README (#15188)
Signed-off-by: Hans Böhm <h.boehm@gmx.at>
2023-07-05 22:16:04 +02:00
openhab-bot
21623a9faa
New translations energidataservice.properties (Italian) (#15185) 2023-07-05 20:43:27 +02:00
Gaël L'hopital
751c8a74c4
[Freeboxos] New binding alternative to Freebox binding (#12342)
* SAT warnings handling

Signed-off-by: clinique <gael@lhopital.org>

* Correcting potential NPE

Signed-off-by: clinique <gael@lhopital.org>

* Correcting a NPE on error

Signed-off-by: clinique <gael@lhopital.org>

* Active player request falls to incorrect API version

Signed-off-by: clinique <gael@lhopital.org>

* Reintroducing missing capability to send keys to player.
Solving an NPE

Signed-off-by: clinique <gael@lhopital.org>

* Handling DUTY CYCLE more gracefully

Signed-off-by: clinique <gael@lhopital.org>

* Enhancing DUTY CYCLE

Signed-off-by: clinique <gael@lhopital.org>

* Moving to SNAPSHOT 3.4

Signed-off-by: clinique <gael@lhopital.org>

* Adress inconsistencies in binding name

Signed-off-by: clinique <gael@lhopital.org>

* Discover Freebox Delta Home equipments(basic_shutter)

* Clean previous test code

* Fix "Unexpected command"

* Fix thing comm error

* README for basic shutter

* Fix MR discusions and solve maven check errors and warnings

* Fix MR discusions

* Fix README.md

* Enhancing logging to indentify source of erratic warn

Signed-off-by: clinique <gael@lhopital.org>

* Deny polling a device data when its API is needed and it is OFFLINE

Signed-off-by: clinique <gael@lhopital.org>

* Taking #11833 in accound

Signed-off-by: clinique <gael@lhopital.org>

* Switching to Snapshot 4.0.0
Correcting apiDomain was not used as expected
Code cleansing.

Signed-off-by: clinique <gael@lhopital.org>

* Implementing SHUTTER Home Node

Signed-off-by: clinique <gael@lhopital.org>

* Saving work before instroduction of ArrayListDeserializer

Signed-off-by: clinique <gael@lhopital.org>

* Enhanced deserialization to simplify code

Signed-off-by: clinique <gael@lhopital.org>

* Switching to Java 17 records

Signed-off-by: clinique <gael@lhopital.org>

* Switching to addons.xml, headers updated

Signed-off-by: clinique <gael@lhopital.org>

* Correcting two errors.

Signed-off-by: clinique <gael@lhopital.org>

* Enhance usage of global variables

Signed-off-by: clinique <gael@lhopital.org>

* Some code enhancement for base classes

Signed-off-by: clinique <gael@lhopital.org>

* solving SAT issues

Signed-off-by: clinique <gael@lhopital.org>

* Adding IliadBox compatibility

Signed-off-by: clinique <gael@lhopital.org>

* Commiting work

Signed-off-by: clinique <gael@lhopital.org>

* Saving work

Signed-off-by: clinique <gael@lhopital.org>

* Rebooting Home Node part

Signed-off-by: clinique <gael@lhopital.org>

* Spotless apply

Signed-off-by: clinique <gael@lhopital.org>

* Adding i18n

Signed-off-by: clinique <gael@lhopital.org>

* Decreasing websocket logging level

Signed-off-by: clinique <gael@lhopital.org>

* SAT warnings handling

Signed-off-by: clinique <gael@lhopital.org>

* Correcting potential NPE

Signed-off-by: clinique <gael@lhopital.org>

* Correcting a NPE on error

Signed-off-by: clinique <gael@lhopital.org>

* Active player request falls to incorrect API version

Signed-off-by: clinique <gael@lhopital.org>

* Reintroducing missing capability to send keys to player.
Solving an NPE

Signed-off-by: clinique <gael@lhopital.org>

* Handling DUTY CYCLE more gracefully

Signed-off-by: clinique <gael@lhopital.org>

* Enhancing DUTY CYCLE

Signed-off-by: clinique <gael@lhopital.org>

* Moving to SNAPSHOT 3.4

Signed-off-by: clinique <gael@lhopital.org>

* Adress inconsistencies in binding name

Signed-off-by: clinique <gael@lhopital.org>

* Discover Freebox Delta Home equipments(basic_shutter)

* Clean previous test code

* Fix "Unexpected command"

* Fix thing comm error

* README for basic shutter

* Fix MR discusions and solve maven check errors and warnings

* Fix MR discusions

* Fix README.md

* Enhancing logging to indentify source of erratic warn

Signed-off-by: clinique <gael@lhopital.org>

* Deny polling a device data when its API is needed and it is OFFLINE

Signed-off-by: clinique <gael@lhopital.org>

* Taking #11833 in accound

Signed-off-by: clinique <gael@lhopital.org>

* Switching to Snapshot 4.0.0
Correcting apiDomain was not used as expected
Code cleansing.

Signed-off-by: clinique <gael@lhopital.org>

* Implementing SHUTTER Home Node

Signed-off-by: clinique <gael@lhopital.org>

* Saving work before instroduction of ArrayListDeserializer

Signed-off-by: clinique <gael@lhopital.org>

* Enhanced deserialization to simplify code

Signed-off-by: clinique <gael@lhopital.org>

* Switching to Java 17 records

Signed-off-by: clinique <gael@lhopital.org>

* Switching to addons.xml, headers updated

Signed-off-by: clinique <gael@lhopital.org>

* Correcting two errors.

Signed-off-by: clinique <gael@lhopital.org>

* Enhance usage of global variables

Signed-off-by: clinique <gael@lhopital.org>

* Some code enhancement for base classes

Signed-off-by: clinique <gael@lhopital.org>

* solving SAT issues

Signed-off-by: clinique <gael@lhopital.org>

* Adding IliadBox compatibility

Signed-off-by: clinique <gael@lhopital.org>

* Commiting work

Signed-off-by: clinique <gael@lhopital.org>

* Saving work

Signed-off-by: clinique <gael@lhopital.org>

* Rebooting Home Node part

Signed-off-by: clinique <gael@lhopital.org>

* Spotless apply

Signed-off-by: clinique <gael@lhopital.org>

* Enhancing SAT report

Signed-off-by: clinique <gael@lhopital.org>

* I think that mvn spotless:apply has a problem with records - trying once again

Signed-off-by: clinique <gael@lhopital.org>

* Avoid requesting detailed information for a shutdown repeater.

Signed-off-by: clinique <gael@lhopital.org>

* Switched fan speed to RPM unit

Signed-off-by: clinique <gael@lhopital.org>

* Correcting SAT

Signed-off-by: clinique <gael@lhopital.org>

* Correcting SAT

Signed-off-by: clinique <gael@lhopital.org>

* Divergence between eclipse and mvn spotless:apply

Signed-off-by: clinique <gael@lhopital.org>

* YASAT

Signed-off-by: clinique <gael@lhopital.org>

* Corrections following fwolter code review

Signed-off-by: clinique <gael@lhopital.org>

* Pleasing SAT

Signed-off-by: clinique <gael@lhopital.org>

* Second fwolter code review

Signed-off-by: clinique <gael@lhopital.org>

* Porting modifications introduced in PR #15121

Signed-off-by: clinique <gael@lhopital.org>

* Removing redundant null checks.

Signed-off-by: clinique <gael@lhopital.org>

* Rebased.

Signed-off-by: clinique <gael@lhopital.org>

* Trying to remove the last sleep.

Signed-off-by: clinique <gael@lhopital.org>

* Reporting modifications of PR #15121

Signed-off-by: clinique <gael@lhopital.org>

* Reverting to working and cleaner granting process

Signed-off-by: clinique <gael@lhopital.org>

* Removing last Thread:Sleep

Signed-off-by: clinique <gael@lhopital.org>

* spotless:apply

Signed-off-by: clinique <gael@lhopital.org>

---------

Signed-off-by: clinique <gael@lhopital.org>
Co-authored-by: ben.12 <benmor_12@yahoo.fr>
2023-07-05 20:13:29 +02:00
David Pace
123982dcc6
[boschshc] Code enhancements and Sonar issue fixes (#15160)
* replace call to deprecated HSBType::getRGB() with
ColorUtil::hsbTosRgb()
* make constructors of abstract classes protected
* use instanceof with pattern matching (JEP 305)
* enhance switches with combined cases using comma-separated case
expressions
* remove unnecessary public modifiers in unit tests

Signed-off-by: David Pace <dev@davidpace.de>
2023-07-04 23:25:13 +02:00
mlobstein
4775ad2a0d
Fix MIME type (#15162)
Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
2023-07-04 21:35:35 +02:00
mlobstein
472db7a87f
Fix MIME type (#15161)
Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
2023-07-04 21:34:43 +02:00
Dan Cunningham
d83084849d
[hydrawise] Fixes occasional connection issues (#15177)
* The Hydrawise API can return sometimes return a non JSON response during service outages, like when they are updating thier software.  This treats this as a connection error and allows the client to try the poll again.
* Adds additional http status checking

Fixes #15170

Signed-off-by: Dan Cunningham <dan@digitaldan.com>
2023-07-04 21:29:03 +02:00
openhab-bot
3f6b2b7231
New Crowdin updates (#15178)
* New translations energidataservice.properties (Danish)
2023-07-04 20:40:34 +02:00
Jacob Laursen
3d7fa51c65
Remove obsoleted texts and update description (#15176)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2023-07-04 19:50:18 +02:00
J-N-K
ae1a7475a7
[avmfritz] Fix wrong system channel types (#15172)
Signed-off-by: Jan N. Klug <github@klug.nrw>
2023-07-03 22:48:03 +02:00
Jacob Laursen
6cfb1e295d
[energidataservice] Initial contribution (#14376)
* Initial contribution

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>

* Remove Value-Added Tax

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>

* Migrate naming convention

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>

* Add channel configuration example

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>

* Remove current prefixes for forward compatibility with timestamped items

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>

* Add filter for another grid company

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>

* Use ISO 3166-1 alpha-2 codes in lowercase for XSD compliance

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>

* Fix error handling for deserializers

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>

* Fix compliance with RFC 9110 section 10.1.5

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>

* Add JavaScript example code

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>

* Refactor List to Collection and use iterators

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>

* Add filter for another grid company

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>

* Extend cached history to 24 hours

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>

* Remove filter for expired GLN

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>

* Fix typos

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>

* Improve descriptions

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>

* Improve logging

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>

---------

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2023-07-03 18:16:17 +02:00
Hans Böhm
4ddb3ce7e6
[comfoair] extend UoM support, add semantic tags & update state descriptions (#15167)
* enable UoM for rpm values
* support uom for non-hour time channels
* add state options for frost setting
* add data type for percentage
* support DecimalType for QuantityType channels
* support rfc2217
* improve state description for time channels
* improve code style in DataTypes
* remove unnecessary command type check
* enable UoM for enthalpy timer

Signed-off-by: Hans Böhm <h.boehm@gmx.at>
2023-07-03 17:45:45 +02:00
J-N-K
f0bdeff81b
[mail] Add mail content processing (#14345)
* [mail] Add mail content processing

Signed-off-by: Jan N. Klug <github@klug.nrw>
2023-07-03 09:07:27 +02:00
Robert D
99e78d84b5
fix timescale db type replacement (#15156)
Signed-off-by: querdenker2k <querdenker2k@gmx.de>
2023-07-02 21:20:50 +02:00
Hans-Jörg Merk
ea7eb9ff57
[intesis] Add configurable polling interval (#15138)
Signed-off-by: hmerk <github@hmerk.de>
2023-07-02 21:10:32 +02:00
lolodomo
676f53b55a
[upnpcontrol] Support for more audio streams through the HTTP audio s… (#15122)
* [upnpcontrol] Support for more audio streams through the HTTP audio servlet

Related to #15113

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2023-07-02 11:23:41 +02:00
lolodomo
070de816f3
[sonos] Support for more audio streams through the HTTP audio servlet (#15116)
* [sonos] Audio sink supporting more audio streams

Related to #15113

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2023-07-02 11:22:31 +02:00
Matthew Skinner
1f78f9ac7b
[ipcamera] Fix discovery crashes when networks have access rights issues in docker (#15059)
* Fix discovery crashes if network use is blocked by docker.
* Change log levels to be more useful.
* add better reolink discovery check

Signed-off-by: Matthew Skinner <matt@pcmus.com>
2023-07-02 09:11:06 +02:00
Andrew Fiddian-Green
bd4a8385e0
[hue] Implement CLIP 2 / API v2 (#13570)
* [hue] Implement CLIP 2 / API v2

---------

Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2023-07-02 00:48:31 +02:00
lolodomo
dd913e5245
[mactts] Add LRU cache (#15109)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2023-07-01 10:59:30 +02:00
morph166955
d12693419c
[androidtv] Normalized exception logging for both MessageParsers (#15157)
Signed-off-by: Ben Rosenblum <rosenblumb@gmail.com>
2023-06-30 17:20:14 +02:00
morph166955
e1d0dcea97
[androidtv] Updates to GoogleTV 4.39.644 (#15154)
Signed-off-by: Ben Rosenblum <rosenblumb@gmail.com>
2023-06-30 08:07:51 +02:00
morph166955
0c70a590a8
[androidtv] Resolves EmptyControlStatement SAT alerts (#15158)
Signed-off-by: Ben Rosenblum <rosenblumb@gmail.com>
2023-06-30 07:53:01 +02:00
morph166955
be5cdb7cf5
[androidtv] Update BouncyCastle to jdk18on and 1.75 (#15140)
Signed-off-by: Ben Rosenblum <rosenblumb@gmail.com>
2023-06-28 07:16:31 +02:00
Chiuaua79
21044f66f7
[velux] Fix limit minimum bug (#15088)
Also-by: Andrew Fiddian-Green <software@whitebear.ch>
Signed-off-by: Cor Hoogendoorn <chiuaua@hotmail.com>
2023-06-27 23:00:32 +02:00
openhab-bot
6ff4149899
New Crowdin updates (#15142)
* New translations boschindego.properties (Danish)
* New translations androidtv.properties (Italian)
2023-06-27 22:57:57 +02:00
Holger Friedrich
985f89315d
[knx] Code cleanup (#15141)
* cleanup
* [knx] Replace StringBuffer with StringBuilder

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2023-06-27 20:22:06 +02:00
Markus Michels
631148320f
[shelly] Add support for Shelly BLU series of devices (#15031)
* support for Pro 3EM (WIP)
* Support for Plug-S and Smoke added
* new channel resetTotals for emeters, new channel sensor#mute for Smoke
* Validate Temp reported by CoAP before updating channel, ignore 999
* Add support for Shelly BLU Button and Door/Window

Signed-off-by: Markus Michels <markus7017@gmail.com>
2023-06-26 16:37:50 +02:00
morph166955
46039efd0a
[androidtv] AndroidTV Binding initial contribution (#14282)
Signed-off-by: Ben Rosenblum <rosenblumb@gmail.com>
2023-06-26 08:49:42 +02:00
Tom Laermans
5a1daa252e
[boschindego] Add support for random mowing status code (#15135)
* Add Bosch Indego 'Mowing randomly' state code 524

Signed-off-by: Tom Laermans <tom.laermans@powersource.cx>
2023-06-25 17:08:35 +02:00
Florian Hotze
6dff1ffa63
[yamahamusiccast] Fix DecimalType commands for volumeDB channel (#15124)
* [yamahamusiccast] Fix volumeDB channel doesn't accept DecimalType and QuantityType commands

Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
2023-06-25 12:14:58 +02:00
dependabot[bot]
d62c006c47
Bump json in /bundles/org.openhab.binding.dbquery (#14805)
Bumps [json](https://github.com/douglascrockford/JSON-java) from 20180813 to 20230227.
- [Release notes](https://github.com/douglascrockford/JSON-java/releases)
- [Changelog](https://github.com/stleary/JSON-java/blob/master/docs/RELEASES.md)
- [Commits](https://github.com/douglascrockford/JSON-java/commits)

---
updated-dependencies:
- dependency-name: org.json:json
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-25 11:37:38 +02:00
dependabot[bot]
40f8f6f323
Bump json in /bundles/org.openhab.binding.mercedesme (#14804)
Bumps [json](https://github.com/douglascrockford/JSON-java) from 20180813 to 20230227.
- [Release notes](https://github.com/douglascrockford/JSON-java/releases)
- [Changelog](https://github.com/stleary/JSON-java/blob/master/docs/RELEASES.md)
- [Commits](https://github.com/douglascrockford/JSON-java/commits)

---
updated-dependencies:
- dependency-name: org.json:json
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-25 11:37:04 +02:00
J-N-K
c872d63c06
[jsscriptingnashorn] Fix addon.xml (#15133)
The addon-id was wrong (the same as for `jsscripting`), leading to wrong responses of the add-on service when both are installed.

Signed-off-by: Jan N. Klug <github@klug.nrw>
2023-06-25 09:20:31 +02:00
J-N-K
0b6bdad557
[inmemory] Initial contribution (#15063)
This is the initial contribution of a new volatile persistence service. It does store values in memory only and can especially be used for forecasts or other data where volatile storage is sufficient.


Signed-off-by: Jan N. Klug <github@klug.nrw>
2023-06-24 11:15:09 +02:00
Karel Goderis
8a67d0ad94
Fix error handling + migrate to the injected JAX-RS ClientBuilder (#15096)
Signed-off-by: Karel Goderis <karel.goderis@me.com>
2023-06-23 20:53:03 +02:00
mlobstein
b193493f8e
[radiothermostat] Skip clock sync when override is on (#15127)
* Don't sync clock when override is on

Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
2023-06-21 15:44:38 +02:00
Florian Hotze
828c895b54
[jsscripting] Bump openhab-js version to 4.4.0 (#15128)
Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
2023-06-20 15:40:11 +02:00
J-N-K
07e640387c
[rrd4j] Improve timestamp handling (#15107)
* [rrd4j] Improve timestamp handling

Signed-off-by: Jan N. Klug <github@klug.nrw>
2023-06-18 21:14:41 +02:00
openhab-bot
2603f5f355
New translations tradfri.properties (Italian) (#15112) 2023-06-18 20:25:56 +02:00
Jacob Laursen
3c5ce72397
[robonect] Fix NullPointerException on reinitialization (#15003)
* Fix NullPointerException on reinitialization

Fixes #15001
2023-06-18 09:06:19 +02:00
Vivien Boistuaud
801b860c59
[tradfri] Add support for Air Purifier (#14836)
* [tradfri] Added Support for Air Purifier (#7)

Added Support for Tradfri Air Purifier:
* Added documentation disambiguation Tradfri vs Dirigera
* Added Tradfri Air Purifier - fanMode and fanSpeed
* Workable Tradfri Air Purifier basic implementation
* Tradfri: modified fanMode type and definition
* Tradfri Air Purifier: Added disableLed
* Tradfri Air Purifier: Added lockPhysicalButton
* Tradfri Air Purifier: Added airQuality data
* Tradfri Air Purifier: Added filterCheck data
* Tradfri Air Purifier: Added translations
* Tradfri Air Purifier: Added filter_uptime
* Tradfri Air Purifier: code optimization
* Documentation for supported Air Purifier channels
Fixes #14816

Signed-off-by: Vivien Boistuaud <github@boistuaud.net>
2023-06-17 15:29:03 +02:00
0x4d4d
b505f7b12c
[somneo] Add alarm support and other improvements (#14882)
* [somneo] Add alarm clock channels

Signed-off-by: Michael Myrcik <michael.myrcik@web.de>
2023-06-17 12:55:27 +02:00
Doug Culnane
ff9254df75
[renault] Add support for MyDacia accounts and Dacia Spring car (#15101)
* [renault] Support for MyDacia accounts and Dacia Spring car

Signed-off-by: Doug Culnane <doug@culnane.net>
2023-06-17 12:46:01 +02:00
mlobstein
33814a8548
[radiothermostat] Add MyRadioThermostat/EnergyHub cloud removal note (#15098)
* Add cloud removal note

Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
2023-06-17 12:22:03 +02:00
lolodomo
6686e18266
[rrd4j] Add console commands to check and clean RRD files (#14960)
Console commands added to detect and remove RRD files associated with items that no longer exist.

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2023-06-16 09:19:37 +02:00
Bernd Weymann
03c5243174
[modbus.e3dc] battery capacity added (#15085)
* battery capacity added

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

* i18n for channel additions

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

---------

Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>
2023-06-16 07:46:32 +02:00
Holger Friedrich
a5c47aebee
Reduce SAT warnings (#15090)
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2023-06-15 00:02:10 +02:00
openhab-bot
7ef268f4d2
New translations netatmo.properties (Italian) (#15095) 2023-06-14 16:39:33 +02:00
J-N-K
d2e10ab282
[influxdb] Handle exceptions gracefully (#15062)
* [influxdb] Handle exceptions gracefully

Signed-off-by: Jan N. Klug <github@klug.nrw>

* also catch InfluxDBIOExceptions

Signed-off-by: Jan N. Klug <github@klug.nrw>

---------

Signed-off-by: Jan N. Klug <github@klug.nrw>
2023-06-13 20:54:27 +02:00
Gaël L'hopital
d40c20b2dd
[Netatmo] Enhance webhook handling and dispatching (#15045)
* Enhance webhook handling and dispatching

Signed-off-by: clinique <gael@lhopital.org>

* Corrects flapping channels on Home when using single home for security and energy

Signed-off-by: clinique <gael@lhopital.org>

* Some code enhancement

Signed-off-by: clinique <gael@lhopital.org>

* Adding some missing EventType submitted on the webhook

Signed-off-by: clinique <gael@lhopital.org>

---------

Signed-off-by: clinique <gael@lhopital.org>
2023-06-13 20:35:45 +02:00
dag81
c9c6e95807
[vesync] Update README.md (#15032)
* Update README.md

[veSync] Corrected Readme channel definitions
Signed-off-by: David Goodyear <david.goodyear@gmail.com>
2023-06-13 17:34:58 +02:00
Jacob Laursen
3cfb048739
[transform.vat] Suppress warnings for NULL/UNDEF (#15089)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2023-06-13 17:31:45 +02:00
Holger Friedrich
5e010db738
[knx] Implement console commands (#15064)
* [knx] Implement console commands

Add commands knx:* to openHAB console.
Initial implementation of knx:show_unknown_ga, which shows group
addresses which are seen in the installation but not used by
openHAB.

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2023-06-13 17:30:17 +02:00
Guenther Schreiner
db0132409b
- Introduced more output for debugging (w/ log level debug) (#15070)
- Fixed support for MB-LAN (=KM200, version 1.0) by avoiding query of an unsupported attribute.
- BEFORE this fix: The MBLAN does not support the /gateway/registrations attribute and returns an invalid answer:
*   [b.binding.km200.internal.KM200Device] - /gateway/registrations: trying to query information.
*   [b.binding.km200.internal.KM200Device] - /gateway/registrations: trying to decode: [B@4de25f6.
*   [binding.km200.internal.KM200Cryption] - Length of message is 11.
*   [binding.km200.internal.KM200Cryption] - Did NOT decrypt message
*   [binding.km200.internal.KM200Cryption] - Exception on encoding

Logging of detailed error message.

Signed-off-by: guenther.schreiner@smile.de
2023-06-11 21:10:53 +02:00
J-N-K
47eaf63698
[knx] dynamic channel-types (#15072)
Signed-off-by: Jan N. Klug <github@klug.nrw>
2023-06-11 21:04:09 +02:00
David Pace
13a036e30d
[boschshc] Upgrade to REST API version 3.2 (#15053) (#15067)
closes #15053

Signed-off-by: David Pace <dev@davidpace.de>
2023-06-11 17:52:26 +02:00
Ken Seal
5e1c9e81f1
[opengarage] Add vehicle status not available. (#15080)
Signed-off-by: Ken Seal <hunzinker@gmail.com>
2023-06-11 12:16:13 +02:00
Karel Goderis
14726013b1
[knx] Fix DPT 10 handling (#15082)
Signed-off-by: Karel Goderis <karel.goderis@me.com>
2023-06-11 12:15:23 +02:00
openhab-bot
4eec1a7f47
New translations plex.properties (Italian) (#15076) 2023-06-10 15:36:42 +02:00
openhab-bot
a9bb587766
New translations wundergroundupdatereceiver.properties (Danish) (#15071) 2023-06-10 12:15:55 +02:00
mlobstein
44a78b99f5
[plex] Initial contribution (#15057)
* aronbeurskens plex baseline

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

* review changes

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

* Clean-up PlexApiConnector exception handling

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

* Additional clean-up

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

* review changes

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

* review changes

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

---------

Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
2023-06-10 07:22:02 +02:00
openhab-bot
214e31b1b3
New translations shelly.properties (German) (#15055) 2023-06-07 22:43:29 +02:00
Дилян Палаузов
8d0c9f27f8
[systeminfo] README: spell unlinked channels do not get updates (#15035)
typos: insert space after comma

cf. https://github.com/openhab/openhab-addons/issues/15007

Co-authored-by: Дилян Палаузов <dpa-git@aegee.org>
2023-06-05 18:51:19 +02:00
Karel Goderis
93b888ad31
[oceanic] Remove dependency on RXTX for serial communication (#15044)
Signed-off-by: Karel Goderis <karel.goderis@me.com>
2023-06-02 21:57:32 +02:00
Jacob Laursen
3c1cbaa769
[surepetcare] Adapt blocked user agent (#15047)
* Adapt blocked user agent

Fixes #15046

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2023-06-02 12:29:42 +02:00
openhab-bot
43d35538d5
New Crowdin updates (#15034)
* New translations boschindego.properties (Danish)
* New translations hdpowerview.properties (Danish)
* New translations airq.properties (German)
* New translations amazondashbutton.properties (German)
* New translations ekey.properties (German)
* New translations evcc.properties (German)
* New translations feed.properties (German)
* New translations gpstracker.properties (German)
* New translations heliosventilation.properties (German)
* New translations mybmw.properties (German)
* New translations qolsysiq.properties (Italian)
2023-05-28 20:02:12 +02:00
Markus Michels
1f774db959
[shelly] Support for Plus Smoke, Plus Plug-S/IT/UK/US, Plus Dimmer US, Pro 3EM; fix Gen1 sensor initialization (#14532)
* support for Pro 3EM (WIP)
* Support for Plug-S and Smoke added
* new channel resetTotals for emeters, new channel sensor#mute for Smoke
* Validate Temp reported by CoAP before updating channel, ignore 999
* Support device temp for Pro3, fix emeter.current rouding on 1 instead of
3 deciaml digits, check for reinit before executing channel command,
avoid NPE in Shelly Manaher
* Fix NPE in Shelly Manager with Plus/Pro devices (not having all Gen1
settings initialized)
* Avoid NPE if device time is not set; check thing stopping state to
prevent "handler already disposed"

Signed-off-by: Markus Michels <markus7017@gmail.com>
2023-05-24 14:20:11 +02:00
Andrew Fiddian-Green
df9c270acf
[hdpowerview] Add support for Generation 3 (#13355)
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2023-05-24 13:00:14 +02:00
Holger Friedrich
96d0293913
Declare missing connection attribute (#15016)
* Declare missing connection attribute
* change mactts, marytts, and picotts to none for consistency

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2023-05-23 21:38:13 +02:00
Holger Friedrich
ac04a4e71d
[imperihome] Remove imperihome addon (#15014)
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2023-05-23 07:38:21 +02:00
Holger Friedrich
d8376aa6d0
[luftdateninfo][sensorcommunity] Rename binding to Sensor.Community (#15012)
* [luftdateninfo][sensorcommunity] Rename binding to match the new name Sensor.Community

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2023-05-22 07:57:23 +02:00
Florian Hotze
095a5df323
[evcc] Adjust to API changes & Add new channels for evcc 0.117.0 (#14983)
* [evcc] Remove `hasVehicle` channel
* [evcc] Update API for evcc 0.117.0
* [evcc] Fix targetSoC and targetTime not working

Also:
- Use new Java 17 features.

Fixes #14348.

* [evcc] Add `targetEnergy` channel
* [evcc] Make `batteryPrioritySoC` channel writable

Closes #14347.

Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
2023-05-21 21:21:38 +02:00
J-N-K
0724c3febc
[airthings] Fix thing types (#15013)
Signed-off-by: Jan N. Klug <github@klug.nrw>
2023-05-21 17:32:52 +02:00
Kai Kreuzer
1b7dbd7ef9
[airthings] Adapt channels to new dimention for Radon measurements (#15011)
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2023-05-21 17:15:14 +02:00
J-N-K
f34aa8fa5c
[influxdb] support restoring unit for dimension items (#15009)
Signed-off-by: Jan N. Klug <github@klug.nrw>
2023-05-20 23:01:23 +02:00
Jacob Laursen
e598a06475
Add UoM support for rotational speed channels (#15002)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2023-05-20 12:32:51 +02:00
David Martin
7ff5715dea
Update README.md (#15008)
The field name for the speed of the serial interface is baudrate and not baud. At least this is what I had to implement in OH3.4.4.

Signed-off-by: David Martin <david@itbeyond.com.au>
2023-05-20 12:27:16 +02:00
Matthew Skinner
39e285257e
[mqtt.espmilighthub] Fix things do not come ONLINE if MQTT Client Status Topic not supplied. (#14877)
* Update readme and add new thing status message.


Signed-off-by: Matthew Skinner <matt@pcmus.com>
2023-05-19 13:53:43 +02:00
chingon007
4d811691e9
[sonnen] Update to API V2 of vendor and add PowerMeter (#14589)
* Implementing sonnen APi V2
* Fixed issues with powermeter and added two more channels from consumption.

Signed-off-by: chingon007 <tron81@gmx.de>
2023-05-18 00:16:08 +02:00
Christian Wild
6ab8111f9e
[tapocontrol] LightEffects for L530 can now be set (#14972)
removed 'queryChild' for devices with no childs

Signed-off-by: Christian Wild <christian@wildclan.de>
2023-05-17 21:42:46 +02:00
mlobstein
ccab566172
Update app list URLs (#15000)
Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
2023-05-17 20:23:14 +02:00
lolodomo
353c154c12
[mercedesme] Remove the access token when the thing is removed (#14942)
* [mercedesme] Remove the access token when the thing is removed

Related to #14818

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2023-05-15 23:56:00 +02:00
Marcel Goerentz
ab16c94ace
[liquidcheck] Initial contribution (#13287)
* Add new binding liquidcheck

Signed-off-by: Marcel Goerentz <m.goerentz@t-online.de>
2023-05-14 00:19:56 +02:00
Jacob Laursen
939c9caa1b
Fix NullPointerException (#14989)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2023-05-13 21:25:23 +02:00
J-N-K
38df936aa9
[voicerss] Fix service-id in addon.xml (#14988)
Signed-off-by: Jan N. Klug <github@klug.nrw>
2023-05-13 21:16:23 +02:00
J-N-K
d85bb786ad
[jdbc] Fix addon-info (#14987)
Signed-off-by: Jan N. Klug <github@klug.nrw>
2023-05-13 20:55:31 +02:00
lolodomo
c10f4f4051
[nest] Remove the access token when the thing is removed (#14940)
Related to #14818

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2023-05-13 19:06:41 +02:00
Holger Friedrich
8a9ac6eccc
Upgrade SAT to 0.14 (#14981)
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2023-05-13 19:04:36 +02:00
J-N-K
36024a8c03
[harmonyhub] Use AbstractStorageBasedTypeProvider (#14507)
* [harmonyhub] Use AbstractDynamicTypeProvider

---------

Signed-off-by: Jan N. Klug <github@klug.nrw>
2023-05-13 18:07:48 +02:00
J-N-K
717addee9a
[influxdb] Implement ModifiablePersistenceService (#14959)
* [influxdb] Implement ModifiablePersistenceService

Signed-off-by: Jan N. Klug <github@klug.nrw>
2023-05-13 12:37:48 +02:00
Matthew Skinner
01add04f9e
[ipcamera] Add Reolink API support (#14728)
Signed-off-by: Matthew Skinner <matt@pcmus.com>
2023-05-13 12:31:39 +02:00
lolodomo
cd4879a315
[goecharger] Avoid potential NullPointerException (#14933)
Also include change from PR #14632

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2023-05-13 12:26:58 +02:00
Florian Hotze
aa3d6b0dc9
[jsscripting] Add type translation for Instant & Minor improvements (#14984)
* [jsscripting] Minor code improvements
* [jsscripting] Add type mapping for `Instant`
* [jsscripting] Upgrade openhab-js to 4.3.0

Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
2023-05-13 12:25:06 +02:00
J-N-K
d9c12ca659
[jsscripting] Allow configuring from add-on page (#14985)
Signed-off-by: Jan N. Klug <github@klug.nrw>
2023-05-13 12:21:14 +02:00
lolodomo
24a0bcbd7f
[remoteopenhab] Use AbstractStorageBasedTypeProvider (#14956)
* [remoteopenhab] Use AbstractStorageBasedTypeProvider

Related to #14954

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2023-05-12 20:51:36 +02:00
dependabot[bot]
36d4d24264
Bump json in /bundles/org.openhab.persistence.influxdb (#14806)
Bumps [json](https://github.com/douglascrockford/JSON-java) from 20200518 to 20230227.
- [Release notes](https://github.com/douglascrockford/JSON-java/releases)
- [Changelog](https://github.com/stleary/JSON-java/blob/master/docs/RELEASES.md)
- [Commits](https://github.com/douglascrockford/JSON-java/commits)

---
updated-dependencies:
- dependency-name: org.json:json
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-12 19:47:12 +02:00
lolodomo
2fc780f3c3
[rrd4j] Do not create RRD file when querying data (#14961) 2023-05-12 14:10:10 +02:00
J-N-K
16df575b38
[systeminfo] Use AbstractStorageBasedTypeProvider (#14501)
* [systeminfo] Use AbstractDynamicTypeProvider

---------

Signed-off-by: Jan N. Klug <github@klug.nrw>
2023-05-12 13:59:01 +02:00
lolodomo
227606b0a1
[spotify] Remove the access token when the thing is removed (#14947)
Related to #14818

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2023-05-12 09:57:45 +02:00
lolodomo
88413c001d
[webexteams] Remove the access token when the thing is removed (#14979)
Related to #14818

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2023-05-11 22:03:00 +02:00
lolodomo
14e7109a25
[automower] Remove the access token when the thing is removed (#14971)
Related to #14818

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2023-05-11 22:01:49 +02:00
lolodomo
29edae9f21
[ecowatt] Change in handleRemoval (#14978)
Follow-up #14934

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2023-05-11 22:00:23 +02:00
lolodomo
b4551c365a
[groupepsa] Small change in handleRemoval (#14977)
Follow-up #14943

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2023-05-11 21:58:45 +02:00
lolodomo
cc6ecb4372
[hydrawise] Small change in handleRemoval (#14976)
Follow-up #14945

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2023-05-11 21:58:13 +02:00
lolodomo
a65574a336
[livisismarthome] Small change in handleRemoval (#14975)
Follow-up #14946

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2023-05-11 21:57:45 +02:00
lolodomo
762fa36415
[myq] Small change in handleRemoval (#14974)
Follow-up #14938

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2023-05-11 21:57:11 +02:00
Andrew Fiddian-Green
6cd10a771e
[velux] softer initialization if bridge unreachable (#14817)
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2023-05-11 16:26:25 +02:00
mlobstein
2f7bdbe966
[monopriceaudio] Add support for additional amplifiers (#13936)
* Add support for additional models
* Clarify supported models and documentation
* Add notes for amps with built-in serial over IP
* Improve configuration validation and add i18n to status messages
* Remove default values for port configuration

Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
2023-05-11 16:14:55 +02:00
Mark Hilbush
e6d84ab488
Delete oauth service and token when thing removed (#14980)
Signed-off-by: Mark Hilbush <mark@hilbush.com>
2023-05-11 14:41:22 +02:00
Jacob Laursen
1fafec5d11
[boschindego] Refactor OAuth2 implementation (#14950)
* Delete OAuth2 token when thing is removed
* Fix reinitialization
* Introduce abstraction for OAuthClientService
* Improve thing status synchronization

---------

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2023-05-11 10:51:16 +02:00
Marcel
6784d22ab9
[miio] Update readme wrt unsupported devices (#14512)
* Rename channel names to better reflect purpose
* Update readme

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2023-05-10 20:58:44 +02:00
lolodomo
518283de50
[dynamodb] Changes required after API changes in core framework (#14966)
Changes in openhab/openhab-core#3481 broke this service due to an
breaking API change in NumberItem class (constructor).

Related to openhab/openhab-core#3600

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2023-05-10 18:13:01 +02:00
lolodomo
bca5711d8d
[influxdb] Fix faling tests after core changes (#14965)
Related to openhab/openhab-core#3600

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2023-05-10 17:59:54 +02:00
openhab-bot
4a2c3a35ba
New Crowdin updates (#14957)
* New translations astro.properties (French)

* New translations sonos.properties (French)

* New translations jsscripting.properties (Danish)
2023-05-09 13:09:40 +02:00
openhab-bot
3297bda33c
New translations openwebnet.properties (Italian) (#14955) 2023-05-08 23:01:53 +02:00
Gaël L'hopital
0bd39a83a1
[Meteoalerte] Add an IconProvider (#14811)
* Solving activation / deactivation of IT4Wifi thing glitches.
* Some code enhancements
* Addition of an IconProvider

---------

Signed-off-by: clinique <gael@lhopital.org>
2023-05-08 20:54:50 +02:00
J-N-K
5fe99a18a9
[rrd4j] Write asynchronously to database (#14913)
* [rrd4j] Write asynchronously to database
* add timestamps to log message

---------

Signed-off-by: Jan N. Klug <github@klug.nrw>
2023-05-08 12:49:23 +02:00
tb4jc
a2dcf2fcef
[ipcamera] Fix orphan ffmpeg process after stopping stream URL (#14909)
* Setting ffmpeg reference 'ffmpegMjpeg' to null after stopping convertion to fix automatic restart of ffmpeg process.

---------

Signed-off-by: Thomas Burri <th@thonojato.ch>
2023-05-08 11:43:49 +02:00
Robert Szucs
254efb5372
Fix a typo (#14953)
Signed-off-by: Robert Szucs <robert.szucs@casrd.net>
2023-05-08 11:41:29 +02:00
J-N-K
c3a9a4c7b6
Adjust to core changes (#14952)
Signed-off-by: Jan N. Klug <github@klug.nrw>
2023-05-08 09:35:36 +02:00
M Valla
5fe6d325a3
[openwebnet] Improve shutterRun calibration (#14357)
* [openwebnet] improved shutterRun calibration and README
* [openwebnet] added Thing status detail when bridge is offline

--------

Signed-off-by: Massimo Valla <mvcode00@gmail.com>
2023-05-07 17:11:44 +02:00
lolodomo
da1a95fbdd
[hydrawise] Remove the access token when the thing is removed (#14945)
Related to #14818

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2023-05-06 22:21:40 +02:00
openhab-bot
2b674dde01
New translations sonos.properties (Italian) (#14949) 2023-05-06 21:45:24 +02:00
lolodomo
a7ba3eee72
[livisismarthome] Remove the access token when the thing is removed (#14946)
* [livisismarthome] Remove the access token when the thing is removed

Related to #14818

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2023-05-06 12:45:43 +02:00
mlobstein
ab4dace2e9
fix ALLOFF event to source button channels (#14944)
Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
2023-05-06 11:28:03 +02:00
openhab-bot
4584b82a46
New Crowdin updates (#14930)
* New translations jruby.properties (German)
* New translations knx.properties (German)
* New translations openwebnet.properties (Italian)
* New translations anthem.properties (Italian)
2023-05-05 23:23:26 +02:00
lolodomo
d3b7a0a98d
[myq] Remove the access token when the thing is removed (#14938)
* [myq] Remove the access token when the thing is removed
* oAuthService.removeAccessTokenRefreshListener added

Related to #14818

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2023-05-05 23:22:20 +02:00
lolodomo
dea24b3dd8
[sonos] Add support for Era 100 and Era 300 (#14920)
Closes #14802

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2023-05-05 23:08:57 +02:00
lolodomo
d18a524c0e
[googletts] Dispose oAuth2 service (#14937)
* [googletts] Dispose oAuth2 service

Related to #14818

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2023-05-05 23:06:52 +02:00
lolodomo
831a7af2c6
[ecowatt] Remove the access token when the thing is removed (#14934)
Related to #14818

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2023-05-05 22:35:09 +02:00
lolodomo
4e8e39cd9f
[homeconnect] Remove the access token when the thing is removed (#14935)
Related to #14818

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2023-05-05 22:32:26 +02:00
lolodomo
3ae72c92e5
[groupepsa] Remove the access token when the thing is removed (#14943)
Related to #14818

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2023-05-05 22:16:24 +02:00
lolodomo
5d65507584
[googlestt] Dispose oAuth2 service (#14936)
* [googlestt] Dispose oAuth2 service

Related to #14818

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2023-05-05 21:49:54 +02:00
Giovanni Fabiani
7bcf2e7faf
[openwebnet] Final review (#14819)
This reverts commit 3807c80eee9a3df26773860472b422d4e72d16d6.

Signed-off-by: Giovanni Fabiani <fabiani.giovanni@gmail.com>
2023-05-05 16:14:59 +02:00
Christian Wild
58470caf16
[tapocontrol] Moved error messages to i18n (#14790)
* [tapocontrol] Moved error messages to i18n

---------

Signed-off-by: Christian Wild <christian@wildclan.de>
2023-05-05 09:12:03 +02:00
Mark Hilbush
6ebfd84bdd
[anthem] Add channel, refactor parser, add tests (#14720)
* Add channel and refactor parser

Signed-off-by: Mark Hilbush <mark@hilbush.com>
2023-05-04 23:26:14 +02:00
vich-667
891da2c944
[avmfritz] Add light blub color temperature support (#14373)
* added light blub color temperature support
* align valiable nameing
* fixed on off behavior of lights
* change to math scaleing
* add abs color temperature channel

---------

Signed-off-by: Tobias Lange <vich-667@gmx.de>
2023-05-04 09:08:52 +02:00
Sven Carstens
8a2e8b4595
[MOD] Update README.md to reflect support with regards to newer/other solarwatt products. (#14921)
Signed-off-by: Sven Carstens <s.carstens@gmx.de>
2023-05-03 13:12:05 +02:00
Simon Spielmann
67f1a80afd
[iCloud] Fix things reappearing in inbox (#14661)
* Use deviceDiscoveryId instead of id
* Use device display name if discovery id is empty

Signed-off-by: Simon Spielmann <simon.spielmann@gmx.de>
2023-05-03 12:27:48 +02:00
goopilot
dc5d76d762
fix s3 thing status (#14925)
Signed-off-by: Alexandr Salamatov <goopilot@gmail.com>
2023-05-03 08:10:46 +02:00
Felix Schneider
3130a67d8d
[FolderWatcher] Formatting and write out of abbreviations in Docs (#14793)
* Formatting and write out of abbreviations of time

- `s` --> `in seconds`
- `h` --> `in hours`
- formatting of tables, things and rules
- Unifiy usage of `'` and `"`

* Formatting and rephrasing
* Unify the order of localfolder, ftpfolder and s3bucket

Signed-off-by: Felix Schneider <fs@felix-schneider.org>
2023-05-02 22:17:21 +02:00
Kai Kreuzer
f607dde3a5
[tesla] Adapt binding to changed API from Tesla backend (#14922)
* Adapt binding to changed API from Tesla backend

Signed-off-by: Kai Kreuzer <kai@openhab.org>
2023-05-02 21:49:06 +02:00
lolodomo
fb16e90168
[hue] Restore UPnP discovery for old bridges (#14914)
* [hue] Restore UPnP discovery for old bridges

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2023-05-02 21:19:14 +02:00
Jacob Laursen
26a52a1540
Fix discovery label consistency (#14919)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2023-05-02 08:41:10 +02:00
Holger Friedrich
feee01d65c
[feican] Use new core class ColorUtil for RGB conversion (#14771)
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2023-05-01 20:46:05 +02:00
Holger Friedrich
2c8f639060
[nanoleaf] Use new core class ColorUtil for RGB conversion (#14773)
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2023-05-01 20:43:22 +02:00
Christoph Weitkamp
b07dd3c48f
[sensebox] Fix NPE (#14879)
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2023-05-01 19:44:08 +02:00
Jacob Laursen
fafcc68423
Fix compliance with RFC 9110 section 10.1.5 (#14891)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2023-05-01 19:04:46 +02:00
maniac103
b2c415a9e6
[ecovacs] Allow loading device descriptions from a user file (#14873)
* [ecovacs] Allow loading device descriptions from a user file

If a new device is released within our release cycle, getting the
description for that device into the binding was impossible for users
before. With this change, they can create an override file in their
installation (with contents we'll need to supply to them), which serves
as a stop-gap solution until the next OH release.

Signed-off-by: Danny Baumann <dannybaumann@web.de>
2023-05-01 15:44:56 +02:00
J-N-K
6009c13966
[influxdb] Write asynchronously to database and improve performance (#14888)
* [influxdb] Write asynchronously to database

---------

Signed-off-by: Jan N. Klug <github@klug.nrw>
2023-05-01 11:43:39 +02:00
J-N-K
990700de8d
[mapdb] Make serialization asynchronous (#14900)
* [mapdb] Make serialization asynchronous

---------

Signed-off-by: Jan N. Klug <github@klug.nrw>
2023-05-01 09:10:28 +02:00
mlobstein
acb73a2c7b
Declare connection for bindings T-Z (#14912)
Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
2023-04-30 20:56:14 +02:00
mlobstein
dc19e2991d
Declare connection for bindings N thru S (#14907)
* Declare connection for bindings N-S

Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
2023-04-30 17:37:32 +02:00
Mark Hilbush
49d2ecc4c5
[zoneminder] Add support for setting the server run state (#14906)
* Add support for server run states

Signed-off-by: Mark Hilbush <mark@hilbush.com>
2023-04-30 15:10:54 +02:00
Holger Friedrich
0437595678
[knx] Fix decoding of DPT 242.600 and add tests (#14875)
* [knx] Fix decoding of DPT 242.600 and add tests

Correct handling of parameter Y for DPT 242.600.

Add back to back tests of DPT 232.600 and 242.600,
testing color conversion from raw bytes to HSB and
back to Calimero color representation as String.

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2023-04-30 14:03:54 +02:00
mlobstein
6e2dddfe73
Declare connection for bindings G thru M (#14902)
* Declare connection for bindings G-M

Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
2023-04-29 20:24:54 +02:00
alexf2015
4fa92b8c98
fix #14898 caused by easee API changes (#14903)
Signed-off-by: Alexander Friese <af944580@googlemail.com>
2023-04-29 14:55:27 +02:00
Jacob Laursen
6a33668664
Refactor usage of deprecated HSBType.getRGB (#14883)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2023-04-29 10:54:36 +02:00
Jacob Laursen
bd55302ae7
Declare addon connection for a few bindings (#14892)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2023-04-29 10:32:24 +02:00
mlobstein
36b2dbfbc9
Declare connection for bindings A thru F (#14901)
* Declare connection for bindings A-F

Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
2023-04-29 10:10:19 +02:00
Stefan Triller
e2611e2800
[ventaair] Fix typo Dimenionsless in channel definition (#14896)
Fixes #14895

Signed-off-by: Stefan Triller <github@stefantriller.de>
2023-04-28 16:30:53 +02:00
Mark Hilbush
fd460b9174
Restore type adapter for LocalDate (#14897)
Signed-off-by: Mark Hilbush <mark@hilbush.com>
2023-04-28 16:29:19 +02:00
Jacob Laursen
f9cc267190
Upgrade MySQL Connector/J to 8.0.33 (#14893)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2023-04-28 10:00:32 +02:00
Jacob Laursen
e73650366c
Fix automation name/description (#14890)
Declare automation connection

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2023-04-28 08:30:13 +02:00
J-N-K
dba7fcc697
Fix exec transformation service whitelisting (#14884)
Reported on the german openHAB forum.

Signed-off-by: Jan N. Klug <github@klug.nrw>
2023-04-26 21:52:00 +02:00
Jacob Laursen
d7b94b6bd3
Upgrade MySQL Connector/J to 8.0.33 (#14874)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2023-04-25 07:45:00 +02:00
Cody Cutrer
fa57c627a9
[mqtt.homeassistant] don't set range on current temp channel (#14858)
the min/max from the config are specifically only for the set point.
i.e. for a heater in winter when the heater is off, it may have
a set point range of 65-104°F, but if it's off for an unoccopied room
the ambient temperature might drop far below 65

Signed-off-by: Cody Cutrer <cody@cutrer.us>
2023-04-24 13:22:18 +02:00
Robert Eckhoff
4d5be1f64c
[ipcamera] Fix servlet exceptions due to non unique names (#14872)
* [ipcamera] Fix servlet exceptions due to non unique names

[IP camera] on OH4 has the same servlet issue that was fixed by PR #14554.  This PR uses that PR as a template to fix the issue in the IPcamera binding.  (That issue being that only one camera was able to stream.) This was tested locally on OH4M2 and it works.

Signed-off-by: Bob Eckhoff  <katmandodo@yahoo.com>
2023-04-23 21:23:42 +02:00
Gaël L'hopital
edaf9581c0
[AirQuality] Enhance API error handling (#14602)
* Enhancing API error handling

---------

Signed-off-by: clinique <gael@lhopital.org>
2023-04-23 11:14:10 +02:00
Jacob Laursen
275329d485
[boschindego] Add device properties (#14829)
* Add device properties
* Add vendor and model properties
* Use model as label in discovery

Resolves #14828

---------

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2023-04-22 22:59:23 +02:00
Jacob Laursen
b21913f5be
[hue] Fix NUPnP discovery (#14871)
* Fix NUPnP discovery

Fixes #14852

* Declare hybrid connection due to cloud discovery

---------

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2023-04-22 22:42:35 +02:00
Christian Jonak-Möchel
705f6e84ee
[robonect] improve jobType config (#14868)
* Add allowed pattern to description
* Increase allowed duration to 12h - thats what the web gui allows

Signed-off-by: Christian Jonak-Möchel <christian@jonak.org>
2023-04-22 21:52:16 +02:00
openhab-bot
5b92f40b2f
New translations chatgpt.properties (Italian) (#14869) 2023-04-22 08:59:39 +02:00
Holger Friedrich
428ccbe075
[mqtt][tradfri][webthing] Adapt to ColorUtil changes in core (#14810)
* [mqtt][tradfri][webthing] Adapt to ColorUtil changes in core

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2023-04-21 23:55:36 +02:00
Jacob Laursen
cf3c3f1025
[netatmo] Consolidate OAuth2 by using core implementation and storage (#14780)
* Consolidate OAuth2 by using core implementation and storage

Fixes #14755

---------

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2023-04-21 20:52:51 +02:00
Gaël L'hopital
3ae20b776c
Correcting rollershutterposition documentation (#14850)
Signed-off-by: clinique <gael@lhopital.org>
2023-04-21 18:03:34 +02:00
robnielsen
216b41a2ef
[insteon] Add connection details (#14864)
Signed-off-by: Rob Nielsen <rob.nielsen@yahoo.com>
2023-04-21 14:04:07 +02:00
M Valla
02fd67f6ce
[openwebnet] Do not store dimmer brightness if already 0 (#14822)
Fixes #14785

Signed-off-by: Massimo Valla <mvcode00@gmail.com>
2023-04-21 13:49:07 +02:00
vich-667
cb4d232328
add additional system states (#14824)
Signed-off-by: Tobias Lange <vich-667@gmx.de>
2023-04-21 12:12:04 +02:00
Kai Kreuzer
bb10740d3f
[chatgpt] Initial contribution of the ChatGPT binding (#14809)
* Initial contribution of the ChatGPT binding

Signed-off-by: Kai Kreuzer <kai@openhab.org>
2023-04-21 12:09:53 +02:00
nWRqenkF
bf979a4548
[smartmeter] Remove copy-paste-error, as this binding doesn't play sounds (#14848)
* Update README.md
2023-04-21 08:26:30 +02:00
Jacob Laursen
255618eb2e
Declare connection (#14861)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2023-04-21 00:24:28 +02:00
Jacob Laursen
4532df47ba
Redeclare connection (#14859)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2023-04-21 00:23:33 +02:00
Jacob Laursen
8d8a97adda
Redeclare connection (#14860)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2023-04-21 00:22:40 +02:00
Jacob Laursen
8be7f661c0
Declare connection (#14862)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2023-04-21 00:21:37 +02:00
dza1
6436cdffb9
[deconz] Update the roller shutter status (#14827)
* [deconz] update the roller shutter status (14826)

- if the REST interface from deconz provides a 'lift' value to show
the current position of the roller shutter, it will be used. 

Signed-off-by: Daniel Zainzinger <dza1@mailbox.org>
2023-04-20 22:22:38 +02:00
Jacob Laursen
5ed52d7109
Redeclare addon connection (#14845)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2023-04-20 20:37:37 +02:00
Holger Friedrich
fb551b6b6a
[knx] Add list of DPTs documenting implementation status (#14851)
Carryover from smarthomej/addons#107.
Update to match current implementation in KNX binding
and Calimero 2.5.1.

Also-by: Jan N. Klug <github@klug.nrw>
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2023-04-20 20:33:38 +02:00
Wouter Born
2119cebf33
[tesla] Cleanup code (#14833)
Signed-off-by: Wouter Born <github@maindrain.net>
2023-04-20 19:03:04 +02:00
dependabot[bot]
513de69153
[ambientweather] Bump json from 20180813 to 20230227 (#14803)
* Bump json in /bundles/org.openhab.binding.ambientweather

Bumps [json](https://github.com/douglascrockford/JSON-java) from 20180813 to 20230227.
- [Release notes](https://github.com/douglascrockford/JSON-java/releases)
- [Changelog](https://github.com/stleary/JSON-java/blob/master/docs/RELEASES.md)
- [Commits](https://github.com/douglascrockford/JSON-java/commits)

---
updated-dependencies:
- dependency-name: org.json:json
  dependency-type: direct:production
...

Signed-off-by: Wouter Born <github@maindrain.net>
2023-04-20 18:57:59 +02:00
openhab-bot
dfdcfbc758
New translations boschindego.properties (Danish) (#14854) 2023-04-20 08:54:14 +02:00
Doug Culnane
c130ca11a2
[renault] update default Kamereon API Key (#14846)
Signed-off-by: Doug Culnane <doug@culnane.net>
2023-04-19 08:25:21 +02:00
Wouter Born
83cbe746d0
Remove redundant modifiers from interfaces (#14843)
Signed-off-by: Wouter Born <github@maindrain.net>
2023-04-18 13:07:04 +02:00
J-N-K
f2f0f4b402
[map][scale] Fix localization (#14825)
The wrong key was used in the `cachedTransformations` map. Instead of the correctyl localized UID from the registry the provided transformation function was used.

Signed-off-by: Jan N. Klug <github@klug.nrw>
2023-04-17 21:33:28 +02:00
Boris Krivonog
a0d84732a3
Add more connection details to add-ons (#14837)
* Adds connections details for some add-ons I maintain and/or use.

Signed-off-by: Boris Krivonog <boris.krivonog@inova.si>
2023-04-17 19:30:48 +02:00
Wouter Born
cf96eae039
[vesync] Fix modifier order (#14831)
These modifiers are out of order with the JLS suggestions.

Signed-off-by: Wouter Born <github@maindrain.net>
2023-04-16 23:04:33 +02:00
Wouter Born
827d4d7dc9
[bluetooth.radoneye] Fix modifier order (#14830)
These modifiers are out of order with the JLS suggestions.

Signed-off-by: Wouter Born <github@maindrain.net>
2023-04-16 23:03:23 +02:00
dependabot[bot]
6dfd6b0120
[generacmobilelink] Bump jsoup from 1.14.3 to 1.15.4 (#14767)
Bumps [jsoup](https://github.com/jhy/jsoup) from 1.14.3 to 1.15.4.
- [Release notes](https://github.com/jhy/jsoup/releases)
- [Changelog](https://github.com/jhy/jsoup/blob/master/CHANGES)
- [Commits](https://github.com/jhy/jsoup/compare/jsoup-1.14.3...jsoup-1.15.4)

Also-by: Wouter Born <github@maindrain.net>
Signed-off-by: dependabot[bot] <support@github.com>
2023-04-16 21:47:00 +02:00
Wouter Born
9cd055e13a
[mimictts] Fix addon.xml info (#14821)
It seems to have been copied over from macOS TTS without properly updating all details.

Signed-off-by: Wouter Born <github@maindrain.net>
2023-04-15 22:02:12 +02:00
Wouter Born
f21f7bc8b3
Add more connection details to add-ons (#14813)
* Add more connection details to add-ons

Signed-off-by: Wouter Born <github@maindrain.net>
2023-04-15 21:23:24 +02:00
goopilot
3b2c574684
[Folderwatcher] AWS S3 buckets monitoring support (#14669)
* Add S3 Thing

Signed-off-by: Alexandr Salamatov <goopilot@gmail.com>
2023-04-15 21:22:01 +02:00
mlobstein
2c006ccd31
[radiothermostat] Add message display channel and improve ThingActions (#14799)
* Add price message channel

Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
2023-04-15 21:20:20 +02:00
Holger Friedrich
ec30333314
[knx] Adapt to ColorUtil changes in core (#14808)
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2023-04-15 10:25:51 +02:00
Jacob Laursen
20f306f485
[boschindego] Implement OAuth2 authorization (#14745)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2023-04-15 09:39:17 +02:00
Wouter Born
7a26af7164
[windcentrale] Discover windmills when account goes online (#14807)
Signed-off-by: Wouter Born <github@maindrain.net>
2023-04-14 23:08:25 +02:00
Holger Friedrich
b3dfba8cf5
[knx] Improve rounding when encoding DPT 232.60000 (#14772)
* [knx] Improve rounding when encoding DPT 232.60000
* [knx] SAT and warnings

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2023-04-14 20:23:32 +02:00
Mark Herwege
eb668bfe0c
add connection info (#14801)
Signed-off-by: Mark Herwege <mark.herwege@telenet.be>
2023-04-14 15:59:34 +02:00
Gaël L'hopital
a0f06ec051
Some warnings were still present at startup regarding Room initialization. (#14784)
Switched to late initialization.

Signed-off-by: clinique <gael@lhopital.org>
2023-04-14 12:48:03 +02:00
jimtng
9f221e550b
[jrubyscripting] Update README.md (#14798)
Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
2023-04-14 08:09:51 +02:00
Wouter Born
6772add88c
[windcentrale] Adapt binding to new API (#14770)
* [windcentrale] Adapt binding to new API

Reworks the binding so it can be used with the new API that also requires authentication.

Also adds the following:

* Account things to provide authentication details
* Implementation for getting and refreshing tokens using AWS Cognito
* Windmill discovery based on the participations in projects
* Properties with additional data for windmills like turbine type, build year, location coordinates
* Adds support for "Het Vliegend Hert" windmill
* Unit tests for JSON (de)serialization

Fixes #13625

Signed-off-by: Wouter Born <github@maindrain.net>
2023-04-12 23:01:36 +02:00
Wouter Born
ada1763cf8
[dsmr] Use lower-case country codes in addon.xml (#14778)
When using upper-case country codes the XSD pattern does not match and IDEs will show errors for this.

See: 257652aafc/.vuepress/public/schemas/addon-1.0.0.xsd (L60-L64)

Signed-off-by: Wouter Born <github@maindrain.net>
2023-04-12 12:53:35 +02:00
Gaël L'hopital
b145ef4186
Declare connection on few bindings (#14786)
* Declare connection on few bindings
* Corrected format of gce addons.xml.
* Removed myself from VolvoOnCall binding codeowners.
* Adding countries where fr makes sense.

Signed-off-by: Gael L'hopital <gael@lhopital.org>
2023-04-12 12:51:59 +02:00
Hans-Jörg Merk
af09624fb2
Declare connection on few bindings (#14787)
Signed-off-by: Hans-Jörg Merk <github@hmerk.de>
2023-04-12 12:48:45 +02:00
Gaël L'hopital
aee454850b
[Tapocontrol] Restore child device querying (#14788)
Signed-off-by: Gael L'hopital <gael@lhopital.org>
2023-04-12 09:58:08 +02:00
David Pace
cc626de89a
Support for Thermostat SilentMode (#14779) (#14781)
- Add new channel definition for silent mode
- Implement silent mode service
- Add unit tests
- Add documentation
- Fix some minor documentation issues

Closes #14779

Signed-off-by: David Pace <dev@davidpace.de>
2023-04-11 22:09:56 +02:00
David Pace
1a7a1251d4
[boschshc] Enhance device associations in discovery (#14672) (#14752)
- fix door/window contact device model (SWD instead of WRC2)
- fix in-wall light switch device model (BSM instead of PSM)
- fix thing type of BWTH (should be a wall thermostat, not a thermostat)
- add association for PSM (smart plug)
- add association for LEDVANCE_LIGHT (smart light bulb)
- add association for TRV (thermostat)

Closes #14672

Signed-off-by: David Pace <dev@davidpace.de>
2023-04-11 20:54:12 +02:00
Jerome Luckenbach
ce3f673380
[Documentation] Markdown improvements t to z (#14371)
* Apply markdown fixes for bindings with letter _t_
* Apply markdown fixes for bindings with letter _u_
* Apply markdown fixes for bindings with letter _v_
* Apply markdown fixes for bindings with letter _w_
* Apply markdown fixes for bindings with letter _x_
* Apply markdown fixes for bindings with letter _y_
* Apply markdown fixes for bindings with letter _z_

Signed-off-by: Jerome Luckenbach <github@luckenba.ch>
2023-04-11 12:54:54 +02:00
lolodomo
69a09ed825
Declare connection on few bindings (#14776)
* Declare connection on few bindings

Done for bindings I am maintaining or contributing.

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2023-04-10 21:46:22 +02:00
Holger Friedrich
38cba518cd
Declare connection on few bindings (#14777)
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2023-04-10 15:52:58 +02:00
Robert D
71dfbcf12c
[eKey] Add sourceIp in cases of NAT (Kubernetes deployments) (#14616)
* add natIp

Signed-off-by: querdenker2k <querdenker2k@gmx.de>

---------

Signed-off-by: querdenker2k <querdenker2k@gmx.de>
2023-04-10 10:35:56 +02:00
goopilot
14d6b3e4fe
[Yeelight] Support of ceil26 and ceiling11 devices (#14668)
* Support of ceil26 and ceiling11 devices

Signed-off-by: Alexandr Salamatov <goopilot@gmail.com>
2023-04-10 10:31:01 +02:00
Gaël L'hopital
ca667e39c5
[Netatmo] Fix duplicate id on single home (#14765)
* Solve duplicate id on single home
* Solving "Handler DeviceHandler of thing netatmo:welcome:compte:maison:camera tried accessing its bridge although the handler was already disposed."

Signed-off-by: clinique <gael@lhopital.org>
2023-04-09 22:21:22 +02:00
Jacob Laursen
5fd7a0a15d
Declare connection (#14768)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2023-04-09 21:20:47 +02:00
Jacob Laursen
4ce12ea4fd
Declare connection (#14769)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2023-04-09 21:20:07 +02:00
Dan Cunningham
41701f518e
[generacmobilelink] Major rewrite of the Generac MobileLink Binding (#14638)
* [generacmobilelink] Major rewrite of the Generac MobileLink Binding

Signed-off-by: Dan Cunningham <dan@digitaldan.com>
2023-04-09 11:48:12 +02:00
Holger Friedrich
3cd9c6c86c
Adapt to ColorUtil changes in core (#14724)
* [deconz][dmx][mqtt.generic][mqtt.homeassistant][tado][tradfri][webthing] Adapt to core change (ColorUtil)

openhab/openhab-core#3479

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2023-04-08 11:42:18 +02:00
Christian Kittel
64723db7aa
[OJElectronics] Add SignalR for requesting data from OJ Electronics cloud (#13782)
* Fixed some Nullable annotation warnings
* Use SignalR instead pooling

Signed-off-by: Christian Kittel <ckittel@gmx.de>
2023-04-08 11:40:59 +02:00
openhab-bot
6748dfedd7
New Crowdin updates (#14759)
* New translations fineoffsetweatherstation.properties (German)
* New translations tr064.properties (German)
* New translations rollershutter.properties (German)
* New translations vat.properties (German)
* New translations mielecloud.properties (German)
* New translations speedtest.properties (Italian)
2023-04-08 10:21:40 +02:00
Dave
538ee94148
[astro] Add getTotalRadiation to AstroActions (#14756)
* Add getTotalRadiation action

Signed-off-by: David Sislak <sisdale@seznam.cz>
2023-04-07 22:17:32 +02:00
Holger Friedrich
36a594842e
[knx] Improve config description for GAs (#14624)
* [knx] Improve config description for GAs

Carryover from smarthomej/addons#257.

Also-by: Jan N. Klug <github@klug.nrw>
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2023-04-07 14:43:31 +02:00
maniac103
49e407d028
[gardena] Improve GardenaSmartImpl initialization order (#14722)
If an exception occurs during httpClient.start(), webSocketClient
remained null, which led to another (then unhandled) exception being thrown
by dispose(), called in the exception handler.
With the new initialization order it's ensured webSocketClient is not
null at dispose() time, thus allowing proper propagation of the
exception thrown at HTTP startup.

Signed-off-by: Danny Baumann <dannybaumann@web.de>
2023-04-07 14:25:20 +02:00
bigbasec
86f829fa21
[speedtest] Binding for Ookla's Speedtest - Initial contribution (#9913)
Also-by: Brian Homeyer <bhomeyer@gmail.com>
Signed-off-by: Michael Weger <weger.michael@gmx.net>
2023-04-07 10:18:02 +02:00
lsiepel
46a73befae
Remove org.apache.common (#14434)
Signed-off-by: lsiepel <leosiepel@gmail.com>
2023-04-07 00:39:13 +02:00
voruti
c12715bda7
Fix typo in Stiebel Eltron binding (#14746)
Signed-off-by: Till von Rüden <dev@tillvonrueden.de>
2023-04-06 20:31:20 +02:00
Poltorak Serguei
f47abbd3c1
Update README.md (#14751) 2023-04-06 15:51:21 +02:00
Florian Hotze
03b305bde2
[jsscripting] Bump openhab-js to 4.2.1 (#14749)
* [jsscripting] Upgrade openhab-js to 4.2.1
* [jsscripting] Note that it is based on GraalJS

Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
2023-04-06 15:50:09 +02:00
Thomas
c969f71891
[solarwatt] Add smart heater device support (#14741)
* Add smart heater device support

Signed-off-by: Thomas Schumm <thomas.schumm@yahoo.de>
2023-04-06 11:06:46 +02:00
schmidmuc
ab2b29bff5
Update README.md (#14748)
Added device "Technisat VIOLA 2 C IR" as an supported radio
2023-04-06 00:56:57 +02:00
Felix Schneider
b8c419829e
[deutschebahn] Fix spelling and remove empty white image (#14657)
* Remove unused image and fix spelling
* Remove emtpy image

Image is only a small white square

Signed-off-by: Felix Schneider <fs@felix-schneider.org>
2023-04-04 11:59:03 +02:00
Gwendal Roulleau
d07580c0a7
[doorbird] Add audio sink information to README (#14737)
Signed-off-by: Gwendal Roulleau <gwendal.roulleau@gmail.com>
2023-04-02 13:30:28 +02:00
Wouter Born
ece4e51838
[groovyscripting] Update Groovy to 4.0.11 (#14734)
Updates Groovy from 4.0.9 to 4.0.11.

This fixes a few bugs including a memory leak, see:

http://groovy-lang.org/changelogs/changelog-4.0.10.html
http://groovy-lang.org/changelogs/changelog-4.0.11.html

Signed-off-by: Wouter Born <github@maindrain.net>
2023-04-02 09:08:53 +02:00
Arne Seime
a546a50555
[tapocontrol] Color values must be int, not decimal (#14656)
* Send int values to API, not decimal
* Added missing channels in README for L920 + minor thing file config

Signed-off-by: Arne Seime <arne.seime@gmail.com>
2023-04-01 16:46:02 +02:00
lsiepel
766a451a7c
[zway] Code improvements (#14688)
* Code improvements

Signed-off-by: lsiepel <leosiepel@gmail.com>
2023-03-31 09:24:34 +02:00
openhab-bot
bb626768e4
New Crowdin updates (#14725)
* New translations jsscripting.properties (German)
* New translations jsscripting.properties (Italian)
2023-03-30 23:37:14 +02:00
David Pace
ed20ebb41b
[boschshc] Code Enhancements (#14667)
* [boschshc] Code Enhancements

This commit fixes several compiler warnings as well as several
Checkstyle, FindBugs, PMD and Sonar issues.

* instantiate loggers consistently
* add missing logger calls
* add chained exceptions to logger calls
* provide central Gson instance that does not serialize or deserialize
loggers
* avoid catching NullPointerExceptions
* extract methods where cyclomatic complexity was too high
* remove unnecessary null check in combination with instanceof
* rename local variables that shadow fields
* add missing @NonNull and @Nullable annotations

Signed-off-by: David Pace <dev@davidpace.de>
2023-03-30 18:31:54 +02:00
Zhivka Dimova
b6004a77de
[enocean] Add support for EEP in group A5_09 (#13793)
* [enocean] Support for gas sensors from A5_09 group

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

Fixes #13785, #13472

Signed-off-by: Zhivka Dimova <zhivka.dimova@myforest.net>
2023-03-29 23:00:31 +02:00
Holger Friedrich
bc03e8c5cf
[knx] Code cleanup (#14719)
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2023-03-29 09:22:23 +02:00
Poltorak Serguei
a96701f7a2
Update README.md (#14712) 2023-03-28 22:30:25 +02:00
Holger Friedrich
dba83a33e5
[knx] Java17 instanceof pattern matching (#14718)
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2023-03-28 20:49:31 +02:00
Cody Cutrer
2c2ba4bed1
[mqtt.homeassistant] fix JSON Schema lights (#14717)
https://github.com/openhab/openhab-addons/pull/12238 was merged after
JSON Schema Light was implemented, and changed some assumptions.
this commit adjusts to the changed interface

Signed-off-by: Cody Cutrer <cody@cutrer.us>
2023-03-28 18:26:13 +02:00
Mark Hilbush
0a3d9ece3c
[sleepiq] Add functionality to control the bed foundation (#14714)
* Add foundation functionality

Signed-off-by: Mark Hilbush <mark@hilbush.com>
2023-03-28 17:27:31 +02:00
Mark Hilbush
1983bc36f1
Replace deprecated MulticastSocket methods (#14611)
* Replace deprecated methods
* Call leaveGroup method in shutdown

Signed-off-by: Mark Hilbush <mark@hilbush.com>
2023-03-28 15:14:30 +02:00
lsiepel
d4a231e8a9
[enocean] Add null annotations (#14023)
* mainly null annotations

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

* checkstyle fixes

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

* another checkstyle pass

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

* Fix review comments

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

* fix  most review comments

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

* Generic => temp_generic

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

* temp_generic => generic

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

* Generic fix try 2

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

* another generic commit

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

* Final pass for changing generic packages/folder

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

* Mised comment

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

* Conflict folder change trial 1

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

* Conflict folder change final

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

* Conflict folder change trial 2

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

* Move folder

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

* Review comment

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

---------

Signed-off-by: lsiepel <leosiepel@gmail.com>
2023-03-28 11:05:37 +02:00
openhab-bot
a0e10b2120
New Crowdin updates (#14715)
* New translations deconz.properties (German)
* New translations anthem.properties (Italian)
2023-03-28 07:11:52 +02:00
Mark Hilbush
ec78fe7428
Add connection element to addon.xml (#14692)
Signed-off-by: Mark Hilbush <mark@hilbush.com>
2023-03-27 23:08:31 +02:00
Andrew Fiddian-Green
62100b5522
[addon.xml] add connection element (#14690)
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2023-03-27 20:41:42 +02:00
Cody Cutrer
558908e69a
[jrubyscripting] update README, and default configuration installing gem (#14489)
README is generated by YARD from USAGE.md in the gem.

Signed-off-by: Cody Cutrer <cody@cutrer.us>
2023-03-27 15:22:48 +02:00
Sami Salonen
18e7d81e4d
[mqtt] Support Ruuvitags via Ruuvi Gateway (#13315)
Signed-off-by: Sami Salonen <ssalonen@gmail.com>
2023-03-27 14:11:07 +02:00
openhab-bot
210aff461d
New Crowdin updates (#14689)
* New translations deconz.properties (German)
* New translations netatmo.properties (Italian)
* New translations avmfritz.properties (German)
* New translations openwebnet.properties (Italian)
2023-03-27 08:33:34 +02:00
dag81
1e0f27d5ef
[veSync] Improve recognition and device support (#14354)
* [veSync] Device Identification Updates
* [veSync] Alignment to device setups in pyvesync.
* [veSync] Addition of new device code for C302S

Signed-off-by: David Goodyear <david.goodyear@gmail.com>
2023-03-27 08:05:09 +02:00
Mark Hilbush
749cf585ff
[anthem] Initial contribution of binding for Anthem AV preamp/processors (#14311)
* Initial contribution

Signed-off-by: Mark Hilbush <mark@hilbush.com>
2023-03-26 21:32:08 +02:00
Cody Cutrer
f98f820325
[mqtt.homeassistant] Implement JSON schema lights (#13808)
* [mqtt.homeassistant] implement JSON schema lights
* [mqtt.homeassistant] use enum for current state of color mode
* [mqtt.homeassistant] use implicit lambdas
* [mqtt.homeassistant] remove string constants in favor of an enum
* [mqtt.homeassistant] allow sending ON and brightness commands through bare
* [mqtt.homeassistant] turn down debug logging

---------

Signed-off-by: Cody Cutrer <cody@cutrer.us>
2023-03-26 18:07:20 +02:00
Sven Strohschein
2c710a2a70
[innogysmarthome] Remove binding (replaced by livisismarthome) (#14675)
Remove binding (replaced by livisismarthome)

Signed-off-by: Sven Strohschein <sven.strohschein@gmail.com>
Signed-off-by: Sven Strohschein <novanic@gmx.de>
2023-03-26 17:49:17 +02:00
Sven Strohschein
a8d91b3950
[netatmo] Extend webhook support for doorbell and presence camera (#14252)
* [netatmo] Web hook extension for camera events

- Unused camera-event trigger channel removed
- README updated to the real supported channels (compared with channels.xml and code)
- Camera capabilities are now triggering the home-event trigger channel
- New home-event trigger channel introduced at camera level
- New sub-event channels introduced for the presence camera which is updated by web hook events.
- Language file updated
- README updated
- typos fixed
- security-event trigger channel added for the Welcome camera
- Handling of sub-event groups fixed to work with doorbell and presence cameras.

---------

Signed-off-by: Sven Strohschein <sven.strohschein@gmail.com>
Signed-off-by: Sven Strohschein <novanic@gmx.de>
2023-03-26 17:34:35 +02:00
Jacob Laursen
1726031ecc
[hdpowerview] Declare connection (#14684)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2023-03-26 16:43:51 +02:00
Jacob Laursen
d44de73d4f
[boschindego] Declare connection (#14685)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2023-03-26 16:28:33 +02:00
Jacob Laursen
a5b028d729
[miele] Declare connection (#14683)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2023-03-26 16:26:24 +02:00
mlobstein
ec329c456d
[kaleidescape] Remove Apache StringEscapeUtils (#14513)
* Remove Apache StringEscapeUtils
* add tests

Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
2023-03-26 14:26:51 +02:00
pajacobson
6ef2dfb1db
[globalcache] Add link to macOS iConvert GC port in docs (#14679)
* Update README.md

Add link to macOS port of iConvert.
2023-03-26 14:04:00 +02:00
mlobstein
9b7788d14c
Declare connection in multiple bindings addon.xml (#14677)
* Declare connection in addon.xml

Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
2023-03-26 13:45:03 +02:00
alexf2015
b6da1ec590
[solaredge] Fix code style warnings, fix NPE warnings, improve i18n (#14666)
* code style fixes
* fixed potential NPE
* fix warning
* simplified code
* refactoring, fixed some NPE warnings
* i18n
* refactoring

Signed-off-by: Alexander Friese <af944580@googlemail.com>
2023-03-26 13:42:00 +02:00
M Valla
cbb72ed72e
[openwebnet] Reset zones' alarm state channel when system is armed (#14566)
* [openwebnet] reset zones alarm channel when system is armed and added NONE state
* [openwebnet] added Technical reset alarm. Changes after 1st review

---------

Signed-off-by: Massimo Valla <mvcode00@gmail.com>
2023-03-26 12:19:31 +02:00
goopilot
6757a84b6b
[Yeelight] Fix disconnect method (#14670)
* fix disconnect

---------

Signed-off-by: Alexandr Salamatov <goopilot@gmail.com>
2023-03-26 12:16:09 +02:00
M Valla
43f016c98a
[openwebnet] Declare connection in addon.xml (#14673)
Signed-off-by: Massimo Valla <mvcode00@gmail.com>
2023-03-26 11:23:58 +02:00
openhab-bot
f52da01d9b
New translations netatmo.properties (Italian) (#14676) 2023-03-26 03:26:49 +02:00
Gaël L'hopital
f37c4e555d
[Netatmo] Add the capability to have a single home (#14595)
* Adding the capability to have a single home, common to energy and security

---------

Signed-off-by: clinique <gael@lhopital.org>
2023-03-25 16:59:51 +01:00
Jacob Laursen
f2e7597db6
Add more example things/items (#14639)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2023-03-25 08:00:32 +01:00
Cody Cutrer
2088cf067f
[mqtt.espmilighthub] use availability topic to set thing status (#13800)
also refactor a bit so that the thing will work even if the bridge
gets added and removed, etc.

Signed-off-by: Cody Cutrer <cody@cutrer.us>
2023-03-25 00:52:37 +01:00
Gerd Zanker
3b08217ff7
[boschshc] Bridge and Device Discovery (#14197)
* #14195 Bridge and Device Discovery

Bridge discovery is implemented via mDNS, local IP addresses are checked.
If a GET returns the public SHC information,
then this shcIpAddress is reported as a discovered bridge.

Devices are always discovered after successful pairing, but a manual scan is also possible.

Added unit tests for Bridge and Device Discovery.

Signed-off-by: Gerd Zanker <gerd.zanker@web.de>
2023-03-25 00:26:24 +01:00
GiviMAD
c30893281c
[rustpotterks] Remove unnecessary thread sleep call (#14664)
* [rustpotterks] Remove unnecessary thread sleep call

Signed-off-by: Miguel Álvarez <miguelwork92@gmail.com>
2023-03-25 00:20:34 +01:00
GiviMAD
b9751dced3
[androiddebugbridge] Fix screen state channel on android 12 (#14663)
Signed-off-by: Miguel Álvarez <miguelwork92@gmail.com>
2023-03-24 23:25:21 +01:00
Björn Lange
fbcb412353
[mielecloud] Add channels energy and water consumption (#14456)
* Add POJOs for ecoFeedback from Miele REST API
* DeviceState offers  water and energy consumption
* Convert Quantity to State for channel population
* Add eco feedback channels to devices
* Fix item types and categories
* Add update instructions for eco feedback channels

Signed-off-by: Björn Lange <bjoern.lange@itemis.de>
2023-03-24 23:15:28 +01:00
Christian Wild
983efd76ea
[tapocontrol] Support display light effects for L530 (#14596)
* [tapocontrol] support display light effects for L530

color change is now possible if effect was already enabled by app

Signed-off-by: Christian Wild <christian@wildclan.de>
2023-03-24 21:57:00 +01:00
mlobstein
279374a14b
[radiothermostat] Add configuration to update thermostat's internal schedule (#14149)
* Add configuration to update thermostat's internal schedule

Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
2023-03-24 09:15:58 +01:00
openhab-bot
fca7b4edce
New translations vat.properties (Danish) (#14658) 2023-03-23 22:56:45 +01:00
Christoph Weitkamp
5e17f1dfbd
[avmfritz] Use system channel types and decrease minimum polling interval (#14587)
* Use system default channel types
* Changed minimum polling interval to 1s

Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2023-03-23 22:55:01 +01:00
Richard Koshak
7bddeb4a7f
Standardize on js for SCRIPT (#14652)
This has the add-on docs consistent with the main docs.
Signed-off-by: Richard Koshak <rlkoshak@gmail.com>
2023-03-23 21:53:16 +01:00
GiviMAD
a0f442e785
[googlestt] Fix drop bytes (#14649)
* [googlestt] Fix drop bytes
* fix unhandled cancelation error when using single utterance mode

Signed-off-by: Miguel Álvarez <miguelwork92@gmail.com>
2023-03-23 09:57:00 +01:00
openhab-bot
4f533710ff
New translations homekit.properties (German) (#14655) 2023-03-22 22:57:28 +01:00
GiviMAD
624dcb97b3
[googlestt] Upgrade library (#14653)
Signed-off-by: Miguel Álvarez <miguelwork92@gmail.com>
2023-03-22 22:45:18 +01:00
Cody Cutrer
96038c664a
[mqtt.generic] Don't log state description from provider when not found (#14650)
Fixes #9782

Signed-off-by: Cody Cutrer <cody@cutrer.us>
2023-03-22 16:53:50 +01:00
Cody Cutrer
d9ceb63b82
[homekit] Unify all enum handling (#14036)
* [homekit] unify all enum handling

regardless of if it's a required or optional characteristic,
or even "boolean" enums

then allow number or switch items to be linked with enums

then update the docs listing the numeric value for enums

as part of this, global configuration of thermostat enum values
is no longer supported; you must use metadata.
in particular, for GarageDoorOpener, the global settings didn't
even actually work, so they should work now.

Fixes #13595

* [homekit] default-invert boolean items for garage door states

this was previously handled explicitly by the switch statement.
so need to set the inverted flag now that we're building a
mapping instead

* [homekit] document that CurrentDoorState can be linked to a Contact item
* [homekit] improve docs on invert param to createMapping

also fix a new helper method not properly passing through the inverted
param

Signed-off-by: Cody Cutrer <cody@cutrer.us>
2023-03-22 13:58:12 +01:00
jimtng
72254b820d
[jrubyscripting] Filter files that are added to the watch list (#14590)
Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
2023-03-21 23:18:46 +01:00
openhab-bot
31454ac0a1
New translations ecovacs.properties (Italian) (#14648) 2023-03-21 22:56:20 +01:00
GiviMAD
aa3229a97f
[rustpotterks] Upgrade to version 2 (#14615)
* [rustpotter] Use version 2

Signed-off-by: Miguel Álvarez <miguelwork92@gmail.com>
2023-03-21 22:55:40 +01:00
J-N-K
1786bb0eec
[deconz] Cleanup code and improve tests, edit channels to vibration sensor (#14641)
* [deconz] Cleanup code and improve tests

Signed-off-by: Jan N. Klug <github@klug.nrw>
2023-03-21 22:46:53 +01:00
J-N-K
8e902f6324
Bump spotless to 2.35 and Eclipse Java Formatter to 4.26 (#14645)
Signed-off-by: Jan N. Klug <github@klug.nrw>
2023-03-21 21:03:05 +01:00
maniac103
b47a205f44
[ecovacs] Initial contribution (#12231)
* [ecovacs] Initial contribution

Add initial version of a binding for vacuum cleaners made by Ecovacs.

Signed-off-by: Danny Baumann <dannybaumann@web.de>
2023-03-21 11:05:53 +01:00
MarkusThur
98b8d7225c
change in README.md of kostalinverterbindings. Example code had a missing '"' in the second gen. devices. (#14644)
doesn't matter that much here, but in the official openHAB site the sytax highlighting makes the mstake very promiment :-)
2023-03-21 10:58:21 +01:00
alexf2015
99087f08c3
[nibeuplink] Fix NPEs, minor refactoring (#14508)
* improved code quality: added some additional null checks, removed some obsolete null checks. simplified some code sections.

Signed-off-by: Alexander Friese <af944580@googlemail.com>
2023-03-20 20:09:20 +01:00
mlobstein
dae33c405e
Refactor pairing process to use handler httpClient (#14640)
Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
2023-03-20 07:54:31 +01:00
J-N-K
6444964bf6
[deconz] Add On/Off thermostats (#14636)
* [deconz] Add On/Off thermostats
* further work
* fix regression

Signed-off-by: Jan N. Klug <github@klug.nrw>
2023-03-19 20:43:15 +01:00
alexf2015
aee57afb0e
bugfixes/improvements (#14637)
Signed-off-by: Alexander Friese <af944580@googlemail.com>
2023-03-19 16:02:33 +01:00
M Valla
4e4385e261
[openwebnet] Thermo: Fix wrong parameter in .getChannel (#14620)
Fixes #14619

Signed-off-by: Massimo Valla <mvcode00@gmail.com>
2023-03-19 09:43:53 +01:00
Jacob Laursen
04374ef4af
Fix color tests after HSBType changes (#14631)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2023-03-19 07:45:16 +01:00
Jacob Laursen
61be788257
Fix color tests after HSBType changes (#14630)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2023-03-19 07:44:14 +01:00
openhab-bot
bad892ec79
New translations vat.properties (Italian) (#14633) 2023-03-18 23:25:43 +01:00
J-N-K
ee1de11864
[deconz] Add Pairing/Scene actions, new devices and improve code (#14622)
* port changes
* update instructions
* Incorporate review comments from #14134
* new improvements (mostly Java 17 changes)
* further improvements

Signed-off-by: Jan N. Klug <github@klug.nrw>
2023-03-18 16:06:55 +01:00
Jacob Laursen
23f3374ea9
Fix color tests after HSBType changes (#14629)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2023-03-18 13:59:59 +01:00
J-N-K
0f5dfa5088
Fix "empty range" exception when querying InfluxDB2 (#14627)
Signed-off-by: Jan N. Klug <github@klug.nrw>
2023-03-18 13:31:41 +01:00
goopilot
979ecb0f98
Add Sptrip6 device (#14584)
Signed-off-by: Alexandr Salamatov <goopilot@gmail.com>
2023-03-18 10:25:10 +01:00
GiviMAD
7268442c25
[watsonstt] Upgrade library (#14626)
Signed-off-by: Miguel Álvarez <miguelwork92@gmail.com>
2023-03-18 07:33:33 +01:00
GiviMAD
9a6b23fbec
[voskstt] Upgrade library (#14625)
Signed-off-by: Miguel Álvarez <miguelwork92@gmail.com>
2023-03-18 07:32:58 +01:00
Jacob Laursen
4d47f33012
Initial contribution (#14529)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2023-03-17 22:06:06 +01:00
Holger Friedrich
aae63e9488
[knx] Refactoring of KnxCoreTypeMapper and UOM Support (#14534)
* [knx] Refactoring, add basic support for UOM

Preparation for refactoring KnxCoreTypeMapper.
Carryover from smarthomej/addons#107.
Merge UOM implementations.

* [knx] Adapt tests

DPT strings for QuantityType now strip off a tailing .0 when decimals
are converted.

* [knx] Refactoring

Use pattern matching with instanceof operator (new Java17 feature).

* [knx] Refactoring, performance improvements

Introduce KNXChannel class.
Carryover from smarthomej/addons#114.

* [knx] Add warning for incompatible DPT type

Configuring incompatible DPT/channel combinations (e.g. DPT 1.005 (alarm) on Contact channels
or DPT 1.019 (windows/door) on Switch channels) is not allowed but was silently ignored.
This PR adds a warning in case incompatible configurations are detected.

Carryover from smarthomej/addons#203.

* [knx] Add full support for UoM

Replace UoM handling with the implementation from smarthome/j.
Carryover from smarthomej/addons#206.

* [knx] Refactor KNXCoreTypeMapper, add RGBW and xyY

Carryover from smarthomej/addons#208.

* [knx] Fix RGB conversion

Carryover from smarthomej/addons#219.

* [knx] Remove workarounds obsoleted by Calimero 2.5

Carryover from smarthomej/addons#226.

* [knx] Add parameter for disabling incoming UoM

Carryover from smarthomej/addons#230.

* [knx] Fix fallback to DecimalType in number conversion

Carryover from smarthomej/addons#279.

* [knx] Fix DPT 251.600 decoding

Carryover from smarthomej/addons#349.

* [knx] Fix UoM handling for special types
* [knx] Add test for KNXChannelFactory
* [knx] Update CODEOWNERS for knx
* [knx] Default conversion for DPT 5.001 and 6.001
* [knx] Fix write blocked forever after read from bus

Carryover from smarthomej/addons#299 and smarthomej/addons#330.

* [knx] Use new class ColorUtil from core for HSB conversion

Also-by: Jan N. Klug <github@klug.nrw>
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2023-03-17 12:50:13 +01:00
Mark Hilbush
b395d0e227
Fix typo (#14607)
Signed-off-by: Mark Hilbush <mark@hilbush.com>
2023-03-15 16:41:49 +01:00
Mark Hilbush
d4b68b2df4
Fix for NPE when getting network interface name (#14603)
Signed-off-by: Mark Hilbush <mark@hilbush.com>
2023-03-14 22:32:03 +01:00
Stian Kjoglum
596324635d
Add channel for lastMeterProduction (#14583)
Signed-off-by: kjoglum <stiankj@online.no>
2023-03-14 08:34:48 +01:00
openhab-bot
a6a801c28f
New Crowdin updates (#14597)
* New translations openweathermap.properties (Italian)
* New translations netatmo.properties (Italian)
* New translations qolsysiq.properties (Italian)
* New translations astro.properties (German)
* New translations astro.properties (Italian)
* New translations danfossairunit.properties (Danish)
2023-03-13 22:22:53 +01:00
Doug Culnane
b3d3d20b8b
[renault] Improve handling of HTTP 502 responses. (#14586)
Signed-off-by: Doug Culnane <doug@culnane.net>
2023-03-13 07:51:27 +01:00
Wouter Born
9aa72abd82
Resolve runbundles and fix tests (#14588)
Related to:

* openhab/openhab-core#3433
* openhab/openhab-core#3446
* openhab/openhab-core#3450

Some tests were updated because private lifecycle methods (annotated with @BeforeAll, @AfterAll, @BeforeEach, or @AfterEach) now lead to an exception.

See: https://junit.org/junit5/docs/current/release-notes/index.html#deprecations-and-breaking-changes-3

Signed-off-by: Wouter Born <github@maindrain.net>
2023-03-12 23:00:58 +01:00
Kai Kreuzer
9fedfc5d61
[metrics] Remove outdated precondition (#14594) 2023-03-12 22:01:08 +01:00
Wouter Born
2b63b984dc
[shelly] Fix missing /shelly/manager (#14592)
Using Whiteboard annotations seems to fix this issue.

Signed-off-by: Wouter Born <github@maindrain.net>
2023-03-12 20:42:12 +01:00
openhab-bot
6e0fe0e0ad
New translations bluetooth.properties (Italian) (#14591) 2023-03-12 19:29:46 +01:00
Jacob Laursen
63c65e72de
[danfossairunit] Unify thing labels (#14577)
* Unify thing labels
* Specify connection type

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2023-03-12 17:33:28 +01:00
joerg1985
709dc49fbe
Support for RadonEye with v2.x.x firmware (#14549)
Signed-off-by: Jörg Sautter <joerg.sautter@gmx.net>
2023-03-12 10:48:45 +01:00
Wouter Born
59b3ed33df
[groovyscripting] Update Groovy to 4.0.9 and support slurpers (#14499)
Updates Groovy from 4.0.7 to 4.0.9.

For release notes, see:

https://groovy-lang.org/changelogs/changelog-4.0.8.html
https://groovy-lang.org/changelogs/changelog-4.0.9.html

Adds dependencies and service loader config so JSON, XML and YAML can be more easily parsed using the JsonSlurper, XmlSlurper and YamlSlurper.

Signed-off-by: Wouter Born <github@maindrain.net>
2023-03-11 21:15:06 +01:00
Stian Kjoglum
ac7993d329
Enhancement: Query for subscription url every reconnect attempt (#14573)
Signed-off-by: kjoglum <stiankj@online.no>
2023-03-11 17:55:42 +01:00
Jacob Laursen
75d195465e
[renault] Add instructions for adding channels (#14572)
* Add instruction for adding channel

---------

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2023-03-11 10:55:49 +01:00
Mike Major
53bbda267f
[dlinksmarthome] Reboot device daily following shutdown of cloud service (#14479)
* Reboot device

---------

Signed-off-by: Mike Major <mike_j_major@hotmail.com>
2023-03-11 10:49:30 +01:00
lsiepel
38915f5009
Remove org.apache.common (#14437)
Signed-off-by: lsiepel <leosiepel@gmail.com>
2023-03-10 23:39:18 +01:00
lsiepel
039e3aa73a
[bsblan] Remove org.apache.commons (#14515)
* Replace org.apache.commons with org.unbescape

Signed-off-by: lsiepel <leosiepel@gmail.com>
2023-03-10 23:37:45 +01:00
fifipil909
8e9bc3124e
[renault] Add channel for pausing/resuming charging (#14527)
* Adding Pause-Resume Endpoint

Signed-off-by: fifipil909 <vincent.pilate@gmail.com>
2023-03-10 23:32:24 +01:00
openhab-bot
505a651992
New translations mynice.properties (Italian) (#14569) 2023-03-10 23:31:26 +01:00
Felix Schneider
13ab221e09
Remove unused headings (#14571)
Remove the unused headings for generation 2. There is probably a manual missing for gen 2, but while this is the case the headlines can be removed

Signed-off-by: Felix Schneider <fs@felix-schneider.org>
2023-03-10 23:31:07 +01:00
Simon Spielmann
f138cd35e2
[iCloud] Ignore HTTP errors != 400 & >= 500 for 2-FA authentication (#14563)
* Ignore HTTP errors != 400 for 2-FA authentication

---------

Signed-off-by: Simon Spielmann <simon.spielmann@gmx.de>
2023-03-10 21:53:35 +01:00
Jacob Laursen
dfb172df2a
Add instruction for channel removal (#14473)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2023-03-10 15:28:52 +01:00
Gaël L'hopital
c385ac0772
[Netatmo] Netatmo documentation (#14567)
* Updating Netatmo documentation

---------

Signed-off-by: clinique <gael@lhopital.org>
2023-03-10 13:17:48 +01:00
Gaël L'hopital
3b5dfb11a0
[mynice] Binding for IT4Wifi module (Nice gate doors) (#12940)
Signed-off-by: clinique <gael@lhopital.org>
2023-03-10 10:33:39 +01:00
Gaël L'hopital
d130595f85
[Netatmo] Modification of the tokenRefresh handling process (#14548)
* Modification of the tokenRefresh handling process
* Storing refreshToken in userdata/netatmo

---------

Signed-off-by: clinique <gael@lhopital.org>
2023-03-10 10:18:30 +01:00
Jacob Laursen
013422af32
Add missing addon.xml (#14559)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2023-03-09 17:19:06 +01:00
Zhivka Dimova
4069d854fb
[enocean] Fix condition in getPositionData-D2_05_00 (#14558)
Fix #14528

Signed-off-by: Zhivka Dimova <zhivka.dimova@myforest.net>
2023-03-09 13:08:36 +01:00
mueller-ma
cc51400bbd
Update docs of androiddebugbridge (#14553)
* Use code fence for intents
* Fix Item type of awake-state
* Pretty print JSON and add Netflix

Signed-off-by: mueller-ma <mueller-ma@users.noreply.github.com>
2023-03-09 08:22:27 +01:00
jimtng
afebf08042
[jrubyscripting] Upgrade JRuby to 9.4.2.0 (#14556)
This is a major version upgrade from 9.3.x, raising the compatibility level up from Ruby 2.6 to Ruby 3.1

Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
2023-03-09 08:19:10 +01:00
Wouter Born
81f87385f6
[neeo] Fix Servlet exceptions due to non-unique names (#14554)
It seems that Pax Web nowadays checks that the Servlet names are unique.

Fixes #14545

Signed-off-by: Wouter Born <github@maindrain.net>
2023-03-08 20:19:13 +01:00
Gaël L'hopital
90b2279a29
[Netatmo] Adding Carbon Monoxide sensor (#14543)
* Added Carbon Monoxide detector

---------

Signed-off-by: clinique <gael@lhopital.org>
2023-03-08 19:27:35 +01:00
Wouter Born
50cdd02447
[ipcamera] Make sure created Servlet supports async (#14552)
Fixes the folowing errors:

```
HTTP ERROR 500 java.lang.IllegalStateException: !asyncSupported: NotAsync:org.ops4j.pax.web.service.spi.servlet.OsgiInitializedServlet@536b0858
URI:	/ipcamera/192168493/ipcamera.jpg
STATUS:	500
MESSAGE:	java.lang.IllegalStateException: !asyncSupported: NotAsync:org.ops4j.pax.web.service.spi.servlet.OsgiInitializedServlet@536b0858
SERVLET:	org.openhab.binding.ipcamera.internal.servlet.CameraServlet
CAUSED BY:	java.lang.IllegalStateException: !asyncSupported: NotAsync:org.ops4j.pax.web.service.spi.servlet.OsgiInitializedServlet@536b0858
Powered by Jetty:// 9.4.50.v20221201
```

See:

* https://community.openhab.org/t/openhab-4-0-snapshot-discussion/142322/226
* https://groups.google.com/g/ops4j/c/E9p7tPydPmo
* https://github.com/ops4j/org.ops4j.pax.web/issues/1767

Signed-off-by: Wouter Born <github@maindrain.net>
2023-03-08 17:20:08 +01:00
lsiepel
5c0b5711a8
[gpstracker] Add (optional) altitude to location channel (#14396)
* Add (optional) altitude to location channel
* Add null annotations
* Extend toString with altitude

Signed-off-by: lsiepel <leosiepel@gmail.com>
2023-03-07 23:23:30 +01:00
Andrew Fiddian-Green
c9d5784d36
[velux] Update documentation (#14478)
* [velux] update documentation

Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2023-03-07 23:17:52 +01:00
Mark Hilbush
dba5550ae6
[sleepiq] Add thing type update instructions (#14460)
* Add thing type update instructions
* Move thingTypeVersion to correct thing type
* Add groupIds to update instructions

Signed-off-by: Mark Hilbush <mark@hilbush.com>
2023-03-07 23:13:18 +01:00
lolodomo
c8cdd2dfa5
[tesla] Stop the WebSocket client when disposing the thing handler (#14483)
Fix #14341

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2023-03-07 20:50:37 +01:00
Cody Cutrer
22b28bf674
[mqtt.generic] separate command parsing from cached value updating (#12238)
* [mqtt.generic] separate command parsing from cached value updating

fixes #12150

Previously, Value.update would parse the command, _and_ update the cached
value with that command. Which means that when sending a command towards
MQTT (instead of processing an update from MQTT), the cached value was
unintentionally updated. This prevented the REFRESH command from returning
the most recent value received from the device.

Separating the two concerns also makes the test more obvious what they are
testing, and vastly simplified a kludgy workaround that RollershutterValue
was using to be able to process Commands that aren't States.

Signed-off-by: Cody Cutrer <cody@cutrer.us>

* [mqtt.generic] split Value::parseCommand into parseMessage

so that a particular value type subclass can have varying implementations
if it desires

---------

Signed-off-by: Cody Cutrer <cody@cutrer.us>
2023-03-07 19:33:17 +01:00
Holger Friedrich
7bd99df364
[knx] Improve reading of device properties (#14050)
* [knx] Improve reading of device properties
* [knx] DD2 logging only in debug mode

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2023-03-07 19:31:39 +01:00
Holger Friedrich
7ec7de55e3
[knx] Improve thread safety, null-analysis (#14509)
Carryover from smarthomej/addons#13 and smarthomej/addons#46, smarthomej/addons#60.

Also-by: Jan N. Klug <github@klug.nrw>
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2023-03-06 22:34:16 +01:00
lsiepel
539f49e4ec
[bluetooth] Null annotations and SAT (#13967)
* null annotation, checkstyle, dependency

Signed-off-by: Leo Siepel <leosiepel@gmail.com>
2023-03-06 09:38:57 +01:00
lsiepel
ca09f71a6c
[bluetooth.bluegiga] Refactored and added null annotations (#13974)
* All SAT warnings

Signed-off-by: Leo Siepel <leosiepel@gmail.com>
2023-03-05 21:29:10 +01:00
openhab-bot
a3c621fffc
New Crowdin updates (#14541)
* New translations iCloud.properties (German)
* New translations miele.properties (German)
* New translations jruby.properties (German)
* New translations mqtt.properties (German)
* New translations influxdb.properties (German)
* New translations homekit.properties (German)
* New translations amazonechocontrol.properties (German)
* New translations amazonechocontrol.properties (German)
2023-03-05 20:25:51 +01:00
J-N-K
6da85a4757
[influxdb] Fix query for InfluxDB2 (#14542)
Signed-off-by: Jan N. Klug <github@klug.nrw>
2023-03-05 16:04:51 +01:00
openhab-bot
ed717c2c95
New Crowdin updates (#14531)
* New translations systeminfo.properties (German)
* New translations tado.properties (German)
* New translations bluetooth.properties (German)
* New translations bluetooth.properties (German)
* New translations mybmw.properties (German)
* New translations gardena.properties (German)
* New translations astro.properties (German)
* New translations avmfritz.properties (German)
* New translations chromecast.properties (German)
* New translations hue.properties (German)
* New translations logreader.properties (German)
* New translations icalendar.properties (German)
* New translations max.properties (German)
* New translations comfoair.properties (German)
* New translations denonmarantz.properties (German)
* New translations deutschebahn.properties (German)
* New translations dwdpollenflug.properties (German)
* New translations ecotouch.properties (German)
* New translations epsonprojector.properties (German)
* New translations exec.properties (German)
* New translations homematic.properties (German)
* New translations hpprinter.properties (German)
* New translations http.properties (German)
* New translations magentatv.properties (German)
* New translations awattar.properties (German)
2023-03-04 17:20:03 +01:00
Jonas Bötsch
2ec097d529
[homekit] Update README.md (#14521)
Tilted blinds do not work when using the documented config. 
Changed it to a working example.
Refer here: https://community.openhab.org/t/homekit-addon-adjustable-blinds-not-working-anymore/144869
2023-03-03 15:12:44 +01:00
lsiepel
36201dd6d1
[plugwise] Remove org.apache.common (#14432)
Signed-off-by: lsiepel <leosiepel@gmail.com>
2023-03-03 15:11:08 +01:00
darthbevis
660ec10d4b
[ecobee] Increase temperature precision to decimal (#14517)
* Update EcobeeUtils.java

Correcting rounding of setHold values so we have 0.1°F tolerance instead of 1°F.  Makes it easier to use in °C

Signed-off-by: darthbevis <darthbevis@gmail.com>
2023-03-02 20:58:34 +01:00
J-N-K
44634a6e89
[exec] Fix whitelist not read (#14522)
Signed-off-by: Jan N. Klug <github@klug.nrw>
2023-03-02 20:57:02 +01:00
Wouter Born
b2bf7256db
Upgrade to Karaf 4.4.3 (#14040)
* Rework Servlets to use Http Whiteboard annotations in favor of proprietary `org.openhab.core.io.http.servlet` classes
* Resolve itest runbundles
* Fix dependency issues
* Catch proper exception when starting hueemulation UpnpServer

Also-by: Jan N. Klug <github@klug.nrw>
Signed-off-by: Wouter Born <github@maindrain.net>
2023-03-01 18:33:50 +01:00
openhab-bot
db436a1dad
New translations rollershutter.properties (Italian) (#14514) 2023-02-27 20:08:51 +01:00
petero-dk
e9a1dd5b27
[bluetooth] Add support for RadonEye (BLE) device (#11958)
Signed-off-by: Peter Obel <peter@ecomerc.com>
2023-02-27 18:59:50 +01:00
Hilbrand Bouwkamp
03e3b6aae2
[dsmr] Improved error handling corrupt messages, discovery additional key bug fix (#14325)
* [dsmr] Improved error handling to better handle corrupt messages.

- Fix incorrect additional key in bridge discovery service.
- When corrupted P1 telegram is received don't set directly to offline, but let the watchdog do this if to many times this happens.
This makes it a bit more lenient for receiving a bad telegram once in a while. Because some connections are not that stable.
- Simplified error handling, and listeners to one enum/interface to make it more cleaner.

Signed-off-by: Hilbrand Bouwkamp <hilbrand@h72.nl>
2023-02-27 17:36:02 +01:00
Gaël L'hopital
c95380f503
[Netatmo] Floodlight issue on Presence Camera (#14492)
* Solving issue #14458

Signed-off-by: clinique <gael@lhopital.org>

* Removes the usage of "app.netatmo.net" since api now holds these entry points.
I think it was the origin of malfunction of floodlight (to be controlled by somebody who has one).

--------

Signed-off-by: clinique <gael@lhopital.org>
2023-02-27 08:59:20 +01:00
jsjames
fe0f49ea63
[rollershutterposition] Initial contribution (#13259)
* Initial contribution

Signed-off-by: Jeff James <jeff@james-online.com>
2023-02-26 22:54:27 +01:00
Holger Friedrich
60d70efce6
[knx] Improve documentation for DPT 1.009 (#14510)
Carryover from smarthomej/addons#73.

Also-by: Jan N. Klug github@klug.nrw

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2023-02-26 18:56:16 +01:00
lsiepel
d3d14d8b04
[ecobee] Alignment according to #14407 (#14506)
Signed-off-by: lsiepel <leosiepel@gmail.com>
2023-02-26 12:22:03 +01:00
lsiepel
8a433bd6c1
[weathercompany] Alignment according to #14407 (#14505)
Signed-off-by: lsiepel <leosiepel@gmail.com>
2023-02-26 12:21:41 +01:00
Holger Friedrich
b023e5ac47
[knx] Fix DPT 3.007 (Control Dimming) for non -control channels (#14504)
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
Also-by: Jan N. Klug <github@klug.nrw>
2023-02-26 12:19:15 +01:00
DeJe63
52d77eabca
[goecharger] Fix command sending (#14494) 2023-02-26 11:45:46 +01:00
Markus Eckhardt
0675a80120
[km200] removed unused configuration URIs (#14488)
Signed-off-by: Markus Eckhardt <github@familie-eckhardt.eu>
2023-02-26 11:17:32 +01:00
Holger Friedrich
984914f1bf
[knx] Remove workaround for DPT 14 (#14503)
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2023-02-26 10:42:26 +01:00
lsiepel
6c7354b49e
[innogysmarthome] Remove org.apache.commons (#14407)
Signed-off-by: lsiepel <leosiepel@gmail.com>
2023-02-26 10:24:46 +01:00
Florian Hotze
726858b4f1
[jsscripting] Upgrade openhab-js to 4.1.0 (#14495)
Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
2023-02-25 10:18:49 +01:00
Mark Herwege
b15d72fb7f
[upnpcontrol] fix shuffle switch also switching only play one (#14490)
Signed-off-by: Mark Herwege <mark.herwege@telenet.be>
2023-02-24 17:20:49 +01:00
Mark Hilbush
cf4bffb9ed
[denonmarantz] Add representation-property to thing-types xml (#14493)
Signed-off-by: Mark Hilbush <mark@hilbush.com>
2023-02-24 17:18:31 +01:00
lsiepel
dd21d92a80
[evohome] Add null annotation and minor refactoring (#13885)
Signed-off-by: Leo Siepel <leosiepel@gmail.com>
2023-02-24 16:08:53 +01:00
J-N-K
cb31f420ff
[tr064] Enhancements, code improvements and fixes (#14468)
Signed-off-by: Jan N. Klug <github@klug.nrw>
2023-02-24 16:06:53 +01:00
lolodomo
561eb84f65
[neohub] Use createWebSocketClient (#14482)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2023-02-24 15:02:54 +01:00
Alex Hermann
7e047b3fc6
[nibeheatpump] nibegw: Fix setting debug verboseLevel (#14461)
Signed-off-by: Alex Hermann <gaaf@gmx.net>
2023-02-23 09:10:31 +01:00
lolodomo
e7b0fc6c14
[daikin] Use createHttpClient (#14481)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2023-02-22 20:48:06 +01:00
lolodomo
20ac69725a
[http] Use createHttpClient (#14480)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2023-02-22 20:37:53 +01:00
lolodomo
6daddb79f2
[tr064] Use createHttpClient (#14476)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2023-02-22 17:29:03 +01:00
lolodomo
fa7e4e7594
[somneo] Use createHttpClient (#14477)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2023-02-22 17:28:02 +01:00
lolodomo
fbf9a9e6a9
[tapocontrol] Use createHttpClient (#14475)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2023-02-22 17:26:47 +01:00
lolodomo
884b5e9e83
[unifi] Use createHttpClient (#14474)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2023-02-22 17:22:31 +01:00
lsiepel
1c35ebcd4e
[ecobee] Remove org.apache.commons (#14403)
Signed-off-by: lsiepel <leosiepel@gmail.com>
2023-02-22 13:50:53 +01:00
Mark Herwege
19db9ee726
[upnpcontrol] Fix javadoc links (#14471)
Signed-off-by: Mark Herwege <mark.herwege@telenet.be>
2023-02-21 21:11:21 +01:00
Holger Friedrich
4f1dd5792f
[knx] FT12: Autodetect cEMI on Weinzierl devices (#14454)
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2023-02-21 19:36:52 +01:00
msteigenberger
1a01a0e021
[smartmeter] Test fix (#13907)
Signed-off-by: Matthias Steigenberger <matthias.steigenberger@gmail.com>
2023-02-21 16:26:44 +01:00
mlobstein
7c20a4804a
[vizio] Improve handling of TV's self-signed certificate (#14429)
Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
2023-02-21 15:58:48 +01:00
lolodomo
8c56a0f0b3
[volvooncall] Adjust thread name for HTTP client (#14469)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2023-02-20 21:47:46 +01:00
lolodomo
cb160bdf63
[somfytahoma] Call createHttpClient with a SslContextFactory parameter (#14467)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2023-02-20 20:33:56 +01:00
lolodomo
dbfdcfb96e
[remoteopenhab] Call createHttpClient with a SslContextFactory parameter (#14465)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2023-02-20 20:32:55 +01:00
lolodomo
e33ce1b987
[linky] Call createHttpClient with a SslContextFactory parameter (#14464)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2023-02-20 20:32:09 +01:00
lolodomo
d33f6916d2
[nanoleaf] Stop the HTTP client when disposing the thing handler (#14459)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2023-02-20 20:28:27 +01:00
lolodomo
1f877cae6d
[yioremote] Stop the web socket client when disposing thing handler (#14340)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2023-02-20 12:39:03 +01:00
David Pace
8306210a13
[boschshc] Add unit tests (#14426)
Signed-off-by: David Pace <dev@davidpace.de>
2023-02-20 08:56:29 +01:00
Mark Hilbush
5bb3f834d4
[sleepiq] Add new channels (#14447)
Signed-off-by: Mark Hilbush <mark@hilbush.com>
2023-02-19 22:53:35 +01:00
lsiepel
8e4a2b14ac
[elerotransmitterstick] Remove apache.commons (#14405)
Signed-off-by: lsiepel <leosiepel@gmail.com>
2023-02-19 22:16:32 +01:00
lsiepel
46f9d5eab7
[neato] Remove org.apache.common (#14415)
Signed-off-by: lsiepel <leosiepel@gmail.com>
2023-02-19 22:04:49 +01:00
lsiepel
5331615359
[nibeuplink] Remove org.apache.common (#14416)
Signed-off-by: lsiepel <leosiepel@gmail.com>
2023-02-19 21:56:55 +01:00
lsiepel
07b8fbe26b
[upnpcontrol] Multiple codestyle fixes (#14451)
Signed-off-by: lsiepel <leosiepel@gmail.com>
2023-02-19 21:55:46 +01:00
lsiepel
b570a454b0
[sonos] Fix remaining org.apache.common (#14450)
Signed-off-by: lsiepel <leosiepel@gmail.com>
2023-02-19 21:51:00 +01:00
lsiepel
77f73345d2
[km200] Remove org.apache.commons (#14411)
Signed-off-by: lsiepel <leosiepel@gmail.com>
2023-02-19 21:42:33 +01:00
lsiepel
d168d045bf
[phc] Remove import org.apache.common (#14422)
Signed-off-by: lsiepel <leosiepel@gmail.com>
2023-02-19 21:34:25 +01:00
lsiepel
07aef8075c
[omnikinverter] Remove org.apache.common (#14418)
Signed-off-by: lsiepel <leosiepel@gmail.com>
2023-02-19 21:19:09 +01:00
lsiepel
c3624e7397
[onebusaway] Remove org.apache.common (#14419)
Signed-off-by: lsiepel <leosiepel@gmail.com>
2023-02-19 21:14:16 +01:00
lsiepel
dd7bb9c6a2
[onkyo] Remove org.apache.common (#14420)
Signed-off-by: lsiepel <leosiepel@gmail.com>
2023-02-19 21:11:21 +01:00
lsiepel
e776680dc2
[pentair] Remove org.apache.common (#14421)
Signed-off-by: lsiepel <leosiepel@gmail.com>
2023-02-19 21:07:59 +01:00
lolodomo
fa87a1b2f4
[mycroft] Adjust thread name for web socket client (#14342)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2023-02-19 20:59:18 +01:00
lolodomo
b0eaa9effc
[deconz] Adjust thread name for web socket client (#14343)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2023-02-19 20:58:14 +01:00
lolodomo
8c09334943
[gardena] Adjust thread name for WEB clients (avoid IAE) (#14349)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2023-02-19 20:56:59 +01:00
lolodomo
e0a3ca2f9b
[tesla] Normalize thread names and avoid a possible IAE (#14351)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2023-02-19 20:55:16 +01:00
lsiepel
43232dae2e
[smartmeter] Remove org.apache.common (#14436)
Signed-off-by: lsiepel <leosiepel@gmail.com>
2023-02-19 20:47:42 +01:00
lsiepel
22ccde016d
[sonos] Remove org.apache.common (#14438)
Signed-off-by: lsiepel <leosiepel@gmail.com>
2023-02-19 20:43:01 +01:00
lsiepel
833578b0e9
[upnpcontrol] Remove org.apache.common (#14439)
Signed-off-by: lsiepel <leosiepel@gmail.com>
2023-02-19 20:42:01 +01:00
lsiepel
9f7a21cb14
[weathercompany] Remove org.apache.common (#14440)
Signed-off-by: lsiepel <leosiepel@gmail.com>
2023-02-19 20:37:08 +01:00
lsiepel
9828dafdb8
[imperihome] Remove org.apache.common (#14441)
Signed-off-by: lsiepel <leosiepel@gmail.com>
2023-02-19 20:30:58 +01:00
Holger Friedrich
f795abbce7
[knx] Replace gnu.io dependency with serial transport (#14051)
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2023-02-19 15:45:42 +01:00
Holger Friedrich
1da2694a17
[marytts] Add bnd to make serviceloader aware of marytts impl (#14064)
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2023-02-19 15:32:01 +01:00
J-N-K
223deffcfd
[jsscripting] Fix node_modules handling (#14398)
Signed-off-by: Jan N. Klug <github@klug.nrw>
2023-02-18 19:53:33 +01:00
Jacob Laursen
f3d48681b0
[semsportal] Fix exception due to invalid thing status update (#14387)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2023-02-18 19:13:00 +01:00
Jacob Laursen
e62503f8a4
[kostalinverter] Fix exception due to invalid thing status update (#14386)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2023-02-18 19:12:41 +01:00
Jacob Laursen
b9a7e1f346
[cbus] Fix exceptions due to invalid thing status updates (#14385)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2023-02-18 19:12:21 +01:00
Jacob Laursen
1bc00a0dd8
[km200] Fix initialization warning: "tried updating the thing status although the handler was already disposed." (#14384)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2023-02-18 19:11:54 +01:00
lsiepel
9a2bfcf0b8
[digitalstrom] code refactoring (#14402)
Signed-off-by: lsiepel <leosiepel@gmail.com>
2023-02-18 18:15:27 +01:00
Mark Hilbush
253b25631f
[sleepiq] Rework cloud API and other enhancements (#14180)
Signed-off-by: Mark Hilbush <mark@hilbush.com>
2023-02-18 16:26:57 +01:00
Kai Kreuzer
ce41708622
[lametrictime] Move external library to internal code (#14425)
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2023-02-18 15:01:41 +01:00
Arjen Korevaar
1d34515c34
[openthermgateway] Changed command code from ST to SC for SetClock (#14424)
Signed-off-by: Arjen Korevaar <a.korevaar@mephix.com>
2023-02-17 21:27:21 +01:00
openhab-bot
5b043551d7
New Crowdin updates (#14427) 2023-02-17 19:25:10 +01:00
Jamie Townsend
13202ba573
[solarmax] Support configurable Device Address (#14366)
Signed-off-by: Jamie Townsend <jamie_townsend@hotmail.com>
2023-02-17 14:28:48 +01:00
Mithi83
8274020423
Fix typo (#14410) 2023-02-16 22:44:15 +01:00
J-N-K
5ea0dcbda9
[onewire] Code improvements and bug fixes (#14400)
Signed-off-by: Jan N. Klug <github@klug.nrw>
2023-02-16 18:49:00 +01:00
J-N-K
9a05e9f3b5
[jsscripting] Fix JSScriptFileWatcher not ignoring correct directory (#14393)
Signed-off-by: Jan N. Klug <github@klug.nrw>
2023-02-15 10:33:00 +01:00
Florian Hotze
ce2e76d6ee
[jsscripting] Bump openhab-js to 4.0.0 & Clean-Ups (#14375)
Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
2023-02-14 21:19:59 +01:00
Gaël L'hopital
7820c2daa2
[TapoControl] Adding P300 to the list of supported equipments (#14364)
* Adding P300 to the list of supported equipments

Signed-off-by: clinique <gael@lhopital.org>
2023-02-14 12:09:31 +01:00
M Valla
bbb4c3e474
[openwebnet] light switch updates are now triggered (#14390)
* [openwebnet] light switch updates are now triggered

Signed-off-by: Massimo Valla <mvcode00@gmail.com>
2023-02-13 22:28:11 +01:00
J-N-K
d613641bbd
Adapt addons to core watch service changes (#14004)
Signed-off-by: Jan N. Klug <github@klug.nrw>
2023-02-13 16:37:57 +01:00
J-N-K
ed7159c780
[influxdb] Code improvements and enhancements (#14304)
* [influxdb] code improvements

Signed-off-by: Jan N. Klug <github@klug.nrw>
2023-02-13 15:23:05 +01:00
lolodomo
0e246aa313
[lgwebos] Create WEB socket client using OH core method (#14382)
Follow-up PR #14331

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2023-02-13 11:16:05 +01:00
Jacob Laursen
b2a4ee42c9
Add connection and countries (#14380)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2023-02-13 09:02:11 +01:00
Florian Hotze
d2db49ff67
[jsscripting] Extend mapping of openhab-js classes to native openHAB counterparts (#14335)
Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
2023-02-12 11:53:51 +01:00
Luca Calcaterra
a7b30ae3e5
Update README.md (#14372)
fixed some typos and add UDP warning from previous config

Signed-off-by: Luca Calcaterra <calcaterra.luca@gmail.com>
2023-02-11 20:41:07 +01:00
Viktor Koop
afaccd1cd1
[boschshc] allow setting the temperature by disabling read-only state of setpoint-temperature (#14081) (#14352)
Signed-off-by: Viktor Koop <viktor.koop@googlemail.com>
2023-02-11 19:04:47 +01:00
Florian Hotze
988fde1aba
[evcc] Fixes & Adjust to more breaking changes from evcc 0.111.x (#14381)
* [evcc] Adjust DTO for renamed activePhases
* [evcc] Correct wrong units for capacities
* [evcc] Fix wrong getter & Reformat

Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
2023-02-10 23:55:23 +01:00
Conte Andrea
b384508fe4
fix(12600): wrong startup value for channel failureDiscovered (#14374)
Signed-off-by: Conte Andrea <andrea@conte.com>
2023-02-10 13:14:09 +01:00
lsiepel
2ea0c97dd2
[tr064] Update configuration documentation (#14291)
* i18n + mac per line fix

Signed-off-by: lsiepel <leosiepel@gmail.com>
2023-02-09 00:01:10 +01:00
Wouter Born
2a2f6ffb58
[lifx] Add support for newer downlights (#14362)
Allows for discovering the new downlights (PID 121, 122) and their features.

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

Signed-off-by: Wouter Born <github@maindrain.net>
2023-02-08 23:50:40 +01:00
openhab-bot
5da73468e5
New Crowdin updates (#14358)
* New translations airquality.properties (Italian)
* New translations adorne.properties (Italian)
* New translations airq.properties (Italian)
* New translations airvisualnode.properties (Italian)
* New translations allplay.properties (Italian)
* New translations amazonechocontrol.properties (Italian)
* New translations amplipi.properties (Italian)
* New translations androiddebugbridge.properties (Italian)
2023-02-06 20:54:05 +01:00
Kai Kreuzer
0d08e38baa
Small doc fixes (#14356) 2023-02-06 16:40:25 +01:00
openhab-bot
be6b799ca4
New Crowdin updates (#14344) 2023-02-05 20:49:52 +01:00
Mark Herwege
fbbce11cf2
[unifi] guest voucher actions (#14303)
* guest voucher actions

Signed-off-by: Mark Herwege <mark.herwege@telenet.be>
2023-02-05 16:59:51 +01:00
lsiepel
bc6a027f9e
[plugwiseha] Added default tags (#14160)
* add default tags

Signed-off-by: lsiepel <leosiepel@gmail.com>
2023-02-04 19:44:06 +01:00
Andreas Berger
bd6fe9008a
[fineoffsetweatherstation] Fix java.lang.IllegalMonitorStateException (#14326)
This fix ensures, that the `ReentrantLock::unlock` method is only called, when the Thread is owning the lock.

resolves: #14322

Signed-off-by: Andreas Berger <andreas@berger-freelancer.com>
2023-02-04 18:03:14 +01:00
J-N-K
fc57f02fca
[snmp] Upgrades and enhancements (#14330)
* [snmp] Upgrades and enhancements

- bug: improve test stability
- enhancement: add support for UoM
- bug: fix misleading error message
- bug: fix initialization exceptions
- enhancement: Add support for SNMPv3
- enhancement: add opaque value handling

Signed-off-by: Jan N. Klug <github@klug.nrw>
2023-02-04 15:47:30 +01:00
Jacob Laursen
8a4033c95f
Add TLS support (#14331)
Fixes #14309

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2023-02-04 13:08:41 +01:00
WoKe77
c4c89d3c29
[easee] Update README.md - added status values for "state#chargerOpMode" (#14175)
* Update README.md

added status values for "state#chargerOpMode"
2023-02-04 10:54:57 +01:00
Jacob Laursen
6eb6bf7d43
Remove obsoleted author tags (#14333)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2023-02-04 10:07:07 +01:00
Jacob Laursen
218bfa5539
Add UoM support for RSSI channel (#14319)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2023-02-04 09:52:22 +01:00
lolodomo
d0f6c2b881
[mail] Make actions names for DSL rules consistent with documentation (#14151)
* [mail] Make actions names for DSL rules consistent with documentation

Keep old names for backward compatibility.
Actions names are now consistent over all rule engines.

* Review comment: use htmlContent as parameter name
* Review comment: make consistent url and urlList parameters

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2023-02-04 09:30:58 +01:00
Jacob Laursen
6ecb9bab29
Add missing binding description (#14332)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2023-02-04 08:56:14 +01:00
fcvuilbak
8197721685
Added MOOD_LIGHT for NOVY Fan (#14298)
Signed-off-by: fcvuilbak <42965756+fcvuilbak@users.noreply.github.com>
2023-02-04 06:17:45 +01:00
mlobstein
a8267bc4fb
Fix Essentia G standby mode wake-up (#14321)
Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
2023-02-04 05:53:27 +01:00
lolodomo
03f17019d1
[hue] Retrieve scenes without 10 minutes initial delay (#14289)
Fix #14137

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2023-02-04 00:02:56 +01:00
J-N-K
9deb181e1b
[dmx] Refactor and improve code (#14327)
Also adds null-annotations

Signed-off-by: Jan N. Klug <github@klug.nrw>
(cherry picked from commit 8153032ce07f5bcd7c5b31316ac0d4565126fe72)
2023-02-03 20:41:16 +01:00
Daniel-at-git
4d9bf1cad1
Commit 1d23c32de1 broke sending underscore character in messages (#14204) (#14314)
This PR reverts commit 1d23c32de1 and fix #14204.

Signed-off-by: Daniel Schröter <d.schroeter@gmx.de>
2023-02-02 20:40:57 +01:00
Dave
baf077d71d
[omnikinverter] added extra parameters (temperature, AC frequency, AC current, AC voltage and total hours running) (#14244)
* [omnikinverter] Added temperature sensor
* [Omnikinverter] Bugfix for wrong channeltype item-type

Prevents 'Received HTTP PUT request with an invalid item name' when adding items

* [Omnik] Added AC Voltage, Currrent and Frequency and total running hours

Signed-off-by: Dave <leansoft@users.noreply.github.com>
2023-02-02 12:46:46 +01:00
Ilias Ktn
a42b92b183
Working PostgreSQL Schema check/fix and set TIMESTAMPTZ to match MySQL defaults (#14294)
Signed-off-by: Ilias Kotinas <henfiber@gmail.com>
2023-02-02 08:27:16 +01:00
Boris Krivonog
93d871a88f
[rrd4j] fixed oom when requesting data and boundary=true (#14292)
* Fixed end date when requesting data using rrd4j and boundary=true

Signed-off-by: Boris Krivonog <boris.krivonog@inova.si>
2023-02-01 21:06:27 +01:00
lolodomo
c162e6668d
[hue] Handle unexpected empty response from API (#14297)
Fix #14218

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2023-02-01 20:55:54 +01:00
Mark Hilbush
38fa097594
Fix incorrect i18n tags in addon.xml (#14312)
Signed-off-by: Mark Hilbush <mark@hilbush.com>
2023-02-01 20:27:10 +01:00
Mark Hilbush
96bffaa7b7
Fix i18n in addon.xml (#14310)
Signed-off-by: Mark Hilbush <mark@hilbush.com>
2023-02-01 17:06:51 +01:00
Mark Hilbush
09e85946da
Fix for NumberFormatException when parsing json (#14308)
Signed-off-by: Mark Hilbush <mark@hilbush.com>
2023-01-31 20:52:00 +01:00
openhab-bot
94969e4c5e
New translations jruby.properties (Italian) (#14306) 2023-01-31 19:47:42 +01:00
Kai Kreuzer
bfb6091d7b
Fix account going offline every few seconds (#14300)
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2023-01-31 19:35:22 +01:00
Cody Cutrer
9bafedc17b
[jrubyscripting] don't use options for check for updates config boolean (#14299)
Signed-off-by: Cody Cutrer <cody@cutrer.us>
2023-01-31 00:12:48 +01:00
Cody Cutrer
74f22a5325
[jrubyscripting] allow disabling dependency tracking (#13944)
* [jrubyscripting] allow disabling dependency tracking

in case your helper library doesn't support it. or you just don't like
the behavior.

Signed-off-by: Cody Cutrer <cody@cutrer.us>
2023-01-30 23:24:54 +01:00
J-N-K
e5e067b79b
[influxdb] Fix re-connection issues (#14296)
Signed-off-by: Jan N. Klug <github@klug.nrw>
2023-01-30 20:04:57 +01:00
lolodomo
9a0d0ba409
[shelly] Cancel the init job when the thing handler is disposed (#14290)
Fix #14032

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2023-01-30 13:24:36 +01:00
Hilbrand Bouwkamp
bf105008a1
[unifi] Added channels name and hostname to client things. (#14283)
* [unifi] Added channels name and hostname to client things.

Also some changes related to the guestVoucher changes.

Signed-off-by: Hilbrand Bouwkamp <hilbrand@h72.nl>
2023-01-30 08:59:19 +01:00
lsiepel
15a25db130
[astro] Add option to force event to occur (#14132)
* fix issue 11424

Signed-off-by: lsiepel <leosiepel@gmail.com>
2023-01-29 22:15:38 +01:00
Nils Schnabel
9001ee7426
[fmiweather] HIRLAM → HARMONIE weather model (#13693)
* [FMI] HIRLAM → HARMONIE model

Signed-off-by: Nils Schnabel <git@to.nilsschnabel.de>
Co-authored-by: Sami Salonen <ssalonen@gmail.com>
2023-01-29 19:56:10 +01:00
Andrew Fiddian-Green
178d16c4a0
[velux] Do not use new API on Somfy devices (#14225)
* [velux] revert use of new API for Somfy devices
* [velux] fix compare to wrong value

Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2023-01-29 10:32:33 +01:00
dirkbe
01c38df9a5
[homematic] HUMIDITY and CONTROL_MODE as PaperUI standard channels (#14274)
HomematicIP added humidity and HVAC control mode under new channel
HEATING_CLIMATECONTROL_TRANSCEIVER|HUMIDITY. Those channels won't
show in PaperUI unless "Advanced" is selected. This pull request
adds those channels as standard.

Impacted HomematicIP devices: HmIP-BWTH, HmIP-BWTH24,
HmIPW-STHD, HmIPW-STH, HmIPW-WTH, HmIP-STHD, HmIP-STH, HMIP-WTH,
HmIP-WTH-2, HmIP-WTH-B
The devices HmIP-eTRV* and HmIP-WT only support CONTROL_MODE not
Humidity.

resolves: #11829

Signed-off-by: Dirk Benecke <dirkbe@web.de>
Signed-off-by: Dirk Benecke <dirkbenecke@Dirks-MBP.fritz.box>
2023-01-29 10:25:53 +01:00
lsiepel
a58f1269ec
[tibber] Fix NPE on server issues (#14273)
* Fix NPE

Signed-off-by: lsiepel <leosiepel@gmail.com>
2023-01-29 10:24:26 +01:00
Dan Cunningham
9ba3c07d3e
[openhabcloud] Reconnection Fixes (#14251)
* [openhabcloud] Possible connection leak
* Creates thread safe reconnection, reduces unnecessary polling on setup, removes unused variables.
* adds the reconnect settings to the internal socket.io options.
* Up the min reconnect time
* Use @ssalonen sugestion for backoff mins and randomness
* Reconnect after server initiated disconnect
* Remove unhelpful comments

Signed-off-by: Dan Cunningham <dan@digitaldan.com>
2023-01-29 10:21:54 +01:00
Mark Herwege
16f3a3e854
[unifi] Guest wifi vouchers (#14284)
* guest voucher support

Signed-off-by: Mark Herwege <mark.herwege@telenet.be>
2023-01-28 21:30:12 +01:00
igitti
aa7580965e
(MyBMW] command "horn-blow" not "horn-low" (#14270)
* MyBMW command "horn-blow" not "horn-low"

The command is "horn-blow" not "horn-low".
Tested with my car: "horn-blow" works, "horn-low" does not.

* (MyBMW] command "light-flash" not "flash-lights"

The command is "light-flash" not "flash-lights".
Tested with my car: "light-flash" works, "flash-lights" does not.
2023-01-28 18:56:02 +01:00
Jacob Laursen
0e65903216
[wemo] Fix stability issues (#14163)
* Stabilize UPnP subscription handling
* Remove unused UpnpService
* Fix integration test

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2023-01-28 09:35:30 +01:00
Cody Cutrer
0312e687ba
[homekit] fix restarted on network interface change (#14226)
a regression caused during the final changes of #13877

Signed-off-by: Cody Cutrer <cody@cutrer.us>
2023-01-28 00:39:19 +01:00
Cody Cutrer
f3ca3255a7
[mqtt.homeassistant] support command_template for fan components (#14233)
* [mqtt.homeassistant] support command_template for fan components
* [mqtt.homeassistant] fix field declaration for consistency

Signed-off-by: Cody Cutrer <cody@cutrer.us>
2023-01-28 00:38:38 +01:00
Cody Cutrer
6d5b8a8cf5
[mqtt.homeassistant] add support for DeviceTrigger component (#14234)
Signed-off-by: Cody Cutrer <cody@cutrer.us>
2023-01-28 00:37:45 +01:00
Cody Cutrer
d97d212cd1
[mqtt.homeassistant] Mark disabled by default components as advanced channels (#14240)
openHAB doesn't have the concept of "enabled by default", since _everything_
is technically "disabled" until you link it to an item. It seems devices
use disabled by default on less common entities, such as zigbee2mqtt
marking a binary_sensor as a "backup" method to an update entity for
when an update is available, or a sensor as a "backup" method to a
select entity. So in that case, just hiding these channels unless the user
clicks "Show Advanced" seems to map best.

Signed-off-by: Cody Cutrer <cody@cutrer.us>
2023-01-28 00:37:15 +01:00
lolodomo
83c20b0bd6
[rotel] Fix reader thread handling (#14272)
Previous code was not working in Java 17.
A thread should not be started after being interrupted.

Fix #14264

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2023-01-27 13:23:04 +01:00
lsiepel
865c4b8e86
[tibber] Add accumulatedReward channel (#14277)
* Add channel, fix warning

Signed-off-by: lsiepel <leosiepel@gmail.com>
2023-01-27 10:36:40 +01:00
Ilias Ktn
29b17e9c75
Perform upsert on key conflict like the default for MySQL (PostgreSQL >= 9.5) (#14281)
Signed-off-by: Ilias Kotinas <henfiber@gmail.com>
2023-01-27 10:33:11 +01:00
Gaël L'hopital
26d608c8da
Bringing a solution to issue #14256. (#14265)
This solution is not the best but takes in account observations made in issue #13015.

Signed-off-by: clinique <gael@lhopital.org>
2023-01-27 08:49:47 +01:00
TheNinth7
9ddcbb55ad
Update README.md (#14266)
Updated section on shutter position with info on the automatic calibration's reliance on the actuator's automatic stop message, and that for older actuator's manual setting of shutterRun is required.
2023-01-27 08:34:36 +01:00
Florian Hotze
f808edf725
[evcc] Adjust to breaking API change & Add new channel (#14245)
* [evcc] Adjust to breaking API changes

Fixes #14231.

See https://github.com/evcc-io/evcc/discussions/5522.

* [evcc] Add battery capacity channel
* [evcc] Version & openHABian note
* [evcc] Use already defined constants in ChannelTypeUIDs
* [evcc] Correct header in evcc.properties

Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
2023-01-23 21:17:39 +01:00
Jacob Laursen
fe9f0583b5
Fix some addon.xml issues (#14261)
* Fix some addon.xml issues
* Re-add thing-type binding for Velux
* Prefix thing-type filenames

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2023-01-22 19:22:13 +01:00
Markus Eckhardt
8ee8a1e2ed
[Tibber] Added "today" API channel (#14236)
* Added "today" API channel

Signed-off-by: Markus Eckhardt <github@familie-eckhardt.eu>
2023-01-22 12:25:37 +01:00
Frieso Aeschbacher
4927585f25
[dominoswiss] Fix Bridge-Loading with OH3_3 and OH3_4 (#14172)
* Fix Loading of Bridge with OH3.3

Signed-off-by: Frieso Aeschbacher <frieso.aeschbacher@gmail.com>
2023-01-22 10:49:52 +01:00
schmidmuc
2b6803e506
Update README.md (#14254)
URL for HomeConnect consol was wrong
2023-01-22 00:19:08 +01:00
lolodomo
69fe058eaf
[gree] Remove unneeded i18n entry addon.gree.label (#14253)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2023-01-22 00:17:21 +01:00
Cody Cutrer
00c10e1015
[mqtt.homeassistant] add support for Number and Select components (#14230)
* [mqtt.homeassistant] add support for Select component

closes #13603

Signed-off-by: Cody Cutrer <cody@cutrer.us>
2023-01-21 15:02:49 +01:00
J-N-K
89d0689e36
fix i18n for bindings (#14235)
Also-By: Jacob Laursen <jacob-github@vindvejr.dk>
Signed-off-by: Jan N. Klug <github@klug.nrw>
2023-01-21 12:14:51 +01:00
mlobstein
b898bac832
Publish ALLOFF event for use in source rules (#14248)
Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
2023-01-21 11:16:36 +01:00
Cody Cutrer
e0adc8da02
[mqtt] fix thread concurrency issue with type provider (#14229)
Signed-off-by: Cody Cutrer <cody@cutrer.us>
2023-01-21 09:59:37 +01:00
lsiepel
dd790741a0
[jeelink] Fixed wrong TX22 rain value (#14224)
* Divide instead of multiply
* Remove apache.commons

Signed-off-by: lsiepel <leosiepel@gmail.com>
2023-01-21 09:50:09 +01:00
J-N-K
598a285adf
Fix build after core changes (#14027)
Signed-off-by: Jan N. Klug <github@klug.nrw>
2023-01-20 14:57:42 +01:00
Hilbrand Bouwkamp
bd23bcc87d
[unifi] Various stability improvements (#14249)
* [unifi] Various stability improvements

- Fixed bug, causing nullpointer, in devices not reporting voltage/ampere values on PoE ports.
- Added some null checks to avoid having null pointer exceptions.
- Handled timeout exception that is in ExecutionException.
- Improved handling case where server returns data, but it's not from the api, and therefor can't be parsed.
- Improved adding additional text to the error messages by adding the reported exception message too.

Signed-off-by: Hilbrand Bouwkamp <hilbrand@h72.nl>
2023-01-20 13:12:57 +01:00
Christoph Weitkamp
a78db1feb2
[rrd4j] Avoid IAE thrown if e.g. invalid start/end time given (#14238)
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2023-01-20 11:58:47 +01:00
Florian Hotze
80094b5e9d
[influxdb] Add docs for usage of self-signed certs (#14228)
* [influxdb] Add docs for usage of self-signed certs

See
https://community.openhab.org/t/influxdb-persistence-doesnt-work-with-s
sl/35409/10?u=florian-h05.

Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
2023-01-15 23:55:42 +01:00
J-N-K
5f8214f08a
Adapt to core changes (addon.xml) (#13289)
Signed-off-by: Jan N. Klug <github@klug.nrw>
2023-01-15 20:31:42 +01:00
Holger Friedrich
0f272d8523
[knx] Fix javadoc errors (#14174)
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2023-01-14 13:02:31 +01:00
lsiepel
649da669ac
Adjust channel min state (#14219)
Signed-off-by: lsiepel <leosiepel@gmail.com>
2023-01-14 12:43:34 +01:00
Jacob Laursen
f4268c4964
Improve multicast implementation (#14199)
Fixes #14198

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2023-01-14 12:26:38 +01:00
lsiepel
b9bec522ee
[gree] Allow wider temperature range (#14217)
* Fix checkstyle
* Allow wider temp range
* Remaining checkstyle

Signed-off-by: lsiepel <leosiepel@gmail.com>
2023-01-14 12:14:09 +01:00
Gwendal Roulleau
d497defe34
[mimictts] Fix ssml and playing from audiosinks using the audio servlet (#14120)
* [mimictts] Fix ssml and playing from an audiosink using the audio servlet

Fix :
- ssml not working
- add an option to store the audio on a file before sending it to openhab. It enables audiosink based on the audio servlet to play the sound (the servlet requires the getClonedStream method, unavailable with a pure streaming approach). The files are stored in the user data directory and deleted as soon as possible (stream close detection).
- fix error with voice name not encoded

Signed-off-by: Gwendal Roulleau <gwendal.roulleau@gmail.com>
2023-01-14 09:39:59 +01:00
Cody Cutrer
0de87b15d2
[homekit] Implement IrrigationSystem Accessory (#14209)
* [homekit] Implement IrrigationSystem

Fairly trivial now, except that a ServiceLabelService has to be added
to the accessory.

Signed-off-by: Cody Cutrer <cody@cutrer.us>
2023-01-13 20:25:06 +01:00
Holger Friedrich
ee54882841
Fix SAT warnings (#14214)
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2023-01-13 19:10:59 +01:00
maniac103
4dd60bb442
[homematic] Fix updating enum config values (#14213)
When changing an enum value in the configuration, we used the wrong data
type: while the value in the OH config is a string (the 'option value' -
see HomematicThingHandler::getValueForConfiguration), internally we use
an integer (the 'option index'), so we have to do the option value ->
option index conversion when applying the new value.
This especially was a problem for HM-MOD-EM-8 devices, which check the
CHANNEL_FUNCTION enum value as part of their initialization routine.
When disabling/enabling them after changing the CHANNEL_FUNCTION enum
value, they went offline, because their initialization failed due to a
NumberFormatException (via
HomematicThingHandler::doInitializeInBackground ->
HmChannel::checkForChannelFunctionChange ->
HmChannel::getCurrentFunction)

Signed-off-by: Danny Baumann <dannybaumann@web.de>
2023-01-13 16:25:26 +01:00
Holger Friedrich
4e44de3894
Fix SAT warnings (#14202)
* Fix SAT warnings

- checkstyle.ModifierOrderCheck
- checkstyle.OneStatementPerLineCheck
- checkstyle.NeedBracesCheck
- PMD.UseStandardCharsets
- PMD.UseCollectionIsEmpty
- PMD.UnusedLocalVariable
- PMD.SimplifyBooleanReturns where reasonable, suppress where
readability is better without change
- PMD.SimplifyBooleanExpressions

* Include StandardCharsets

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2023-01-13 08:11:06 +01:00
J-N-K
6aa0dcbc70
[scripting] Adjust to core changes (#14043)
* [scripting] Adjust to core changes

Signed-off-by: Jan N. Klug <github@klug.nrw>
2023-01-12 22:23:20 +01:00
lsiepel
bbc885725f
[bsblan] Minor SAT fixes (#14138)
* Minor SAT fixes

Signed-off-by: lsiepel <leosiepel@gmail.com>
2023-01-12 21:07:31 +01:00
Cody Cutrer
32909fa237
[homekit] Add support for TV accessory (#14055)
* [homekit] TV accessory

Now possible since we support multiple secondary services. Just need to explicitly
declare that InputSource is a linked service to a Television, not just a secondary
service.

Note also that since TV and related services have so many mandatary characteristics
that are often static, I introduced a new way to declare characteristics -
via metadata on the service's item. Honestly, I feel like it's a lot cleaner to
have a factory create the mandatory characteristics the same way as the optional
characteristics, and then construct the service ourselves instead of basing the
service on the specific accessory interface. But this commit is already big enough,
I didn't want to go refactoring _all_ of the accessories to do it that way just
yet. This is why I have "unused" metadata characteristic factory methods for
AirQuality, HeaterCooler, and Thermostat - I started to make those configurable
via metadata, then realized they were mandatory characteristics that couldn't
be found from metadata via the current infrastructure.

Signed-off-by: Cody Cutrer <cody@cutrer.us>
2023-01-12 15:29:50 +01:00
Keith T. Garner
03a67d25b1
[bondhome] Add raw speed channel (#14155)
* [bondhome] add raw speed channel

* Add a channel for the raw speed value from the bond api

Signed-off-by: Keith T. Garner <kgarner@kgarner.com>
2023-01-12 07:42:15 +01:00
maniac103
f16f524877
[gardena] Fix server ping timeout logic (#14203)
On server timeouts, it's possible for multiple minutes to elapse
between receiving the last pong on the old connection and attempting to
send the next ping on the new connection. If that time span exceeded 5
minutes, the binding went into a minutely reconnection loop, because it
never attempted to send a ping anymore, which led to lastPong not being
updated anymore.
To fix this, replace the timing dependent timestamp handling by a simple
counter which counts how many consecutive ping attempts didn't receive
an answer, and closing the connection after 5 unsuccessful ping
attempts. That new counter is now also reset whenever the connection is
restarted.

Fixes #14188

Signed-off-by: Danny Baumann <dannybaumann@web.de>
2023-01-11 15:05:19 +01:00
Mark Hilbush
858ff4b244
[squeezebox] Add new channels for additional tags (#14201)
* New channels for additional tags

Signed-off-by: Mark Hilbush <mark@hilbush.com>
2023-01-11 13:56:40 +01:00
lsiepel
38cb030cad
Add accuracy moon tests (#14182)
Signed-off-by: lsiepel <leosiepel@gmail.com>
2023-01-11 08:58:13 +01:00
Mark Hilbush
65816aafd7
Fix for NPE when playerState is null (#14191)
Signed-off-by: Mark Hilbush <mark@hilbush.com>
2023-01-10 15:02:40 +01:00
Andrew Fiddian-Green
72786df044
[velux] tweak read me (#14196)
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2023-01-10 08:14:54 +01:00
Holger Friedrich
0304d74f87
Fix Markdown warnings in README.md (#14187)
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2023-01-09 17:51:12 +01:00
Mark Hilbush
3ba37b431a
[ecobee] Fix issue with UTC and local dates (#14170)
* Correctly handle UTC and local date/times
* Eliminate use of Date class

Signed-off-by: Mark Hilbush <mark@hilbush.com>
2023-01-08 23:35:01 +01:00
Gwendal Roulleau
2c2097d646
[doorbird] Add audiosink (#14122)
* [doorbird] Add audiosink

Add audiosink capability to a doorbird thing

Signed-off-by: Gwendal Roulleau <gwendal.roulleau@gmail.com>
2023-01-08 10:57:04 +01:00
Marcel
c24ec070bc
[miio] add support Xiaomi Smart Air Purifier 4 Pro zhimi.airp.vb4 (#13941)
* [miio] add support Xiaomi Smart Air Purifier 4 Pro zhimi.airp.vb4

Adding support for the following models:
* Xiaomi Smart Air Purifier 4 Pro (modelId: zhimi.airp.vb4)
close

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2023-01-07 11:19:12 +01:00
lsiepel
de8d78403e
[chromecast] Fix thing go offline after stop command (#14158)
* Restructure commander
* Improve thing status handling on error

Signed-off-by: lsiepel <leosiepel@gmail.com>
2023-01-07 09:51:20 +01:00
Jacob Laursen
576be1455c
Fix incorrectly formatted license headers (#14171)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2023-01-07 00:01:27 +01:00
Jacob Laursen
896ea13c9e
Fix namespaces for tests (#14156)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2023-01-06 18:56:53 +01:00
lolodomo
d5dd3c9ea3
[sonos] Correct identification of tuneIn started from Alexa (#14164)
Contained URL is now HTTPS instead of HTTP before.

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2023-01-06 16:28:38 +01:00
Cody Cutrer
7608c41484
[homekit] properly expose services from dummy accessories (#14169)
Signed-off-by: Cody Cutrer <cody@cutrer.us>
2023-01-06 16:25:42 +01:00
Mark Hilbush
5655303cf1
Make more channels advanced (#14168)
Signed-off-by: Mark Hilbush <mark@hilbush.com>
2023-01-06 12:49:30 +01:00
Jacob Laursen
4dd6d3a8a2
Update license headers to 2023 (#14154)
* Update copyright year in configuration
* Update license headers

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2023-01-06 09:49:54 +01:00
Doug Culnane
c7fa49bcda
[renault] Add new channels 'batterystatusupdated' and 'locked' (#14076)
Signed-off-by: Doug Culnane <doug@culnane.net>
2023-01-05 23:55:38 +01:00
lsiepel
cb460657eb
[bigassfan] Null annotations (#13903)
* Null annotations and some refactoring
* Fix synchronized block
* Fix remaining warnings

Signed-off-by: Leo Siepel <leosiepel@gmail.com>
2023-01-05 23:08:07 +01:00
Florian Hotze
b91fc94bdb
[jsscripting] Update docs for code caching (#14166)
... and fix the table of contents.

Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
2023-01-05 23:04:07 +01:00
Florian Hotze
1548f16f5e
[hueemulation] Fix tests after core change (#14161)
Fixes #14153.
This fixes the Hue Emulation tests (and in consequence the full addons build) after core change https://github.com/openhab/openhab-core/pull/3298.

Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
2023-01-05 13:28:28 +01:00
Tim Harper
9c5ea29ae0
[homekit] Add additional troubleshooting steps for homekit (#14046)
* [homekit] Add additional troubleshooting steps for homekit

Signed-off-by: Tim Harper <timcharper@gmail.com>
2023-01-04 20:32:29 +01:00
Andrew Fiddian-Green
31fd91129e
[neohub] Recover faster if NeoHub produces empty responses (#13889)
* [neohub] resolve issue #13829
* [neohub] harmonise exceptions and logging
* [neohub] improve field name, and log messages

Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2023-01-04 07:26:22 +01:00
mlobstein
de6ef7e8ae
Implement missing 'Light' device type (#14150)
Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
2023-01-04 07:25:14 +01:00
Cody Cutrer
47f5489d70
[homekit] Improve multiple instance management (#14016)
* [homekit] improve instance management

 * allow addressing individual instances for most console commands
 * don't restart all instances if simply adding/removing instances on
   config change
 * clear stored info when removing instances

* [homekit] reset instance identity when clearing pairings
* [homekit] log the actual interface we looked up

Signed-off-by: Cody Cutrer <cody@cutrer.us>
2023-01-03 23:10:42 +01:00
Florian Hotze
f082df923f
[jsscripting] Fix regressions from #14135 & Log stack on IllegalArgumentException (#14142)
* [jsscripting] Fix bundling of global script & regression from #14135

Fixes the regression from https://github.com/openhab/openhab-addons/pull/14135#issuecomment-1369231126.

While working on this, I also noticed that the cache openhab-js does not work because of wrong webpack commandline args in the pom (wrong entrypoint).

* [jsscripting] Enable stack logging for IllegalArgumentExceptions
* [jsscripting] Upgrade openhab-js to 3.2.4
* [jsscripting] Update README for recent PR

Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
2023-01-03 20:45:23 +01:00
Johannes Velde
7c3fbfdde3
fix typo (#14146)
Signed-off-by: veldhaenchen <jo.velde@gmx.de>
2023-01-03 18:58:19 +01:00
Holger Friedrich
d1634fbc18
[ism8] Fix SAT warnings (#14141)
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2023-01-03 08:47:51 +01:00
Moritz 'Morty' Strübe
8fcfa0438b
[homematic] Add hints about using docker (#14121)
Signed-off-by: Moritz 'Morty' Strübe <morty@gmx.net>
2023-01-02 20:51:22 +01:00
Florian Hotze
3c669ad77a
[jsscripting] Cache openhab-js injection to improve performance (#14135)
* [jsscripting] Extend comments for wraprequire
* [jsscripting] Enable openhab-js caching to improve performance

On my dev system (which I guess is much more powerful than most openHAB servers), cached openhab-js injection takes 100-200 ms.
openhab-js injection from file system takes about 1000 ms.

* [jsscripting] Update configuration language
* [jsscripting] Upgrade openhab-js version to 3.2.1 for required webpack changes

Documentation updates will follow in another PR to keep this one clean.

Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
2023-01-02 20:41:35 +01:00
lsiepel
12bd7c99c3
[chromecast] Improve documentation (#14136)
Signed-off-by: lsiepel <leosiepel@gmail.com>
2023-01-02 19:53:42 +01:00
Gaël L'hopital
c7275c8946
Pushing PR #14123 to OH4 (#14140)
Signed-off-by: clinique <gael@lhopital.org>
2023-01-02 19:06:24 +01:00
Norbert Klasen
ce6b331518
Update URL to Loxwiki (#14131)
Loxwiki has moved into the Atlassian cloud: https://loxwiki.atlassian.net/wiki/spaces/LOX/pages/1622769957/Planung+bersiedelung+zu+loxwiki.atlassian.net
2023-01-01 21:11:42 +01:00
openhab-bot
ba68881995
New Crowdin updates (#14130)
* New translations deconz.properties (Italian)
* New translations atlona.properties (Italian)
2023-01-01 14:50:12 +01:00
Kai Kreuzer
f588c07f3a
Synchronize access to account to avoid concurrency issues (#14128)
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2023-01-01 12:02:15 +01:00
Daniel Rosengarten
377dc86452
[velbus] Add modules VMBKP, VMBIN, VMB4PB (#13939)
* [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.

Signed-off-by: Daniel Rosengarten <github@praetorians.be>

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

Co-authored-by: cedricboon <cedric.boon@hotmail.com>
Signed-off-by: Daniel Rosengarten <github@praetorians.be>

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

Co-authored-by: cedricboon <cedric.boon@hotmail.com>
Signed-off-by: Daniel Rosengarten <github@praetorians.be>

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

Co-authored-by: cedricboon <cedric.boon@hotmail.com>
Signed-off-by: Daniel Rosengarten <github@praetorians.be>

* 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.

Signed-off-by: Daniel Rosengarten <github@praetorians.be>

* Fix redundant superinterface DiscoveryService

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

Signed-off-by: Daniel Rosengarten <github@praetorians.be>

* Fix bug #11521

Typo in the Counter Channel name for VMB7IN.

Signed-off-by: Daniel Rosengarten <github@praetorians.be>

* [velbus] Add VMBELPIR module

Add the module VMBELPIR

Signed-off-by: Daniel Rosengarten <github@praetorians.be>

* [velbus] VMBELPIR added to discovery service

Forgot to add the module VMBELPIR in the discovery service.

Signed-off-by: Daniel Rosengarten <github@praetorians.be>

* [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>

* [velbus] PR modifications

Modifications asked in PR review.

Signed-off-by: Daniel Rosengarten <github@praetorians.be>

* [velbus] PR modifications 2

Modifications asked in PR review 2.

Signed-off-by: Daniel Rosengarten <github@praetorians.be>

* [velbus] Add modules VMBKP, VMBIN, VMB4PB

New functionnality : Add the support of the modules VMBKP, VMBIN, VMB4PB

Signed-off-by: Daniel Rosengarten <github@praetorians.be>

* [velbus] Fix code style error

Fix code style error in VelbusSensorWithAlarmClockHandler.java

Signed-off-by: Daniel Rosengarten <github@praetorians.be>

Signed-off-by: Daniel Rosengarten <github@praetorians.be>
Co-authored-by: cedricboon <cedric.boon@hotmail.com>
2022-12-31 17:25:03 +01:00
Marcel
d0d3005b34
[miio] add support ROIDMI EVA - roidmi.vacuum.v66 (#13940)
Adding support for the following models:
* ROIDMI EVA (modelId: roidmi.vacuum.v66)

close #13813

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2022-12-31 17:15:16 +01:00
Jacob Laursen
a6e4ab130d
Simplify name to deCONZ (#14125)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-12-31 16:42:22 +01:00
lsiepel
71ef3d9f4e
[astro] Fix returning wrong sun phase name (#14078)
* Add tests and fix very minor bug
* Correct wrong test
* Update tests and fix sorting
* Some checkstyle improvements

Signed-off-by: lsiepel <leosiepel@gmail.com>
2022-12-31 15:04:06 +01:00
Jacob Laursen
470ada241a
[miele] Add categories and semantic tags (#14086)
* Add categories and tags

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-12-31 15:01:11 +01:00
Hilbrand Bouwkamp
202a8647e0
[unifi] Fix bug with combination of other data/ports (#14060)
- It seems to throw an exception when updating internal cache. It can happen if you have a switch that has both PoE ports and other PoE ports or data in the port override.
- Fixed logout, should be POST instead of GET.
- Fixed typo in channel-type.config.unifi.poeEnable.mode.option.pasv24 should be without appending v.
- Removed compiler warnings.

Signed-off-by: Hilbrand Bouwkamp <hilbrand@h72.nl>
2022-12-31 11:03:56 +01:00
Kai Kreuzer
2d5402656e
[tesla] Fix discovery of Tesla vehicles from account (#14070)
* Fix discovery of Tesla vehicles from account

Signed-off-by: Kai Kreuzer <kai@openhab.org>
2022-12-31 10:22:39 +01:00
mlobstein
139aeed3ec
[atlona] Add support for AT-PRO3HD44M (#14080)
* Add support for AT-PRO3HD44M

Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
2022-12-31 10:18:03 +01:00
Florian Hotze
23cfec7684
[jsscripting] Improve performance & reduce memory usage (#14113)
* [jsscripting] Share org.graalvm.polyglot.Engine across all OpenhabGraalJSScriptEngine instances

See https://github.com/oracle/graaljs/issues/121#issuecomment-880056648, it is not required to have one engine per GraalJSScriptEngine.

This might improve performance a bit on less powerful systems (Raspberry Pi) and decreases heap usage:
With 5 GraalJS UI scripts, heap usage is now below 100 MB. Before this change, it was over 100 MB.

* [jsscripting] Extend debug logging
* [jsscripting] Cache `@jsscripting-globals.js` across all engines

Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
2022-12-30 23:34:35 +01:00
Florian Hotze
931f004ab8
[jsscripting] Upgrade to ECMAScript 2022 & Dependency improvements (#14093)
* [jsscripting] Remove asm from dependencies in pom

GraalJS >= 20.3.0 doesn't require org.ow2.asm as compile dependency anymore, see https://mvnrepository.com/artifact/org.graalvm.js/js/20.3.0.

* [jsscripting] Remove dependency org.graalvm.js/js-launcher as it is not required

js-launcher is GraalVM's JavaScript command line interpreter and not required in the addon.
See https://www.graalvm.org/22.1/reference-manual/js/RunOnJDK/.

* [jsscripting] Add missing com.ibm.icu dependency

GraalJS changelog says that it is not required for GraalJS >= 22.0.0 (see 685e5873af/CHANGELOG.md (version-2200)).
But GraalJS 22.3.0 attempts to load classes from it during runtime.

* [jsscripting] Update GraalJS engine options

Compat, as its additional functionality is not used by openhab-js and user code is not expected to use it.

* [jsscripting] Remove com.ibm.icu/icu4j dependency
* [jsscripting] Don't disable Nashorn compat mode as openhab-js requires it for accessors

Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
2022-12-30 23:04:43 +01:00
Michael Geramb
256bc81feb
[knx] add color channel to knx binding docu (#14114)
add color channel to knx binding docu
2022-12-30 19:46:58 +01:00
lsiepel
5881cf0cbe
[bosesoundtouch] Fix regression and add tests (#14097)
* Fix regression and add tests

Signed-off-by: lsiepel <leosiepel@gmail.com>
2022-12-30 13:58:27 +01:00
jimtng
8904f92e7b
Fix MQTT shutdownRetain default value (#14099)
Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
2022-12-30 09:34:13 +01:00
mlobstein
dd8eb4701e
[bondhome] Fix fatal Null Pointer errors (#14103)
* Fix fatal Null Pointer errors

Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
2022-12-30 09:23:45 +01:00
Wouter Born
dbaf081daa
[groovyscripting] Update Groovy to 4.0.7 (#14115)
Updates Groovy from 3.0.13 to 4.0.7.

For Groovy 4.0 release notes, see:

https://groovy-lang.org/releasenotes/groovy-4.0.html#releasenotes

Signed-off-by: Wouter Born <github@maindrain.net>
2022-12-29 21:59:12 +01:00
Florian Hotze
895defda8e
[jsscripting] Use application/javascript as MIME type (#14096)
Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
2022-12-29 21:01:22 +01:00
Jacob Laursen
93cbd7e647
[influxdb] Upgrade Gson to 2.9.1 (#14090)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-12-29 20:59:10 +01:00
Jacob Laursen
ddd58cf4b0
[dbquery] Upgrade Gson to 2.9.1 (#14089)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-12-29 20:58:24 +01:00
Jacob Laursen
1d54e9c078
[bluetooth.generic] Upgrade Gson to 2.9.1 (#14092)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-12-29 20:57:41 +01:00
Jacob Laursen
f8610bddb6
[watsonstt] Upgrade Gson to 2.9.1 (#14091)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-12-29 20:57:03 +01:00
Jacob Laursen
68ecfa724e
Rename handler to fix case and make consistent with corresponding channel selector (#14095)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-12-29 20:07:31 +01:00
lsiepel
15c610032e
[daikin] Add support for Alira X (#14108)
* Add support for Alira X
* Fix checkstyle
* Move changes AirbaseControlInfo =>  ControlInfo
* Send seperated values conditionally

Signed-off-by: lsiepel <leosiepel@gmail.com>
2022-12-29 18:41:17 +01:00
jimtng
f87ff2f9ce
[chromecast] Fix constant disconnections (#14105)
When ipv6 is configured on the network, Chromecast devices will randomly
return ipv4 and/or multiple ipv6 addresses during mdns discovery.
This would trigger a thingUpdated call which will call dispose/initialize,
causing the thing to go offline/online.

Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
2022-12-29 11:52:25 +01:00
openhab-bot
3bf6f5219b
New translations danfossairunit.properties (Danish) (#14098) 2022-12-29 00:59:57 +01:00
lsiepel
1e7ec9bde9
[bondhome] compile warnings and sat (#13986)
* fix some compile warnings and checkstyle
* replace deprecated gson calls
* Refactor config init

Signed-off-by: lsiepel <leosiepel@gmail.com>
2022-12-28 19:40:19 +01:00
Jacob Laursen
3a4a387931
Remove deprecated channel (#14030)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-12-28 19:20:29 +01:00
openhab-bot
fa69340f34
New translations hdpowerview.properties (Danish) (#14079) 2022-12-28 01:03:31 +01:00
lsiepel
697373801b
[bluetooth.daikinmadoka] null annotations (#13975)
* null annotations - sat warnings
* refactor handleResponses

Signed-off-by: Leo Siepel <leosiepel@gmail.com>
2022-12-27 17:12:58 +01:00
Mike Major
a4a8d5d85f
[hueemulation] Fix for Alexa failing to discover all devices. (#13923)
* Fix for Alexa failing to discover all devices.

Signed-off-by: Mike Major <mike_j_major@hotmail.com>
2022-12-27 16:58:37 +01:00
Jacob Laursen
436e7c39ba
Remove deprecated channels (#14033)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-12-27 16:50:38 +01:00
lsiepel
1df693a6e9
[bluetooth.am43] null annotations (#13972)
* null annotations forbidden package
* improve createChecksum
* spotless + typo

Signed-off-by: lsiepel <leosiepel@gmail.com>
2022-12-27 16:27:19 +01:00
lsiepel
8b1d0fccef
null annotations - checkstyle (#13979)
Signed-off-by: Leo Siepel <leosiepel@gmail.com>
2022-12-27 16:16:55 +01:00
lsiepel
df6454e374
minro checkstyle (#13977)
Signed-off-by: Leo Siepel <leosiepel@gmail.com>
2022-12-27 16:13:12 +01:00
Jiri Kraus
9687c3da0a
[velux] Updated Discovery instructions for scenes and actuators (#14009)
* Updated Discovery instructions for scenes and actuators

Updated Discovery instructions as after KLF200 is auto discovered and configured discovery of scenes and actuators need to be manually triggered.

* @jirikraus Updated Discovery instructions for scenes and actuators

Formatting update to address comment from @andrewfg.
2022-12-27 16:08:12 +01:00
lsiepel
35e930c12f
[astro] Added moon phase precision (#14067)
* add more precision to MoonPhase.Age

Signed-off-by: lsiepel <leosiepel@gmail.com>
2022-12-27 12:56:43 +01:00
mlobstein
4a982957c3
[nuvo] Auto update source channel for grouped zones (#14012)
* Auto update source channel for grouped zones

Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
2022-12-27 12:54:26 +01:00
Cody Cutrer
e39e69144b
[homekit] support Rollershutter items for HoldPosition (#14045)
* [homekit] support Rollershutter items for HoldPosition

just send STOP to them

* [homekit] log a warning for incompatible HoldPosition items

Signed-off-by: Cody Cutrer <cody@cutrer.us>
2022-12-27 11:55:12 +01:00
Jacob Laursen
0b59be62b6
Skip loading/migrating items with invalid name (#14054)
Fixes #14053

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-12-27 11:41:59 +01:00
Holger Friedrich
e7938ae357
[rrd4j] Improve logging of exceptions thrown by getDB (#14068)
Add exception message for better identification of root cause.

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2022-12-27 10:55:15 +01:00
Tim Harper
e5f30b1f18
[tplinksmarthome] Document sending raw commands to devices (#14062)
Signed-off-by: Tim Harper <timcharper@gmail.com>

Signed-off-by: Tim Harper <timcharper@gmail.com>
2022-12-27 10:25:28 +01:00
lsiepel
1c5b794145
[airvisualnode] Add null annotations (#13895)
* Add null annotation

Signed-off-by: Leo Siepel <leosiepel@gmail.com>
2022-12-26 17:00:53 +01:00
Wouter Born
88c0b720c6
[jsscriptingnashorn] JavaScript Scripting Nashorn Automation (#14013)
* [jsscriptingnashorn] JavaScript Scripting Nashorn Automation

This add-on allows you to use your older JavaScript (ECMAScript 5.1) rules on newer Java versions until they are migrated to JavaScript (ECMAScript 2021+).
The add-on uses a standalone [Nashorn Engine](https://github.com/openjdk/nashorn) which was part of Java until it was removed in Java 15.

* Update parent to 3.4.0-SNAPSHOT and nashorn-core to 15.4

For the Nashorn changelog, see:

https://github.com/openjdk/nashorn/blob/main/CHANGELOG.md

* Update parent to 4.0.0-SNAPSHOT
* Remove removeUnsupportedNashornArgs
* Update scriptTypes
* Add CODEOWNERS entry
* Recycle ScriptScopeOSGiTest.java

It got removed in openhab/openhab-core#2994

* Remove redundant new line from pom.xml

Signed-off-by: Wouter Born <github@maindrain.net>
2022-12-26 15:27:03 +01:00
Hilbrand Bouwkamp
605574b600
Set openHAB to correct version in binding skeleton scripts. (#14061)
Signed-off-by: Hilbrand Bouwkamp <hilbrand@h72.nl>
2022-12-26 10:17:42 +01:00
Jørgen Austvik
6cd59e4c94
[nanoleaf] More robust caching of layout (#13998)
* [nanoleaf] More robust caching of layout

This is a bugfix/enhancement to make sure the caching of the layout
(to save it from being recalculated) works better:
- Only save previous layout if indeed painted
- Only save layout from the layout update, not the display state
- Recalculate anyway if current state is null

* Bugfix: Update colors

When Stefan runs, the getBridge() returns null, when Jørgen runs, is doesn't. But it isn't needed, because we
are already in the handler, so just call own methods.

Improvement: Less draws when updating colors

Instead of drawing the picture for each panel (which gave a cool effect), draw only once when we have parsed all color data.

Signed-off-by: Jørgen Austvik <jaustvik@acm.org>
2022-12-25 20:56:04 +01:00
Holger Friedrich
0357049f9f
[knx] Fix SAT warnings (#14052)
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2022-12-24 12:11:28 +01:00
Cody Cutrer
f619798f81
[lifx] Handle and provide QuantityType for color-temperature-abs channel (#14025)
See https://github.com/openhab/openhab-core/pull/3129

Signed-off-by: Cody Cutrer <cody@cutrer.us>
2022-12-24 00:00:57 +01:00
Cody Cutrer
b62e1455ff
[homekit] Allow configuring secondary services as members of a group (#13879)
* [homekit] allow configuring secondary services as members of a group

Required introduction of AccessoryGroup to represent the base
AccessoryInformationService for ease of configuring multiple of the
same service.

This is also "breaking" in that someone who previously had HomeKit
accessories nested directly inside of a group that was itself a
HomeKit accessory will now have those items grouped within the Home
app.

* [homekit] combine multiple readme sections on complex accessories

Signed-off-by: Cody Cutrer <cody@cutrer.us>
2022-12-23 23:41:44 +01:00
Wouter Born
b1d4c40e20
Remove JavaScript Transformation pom.xml (#14048)
Everything except for this pom.xml got removed in openhab/openhab-addons#13276

Signed-off-by: Wouter Born <github@maindrain.net>
2022-12-23 14:10:58 +01:00
Cody Cutrer
7c2d5dcca5
[homekit] implement List-Pairings method (#13982)
* [homekit] implement List-Pairings method
* [homekit] fix listUsers() method
* [homekit] bump HAP-java to 2.0.5

refs #13949

Signed-off-by: Cody Cutrer <cody@cutrer.us>
2022-12-23 00:16:55 +01:00
Wouter Born
fbf302e553
Use HTTPS in pom.xml where possible (#14044)
Signed-off-by: Wouter Born <github@maindrain.net>
2022-12-23 00:13:17 +01:00
Andreas Berger
14c8b3972c
[fineoffsetweatherstation] Fix QuantityType for rain-rate (#14039)
A community member realized, that the used unit for rain-rate was wrong (https://community.openhab.org/t/fine-offset-weather-station-binding-discussion/134167/153)
Rain rate is measured in mm/h and so it is not a `VolumetricFlowRate` but a `Speed`.

Additionally, I added some details to the doc.

Signed-off-by: Andreas Berger <andreas@berger-freelancer.com>
2022-12-22 21:17:07 +01:00
Wouter Born
af16d52e9b
Fix "Hello, World!" examples in automation documentation (#14041)
The documentation states incorrectly that "Hello, World!" is printed when instead "Hello world!" is printed.

Signed-off-by: Wouter Born <github@maindrain.net>
2022-12-22 18:21:13 +01:00
lolodomo
7195825a8a
[keba] Fix unit in example for power channel (#14031)
Related to #12529 

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-12-22 18:17:15 +01:00
lsiepel
16fcd5d729
nul;l annotations and codestyle (#13980)
Signed-off-by: lsiepel <leosiepel@gmail.com>
2022-12-22 09:04:50 +01:00
lsiepel
fb31c14aff
[bluetooth.govee] null annotations (#13978)
* null annotations and checkstyle
* Fix more warnings

Signed-off-by: lsiepel <leosiepel@gmail.com>
2022-12-22 08:58:12 +01:00
Cody Cutrer
a079603aab
[homekit] allow configuring min/max light level (#14034)
since the default is weirdly 0.0001, yet my sensors can report a
straight 0.

Signed-off-by: Cody Cutrer <cody@cutrer.us>
2022-12-22 00:37:26 +01:00
Cody Cutrer
462dca8040
[homekit] update AuthInfo objects when blockUserDeletion changes (#14017)
* [homekit] update AuthInfo objects when blockUserDeletion changes

Signed-off-by: Cody Cutrer <cody@cutrer.us>

* [homekit] general cleanup of redundant method call and unused local vars

Signed-off-by: Cody Cutrer <cody@cutrer.us>

Signed-off-by: Cody Cutrer <cody@cutrer.us>
2022-12-22 00:31:05 +01:00
Cody Cutrer
672b60b1d9
[nanoleaf] Handle and provide QuantityType for color-temperature-abs channel (#14026)
* [nanoleaf] handle and provide QuantityType for color-temperature-abs channel

see https://github.com/openhab/openhab-core/pull/3129

Signed-off-by: Cody Cutrer <cody@cutrer.us>
2022-12-21 22:43:46 +01:00
Cody Cutrer
df8e0bb15b
[dali] tweak color temperature abs QuantityType fix (#14029)
adds an example of usage of the channel to the README, and
simplifies one method call

Signed-off-by: Cody Cutrer <cody@cutrer.us>
2022-12-21 20:21:53 +01:00
Christoph Weitkamp
a0c2c76fd0
[hue] Allow handling of QuantityType for color temperature channel (#14024)
* Allow handling of QuantityType for color temperature channel
* Fixed log messages and reduce log level.

Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2022-12-21 20:10:21 +01:00
Christoph Weitkamp
528140d7ad
[darksky] Remove DarkSky binding due to EOL of their API (#13037)
* Remove DarkSky binding due to EOL of their API

Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2022-12-21 17:24:57 +01:00
Cody Cutrer
324483d8e9
[dali] handle and provide QuantityType for color-temperature-abs channel (#14021)
see openhab/openhab-core#3129

Signed-off-by: Cody Cutrer <cody@cutrer.us>
2022-12-20 21:15:10 +01:00
Florian Hotze
4d98cca7eb
[jsscripting] Minor fixes & improvements (#13960)
* [jsscripting] Correct wrong `createScriptEngine` implementation
* [jsscripting] Also unlock lock on unexpected exceptions (rethrow them)
* [jsscripting] Call super methods from their overrides
* [jsscripting] Move superclass call of `beforeInvocation`

Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
2022-12-20 09:15:43 +01:00
lsiepel
0b1eb2c03b
null annotations (#13976)
Signed-off-by: Leo Siepel <leosiepel@gmail.com>
2022-12-20 00:06:52 +01:00
lsiepel
1519cb4b1c
nul annotations, checkstyle, forbidden packagel (#13981)
Signed-off-by: lsiepel <leosiepel@gmail.com>
2022-12-20 00:04:43 +01:00
lsiepel
40b8b77840
Very minor checkstyle (#13973)
Signed-off-by: Leo Siepel <leosiepel@gmail.com>
2022-12-20 00:01:50 +01:00
Jacob Laursen
127f998a69
Upgrade MySQL Connector/J to 8.0.31 (#13991)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-12-19 23:49:51 +01:00
Holger Friedrich
3bec273910
[rrd4j] Upgrade base library from 3.8.1 to 3.8.2 (#13956)
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2022-12-19 22:58:43 +01:00
Holger Friedrich
3aefefbbb5
[knx] Upgrade Calimero library to release 2.5.1 (#14015)
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2022-12-19 22:49:40 +01:00
J-N-K
9f3b8e1c04
Raise minimum JDK version to 17 (#13276)
Signed-off-by: Jan N. Klug <github@klug.nrw>
2022-12-19 20:39:42 +01:00
J-N-K
4d6d6443ef
fix spotless after release (#14014)
Signed-off-by: Jan N. Klug <github@klug.nrw>
2022-12-19 15:22:17 +01:00
openhab-bot
7993786dc9 [unleash-maven-plugin] Preparation for next development cycle. 2022-12-19 00:55:11 +00:00
Jacob Laursen
c5b68d0248
Fix NullPointerException (#14010)
Fixes #13961

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-12-18 23:22:40 +01:00
Wouter Born
8d65371844
[shelly] Remove broken images (#14007)
See also #13993

Signed-off-by: Wouter Born <github@maindrain.net>
2022-12-18 19:49:42 +01:00
Kai Takac
36137992a5
[jdbc] Update org.xerial/sqlite-jdbc to 3.40.0.0 (#14003)
* [jdbc] Update org.xerial/sqlite-jdbc to 3.40.0.0

Co-authored-by: Jacob Laursen <jacob-github@vindvejr.dk>
Signed-off-by: Kai Takac <kai.takac@gmail.com>
2022-12-18 19:04:43 +01:00
Дилян Палаузов
ef836a15dc
typos: success, successful (#13997) 2022-12-18 14:18:24 +01:00
openhab-bot
6b1354f9ba
New Crowdin updates (#13999)
* New translations iCloud.properties (French)

* New translations openwebnet.properties (Italian)

* New translations plugwise.properties (Dutch)
2022-12-18 14:02:15 +01:00