Commit Graph

4109 Commits

Author SHA1 Message Date
stefan-hoehn
4c93125723
[nanoleaf] add LONG_PRESSED tap detection (#13865)
* [nanoleaf] add LONG_PRESSED tap detection

Signed-off-by: Stefan Höhn <stefan.hoehn@nfon.com>
2022-12-07 05:49:04 +01:00
openhab-bot
35f416da9a
New Crowdin updates (#13863)
* New translations openwebnet.properties (Italian)
* New translations bluetooth.properties (Italian)
* New translations vesync.properties (Italian)
2022-12-06 16:10:01 +01:00
mlobstein
fc529777e4
[vizio] Vizio TV binding - Initial contribution (#13309)
Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
2022-12-06 15:37:54 +01:00
Florian Hotze
a9d4244fd8
[jsscripting] Fix "Error removing engine" context already closed (#13855)
In recent PR #13824, I added closing the context when the engine is closed, but core seems to have problems with that.

It logs: "[ERROR] [ipt.internal.ScriptEngineManagerImpl] - Error removing ScriptEngine
java.lang.IllegalStateException: The Context is already closed."

Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
2022-12-06 13:15:47 +01:00
Sami Salonen
923c0f1db2
[mqtt] Avoid parallel streams with common thread pool to avoid deadlocks (#13621)
To mitigate issue https://github.com/openhab/openhab-core/issues/3125
(common thread pool exhaustion when combining parallel streams with
synchronization or locks)

Signed-off-by: Sami Salonen <ssalonen@gmail.com>
2022-12-06 13:02:45 +01:00
Jacob Laursen
be6bfb0f9b
Use message for HTTP error code when response payload is not valid JSON (#13854)
Fixes #13853

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-12-06 08:45:31 +01:00
Florian Hotze
bf48eccf8c
[jsscripting] Refactor log formatting & Respect toString polyfills (#13844)
* [jsscripting] Refactor log formatting & Respect toString polyfills
* [jsscripting] Catch errors in log formatting & Improve handling of Java obj
* [jsscripting] Update log format failure message

Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
2022-12-05 20:46:17 +01:00
Simon Spielmann
d0b1458e89
Correct item type for state item in readme.md (#13845)
Signed-off-by: Simon Spielmann <simon@MacBook-Pro.fritz.box>
2022-12-05 19:11:52 +01:00
Дилян Палаузов
2a5d6beb64
Typos a/an (#13846) 2022-12-05 18:47:43 +01:00
Florian Hotze
54b2772df4
[jsscripting] Add an alternative MIME type/alias (#13851)
The alternative MIME type text/javascript is also used by Nashorn, therefore we add the same extension as for the main MIME type.
The alias is introduced to simplify the usage in SCRIPT transformation profiles.

* Fix syntax problems in the bndtools file
* Add null check to avoid potential NPE
  In some cases during testing, a NPE occured, this should solve it.

Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
2022-12-05 18:40:15 +01:00
Cody Cutrer
52b7b7981f
[bondhome] Initial contribution (#13459)
* First commit on newly created branch, taking code from c8b8e210dfd23f98526763782eadbca49509baf9
* [bondhome] update snapshot version, and some typos
* [bondhome] Address (most) comments from prior review from #7260
* [bondhome] simplify channels

 * lastUpdate is unnecessary; turn on persistence or add a rule on update if
   you care to keep track of it
 * use a single string command channel for all shoot-and-forget commands, instead
   of multiple switch channels
 * use a rollershutter channel for shades (accepting UP, DOWN, STOP, 0%, and 100%)
 * on all dimmer channels, accept ON and OFF, as well as 0% to imply OFF, instead
   of having to write rules to control ON/OFF state separately.
 * if the dimmer channel exists, prune the corresponding power channel, since
   the dimmer channel is now a pure superset of its functionality
 * overload fan#speed to be ceiling fan or a fireplace's fan, depending on the
   device type
* [bondhome] add bundle to the BOM pom
* [bondhome] clean up BondDeviceHandler a bit

 * there's no need to delay initialization; ThingManager won't
   even attempt to initialize a child thing until its bridge is online
 * Remove some extra initialization checks that can never be false
 * slightly refactor some methods to return early, rather than
   nest a giant `else`
 * remove some info logging that will get triggered in normal usage
* [bondhome] fix bridge discovery

 * Bridge property and config serial number need to be the same name
 * Don't arbitrarily delay the BPUPListener
 * Automatically update the IP if the BPUPListener finds it
 * Provide the new bridge with its discovered IP to avoid an additional
   DNS query
 * Don't get the bridge version after every keep-alive response
* [bondhome] trigger end-device discovery as soon as the bridge comes online
* [bondhome] remove internal binding version
* [bondhome] change addr property to string

Certain values seen in the wild when interpreted as a long are too big for that
storage. Also, the Bond API documentation describes the addr property on a
device to be a string.

OpenHAB already has infrastructure to have things update their
channel definitions when a binding is updated.

* [bondhome] ignore any device that starts with _

In v3 of their API, Bond added a new special entry of __. Because no valid
device id would start with an underscore, ignore everything that starts with an
underscore to fix v3 and maybe futureproof.

* address review comments

mostly adding i18n to error states, and cleaning up error handling of
HTTP requests.

* use builtin translation services

instead of plumbing our own provider through

* use System.nanoTime instead of currentTimeMillis

so that it will be a monotonic clock, not (as) susceptible to the clock
changing

* [bondhome] ignore BPUP messasges that aren't state

In recent firmware, bond is now sending action messages via BPUP as well as state.
This change ignores all messages that aren't state.

* [bondhome] Improve error handling, and remove dummy constants

Just use a single BondException class to communicate any sort of
error from within bond, and avoid throwing, catching, and re-throwing
the same (or slightly modified) exception.

Also remove dummy constants that might give the wrong impression
of the details of your Bond device. Then implement proper null checks,
especially setting a configuration error if key config properties
aren't set on the thing.

* [bondhome] avoid setting device status when bridge just went offline

* address static analysis tool problems

Also-by: Sara Damiano <sdamiano@stroudcenter.org>
Also-by: Keith T. Garner <kgarner@kgarner.com>
Signed-off-by: Cody Cutrer <cody@cutrer.us>
2022-12-05 17:19:35 +01:00
Jacob Laursen
dd8b7c8b65
[jdbc] Fix date filter to be inclusive (Derby) (#13850)
Fixes #9906

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-12-05 17:09:13 +01:00
openhab-bot
93633a9af9
New Crowdin updates (#13848)
* New translations miele.properties (Danish)
* New translations jruby.properties (Italian)
* New translations ecowatt.properties (Italian)
* New translations webexteams.properties (Italian)
2022-12-05 15:56:34 +01:00
M Valla
7ce99b365a
[openwebnet] Add support for Alarm (WHO=5) (#13694)
* [openwebnet] first changes for Alarm support
* [openwebnet] added first version Alarm handler
* [openwebnet] added ownIdTest for Alarm
* [openwebnet] added things def for Alarm and discovery for alarm zone
* [openwebnet] refreshDevice
* [openwebnet] fix text formatting
* [openwebnet] fixes
* [openwebnet] added other alarm channels
* [openwebnet] Alarm: codestyle and null checks
* [openwebnet] updated Alarm examples in README and some cleanup
* [openwebnet] changed zone channel from armed to state, cleaned README

Signed-off-by: Massimo Valla <mvcode00@gmail.com>
2022-12-05 12:57:25 +01:00
pali
590b2cb4f7
[lifx] Set tagged flag accordingly for unicast and broadcast messages (#13744)
* Set tagged flag accordingly
* Update packets

Also-by: Wouter Born <github@maindrain.net>
Signed-off-by: Pauli Anttila <pauli.anttila@gmail.com>
2022-12-05 10:00:10 +01:00
Markus Michels
8f972362c3
[shelly] Plus 1/1PM Add-On support; fix roller pos on open/close state (#13520)
* Added #13493 Plus 1/1PM addon support; Fixed #13515 pos for roller in
open/close state; various null warnings removed; README updated

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

* digitalInput, analogInput and voltage added for Add-On; README updated

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

* shelly2-roller re-added (wrong assumption that Shelly 2 doesn't support
roller mode, because it has no power meter)

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

* Initialization for Californium 2.7.3 fixed (no multicast packets where
received)

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

* Analogous input support for Plus Addon changed; Allterco made a format
change in the beta firmware

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

* changes applied

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

* README updated; Shelly Plus addon handling adjusted to latest firmware
(before was beta)

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

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

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

* fix JSON for Shelly1 - ext_switch_enable is a boolean, not an int

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

Signed-off-by: Markus Michels <markus7017@gmail.com>
Signed-off-by: markus7017 <markus7017@gmail.com>
Signed-off-by: Fabian Wolter <github@fabian-wolter.de>
Co-authored-by: Fabian Wolter <github@fabian-wolter.de>
2022-12-05 08:51:31 +01:00
Cody Cutrer
2382fadaaa
[jrubyscripting] Implement dependency tracking (#13810)
* [jrubyscripting] implement dependency tracking

watchers had to be refactored similar to jsscripting.
it supports watching any directory referenced from RUBYLIB,
as well as the gem home. it properly excludes lib and gem home
(as well as other gem homes if you have multiple jruby versions
installed) from loading as regular scripts.

this is a breaking change if you don't have RUBYLIB explicitly
configured, and you are using the old default directory.

it's expected that the detection of what files and gems any
given script uses will be self-identified by the script, presumably
by the helper library.

JRubyScriptEngineConfiguration was largely refactored as part of this.
 * CONFIGURATION_PARAMETERS was renamed, and is no longer static, since
   it's modified every time the configuration is changed
 * OptionalConfigurationElement was simplified since default values
   are always provided now. this also simplified lots of other code
   that accesses the current settings.

Signed-off-by: Cody Cutrer <cody@cutrer.us>
2022-12-05 08:19:51 +01:00
Jacob Laursen
a0ac57cfd9
Fix date filter to be inclusive (PostgreSQL) (#13843)
Fixes #9906

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-12-05 00:27:54 +01:00
Tom Deckers
45a3054c76
Fix person reauth (#13839)
* add null checks
* fix/improve account.html

Signed-off-by: Tom Deckers <tom@ducbase.com>
2022-12-04 19:16:07 +01:00
openhab-bot
af8d984cd3
New Crowdin updates (#13836)
* New translations smsmodem.properties (French)

* New translations webexteams.properties (French)

* New translations smsmodem.properties (Italian)
2022-12-04 17:13:46 +01:00
lolodomo
7cbae110a0
[ecowatt] Add channels for D+2 and D+3 (#13823)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-12-04 16:32:26 +01:00
Jacob Laursen
312b4e2faf
Fix console command 'tables' for SQLite (#13837)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-12-04 14:54:12 +01:00
lsiepel
3b3d18cef4
[tibber] Fix SAT warnings (#13835)
Signed-off-by: Leo Siepel <leosiepel@gmail.com>
2022-12-04 12:18:20 +01:00
Tom Deckers
b696aebb36
[webexteams] Initial contribution (#13492)
* [webexteams] Initial contribution

Signed-off-by: Tom Deckers <tom@ducbase.com>
2022-12-04 12:15:42 +01:00
mschlenstedt
e7fcd03d59
[nibeheatpump] Readme for NibeGW for Arduino with Hardware and compilation hints (#13787)
* Hints for compiling and connecting hardware
2022-12-04 11:52:47 +01:00
openhab-bot
c7bd1747f1
New Crowdin updates (#13830)
* New translations avmfritz.properties (German)
* New translations androiddebugbridge.properties (Italian)
2022-12-04 00:41:16 +01:00
Daniel Demus
193b54107c
[wundergroundupdatereceiver] Use html entities where in normal body (#13831)
Fix spelling

Signed-off-by: Daniel Demus <daniel-github@demus.dk>
2022-12-04 00:39:14 +01:00
Gwendal Roulleau
56728b6091
[smsmodem] Initial contribution (#12250)
* [smsmodem] Initial contribution

This binding connects to a USB serial GSM modem (or a network exposed one, a.k.a ser2net) and allows openHAB to send and receive SMS through it.

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

* [smsmodem] README fix

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

* [smsmodem] build/spotless fix

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

* [smsmodem] compliance with 3rd party license

And long running thread naming convention
And treated some code warning 

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

* [smsmodem] i18n

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

* [smsmodem] Small fixes

update channel
rename action to avoid colision with other binding and a too generic name

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

* [smsmodem] Use of standard Thing properties

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

* [smsmodem] Fix sender identifier error with special character

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

* [smsmodem] Add encoding parameter

For non latin character in SMS

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

* [smsmodem] Apply review

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

* [smsmodem] Split local and remote modem in two thing-types

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

* [smsmodem] Apply review

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

* [smsmodem] Apply review

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

* [smsmodem] Apply code review (removing unnecessary method)

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

Signed-off-by: Gwendal Roulleau <gwendal.roulleau@gmail.com>
Co-authored-by: Gwendal Roulleau <gwendal.roulleau@gmail.com>
2022-12-03 21:35:30 +01:00
GiviMAD
3e068ed431
[androiddebugbridge] Fix volume channel for android 11/12 (#13828)
* [androiddebugbridge] Fix volume channel for android 11/12
* [androiddebugbridge] Try get max volume level from device properties
* [androiddebugbridge] Fixes reported code analysis
* [androiddebugbridge] Fix comparison

Signed-off-by: Miguel Álvarez <miguelwork92@gmail.com>
2022-12-03 17:40:29 +01:00
Raphael Mack
d777aa46c9
[resol] Fix handling of WeekTime fields on vbus (#13753)
* correct handling of WeekTime fields from and update vbus library, fixes #13447

Signed-off-by: Raphael Mack <ramack@raphael-mack.de>
2022-12-03 14:59:26 +01:00
maniac103
86e3b65816
[homematic] Fix min/max values for rollershutters (#13821)
* [homematic] Fix min/max values for rollershutters

For dimmers, the 1.0 max value sent by CCU was already converted to
percent values in the item state description. Do the same thing also for
roller shutters.

Signed-off-by: Danny Baumann <dannybaumann@web.de>
2022-12-03 13:29:52 +01:00
Jacob Laursen
3bd34b3256
Migrate uptime channels to support UoM (#13827)
Fixes #13826

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-12-03 12:36:28 +01:00
Matthew Skinner
2a78b306d8
[ipcamera] Instar API updates for new 2k+ range (#13805)
* Instar updates
* Detect which API to use from reply.
* Add handling of REFRESH to instar.

Signed-off-by: Matthew Skinner <matt@pcmus.com>
2022-12-03 10:20:11 +01:00
openhab-bot
75b639e9b3
New Crowdin updates (#13825)
* New translations openwebnet.properties (Italian)
* New translations unifi.properties (Dutch)
2022-12-03 00:47:36 +01:00
Florian Hotze
42b8505bef
[jsscripting] Fix memory leak that crashes openHAB (#13824)
* [jsscripting] Fix memory-leak caused by com.oracle.truffle.host.HostObject

Fixes this memory leak by making the HostAccess for the GraalJSScriptEngine available in a static final variable instead of creating it for each new engine.
Solution proposed in https://github.com/oracle/graaljs/issues/121#issuecomment-690179954.

Sharing a single engine across all Contexts (as proposed in https://github.com/oracle/graaljs/issues/121#issuecomment-880056648) is not possible, because core expects a ScriptEngine.

Signed-off-by: Florian Hotze <florianh_dev@icloud.com>

* [jsscripting] Update JavaDoc

Signed-off-by: Florian Hotze <florianh_dev@icloud.com>

* [jsscripting] Close `GraalJSScriptEngine` when `OpenhabGraalJSScriptEngine` is closed

My breakpoint inside the close method of GraalJSScriptEngine did not trigger until this change was made.

Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
2022-12-03 00:17:39 +01:00
Marcel
224d86e88a
[miio] add support Xiaomi Smart Air Purifier 4 Compact (#13806)
* [miio] add support zhimi.airp.cpa4 WIP
* [miio] add support Xiaomi Smart Air Purifier 4 Compact

Adding support for the following models:
* Xiaomi Smart Air Purifier 4 Compact (modelId: zhimi.airp.cpa4)

Minor typo fixing (note: no breaking channel changes)

close: #13763

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2022-12-02 21:44:33 +01:00
Wouter Born
ce3067339d
[groovyscripting] Update Groovy to 3.0.13 (#13822)
Updates Groovy from 3.0.9 to 3.0.13.

For all bugfixes and improvements, see:

* https://groovy-lang.org/changelogs/changelog-3.0.10.html
* https://groovy-lang.org/changelogs/changelog-3.0.11.html
* https://groovy-lang.org/changelogs/changelog-3.0.12.html
* https://groovy-lang.org/changelogs/changelog-3.0.13.html

Signed-off-by: Wouter Born <github@maindrain.net>
2022-12-02 21:17:25 +01:00
Jørgen Austvik
cad69c8de5
[Nanoleaf] New Channel: State (#13746)
* [Nanoleaf] New Channel: State

Shows an image of the state of the panels with color.

Also makes the layout slightly prettier. This is less functional than the layout, and more eyecandy.

Signed-off-by: Jørgen Austvik <jaustvik@acm.org>
2022-12-02 21:14:53 +01:00
batje
45cbf52cf3
fix typos in plugwise plugin examples (#13820) 2022-12-02 13:09:04 +01:00
Дилян Палаузов
6c1373f7c2
Typos a/an (#13819) 2022-12-02 13:07:31 +01:00
Jacob Laursen
e979be4911
Fix Derby/H2/HSQLDB/SQLite queries for storing timestamps (#13817)
Fixes #13816

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-12-02 08:14:23 +01:00
pali
383b5137e4
[nibeheatpump] Support 16-bit addressing (#13752)
* [nibeheatpump] Support for 16-bit addressing

Signed-off-by: Pauli Anttila <pauli.anttila@gmail.com>
2022-12-01 23:15:34 +01:00
Øystein Bedin
8d39875219
[tplinksmarthome] Add support for TP-Link KP401 Smart WiFi Outdoor Plug (#13818)
* [tplinksmarthome] Adding support for tp-link KP401 Smart WiFi Outdoor Plug

Signed-off-by: Øystein Bedin <oybed78@gmail.com>
2022-12-01 22:50:28 +01:00
Daniel Demus
43d01ad49c
[wundergroundupdatereceiver] Bugfixes: Regenerate trigger channel with proper type and more metadata. Normalize channel names. It might be easiest to delete and allow recreation of channels. (#13327)
* [wundergroundupdatereceiver] LAST_QUERY parameter should not be mapped automatically
* [wundergroundupdatereceiver] All channeltype props need to be applied
Especially the channel kind
* [wundergroundupdatereceiver] Remove illegal characters from channel name

Additionally expand the channel naming test to assert the generated channelUID and test that _ in names isn't inadvertently replaced

* [wundergroundupdatereceiver] Don't default AutoUpdatePolicy on creation
* [wundergroundupdatereceiver] Migrate changed channel to trigger type

Signed-off-by: Daniel Demus <daniel-github@demus.dk>
2022-12-01 22:47:11 +01:00
dependabot[bot]
9cc3cd0cf9
[jdbc] Update PostgreSQL JDBC driver to 42.4.3 (#13770)
* Bump postgresql in /bundles/org.openhab.persistence.jdbc

Bumps [postgresql](https://github.com/pgjdbc/pgjdbc) from 42.4.1 to 42.4.3.
- [Release notes](https://github.com/pgjdbc/pgjdbc/releases)
- [Changelog](https://github.com/pgjdbc/pgjdbc/blob/master/CHANGELOG.md)
- [Commits](https://github.com/pgjdbc/pgjdbc/compare/REL42.4.1...REL42.4.3)

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

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-12-01 22:32:55 +01:00
Дилян Палаузов
78534e8106
Typos a/an (#13812) 2022-12-01 14:30:50 +01:00
Zhivka Dimova
622654ff1d
[enocean] Handle messages with MSC RORG (#13786) (#13792)
Setting senderId for MSC RORG and set rorg to Unknown when there is no
mach with the supported(handled) RORG types.
Fixes #13786

Signed-off-by: Zhivka Dimova <zhivka.dimova@myforest.net>
2022-11-30 20:55:36 +01:00
J-N-K
ae677dcd9d
[jsscripting] Refactor dependency tracking (#13756)
Signed-off-by: Jan N. Klug <github@klug.nrw>
2022-11-29 21:59:58 +01:00
openhab-bot
4163775e0b
New translations mqtt.properties (Italian) (#13809) 2022-11-29 19:35:06 +01:00
Marcel
ac546dee0f
[miio] cloud login issues improvement (#13715)
* [miio] cloud login issues improvement

* Small change in debug loggin is login issues are expected
* Additional trouble shooting steps in readme
* Fix duplicate name in device list preventing readme maker running
* Catch a json exception in readme maker

close #13611
close #7459

* [miio] fix strange/foreign characters in readme

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2022-11-29 12:26:38 +01:00
M Valla
740d1a7f85
[openwebnet] Thermo: zone/CU address set correctly during discovery (#13803)
Fixes #13761

Signed-off-by: Massimo Valla <mvcode00@gmail.com>
2022-11-29 12:08:22 +01:00
Cody Cutrer
6bdcd15d99
[mqtt.espmilight] Automatically convert color values to color temp (#13578)
* [mqtt.espmilight] Automatically convert color values to color temp for RGB+CCT bulbs

Yes, it's lots of math, but references are provided. This supplants
whiteThreshold for RGB+CCT bulbs since it is far more flexible and
accurate.

Signed-off-by: Cody Cutrer <cody@cutrer.us>
2022-11-29 00:33:49 +01:00
jimtng
735089a7c7
[jrubyscripting] Allow multiple version specifiers for gems (#13779)
Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
2022-11-28 23:51:19 +01:00
Jacob Laursen
3912487305
[jdbc] Add safety valve for suspicious migrations (#13797)
* Abort migration from real names when most tables have table name prefix
* Add missing checks for database connection from console commands
* Add additional documentation for check/fix schema

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-11-28 23:38:55 +01:00
Cody Cutrer
826fc9e8d7
[homekit] make sure to convert step values to Celsius (#13796)
otherwise if your step is 1.0 in fahrenheit, then your
values will get rounded to 1.0 celsius, and you might not
even notice you've lost precision in the Home app.

Signed-off-by: Cody Cutrer <cody@cutrer.us>
2022-11-28 23:11:40 +01:00
Florian Hotze
446be35ac5
[evcc] Extend accepted types for commands & Handle quantity types of commands (#13795)
* [evcc] Extend accepted command types
* [evcc] Convert QuantityType commands to required units
* [evcc] Allow evcc URL to end with a slash

Should fix an issue on the forum, where a user sent a command of DecimalType, but the binding expected a QuantityType.
See https://community.openhab.org/t/evcc-binding-electric-vehicle-charging-control/135209/15.
The accepted command types are extended for all channels if possible.

Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
2022-11-28 22:17:26 +01:00
Dan Cunningham
d3ecba9e79
[qolsysiq] Fixes ENUM Typo (#13790)
Signed-off-by: Dan Cunningham <dan@digitaldan.com>

Signed-off-by: Dan Cunningham <dan@digitaldan.com>
2022-11-28 01:07:57 +01:00
eugen
5c5b3c29c9
[homekit] support stop for blinds (#13788)
* implement new blinds logic
* fix NPE, improve emulated state

Signed-off-by: Eugen <eugen@relotrust.com>
2022-11-27 23:39:50 +01:00
Dan Cunningham
1d9bf63d5e
[qolsysiq] Initial contribution of the Qolsys IQ Binding (#13699)
* [qolsysiq] Initial contribution of the Qolsys IQ Binding

Signed-off-by: Dan Cunningham <dan@digitaldan.com>
2022-11-27 19:25:31 +01:00
Jacob Laursen
22ea587d20
[jdbc] Add console command for checking/repairing schema integrity (#13765)
* Add console command for checking schema integrity
* Remove unneeded logging
* Add console command for fixing schema integrity
* Provide documentation
* Try to add support for Derby and PostgreSQL
* Sort alphabetically by item name

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-11-27 19:02:43 +01:00
Jerome Luckenbach
8681544e3b
Fix log and website build (#13781)
Signed-off-by: Jerome Luckenbach <github@luckenba.ch>

Signed-off-by: Jerome Luckenbach <github@luckenba.ch>
2022-11-26 15:05:14 +01:00
Thomas Traude
66d7496d7b
[knx] Remove obsolete public modifier in tests (#13776)
Since JUnit Jupiter test classes and methods do not need to be `public`.

It is recommended to omit the `public` modifier.
See https://junit.org/junit5/docs/current/user-guide/#writing-tests-classes-and-methods

"Class and method visibility
Test classes, test methods, and lifecycle methods are not required to be
`public`, but they must not be `private`.

It is generally recommended to omit the `public` modifier for test
classes, test methods, and lifecycle methods unless there is a technical
reason for doing so (...)"

Signed-off-by: Thomas Traude <t-riggs@gmx.net>
2022-11-26 12:19:43 +01:00
Cody Cutrer
4739f126a2
[jrubyscripting] log Ruby stacktrace on exception from JRuby (#13778)
Signed-off-by: Cody Cutrer <cody@cutrer.us>
2022-11-26 08:19:22 +01:00
Matthew Skinner
ea134d8215
[ipcamera] Improve support for newer 2k+ Instar cameras (#13773)
* Fix never ending WARN when HIK camera does not support alarm inputs.
* Streamline code.
* Update Instar support for 2k+ Generation.
* Fix alarm codes.
* Add CHANNEL_LAST_EVENT_DATA

Signed-off-by: Matthew Skinner <matt@pcmus.com>
2022-11-26 08:15:29 +01:00
Marcel
698bee7c3e
[miio] add support Xiaomi Smart Air Purifier 4 (modelId: zhimi.airp.mb5) (#13717)
* [miio] add support Xiaomi Smart Air Purifier 4 (modelId: zhimi.airp.mb5)

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

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2022-11-26 06:59:34 +01:00
mlobstein
b4a5afd6a6
[nuvo] update rules examples in README (#13771)
* update rules examples

Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
2022-11-25 08:08:59 +01:00
Florian Hotze
29d2578981
[jsscripting] Fix add-on name in feature/pom (#13764)
* Update pom.xml
* Update feature.xml
* [jsscripting] Rename from JSScripting to JavaScript Scripting

Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
2022-11-24 23:23:19 +01:00
openhab-bot
ac3feabf1a
New translations sensebox.properties (German) (#13774) 2022-11-24 13:03:33 +01:00
openhab-bot
ce4843f020
New translations sensebox.properties (German) (#13762) 2022-11-22 08:15:31 +01:00
Jacob Laursen
f9aa20e488
[jdbc] Fix date filter to be inclusive (#13734)
Fixes #9906

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-11-22 07:13:45 +01:00
Gaël L'hopital
1d23c32de1
Solves issue #11691 (#13758)
Signed-off-by: clinique <gael@lhopital.org>
2022-11-21 20:38:37 +01:00
openhab-bot
6c170db1bd
New translations boschshc.properties (Italian) (#13757) 2022-11-21 11:08:49 +01:00
David Pace
1251873843
[boschshc] Support smart light bulbs (#13725)
* [boschshc] Support smart light bulbs (#13707)

* add thing type definition for smart bulbs using system channels
* add constants for thing type and channels
* implement and register handler
* implement binary switch service (to switch on/off)
* implement multi-level switch service (allows to get/set brightness
from 0-100%)
* implement service to get and set colors
* add unit tests for handler and state classes
- update documentation

Signed-off-by: David Pace <dev@davidpace.de>
2022-11-20 22:12:49 +01:00
Florian Hotze
bfff07bb01
[jsscripting] Reimplement timer creation method of ScriptExecution (#13695)
* [jsscripting] Refactor ThreadsafeTimers to create futures inline instead of in an extra methods
* [jsscripting] Introduce utility class for providing easy access to script services
* [jsscripting] Reimplement timer creation methods from ScriptExecution for thread-safety
* [jsscripting] Add missing JavaDoc for reimplement timer creation methods
* [jsscripting] Remove the future from the map when setTimeout expires
* [jsscripting] Rename `GraalJSScriptServiceUtil` to `JSScriptServiceUtil`
* [jsscripting] Remove the `createTimerWithArgument` method
* [jsscripting] Replace the OSGi workaround of `JSScriptServiceUtil` with an injection mechanism
* [jsscripting] Use constructor to inject `JSScriptServiceUtil` into `GraalJSScriptEngineFactory`
* [jsscripting] Minor improvements by @J-N-K (#1)
* [jsscripting] Minor changes related to last commit to keep flexibility of `JSRuntimeFeatures`
* [jsscripting] Upgrade openhab-js to v2.1.1
* [jsscripting] Remove unused code

Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
Co-authored-by: Jan N. Klug <github@klug.nrw>
2022-11-20 22:08:19 +01:00
Fabian Wolter
d0736bdea9
[pwm] Fix NPE when disabling and improve logging (#13755)
* [pwm] Fix exception when disabling the module
* Improve logging

Signed-off-by: Fabian Wolter <github@fabian-wolter.de>
2022-11-20 20:38:00 +01:00
Florian Hotze
103619741d
[jsscripting] Fix the console.trace polyfill to log a stack trace & Stringify JS Error (#13749)
* [jsscripting] Fix the `console.trace` polyfill to log a stack trace & Stringify JS `Error`
* [jsscripting] Add myself to the codeowners

Fixes #12646

Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
2022-11-20 20:30:42 +01:00
eugen
54e934be3d
[homekit] simplify settings page, resize doc images (#13741)
* simplify config, resize images

Signed-off-by: Eugen <eugen@relotrust.com>
2022-11-20 20:07:45 +01:00
openhab-bot
34b2cead83
New translations sensebox.properties (German) (#13748) 2022-11-20 17:35:58 +01:00
Florian Hotze
4dde19203a
[jsscripting] Fix maven build (#13747)
This fixed the maven build, that fails because webpack-cli version 5.0.0 doesn’t properly process the given entrypoint.
Instead, webpack tries to use the entrypoint from openhab-js‘ webpack config file.

Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
2022-11-20 17:30:23 +01:00
Jacob Laursen
d3348327a9
Fix PostgreSQL query for storing timestamps (#13745)
Fixes #13121

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-11-19 20:57:51 +01:00
Matthew Skinner
c9b9002b8e
Fix wrong textual format. (#13742)
Signed-off-by: Matthew Skinner <matt@pcmus.com>
2022-11-19 09:22:58 +01:00
mlobstein
ed96a39b99
[dscalarm] Fix broken link in README (#13743)
* Update README

Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
2022-11-19 09:18:32 +01:00
Jacob Laursen
d075f141d7
Make itemsManageTable configurable (#13737)
Fixes #9637

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-11-18 17:34:10 +01:00
openhab-bot
63ecbc264a
New translations juicenet.properties (Italian) (#13736) 2022-11-17 22:56:36 +01:00
Jacob Laursen
ea49488b86
[harmonyhub] Fix reliability issues (#13702)
* Fix compiler info

Unsafe interpretation of method return type as '@NonNull' based on the receiver type 'java.util.Enumeration<java.net.@NonNull NetworkInterface>'. Type 'java.util.Enumeration<E>' doesn't seem to be designed with null type annotations in mind

* Improve robustness of job rescheduling and handler disposal

Handler tried updating thing although the handler was already disposed

Fixes #13701

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-11-17 20:48:28 +01:00
Jacob Laursen
b6f9f6339e
[jdbc] Add warning about using tableCaseSensitiveItemNames without dedicated schema (#13732)
* Add warning about using tableCaseSensitiveItemNames without dedicated schema
* Move warning to extended description
* Rephrase explanation
* Fix commands

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-11-17 20:05:10 +01:00
Jacob Laursen
dbf2358280
Do not modify index or create tables when uninitialized (#13728)
Fixes #13727

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-11-17 20:00:31 +01:00
Jacob Laursen
2f786b87b4
Add console command for reloading index/schema (#13733)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-11-17 19:52:54 +01:00
Doug Culnane
cc3ac23ae0
[awattar] Fix that allows bridge to be added via UI. (#13730)
Signed-off-by: Doug Culnane <doug@culnane.net>
2022-11-17 19:46:57 +01:00
Jacob Laursen
3ef974df17
Fix NoSuchElementException when there are no tables (#13731)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-11-17 00:58:14 +01:00
Marcel
cf241f8b4f
[miio] Fix dimming channels for several yeelights (#13724)
The majority of brightness channels were already converted to dimmer.
This PR applies same to the 'other'brightness channels like nightlight
and/or ambient

close: #9936

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2022-11-16 13:26:26 +01:00
Jacob Laursen
0873dd3ddf
[jdbc] Improve error handling safety (#13726)
* Wrap YankSQLException into checked exception for all Yank calls

* Move files into internal

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-11-16 09:28:46 +01:00
mlobstein
dff4d3b4fb
Add missing status (#13729)
Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
2022-11-16 08:14:10 +01:00
Jacob Laursen
7eb2c9fb81
[jdbc] Improve error handling (#13719)
* Enable wrapped exceptions being thrown by Yank

Fixes #13718

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

* Fix SAT warning about hashCode implementation

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

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-11-15 08:44:12 +01:00
mlobstein
12980e7147
fix system_buttonpress not populating (#13721)
Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
2022-11-15 00:30:34 +01:00
Konstantin Polihronov
1471709b52
[tesla] Add steering wheel heater command support for Model 3/Y (#13704)
* Add steering wheel heater channel for Model Y
* Add command for steering wheel heater

Signed-off-by: Konstantin Polihronov <polychronov@gmail.com>
2022-11-14 21:33:21 +01:00
robnielsen
0276d32897
[ecobee] Add air quality channels for Ecobee Smart Thermostat Premium (#13705)
* [ecobee] Add air quality channels for Ecobee Smart Thermostat Premium

Signed-off-by: Rob Nielsen <rob.nielsen@yahoo.com>
2022-11-14 21:29:34 +01:00
Florian Hotze
11d3c641e5
[jsscripting] Fix failure on some platforms & JDKs (#13714)
* [jsscripting] Downgrade GraalVM to fix issue with armv7l & OpenJDK 11.0.16

The community reported several cases where JS Scripting was not working due to some issue with the injection of the global script.
This issue seems to only occur on armv7l (e.g. Raspberry Pi 32bit) and OpenJDK 11.0.16.
Investigation showed that the occurrence of the problem depends on the GraalJS version.

See https://community.openhab.org/t/js-scripting-all-scripts-stop-working-when-upgrading-to-3-4-0-m4/140837.

* [jsscripting] Add logging for injection of JSRuntimeFeatures
* [jsscripting] Lint `@jsscripting-globals.js` with semistandard
* [jsscripting] Remove ICU4J as it moved to `org.graalvm.truffle`

Reference f5661d4655/CHANGELOG.md (version-2200).

Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
2022-11-14 20:30:44 +01:00
Christian Wild
40723a80a0
[tapocontrol] fixed configuration error (#13677)
* improved response logging and error handling

Signed-off-by: Christian Wild <christian@wildclan.de>
2022-11-14 10:13:05 +01:00
Florian Hotze
aee4d31d5b
[evcc] Fix data type issues in DTO (#13710)
* [evcc] Change DTO from double to float as the higher precision is not required
* [evcc] Change DTO from int/long to float
* [evcc] Update JavaDoc & small improvements
* [evcc] `EvccHandler`: Add exception message to the debug log

Fixes https://github.com/openhab/openhab-addons/issues/13646.
Avoids problems with changed data types in the future by generally using float instead of int.

Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
2022-11-13 12:54:00 +01:00
jsjames
71d1226505
[juicenet] Initial contribution (#10768)
Signed-off-by: Jeff James <jeff@james-online.com>
2022-11-13 12:27:43 +01:00
Jørgen Austvik
fbd06ec709
[Nanoleaf] Visualize layout (#13552)
* Visualize Nanoleaf layout
* Only calculate image if channel is linked
* White background image
* Render more shapes

Signed-off-by: Jørgen Austvik <jaustvik@acm.org>
2022-11-12 23:00:08 +01:00
mlobstein
160e0c2548
[nuvo] Add zone actions for rules (#13658)
* Add zone actions for rules
* Don't scan for NuvoNet source messages if openHAB NuvoNet sources are not being used

Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
2022-11-12 16:57:22 +01:00
Sami Salonen
a1270c7822
[mqtt.homeassistant] Fix binding crash when home assistant discovery topics update with content (#13518)
* [mqtt.homeassistant] Fix for discovery topics that update with content

Fixes #13517
Possibly resolves #9711 and #12295 as well.

* [mqtt.homeassistant] Sort channels before changing thing
* [mqtt.homeassistant] logging + removed unnecessary synchronization
* Resolve bunch of warnings in homeassistant bundle
* [mqtt.homeassistant] Handling null warnings and unnecessary null checks
* [mqtt.homeassistant] Removing unnecessary null checks

Signed-off-by: Sami Salonen <ssalonen@gmail.com>
Co-Authored-by: @antroids github handle
2022-11-12 12:46:43 +01:00
Jacob Laursen
159054a99c
[jdbc] Add console maintenance commands (#13662)
* Add console command for listing tables
* Query row counts only when needed and while generating output
* Add cleanup command
* Add documentation

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-11-12 12:30:53 +01:00
Boris Krivonog
248ca1830a
If for some reason HP response fails to properly parse, i.e. java.lang.NumberFormatException: For input string: "##" exception is not handled and scheduler is not re-triggered (polling stops).Fixed build warnings. (#13685)
Signed-off-by: Boris Krivonog <boris.krivonog@inova.si>
2022-11-12 10:44:45 +01:00
Mark Herwege
fe269b127a
[Systeminfo] Add comment on temperature readings on Windows (#13696)
* Add comment on temperature readings on Windows

Signed-off-by: Mark Herwege mark.herwege@telenet.be
2022-11-11 23:17:52 +01:00
quidam
8c7d774074
[avmfritz] Decode alarm state for blinds (#13672)
* [avmfritz] Decode alarm state for blinds
Signed-off-by: Ulrich Mertin <mail@ulrich-mertin.de>
2022-11-11 23:13:05 +01:00
openhab-bot
62899e0fa5
New translations jdbc.properties (German) (#13697) 2022-11-11 22:36:39 +01:00
mlobstein
69b9f9895f
[monopriceaudio] Update README (#13688)
* Update README

Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
2022-11-11 13:07:59 +01:00
Fabian Wolter
3ed44f1ba5
[lcn] Fix setting of variables (#13690)
Signed-off-by: Fabian Wolter <github@fabian-wolter.de>
2022-11-11 10:12:32 +01:00
David Pace
49fa349590
[boschshc] Support obtaining battery states (#13461) (#13631)
This change adds support for obtaining the battery state for the
following devices:

* Motion Detector
* Thermostat
* Twinguard
* Wall Thermostat
* Window/Door Contact

The following changes were made:

* Add system.battery-level and system.low-battery channels to Motion
Detector, Thermostat, Twinguard, Wall Thermostat and Window/Door Contact
* Add constant for battery-level and low-battery channels in
BoschSHCBindingConstants
* Implement abstract handler and service for battery-powered devices
* Let appropriate devices inherit the abstract implementation
* Add missing super calls in initializeServices() methods
* Rename existing getServiceURL() to getServiceStateURL() in HTTP client
* Add methods to retrieve service states without the suffix "/state" in
the URL
* Rename DeviceStatusUpdate to DeviceServiceData
* Let DeviceServiceData extend BoschSHCServiceState
* Extend DeviceServiceData DTO with model for faults
* Enhance bridge handler: handle updates without state sub-objects,
extract methods to enhance readability
* Add unit tests for all affected devices
* Minor code enhancements
* Update documentation

Signed-off-by: David Pace <dev@davidpace.de>
2022-11-11 08:23:48 +01:00
Stian Kjoglum
49fe49c1a9
Updates for breaking API changes (#13680)
Signed-off-by: kjoglum <stiankj@online.no>
2022-11-10 20:57:45 +01:00
Jacob Laursen
64791b386c
[jdbc] Upgrade MariaDB connector to 3.0.8 (#13659)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-11-09 23:01:15 +01:00
openhab-bot
a8f671960d
New translations jdbc.properties (German) (#13686) 2022-11-09 10:52:30 +01:00
openhab-bot
cdff5a06e7
New translations jdbc.properties (German) (#13678) 2022-11-08 11:07:37 +01:00
Bernd Weymann
51f1c0978b
[mercedesme] New API Migration (#13670)
* adjust servers and scope
* ensure IPv4 address for callback

Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>
2022-11-07 18:48:48 +01:00
openhab-bot
0154427c99
New Crowdin updates (#13671)
* New translations meater.properties (Danish)
2022-11-07 13:25:06 +01:00
Jacob Laursen
c467139208
Fix bridge initialization when parameter quoteList is not configured (#13667)
Fixes #13666

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-11-07 09:20:20 +01:00
Jacob Laursen
c7020bfee8
[kodi] Fix bridge initialization when parameter group is not configured (#13669)
Fixes #13668

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-11-07 06:49:05 +01:00
Wouter Born
0470d3978f
[groheondus] Upgrade dependencies (#13665)
* Upgrade commons-text to 1.10.0 (prevents CVE-2022-42889)
* Upgrade commons-lang3 to 3.12.0
* Remove commons-text, wrap from feature because it is embedded into the bundle

Signed-off-by: Wouter Born <github@maindrain.net>
2022-11-06 20:22:08 +01:00
Florian Hotze
b0d4f5a5fd
[jsscripting] Update openhab-js version to 2.1.0 (#13664)
Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
2022-11-06 20:15:10 +01:00
Marcel
162e1461b0
[miio] Fix warning messages and discovery on newer robots (#13111)
also includes update to latest devicenames list

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2022-11-06 10:03:51 +01:00
Jacob Laursen
2c30756fdd
[jdbc] Fix MySQL deprecation notice on startup (#13660)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-11-05 20:27:38 +01:00
Cody Cutrer
db0ca281ca
[mqtt.homeassistant] support non-RGB lights (#13413)
* [mqtt.homeassistant] support non-RGB lights

dynamically decide which type of channel to expose. also send "down-typed"
commands to the proper topic. this also sets the groundwork for supporting
template and JSON schemas

Signed-off-by: Cody Cutrer <cody@cutrer.us>
2022-11-05 16:57:06 +01:00
lolodomo
969fef8612
[tellstick] Avoid updates duplication after communication errors (#13479)
* [tellstick] Avoid updates duplication after communication errors

Fix #13453

Do not register the same device handler many times as listener in the bridge handler
Unregister the device handler from the bridge handler when disposing device handler

HTTP timeout set to 15s
Remove the retry mechanism related to the timeout
Check HTTP status code
Fix discovery service unregistration
Log statistics about request/refresh durations and number of timeouts/errors
Change logging in case of exception
Also change few logs level (remove usage of logger.error)
Execute one refresh at bridge initialization and not 2
Small enhancement of the bridge/things status management
implement discovery service unregistration
Fix few code analysis findings

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

* Use a set for deviceStatusListeners to avoid duplications

Review comment: @NonNullByDefault for TellstickHandlerFactory

Review comment: use ThingStatusDetail.CONFIGURATION_ERROR if no bridge
is defined

Review comment: use 1_000_000 instead of 1000000

Review comment: use Instant instead of LocalDateTime

Review comment: Thread.currentThread().interrupt()

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-11-05 16:11:06 +01:00
Florian Hotze
51d3fc211a
[jsscripting] Reimplement timer polyfills to conform standard JS (#13623)
* [jsscripting] Reimplement timers to conform standard JS
* [jsscripting] Name scheduled jobs by loggerName + id
* [jsscripting] Update timer identifiers
* [jsscripting] Update identifiers for scheduled jobs
* [jsscripting] Synchronize method that is called when the script is reloaded
* [jsscripting] Cancel all scheduled jobs when the engine is closed
* [jsscripting] Ensure that a timerId is never reused by a subsequent call & Use long primitive type instead of Integer
* [jsscripting] Use an abstraction class to inject features into the JS runtime
* [jsscripting] Make ThreadsafeTimers threadsafe for concurrent access to the class itself
* [jsscripting] Move the locking for `invokeFunction` to `OpenhabGraalJSScriptEngine`

Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
2022-11-05 15:26:46 +01:00
Cody Cutrer
bbc744e3ff
[jrubyscripting] don't manually filter presets. (#13548)
simply just don't overwrite any constants that already exist

refs https://github.com/openhab/openhab-core/pull/3113

Signed-off-by: Cody Cutrer <cody@cutrer.us>
2022-11-05 15:23:02 +01:00
lolodomo
c81790cebf
[verisure] Avoid updates duplication after communication errors (#13652)
Avoid registering several times the same device status listener.
It is called by the thing handler each time the bridge status changed to ONLINE.

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-11-05 14:42:01 +01:00
basse04
f184e4e88f
[kostalinverter] Fix for the Kostal inverter binding to work with different firmware releases regarded to PIKO 10-20 V. 221004 (#13490)
* [kostalinverter] Fix for the Kostal inverter binding to work with
different firmware releases regarded to PIKO 10-20 Version 221004

This is the next version regarded to Closed PR #13464

* [kostalinverter] Changes done 20221019
Regarded to Thread.....

* Proper handling of InterruptedException

Also removbe a useless call to return

Signed-off-by: Örjan Backsell <orjan.backsell@gmail.com>
Co-authored-by: Laurent Garnier <lg.hc@free.fr>
2022-11-05 13:50:49 +01:00
Leif Bladt
a5823d8df0
Add support for Dreame L10 Pro (#12803)
Signed-off-by: Leif Bladt <leif.bladt@gmx.de>
2022-11-05 13:10:08 +01:00
Jacob Laursen
70abb5d1f6
[jdbc] Add support for case sensitive table names reflecting item names 1:1 (#13544)
* Do not append number when using real item names
* Extract getTableName to separate class
* Add initial test coverage
* Extract migration logic to separate class
* Support migration from real names back to numbered
* Simplify zero-padding
* Fix NullPointerException
* Fix MySQL compatibility when CLIENT_MULTI_STATEMENTS option is not set
* Add option for case sensitive table names
* Add real name with suffix mode for backwards compatibility
* Remove real name in lower case without suffix mode
* Map directly from item name to table name
* Fix ambiguous table name scenario
* Add additional testcase
* Add migration path for changed table prefix
* Drop items table when using direct mapping
* Add configuration note
* Fix table alignment
* Extend description as more migration paths are now supported
* Do not stop halfway through a migration
* For clarity, do not use abbreviation for operating system

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-11-05 10:41:31 +01:00
alexf2015
f880ca91f9
adopted date parser due to changes in EASEE API (#13654)
Signed-off-by: Alexander Friese <af944580@googlemail.com>
2022-11-04 19:56:30 +01:00
Silviu Chingaru
1e07d1af03
[paradoxalarm] Handle multiple panels (#13641)
* Fixes #13640

Working with multiple Paradox panels

Tested with:
- rename things files;
- thing disable / enable on same instance of OpenHab;
- disable on one OpenHab instance > enable on other;

Everything works as espected.
All test passed even if no Login/Logout commands were sent to IP module

Signed-off-by: Silviu Chingaru <silviuchingaru@yahoo.com>
2022-11-04 19:01:39 +01:00
bruestel
5654b9f97a
[homeconnect] Fix login for simulator environment (#13653)
* Add redirect URI to oAuth request

Signed-off-by: Jonas Brüstel <jonas@bruestel.net>
2022-11-04 18:28:40 +01:00
Jacob Laursen
c114714a7b
[hdpowerview] Restructure DTO classes (#13630)
* Extract nested DTO's to separate classes
* Rename api to dto
* Move test classes into internal
* Finish moving of files and fix namespaces

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-11-04 18:24:39 +01:00
Mark Herwege
cf2a1afd56
[systeminfo] dynamic channels (#13562)
* Dynamic channels
* Status messages i8n
* Format fix
* Cache process load values
* Restore channel configs
* Fix test
* Stabilize tests
* Fix CpuLoad1-5-15 update
* Fix test bndrun
* String equals cleanup
* Fix potential null pointer in test

Signed-off-by: Mark Herwege <mark.herwege@telenet.be>
2022-11-04 13:28:27 +01:00
Wouter Born
a4f6159f09
[mercedesme] Fix unstable ConfigurationTest (#13650)
* Make sure IPv4 is used with default callback URL
* Use a more reasonable timeout

Fixes #13531

Signed-off-by: Wouter Born <github@maindrain.net>
2022-11-03 22:16:07 +01:00
Martin Herbst
54ccf847da
Some HM devices are using relative humidity (% rH/rF) as units (#13626)
Fix #13553

Signed-off-by: Martin Herbst <develop@mherbst.de>
2022-11-03 19:21:13 +01:00
Andrea Cioni
d505c01a6f
Update README.md (#13642)
`color_mode` is not recognized as a channel parameter, instead, `colorMode` is
2022-11-02 08:20:58 +01:00
lolodomo
79bf9724fc
[netatmo] eventBuffer in SecurityCapability should not be static (#13636)
Also fix few findings by code analysis

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-11-02 08:16:25 +01:00
lolodomo
b85e9b43df
[sagercaster] Fix all code analysis findings (#13637)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-11-01 15:33:54 +01:00
lolodomo
aea2fd4002
[lifx] Fix all code analysis findings (#13638)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-11-01 15:31:37 +01:00
lolodomo
7728bbc232
[vigicrues] Fix few code analysis findings (#13639)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-11-01 15:30:29 +01:00
Thomas Weißschuh
894668ffce
[linuxinput] handle keys not known by libevdev (#13632)
* [linuxinput] handle keys not known by libevdev

Previously if libevdev could not resolve a numeric event code to a
symbolic name the name "null" was used.
This is useless for the user and may lead to duplicate-channel errors if
multiple unknown keys are encountered.

Instead use the numeric code itself as channel name if no symbolic code
could be determined.

Reported-in: https://community.openhab.org/t/linuxinput-binding-and-mouse-capture/122612/8
Signed-off-by: Thomas Weißschuh <thomas@t-8ch.de>

* [linuxinput] add channel description

Signed-off-by: Thomas Weißschuh <thomas@t-8ch.de>
2022-11-01 14:06:58 +01:00
openhab-bot
33de7b426b
New Crowdin updates (#13635)
* New translations hue.properties (French)

* New translations lgwebos.properties (French)

* New translations lgwebos.properties (French)
2022-11-01 14:03:15 +01:00
openhab-bot
813489c2de
New translations hue.properties (German) (#13634) 2022-11-01 10:55:11 +01:00
lolodomo
becb30187e
[netatmo] No restriction on max value for rain quantity (#13620)
* [netatmo] No max value for rain quantity

Fix #13619

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-10-31 20:55:26 +01:00
lolodomo
b6c073d088
[lgwebos] Actions: sendButton updated, sendRCButton removed, sendKeyboard added (#13618)
* README: make the list of remote control buttons less specific to a model

Fix #13600

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-10-31 19:57:46 +01:00
Konstantin Polihronov
ec90a091c6
Fixes #13628 (#13629)
* Change static config in bridge handler to non-static (fixes #13628)

Signed-off-by: Konstantin Polihronov <polychronov@gmail.com>
2022-10-31 18:11:15 +01:00
David Pace
71da06dac7
[boschshc] Support for Compact Smart Plugs (#13528) (#13533)
* add thing definition with ID "smart-plug-compact"
* add constant for thing type UID
* extract abstract implementation for devices with power switch and
energy monitoring
* let in-wall switch handler and smart plug handler extend the abstract
implementation
* register new handler
* add method with boolean parameter to fetch initial state actively
* make BoschSHCDeviceHandler abstract
* add documentation
* add unit tests

closes #13528

Signed-off-by: David Pace <dev@davidpace.de>
2022-10-31 17:21:25 +01:00
openhab-bot
e528564bb6
New translations hue.properties (Italian) (#13627) 2022-10-31 09:22:35 +01:00
Michi
6024eb84f6
[miio] Update yeelink.light.light15.json (#13554)
* Update yeelink.light.light15.json

changed Datatype form "Number" to "Dimmer" at channel "ambientBrightness"
same issue openhab#9936 (but already fixed)

Signed-off-by: Michi <michael.schmidts@online.de>
2022-10-30 20:41:13 +01:00
lolodomo
b9591222f5
[hue] Check HTTPS connection (download of PEM certificate) (#13617)
* [hue] Check HTTPS connection (download of PEM certificate)

Fix #13586

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-10-30 13:04:09 +01:00
mlobstein
99e309e991
[kaleidescape] update README (#13593)
* update README

Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
2022-10-29 10:43:32 +02:00
Jacob Laursen
af4657f3db
Add console extension for showing IDs (#13615)
Fixes #13614

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-10-28 19:11:24 +02:00
Björn Lange
a84d170192
Fix missing web resource unregistration (#13613)
Signed-off-by: Björn Lange <bjoern.lange@itemis.de>
2022-10-28 12:58:16 +02:00
Arne Seime
618b7a4e3a
[groheondus] Fix missing automatic refresh ++ (#11955)
* Fix scheduling of thing and token update, tries to avoid service rate limiting. Added more logging. Added some missing null checks. Ensure recent data is fetched, not data from yesterday

Signed-off-by: Arne Seime <arne.seime@gmail.com>

* Updated to latest versio of API lib

Signed-off-by: Arne Seime <arne.seime@gmail.com>

* Added new channel waterconsumption_since_midnight that sums todays water consumption (same as in the Grohe app)

Signed-off-by: Arne Seime <arne.seime@gmail.com>

* Add more debug logging

Signed-off-by: Arne Seime <arne.seime@gmail.com>

* More null checks, also set channels to Undef if a value is missing

Signed-off-by: Arne Seime <arne.seime@gmail.com>

* Fixed missing embedding of commons-text as it is a dependency of the api lib

Signed-off-by: Arne Seime <arne.seime@gmail.com>

* Refresh token 1 hour before expiry

Signed-off-by: Arne Seime <arne.seime@gmail.com>

* Re-login in case token refresh fails

Signed-off-by: Arne Seime <arne.seime@gmail.com>

* Factor in timezone when calculating consum since midnight

Signed-off-by: Arne Seime <arne.seime@gmail.com>

* Use QuantityType<Volume> for water consumption

Signed-off-by: Arne Seime <arne.seime@gmail.com>

* Minor

Signed-off-by: Arne Seime <arne.seime@gmail.com>

* i18n of dynamic error messages

Signed-off-by: Arne Seime <arne.seime@gmail.com>

* More i18n. Plus retry of failed refresh token - with a delay to possibly avoid rate limiting

Signed-off-by: Arne Seime <arne.seime@gmail.com>

* Adjust refresh token timeout to 5 minutes before expire. Also retry with username/pwd login if token login fails (could be an expired token)

Signed-off-by: Arne Seime <arne.seime@gmail.com>

* Clear old discovery results

Signed-off-by: Arne Seime <arne.seime@gmail.com>

* Fetch data further back to ensure battery device has been online

Signed-off-by: Arne Seime <arne.seime@gmail.com>

* Updated README with old data warning

Signed-off-by: Arne Seime <arne.seime@gmail.com>

* Typo

Signed-off-by: Arne Seime <arne.seime@gmail.com>

* Do not allow polling interval less than 900 as rate limiting most likely will block the calls

Signed-off-by: Arne Seime <arne.seime@gmail.com>

* Fix failed token refresh giving up

Signed-off-by: Arne Seime <arne.seime@gmail.com>

* Removed refresh token login webpage. Another attempt at handling token refresh

Signed-off-by: Arne Seime <arne.seime@gmail.com>

* Fix status detail

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

* Restore formatting

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

* Fix newly introduced warnings

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

* Remove redundant logging

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

Signed-off-by: Arne Seime <arne.seime@gmail.com>
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
Co-authored-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-10-27 09:03:17 +02:00
Cody Cutrer
26ad08cca9
[mqtt] set the proper unit in the state description (#13604)
So that other pieces of openhab can know what unit it's going to be,
without it having a value yet. Importantly, any necessary conversion
that need to be applied to the other portion of the state description -
min, max, and step.

See also https://github.com/openhab/openhab-core/pull/3132

Signed-off-by: Cody Cutrer <cody@cutrer.us>
2022-10-27 08:34:50 +02:00
Matthew Skinner
234d354a2e
[ipcamera] Fix multiple WARNs when HIK camera does not support alarm inputs (#13606)
* Fix never ending WARN when HIK camera does not support alarm inputs.
* Streamline code.

Signed-off-by: Matthew Skinner <matt@pcmus.com>
2022-10-27 08:28:27 +02:00
jimtng
a68ff57c17
[jrubyscripting] Update to JRuby 9.3.9.0 (#13605)
Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
2022-10-26 14:30:10 +02:00
lolodomo
4a8b792621
[freebox] Console command completion (#13591)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-10-25 09:32:34 +02:00
lolodomo
2c78c3bd53
[lgwebos] Console command completion (#13590)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-10-25 09:31:09 +02:00
lolodomo
1d5eb58619
[linky] Console command completion (#13589)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-10-25 09:29:58 +02:00
lolodomo
6a76a596b4
[hue] Console command completion (#13597)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-10-25 09:29:12 +02:00
lolodomo
6b8fb11445
[powermax] Console command completion (#13588)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-10-25 09:27:28 +02:00
lolodomo
91a0a274df
[somfytahoma] Console command completion (#13598)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-10-25 09:25:40 +02:00
Florian Hotze
eda5a562a0
[jsscripting] Name timers created by polyfills (#13576)
* [jsscripting] Name timers created by polyfills

Fixes #13478.

Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
2022-10-24 23:40:44 +02:00
lolodomo
50d946e467
[netatmo] Console command completion (#13587)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-10-24 23:34:32 +02:00
Jacob Laursen
af8a941f1f
[meater] Add console extension for showing IDs (#13601)
* Add console extension for showing IDs

Fixes #13599

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-10-24 23:27:33 +02:00
Florian Hotze
cf47dc0f39
[jsscripting] Fix multi-thread access (#13582)
* [jsscripting] Share the lock mechanism that was used only for rules
This change moves the lock object that was originally created for ThreadsafeSimpleRuleDelegate to OpenhabGraalJSScriptEngine to make share it across the whole engine.

* [jsscripting] Inject the lock object into the JS runtime
* [jsscripting] Update `setTimeout` & `setInterval` polyfills to enable threadsafety
* [jsscripting] Upgrade GraalJS from 21.3.0 to 22.3.0
* [jsscripting] Reduce compiler warnings
* [jsscripting] Update node version of frontend-maven-plugin

Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
2022-10-24 13:35:33 +02:00
Jacob Laursen
671d2de9b2
Reinitialize properties after configuration change (#13592)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-10-23 22:07:14 +02:00
openhab-bot
42d93c3b97
New Crowdin updates (#13585)
* New translations exec.properties (French)
* New translations watsonstt.properties (French)
2022-10-22 23:41:33 +02:00
Christoph Weitkamp
ee34d92c17
[hue] Changed discovery to mDNS; added HTTPS handling; refactor HTTPClient to use jetty shared client (#11842)
* Changed discovery to MDNS; added HTTPS handling; refactor HTTPClient to use jetty shared client

Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2022-10-22 23:39:51 +02:00
openhab-bot
d2efe69a73
New translations rotel.properties (French) (#13584) 2022-10-22 21:21:45 +02:00
Cody Cutrer
66c7211b26
[homekit] increase flexibility of ColorTemperature (#13538)
* [homekit] increase flexibility of ColorTemperature

allow Number or Dimmer items, and mired or Kelvin units.

Signed-off-by: Cody Cutrer <cody@cutrer.us>
2022-10-22 20:24:51 +02:00
openhab-bot
16c0bae0dd
New translations rotel.properties (French) (#13583) 2022-10-22 20:24:19 +02:00
Cody Cutrer
5f6241cbc6
[mqtt] support mired<->Kelvin unit conversion (#13575)
Just have to use the newer toInvertibleUnit method that allows
the dimension to change.

Signed-off-by: Cody Cutrer <cody@cutrer.us>
2022-10-22 20:07:33 +02:00
openhab-bot
790e5d58c4
New Crowdin updates (#13580)
* New translations tplinkrouter.properties (French)

* New translations meater.properties (French)
2022-10-22 14:18:31 +02:00
openhab-bot
6c72edd372
New Crowdin updates (#13579)
* New translations amplipi.properties (Italian)

* New translations anel.properties (Italian)
2022-10-22 12:15:52 +02:00
lolodomo
02820a9ebe
[netatmo] Extend example with things for energy stuff (#13568)
* [netatmo] Extend example with things for energy stuff

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-10-20 22:51:03 +02:00
Andrew Fiddian-Green
c9481d5c36
[hdpowerview] add duette/applause skylift shades (#13574)
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2022-10-20 12:49:23 +02:00
GiviMAD
60c13b5cd1
[jellyfin] upgrade sdk, fixes json parse error (#13572)
Signed-off-by: Miguel Álvarez <miguelwork92@gmail.com>
2022-10-20 07:26:39 +02:00
Andrew Fiddian-Green
66734bd5cf
[hdpowerview] support for shade types 26,27,28 (#13571)
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2022-10-19 21:19:55 +02:00
Cody Cutrer
68b52ee15b
[homekit] Improve output of console's homekit show command (#13569)
* [homekit] Improve output of console's `homekit show` command

 * include the full JSON from all the characteristics, so you can confirm
   everything is configured correctly.
 * only use simple class names; the fully qualified package is just a
   distraction.
 * show linked services if they exist
 * include the class name of services, not just the GUID

Signed-off-by: Cody Cutrer <cody@cutrer.us>
2022-10-19 20:17:55 +02:00
Cody Cutrer
91383250d4
[homekit] improve bundle deactivation time (#13566)
If you have many instances, it can take a while. So stop all the
instances in parallel. Also, fix a race condition where the update
debouncer might get called again after being stopped, because the
change listener was deregistered _after_ the debouncer was stopped.

Signed-off-by: Cody Cutrer <cody@cutrer.us>
2022-10-19 11:18:02 +02:00
lolodomo
77013bca39
[netatmo] Console command to show all devices/modules ids (#13555)
* [netatmo] Console command to show all devices/modules ids

Fix #13091

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-10-19 08:47:04 +02:00
lolodomo
dda2e9a288
[netatmo] more precision in doc where to find the refresh token (#13567)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-10-19 08:24:25 +02:00
Florian Hotze
bdefe17f08
[jsscripting] Upgrade openhab-js to 2.0.4 (#13565)
Fixes #13563.

Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
2022-10-18 22:34:33 +02:00
GiviMAD
4bba6efe24
[voskstt] Fix load on linux arm (#13556)
Signed-off-by: Miguel Álvarez <miguelwork92@gmail.com>
2022-10-18 19:29:15 +02:00
openhab-bot
df74075d31
New translations allplay.properties (Italian) (#13561) 2022-10-17 21:06:45 +02:00
Gaël L'hopital
5552220870
[MAP] Adds fallback to original value when input not found (#13560)
* [MAP] Adding fallback to original value
Solves #10092

Signed-off-by: clinique <gael@lhopital.org>
2022-10-17 19:43:12 +02:00
Dan Cunningham
03cdc5e1b4
[openhabcloud] Removing content encoding when proxing. (#13559)
Signed-off-by: Dan Cunningham <dan@digitaldan.com>
2022-10-17 08:06:08 +02:00
openhab-bot
a02e345f96
New Crowdin updates (#13558)
* New translations meater.properties (Italian)
* New translations tplinkrouter.properties (Italian)
2022-10-17 01:05:00 +02:00
GiviMAD
5762d239b3
[broadlinkthermostat] Aesthetic rename and add RM Mini (#13412)
* [broadlinkthermostat] Aesthetic rename and add RM Mini

Signed-off-by: Miguel Álvarez <miguelwork92@gmail.com>
2022-10-16 23:13:12 +02:00
Jan Gustafsson
c75485df16
[meater] Initial contribution (#13400)
* First version.

Signed-off-by: Jan Gustafsson <jannegpriv@gmail.com>
2022-10-16 10:13:18 +02:00
Olivier
73e18424b9
[tplinkrouter] Initial contribution (#13369)
* Initial commit

Signed-off-by: Olivier Marceau <hollysaiqs@marceau.ovh>
2022-10-15 21:52:33 +02:00
Wikibear
19b4c95103
[influxdb] Update README.md (#13541)
* Update README.md

At a link for further information what to do in a persist file.
2022-10-15 16:29:01 +02:00
billfor
39e2a29bcf
[tesla] Options to control polling frequency and sleep (#13337)
* Options to control polling frequency and sleep mode
* Update documentation
* Fix request token expiration calculation and additional logging for tokens

Signed-off-by: Bill Forsyth <git@billforsyth.net>
2022-10-15 14:25:29 +02:00
lolodomo
45bf7aeeda
[sonos] New codec id 61 for Dolby Atmos (#13551)
Fix #13540

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-10-15 11:48:20 +02:00
mlobstein
51054fe51b
Ignore NuvoNet events for sources not managed by openHAB (#13535)
Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
2022-10-15 10:27:37 +02:00
Stian Kjoglum
6103c30830
Bug Fix - Websocket reconnect after server failure (#13537)
Signed-off-by: kjoglum <stiankj@online.no>
2022-10-15 10:22:58 +02:00
Matthew Skinner
90ac9c7b78
Fix indexing of presets and playlists. (#13543)
Signed-off-by: Matthew Skinner <matt@pcmus.com>
2022-10-15 10:07:49 +02:00
Gaël L'hopital
bdbd5a1ede
[gce] File based items are not updated (#13545)
* [gce] Correcting non updated input channels

Signed-off-by: clinique <gael@lhopital.org>
2022-10-15 10:02:01 +02:00
mlobstein
61b9e74c95
[epsonprojector] Log invalid number when expecting numeric response from projector (#13550)
* Log invalid number when expecting numeric response from projector

Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
2022-10-15 09:35:14 +02:00
mlobstein
f5101b1764
Log invalid number when expecting numeric response from projector (#13549)
Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
2022-10-15 09:33:12 +02:00
openhab-bot
c29c0b4c86
New Crowdin updates (#13546)
* New translations airquality.properties (Italian)
* New translations airq.properties (Italian)
* New translations airvisualnode.properties (Italian)
* New translations androiddebugbridge.properties (Italian)
2022-10-14 13:57:49 +02:00
dependabot[bot]
0c68e9b930
[jinja] Upgrade jsoup from 1.14.3 to 1.15.3 (#13344)
* Bump jsoup from 1.14.3 to 1.15.3 in /bundles/org.openhab.transform.jinja

Bumps [jsoup](https://github.com/jhy/jsoup) from 1.14.3 to 1.15.3.
- [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.3)

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

Also-by: Wouter Born <github@maindrain.net>
Signed-off-by: dependabot[bot] <support@github.com>
2022-10-14 08:58:00 +02:00
dependabot[bot]
c9b09eb433
[ipobserver] Upgrade jsoup from 1.14.3 to 1.15.3 (#13343)
* Bump jsoup in /bundles/org.openhab.binding.ipobserver

Bumps [jsoup](https://github.com/jhy/jsoup) from 1.14.3 to 1.15.3.
- [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.3)

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

Also-by: Wouter Born <github@maindrain.net>
Signed-off-by: dependabot[bot] <support@github.com>
2022-10-14 08:57:21 +02:00
dependabot[bot]
37a91ab379
[ahawastecollection] Upgrade jsoup from 1.14.3 to 1.15.3 (#13342)
* Bump jsoup in /bundles/org.openhab.binding.ahawastecollection

Bumps [jsoup](https://github.com/jhy/jsoup) from 1.14.3 to 1.15.3.
- [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.3)

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

Signed-off-by: dependabot[bot] <support@github.com>

* Update feature.xml too

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

Also-by: Wouter Born <github@maindrain.net>
Signed-off-by: dependabot[bot] <support@github.com>
2022-10-13 18:25:22 +02:00
openhab-bot
936365031c
New Crowdin updates (#13542)
* New translations adorne.properties (Italian)
* New translations knx.properties (German)
* New translations jsscripting.properties (Italian)
2022-10-13 14:35:26 +02:00
Hilbrand Bouwkamp
f87a49dbeb
[unifi] Fix PoE port mode for 24V (#13539)
* [unifi] Fix PoE port mode for 24V

The value UniFi expects is actually pasv24. Tested with different UniFi controller versions.

* [unifi] Added Hilbrand as codeowner to UniFi binding

Signed-off-by: Hilbrand Bouwkamp <hilbrand@h72.nl>
2022-10-13 14:34:28 +02:00
Arne Seime
9313310b5e
[tibber] Add channel for tomorrows prices and timestamps as JSON array (#13416)
Signed-off-by: Arne Seime <arne.seime@gmail.com>
2022-10-11 22:14:19 +02:00
dependabot[bot]
97956d30e9
[jdbc] Upgrade derby from 10.12.1.1 to 10.14.2.0 (#13038)
* Use derby instead of derbyclient, fix bnd optional package imports
* Update versions add dynamic package import for custom JDBC drivers
* Prevent redundant null check warnings

Signed-off-by: Wouter Born <github@maindrain.net>
2022-10-11 21:54:19 +02:00
Holger Friedrich
4e69e17f41
[knx] Improve localization (#13293)
* [knx] Improve localization

- introduce localization of error messages
- add new strings for common exceptions
- provide helper functions for translation
- add test cases

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2022-10-11 21:18:17 +02:00
openhab-bot
baa8d208ea
New translations shelly.properties (German) (#13534) 2022-10-10 20:14:16 +02:00
Gaël L'hopital
e3d0039675
[gce] Avoid conflicts with things file defined (#13526)
* Avoiding dynamic creation of channels when channels already exists

Signed-off-by: clinique <gael@lhopital.org>
2022-10-10 18:42:49 +02:00
GiviMAD
c63e596680
[voskstt] fix sdk update and disable internal info logs (#13536)
* [voskstt] fix sdk update
* [voskstt] change internal sdk log level to warning

Signed-off-by: Miguel Álvarez <miguelwork92@gmail.com>
2022-10-10 18:34:48 +02:00
mlobstein
f431bfc013
[nuvo] Add Image channel for album art (#13498)
* Add Image channel for Album Art

Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
2022-10-10 15:53:05 +02:00
Cody Cutrer
507e714dd0
[homekit] fix BooleanItemReader to work with DimmerItems (#13507)
* [homekit] fix BooleanItemReader to work with DimmerItems

DimmerItems have a PercentType state, which is easily convertible
to OnOffType, but is not inherited from it. So take that into account.

i.e. a variable speed fan can use a single DimmerItem for both
ActiveStatus and RotationSpeed.

* [homekit] Document that Dimmer is a possible item type for several booleans

Signed-off-by: Cody Cutrer <cody@cutrer.us>
2022-10-10 13:36:23 +02:00
Cody Cutrer
d83c32cd24
[homekit] allow configuring maxValue on VOCDensity (#13508)
* [homekit] allow configuring maxValue on VOCDensity

the default of 1000 is quite low in reality. tested and confirmed
working with iOS 16

* [homekit] allow step value to be configured for VOCDensity

Signed-off-by: Cody Cutrer <cody@cutrer.us>
2022-10-10 13:30:13 +02:00
alexf2015
6a27f17611
fix a bug reported by community: https://community.openhab.org/t/easee-binding/135492/58 (#13527)
Signed-off-by: Alexander Friese <af944580@googlemail.com>
2022-10-10 09:28:42 +02:00
Wouter Born
3f5bee114d
[jpa] Fix Derby driver no longer included (#13532)
According to the add-on documentation the Derby driver is included which was no longer the case.
The derby version was also changed because 10.16.1.1 is for Java 17+.

Signed-off-by: Wouter Born <github@maindrain.net>
2022-10-10 09:25:32 +02:00
dependabot[bot]
8e73299ba5
[ftpupload] Upgrade dependencies (#12693)
Also-by: dependabot[bot] <support@github.com>
Signed-off-by: Wouter Born <github@maindrain.net>
2022-10-09 23:50:27 +02:00
dependabot[bot]
27068048ce
Bump protobuf-java in /bundles/org.openhab.voice.googlestt (#13491)
Bumps [protobuf-java](https://github.com/protocolbuffers/protobuf) from 3.19.2 to 3.19.6.
- [Release notes](https://github.com/protocolbuffers/protobuf/releases)
- [Changelog](https://github.com/protocolbuffers/protobuf/blob/main/generate_changelog.py)
- [Commits](https://github.com/protocolbuffers/protobuf/compare/v3.19.2...v3.19.6)

---
updated-dependencies:
- dependency-name: com.google.protobuf:protobuf-java
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-09 23:49:09 +02:00
openhab-bot
4590c54557
New Crowdin updates (#13523)
* New translations netatmo.properties (French)

* New translations nobohub.properties (French)
2022-10-09 13:10:10 +02:00
Gaël L'hopital
359c97b8ac
[netatmo] Ensure all events are retrieved since they are buffered (#13505)
* Adding logic to ensure we retrieve all events.

Signed-off-by: clinique <gael@lhopital.org>
2022-10-09 12:17:08 +02:00
Andreas Berger
c2d792d2f3
[fineoffsetweatherstation] Fix README.md (#13506)
* fix typo
* link community thread
* add note for derived values

Signed-off-by: Andreas Berger <andreas@berger-freelancer.com>
2022-10-09 11:28:48 +02:00
Cody Cutrer
0409484c2e
[homekit] allow RelativeHumidity as an optional characteristic on Thermostat (#13504)
also support QuantityType as a valid state type for double characteristics
(such as RelativeHumidity).

Signed-off-by: Cody Cutrer <cody@cutrer.us>
2022-10-09 11:01:25 +02:00
Cody Cutrer
0aa28e5d40
[homekit] get min/max/step values from state description if possible (#13510)
this helps to auto-configure if the binding is providing the necessary info

metadata config still overrides

Signed-off-by: Cody Cutrer <cody@cutrer.us>
2022-10-09 10:55:32 +02:00
Georgios Moutsos
7f1a096dca
[caddx] Changed Hashmap keys from BigDecimal to int (#13521)
Signed-off-by: Georgios Moutsos <georgios.moutsos@gmail.com>
2022-10-09 09:41:34 +02:00
openhab-bot
337241f40e
New Crowdin updates (#13514)
* New translations ambientweather.properties (Italian)
* New translations amazonechocontrol.properties (Italian)
* New translations jpa.properties (Italian)
* New translations openwebnet.properties (Italian)
2022-10-09 09:40:59 +02:00
Cody Cutrer
ccc199f429
[homekit] Allow Long type in configuration for numbers (#13509)
I.e. if it's set from a Ruby script

Signed-off-by: Cody Cutrer <cody@cutrer.us>
2022-10-09 09:04:06 +02:00
Matthew Skinner
3aac15df62
Fix mjpeg wont open multiple streams when port is not 80 (#13502)
Signed-off-by: Matthew Skinner <matt@pcmus.com>
2022-10-08 21:26:51 +02:00
Wouter Born
0306f4508f
[jpa] Add dynamic import, upgrade dependencies, add UI config (#13516)
* Adds a dynamic package import so JDBC drivers on the classpath can be used
* Upgrades OpenJPA from 2.4.0 to 3.2.2
* Upgrades Derby JDBC driver from 10.11.1.1 to 10.16.1.1
* Adds config.xml and ConfigurableService annotation so add-on can be configured using the UI
* Adds null annotations on all classes
* Prevent NPEs and some code cleanup

See also:

* https://openjpa.apache.org/builds/3.2.2/apache-openjpa/RELEASE-NOTES.html
* https://community.openhab.org/t/jpa-with-mysql-or-mariadb/138679

Fixes #13375

Signed-off-by: Wouter Born <github@maindrain.net>
2022-10-08 21:25:05 +02:00
Fabian Wolter
d18322f860
[network] Fix wake-on-lan functions in DSL rules (#13519)
Signed-off-by: Fabian Wolter <github@fabian-wolter.de>
2022-10-08 21:19:16 +02:00
Gaël L'hopital
a4781b4770
[netatmo] Adding Door/Window sensor (#13503)
* Initial PR to add NADoorTag to netatmo binding

Signed-off-by: clinique <gael@lhopital.org>
2022-10-08 18:49:44 +02:00
lolodomo
61187f89a0
[netatmo] Fix the description of the new channel request-count (#13512)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-10-08 12:51:11 +02:00
lolodomo
312b62487c
[linky] Avoid internal server error (getting power peak early in the … (#13482)
* [linky] Avoid internal server error (getting power peak early in the morning)

Fix #13377

The binding now requests power peak data for 2 days (yesterday and the day before).

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-10-08 10:10:46 +02:00
Cody Cutrer
98677c18b3
[mqtt.homeassistant] ensure availability topics get subscribed (#13466)
HASS registers availability topics before calling start(), so
the AbstractMQTTThingHandler was never subscribing/starting the
availability channel(s). So do so in start() of the base class.

I checked other implementations, and either they already handle
re-registering availabilityTopics in their start()
(GenericMQTTThingHandler), or they don't use availabilityTopics
at all from the base class and manage it themselves (Homie).

Note that this shows up as newly-added HASS things not having
a problem (because the components aren't discovered until after
the ThingHandler is started), but if you restart OpenHAB or
disable/enable the thing, the channels (and components) are
cached, thus how availabilityTopics are known before starting.

Signed-off-by: Cody Cutrer <cody@cutrer.us>
2022-10-08 09:12:28 +02:00
Gaël L'hopital
959e65814b
Handle properly UNKNOWN module types in discovery (#13500)
Signed-off-by: clinique <gael@lhopital.org>
2022-10-07 13:15:04 +02:00
Gaël L'hopital
56d72ca1c3
[netatmo] Buffer last event requests per child modules (#13489)
* Buffer last event requests per child modules
This is targetted to decrease the number of requests transmitted to Netatmo API.
Solves #13358

Signed-off-by: clinique <gael@lhopital.org>
2022-10-07 11:56:15 +02:00
Gaël L'hopital
cc6e4fad61
[netatmo] Adding a request counter (#13494)
* Adding a request counter channel to Api Bridge thing.

Signed-off-by: clinique <gael@lhopital.org>
2022-10-07 11:48:41 +02:00
Hans-Jörg Merk
31820ad740
Update README.md (#13497) 2022-10-06 23:15:55 +02:00
Gaël L'hopital
e14ce7d9eb
[netatmo] Handling camera ping timeouts (#13487)
* Solves #13486

Signed-off-by: clinique <gael@lhopital.org>
2022-10-06 14:44:26 +02:00
M Valla
2519ec7236
[openwebnet] add support for basic Scenarios (WHO=0) (#13473)
* [openwebnet] added first support for WHO=0 scenarios
* [openwebnet] channels indent
* [openwebnet] formatting
* [openwebnet] set WHO=0 thing online automatically. Update to openwebnet4j 0.9.0

Signed-off-by: Massimo Valla <mvcode00@gmail.com>
2022-10-06 08:33:01 +02:00
Andreas Lanz
6e4f78458d
[SunSpec] Add missing Inverter Status, Add Channel for Vendor-Specific Status (#13480)
* [SunSpec] Added missing InverterStatus

See e.g., https://github.com/sunspec/models/blob/master/json/model_101.json#L307

* [SunSpec] Added Channel for Vendor Specific Status

* [SunSpec] Fixing two old TODOs

VA and VAR are defined as alternate unit for WATT so no breaking change.

Signed-off-by: Andreas Lanz <alanz@gmx.de>
2022-10-05 07:49:31 +02:00
openhab-bot
232cef371a
New translations jellyfin.properties (Italian) (#13488) 2022-10-04 12:29:59 +02:00
Jacob Laursen
12389f083d
Consolidate and optimize datetime conversions (#13483)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-10-04 08:59:59 +02:00
Markus Michels
6835c278e1
[shelly] Add Plus/Pro support, some bugfixes (#13439)
* Plus/Pro support and some refactoring, bugfixes

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

* Review changes applied

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

* review changes

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

Signed-off-by: Markus Michels <markus7017@gmail.com>
2022-10-04 08:00:50 +02:00
Felix Lo
d2dde9768f
[openhabcloud] sleepSocketIO(long delay) halts entire io.socket thread #13210 (#13421)
* sleepSocketIO(long delay) halts entire io.socket thread CI #6047

Signed-off-by: lsafelix75 <lsafelix75@gmail.com>
2022-10-03 19:43:43 +02:00
openhab-bot
3074ee3de8
New Crowdin updates (#13481)
* New translations influxdb.properties (French)
* New translations tado.properties (Italian)
* New translations ecowatt.properties (Italian)
* New translations solarmax.properties (Italian)
2022-10-03 17:21:26 +02:00
Hilbrand Bouwkamp
0560a0e333
[unifi] Detect all PoE ports, and set PoE thing offline if no data could be found (#13455)
* [unifi] Set PoE thing offline if no data could be found

This would better reflect the PoE thing status if there is a problem with either the data from the api or a configuration problem (like invalid port number).

* [unifi] Fix bug to detect PoE ports when first port is not PoE port

The binding assumed either all ports or no ports were PoE, and asssumed if port 0 was not PoE none was PoE.
However, some switches have ports starting at port 5 to be PoE. Therefor changed code to just test each port if it is PoE.

Signed-off-by: Hilbrand Bouwkamp <hilbrand@h72.nl>
2022-10-03 13:02:46 +02:00
Cody Cutrer
64d97374ad
[homekit] allow NumberItems for BatteryLowStatus (#13449)
* [homekit] allow NumberItems for BatteryLowStatus

use a lowThreshold metadata config to infer if it's low

Signed-off-by: Cody Cutrer <cody@cutrer.us>
2022-10-03 12:13:39 +02:00
alexf2015
e9848e27e8
[easee] Fix binding not working after Easee cloud API has been unavailable (#13469)
* fix #13463

Signed-off-by: Alexander Friese <af944580@googlemail.com>
2022-10-02 18:28:33 +02:00
Jan Vybíral
c9decdbe49
[nuki] Disabled warning for things created from textual config (#13331)
* Removed warning shown when thing is created with hexadecimal warning for read-only things
* Added missing configuration parameters into documentation

Signed-off-by: Jan Vybíral <jan.vybiral1@gmail.com>
2022-10-02 18:10:40 +02:00
Andrew Fiddian-Green
5c7eaa33ac
[tado] Channels are visible depending on device type and capabilities (#13301)
* [tado] create zone channels dynamically
* [tado] add JUnit test classes
* [tado] eliminate maven compiler warnings
* [tado] code optimisation
* [tado] read me
* [tado] current temperature & humidity also dynamic
* [tado] battery/window channels
* [tado] simplify channel builder
* [tado] fix bundle initialisation bug
* [tado] fix insert positions
* [tado] add channel type categories
* [tado] refactor battery checker
* [tado] create capabilities support in caller vs callee
* [tado] method doesn't throw exception
* [tado] remove new line
* [velux] add self to code owners
* [tado] capitalize categories

Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2022-10-02 17:46:16 +02:00
Sami Salonen
8d9dfb20e3
[bluetooth.ruuvitag] Correct parse of NA temperature & acceleraiton (#13279)
Fixed by bumping support library fi.tkgwf.ruuvi:ruuvitag-comon
https://github.com/Scrin/ruuvitag-common-java/releases/tag/v1.0.2

Signed-off-by: Sami Salonen <ssalonen@gmail.com>
2022-10-02 14:32:22 +02:00
lolodomo
32747e825f
[ecowatt] Fix a typo in a channel description (#13476)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-10-02 12:54:27 +02:00
GiviMAD
d24e3eadc3
[androiddebugbridge] Add mDNS discovery for android tv (#13462)
* [androiddebugbridge] add mDNS discovery for android tv

Signed-off-by: Miguel Álvarez <miguelwork92@gmail.com>
2022-10-02 12:38:59 +02:00
openhab-bot
3c306e7c06
New Crowdin updates (#13474)
* New translations openweathermap.properties (French)

* New translations openuv.properties (French)

* New translations openhabcloud.properties (French)

* New translations ecowatt.properties (French)
2022-10-02 12:33:47 +02:00
Jacob Laursen
c706ac8478
[jdbc] Fix warnings and apply null annotations (#13429)
* Fix warnings and apply null annotations

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-10-02 11:14:41 +02:00
Stefan Giehl
c41c38405e
[LuxtronikHeatpump] Adds discovery service (#11907)
* [LuxtronikHeatpump] Adds discovery service

Signed-off-by: Stefan Giehl <stefangiehl@gmail.com>
2022-10-01 17:15:16 +02:00
Tobias Liese
8b4607a4f1
Added URL path support. (#13436)
Changes:
Fix: Now using KTOR instead of building the url by simple string concad. This fixes the https and port 443 bug that existed prier to this change. (https://example.com would look like: https://example.com:443)
Added: Support for jellyfins Base URL option. This allows the addon to be used on installations were jellyfin uses a base path.

Signed-off-by: tliese <mail@tobiasliese.me>
2022-10-01 15:32:11 +02:00
Matthew Skinner
cc50497f31
[ipcamera] FFmpeg based alarms will now auto restart if stopped (#13446)
* FFmpeg alarms now auto restart

Signed-off-by: Matthew Skinner <matt@pcmus.com>
2022-10-01 14:19:25 +02:00
Jan Vybíral
a646fe34e0
[nuki] Fixed nukiId migration for devices with shorter nukiId (#13088) (#13470)
Signed-off-by: Jan Vybíral <jan.vybiral1@gmail.com>
2022-10-01 13:45:35 +02:00
Gaël L'hopital
cedf6d9035
[netatmo] Room-Thing offline after restart (#13467)
* Correcting issue by late loading of the capability.
* Handle MAXIMUM_USAGE_REACHED at ApiBridgeHandler level.

Signed-off-by: clinique <gael@lhopital.org>
2022-10-01 12:50:22 +02:00
Cody Cutrer
7b8ae535e9
[jrubyscripting] clean up assignment of class objects (#13451)
pass the actual class objects through, and post-process in Ruby, to
avoid the rescue nil -- and by extension, any issues with visibility
into private objects from JRuby.

Signed-off-by: Cody Cutrer <cody@cutrer.us>
2022-09-30 22:47:53 +02:00
Peter Hicks
2a02f2c7ef
[tapocontrol] Fix authentication issue making plugin unusable (#13468)
The tapocontrol plugin uses a static UUID which is now causing a an API rate limit exceeded error from the TP-Link API.  This commit generates a separate UUID for every login attempt.

Signed-off-by: Peter Hicks <peter.hicks@opentraintimes.com>
2022-09-30 21:41:53 +02:00
Fabian Wolter
08375cd3a8
[lcn] Improve logging (#13460)
Signed-off-by: Fabian Wolter <github@fabian-wolter.de>
2022-09-29 09:01:20 +02:00
Michael Barker
c244391d08
[echonetlite] Initial contribution (#11999)
* First implementation of Echonet Lite Java Bindings.  Only supports Mitsubishi Home Heat Pumps.

Signed-off-by: Michael Barker <mikeb01@gmail.com>
2022-09-28 23:23:57 +02:00
martin1338
f74f3ecd02
updated example to match frontdoor_lockstates (#13441)
command numbers where changed, see lines 80 and following -> adjusted the example and reorderd the commands
2022-09-28 21:33:21 +02:00
lolodomo
d00ca1caeb
[remoteopenhab] Optimize filtering of ALIVE events (#13432)
* [remoteopenhab] Optimize handling of ALIVE events

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-09-28 20:39:20 +02:00
openhab-bot
6069286ffd
New translations pushover.properties (German) (#13454) 2022-09-27 22:40:22 +02:00
lolodomo
4b69af686f
[solarmax] Add default translations (#13452)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-09-27 17:21:07 +02:00
Jamie Townsend
015a370392
[solarmax] Initial contribution (#10414)
* SolarMax Binding Initial implementation

Signed-off-by: Jamie Townsend <jamie_townsend@hotmail.com>

* #10413 camelCaserizeTheChannelNames

Signed-off-by: Jamie Townsend <jamie_townsend@hotmail.com>

* #10413 Delete commented code and Refactor Brute Force Command Discovery into something commitable

Signed-off-by: Jamie Townsend <jamie_townsend@hotmail.com>

* 10413 Delete commented code and Refactor Brute Force Command Discovery into something commitable

Signed-off-by: Jamie Townsend <jamie_townsend@hotmail.com>

* #10413 Codestyle

Signed-off-by: Jamie Townsend <jamie_townsend@hotmail.com>

* 10413 Codestyle

Signed-off-by: Jamie Townsend <jamie_townsend@hotmail.com>

* #10413 corrected sat-plugin errors

Signed-off-by: Jamie Townsend <jamie_townsend@hotmail.com>

* #10413 updates from code reviews in PR #10414

Signed-off-by: Jamie Townsend <jamie_townsend@hotmail.com>

* 10413 mvn spotless:apply

Signed-off-by: Jamie Townsend <jamie_townsend@hotmail.com>

* 10413 Updated to 3.2.0-SNAPSHOT

Signed-off-by: Jamie Townsend <jamie_townsend@hotmail.com>

* Fixed conflicts introduced by foreign commit.

Signed-off-by: Jamie Townsend <jamie_townsend@hotmail.com>

* Updated copyright years

Signed-off-by: Jamie Townsend <jamie_townsend@hotmail.com>

* Ran  mvn spotless:apply to resolve formatting issues

Signed-off-by: Jamie Townsend <jamie_townsend@hotmail.com>

* Updates from review

Signed-off-by: Jamie Townsend <jamie_townsend@hotmail.com>

* Switch to using Units & move softwareVersion & buildNumber to properties

Signed-off-by: Jamie Townsend <jamie_townsend@hotmail.com>

* A couple of review related updates

Signed-off-by: Jamie Townsend <jamie_townsend@hotmail.com>

* A couple more review related changes.

Signed-off-by: Jamie Townsend <jamie_townsend@hotmail.com>

* Added Full Example to README.md

Signed-off-by: Jamie Townsend <jamie_townsend@hotmail.com>

* Update parent pom.xml version

Signed-off-by: Jamie Townsend <jamie_townsend@hotmail.com>

* Update bundles/org.openhab.binding.solarmax/src/main/java/org/openhab/binding/solarmax/internal/SolarMaxHandlerFactory.java

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

* Update bundles/org.openhab.binding.solarmax/src/main/java/org/openhab/binding/solarmax/internal/SolarMaxHandlerFactory.java

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

Signed-off-by: Jamie Townsend <jamie_townsend@hotmail.com>
Signed-off-by: Fabian Wolter <github@fabian-wolter.de>
Co-authored-by: Fabian Wolter <github@fabian-wolter.de>
2022-09-27 07:51:10 +02:00
openhab-bot
24d5f2ddc7
New Crowdin updates (#13448)
* New translations openwebnet.properties (German)
* New translations sonos.properties (German)
* New translations openhabcloud.properties (German)
* New translations hueemulation.properties (German)
* New translations epsonprojector.properties (German)
* New translations hpprinter.properties (German)
* New translations http.properties (German)
* New translations knx.properties (German)
* New translations lcn.properties (German)
* New translations magentatv.properties (German)
* New translations onkyo.properties (German)
* New translations fineoffsetweatherstation.properties (German)
* New translations openweathermap.properties (German)
2022-09-26 23:04:07 +02:00
Roie Geron
58168c205f
[touchwand] Add port configuration to websocket (#13440)
* add port configuration to websocket

Signed-off-by: Roie Geron <roie.geron@gmail.com>
2022-09-26 19:05:50 +02:00
Cody Cutrer
517fe44b36
[mqtt.generic] fix range of RGB values (#13426)
Range is 0..255, not 0..250.

rgb -> hsv -> rgb still isn't perfect, but it's better. In
particular, I found this when using HSBType.BLUE in a test,
and it was coming out as 0,0,250 in RGB. It now comes out as
a proper 0,0,255.

Signed-off-by: Cody Cutrer <cody@cutrer.us>
2022-09-26 19:03:37 +02:00
Cody Cutrer
e4fe6889d0
[homekit] allow group items of the correct type anywhere that type is needed (#13236)
this is a theme, and I've extracted a helper method and applied it to several
other locations as well

example, I have a double-sliding door, with two contact sensors
in the alarm system, defined as:

```
Group:Contact:AND(CLOSED,OPEN) DeckDoor_Contact "Deck Door [%s]" <door> (gExteriorDoors, gWarningVisibility_Contact, gDoor, lMainFloor, gInflux) { homekit="ContactSensor" [instance=2] }
Contact DeckNDoor_Contact "Deck Door North" <door> (gInflux, DeckDoor_Contact, gGreatContacts) { channel="dscalarm:zone:46c52f35:zone11:zone_status" }
Switch DeckNDoor_Tamper "Deck Door North Tamper [%s]" <warning> (gTamper, gWarningVisibility_Switch) { channel="dscalarm:zone:46c52f35:zone11:zone_tamper" }
Contact DeckSDoor_Contact "Deck Door South" <door> (gInflux, DeckDoor_Contact, gGreatContacts) { channel="dscalarm:zone:46c52f35:zone12:zone_status" }
Switch DeckSDoor_Tamper "Deck Door South Tamper [%s]" <warning> (gTamper, gWarningVisibility_Switch) { channel="dscalarm:zone:46c52f35:zone12:zone_tamper" }
```

This allows the Group:Contact to be used for the ContactSensor.

Signed-off-by: Cody Cutrer <cody@cutrer.us>
2022-09-26 18:58:59 +02:00
lolodomo
5bbd729ba2
[ecowatt] Shorter labels for channel options (#13438)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-09-25 21:01:26 +02:00
Maximilian Heß
8ab5f629c3
[KVV] Replace underlying API (#13186)
* [KVV] Replace underlying API

The underlying API does no longer work so it is replace. An API key is no longer necessary.
Users need to replace the `stopId` in there station thing configuration. See README.md for details.

Signed-off-by: Maximilian Hess <mail@ne0h.de>
Co-authored-by: Laurent Garnier <lg.hc@free.fr>
2022-09-25 14:29:10 +02:00
Andrew Fiddian-Green
79309cb746
[velux] Bridge status shows offline when communication fails (#13406)
* [velux] dynamically update bridge on-/off- line state

Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2022-09-25 13:17:10 +02:00
Gwendal Roulleau
b7cbf2ba72
[pulseaudio] Apply real disconnection when needed (#13338)
* [pulseaudio] Removing isIdle test

The isIdle boolean was not properly handled.
When disconnection is called, isIdle is not relevant : we should always honnor the disconnection request.
In fact, isIdle prevented disconnection when it is necessary (example : when a IOException occurs when sending audio to sink)

+Little bug fix on volume parsing: some volume request doesn't respond with a space after the comma separating left/right channel.

* [pulseaudio] Enhancement to the idle detection for disconnection

Using a counter to count client instead of a isIdle variable, which was not thread safe.
The PulseaudioSimpleProtocolStream parent class is now the sole responsible for closing source or sink stream.

* [pulseaudio] Small performance enhancement

Avoid a costly synchronized operation for a method called very often.

Signed-off-by: Gwendal Roulleau <gwendal.roulleau@gmail.com>
2022-09-25 12:59:30 +02:00
Jacob Laursen
af0ac6e474
[miele] Migrate start channel to full DateTime channel and add end channel (#13393)
* Migrate start/finish channels to full DateTime channels
* Unmark start and duration as advanced channels
* Add end channel

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-09-25 11:29:26 +02:00
Roie Geron
96b77ed541
[touchwand] Fix thermostat target temperature command (#13427)
* Fix target temperature command 

1) Fix target temperature command 
2) fixed typo in log

* Allow update status even if the unit is not alive

Seems 'acwand' status is always "DOWN" so ignore this and just log debug

Signed-off-by: Roie Geron <roie.geron@gmail.com>
2022-09-25 10:25:10 +02:00
rossbuggins
80804a59b0
How to support OpenWeatherMap one call api 3.0. (#13414)
Add OpenCall API version property.

Allowing for version 3.0 API to be set.

Signed-off-by: Ross Buggins <20972856+rossbuggins@users.noreply.github.com>
2022-09-24 21:15:19 +02:00
Timo Grossenbacher
6241d6f369
[fsinternetradio] Add Ruark R5 to tested devices & mode list (#13325)
* Add Ruark R5 to tested devices & mode list

Signed-off-by: Timo Grossenbacher <timo@timogrossenbacher.ch>
2022-09-24 11:38:38 +02:00
openhab-bot
19894aa894
New translations bluetooth.properties (Dutch) (#13431) 2022-09-22 21:39:55 +02:00
lolodomo
e4917c3b4a
[ecowatt] Unit tests for methods getting channel state from API response (#13419)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-09-22 00:28:28 +02:00
Karel Goderis
062a7c1e76
[Tesla] Add event stream & handling post new authentication process by Tesla (#13116)
Signed-Off-By: Karel Goderis <karel.goderis@me.com>
2022-09-21 21:55:27 +02:00
Jacob Laursen
3e5dde0474
Fix ClassCastException for LocalDateTime (#13425)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-09-21 19:10:02 +02:00
Wouter Born
487811fdfd
Update Shelly and Tradfri bindings for upgrade to Californium 2.7.3 (#13407)
* Update Shelly and Tradfri bindings for upgrade to Californium 2.7.3

* Fixes deprecated API usages
* Resolves itest runbundles

Signed-off-by: Wouter Born <github@maindrain.net>
2022-09-21 12:19:19 +02:00
jimtng
fafdf2d7a3
[jrubyscripting] Update to JRuby 9.3.8.0 (#13424)
Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
2022-09-21 09:51:04 +02:00
Cody Cutrer
8656ba501a
[mqtt.homeassistant] support availability_templates (#13397)
Signed-off-by: Cody Cutrer <cody@cutrer.us>
2022-09-19 23:00:01 +02:00
openhab-bot
b6ddb6bb0a
New Crowdin updates (#13415)
* New translations ecowatt.properties (Italian)
* New translations jellyfin.properties (Italian)
2022-09-19 16:23:54 +02:00
Sami Salonen
67843ffbfd
[openhabcloud] improved logging for troubleshooting purposes (#12430)
* [openhabcloud] Sensor UUID and secret in logging

Signed-off-by: Sami Salonen <ssalonen@gmail.com>

* [openhab] More logging. Lambda callbacks

Signed-off-by: Sami Salonen <ssalonen@gmail.com>

* [openhabcloud] Sensor short UUID/secret completely

Signed-off-by: Sami Salonen <ssalonen@gmail.com>

* [openhabcloud] pong milliseconds

Signed-off-by: Sami Salonen <ssalonen@gmail.com>

* [openhabcloud] Log websecket factory HTTP calls and PACKETs (on connect)

Signed-off-by: Sami Salonen <ssalonen@gmail.com>

* [openhabcloud] Sensor more secrets

Signed-off-by: Sami Salonen <ssalonen@gmail.com>

* [openhabcloud] abort connect on exceptional errors

Signed-off-by: Sami Salonen <ssalonen@gmail.com>

* [openhabcloud] remove dead code

Signed-off-by: Sami Salonen <ssalonen@gmail.com>

* [openhabcloud] Socket.IO http logging only with TRACE level enabled

Signed-off-by: Sami Salonen <ssalonen@gmail.com>

* [openhabcloud] logging level tuning

Signed-off-by: Sami Salonen <ssalonen@gmail.com>

* [openhabcloud] fix typo sensored->censored

Signed-off-by: Sami Salonen <ssalonen@gmail.com>

* [openhabcloud] warn level logging (not info) when disconnected

Signed-off-by: Sami Salonen <ssalonen@gmail.com>

Signed-off-by: Sami Salonen <ssalonen@gmail.com>
2022-09-19 15:41:16 +02:00
mlobstein
89c73a0d81
[nuvo] Add NuvoNet source communication capabilities (#12042)
* Add NuvoNet source communication

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

* fix readme

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

* remove commented code

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

* Add startup/shutdown keypad messages

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

* Minor cleanup before code review

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

* Add configurable favorites labels

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

* add new config item to i18n properties

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

* Fix restart detection and improve version matching

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

* review changes

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

* Increment version number

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

* remove repeated word in channels.xml

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>
2022-09-19 08:00:46 +02:00
Bernd Weymann
cbe41951fd
readme typo: callbackIP needs to match to code (#13410)
Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>
2022-09-18 21:45:00 +02:00
Sami Salonen
295df504c8
[mqtt.homeassistant] More readable label for discovered things (#13402)
* [mqtt.openassistant] Better labels for discoverd things

This PR introduces more simple label for things, instead of
"My Sensor (Sensor, Sensor, Sensor, Sensor, Sensor, Switch)" we have
simply "Me Sensor (5x Sensor, Switch)".

Signed-off-by: Sami Salonen <ssalonen@gmail.com>
2022-09-18 21:22:06 +02:00
Cody Cutrer
a2b6dd77b7
[mqtt.homeassistant] sensors with a state_class are numeric (#13398)
see reference in code comment, but a measurement sensor is assumed to
be numeric, even if it doesn't have a unit

Signed-off-by: Cody Cutrer <cody@cutrer.us>
2022-09-18 19:46:07 +02:00
Sami Salonen
2fd2e5175f
[mqtt.homeassistant] Stable jsondb discovery result (#13401)
* [mqtt.homeassistant] Stable jsondb serialization for discovery results

Similar to openhab/openhab-core#2436, we want
to have consistent ordering of data in JSONDB. This is fixing the jsondb
order for mqtt.homeassistant discovery results, specifically, the
"topics" property.

* [mqtt.homeassistant] order using full topic string, not by subcomponent

Signed-off-by: Sami Salonen <ssalonen@gmail.com>
2022-09-18 18:20:49 +02:00
lolodomo
6ebf20f183
[ecowatt] Initial contribution (#13404)
* [ecowatt] Initial contribution

This binding uses the Ecowatt API to expose clear signals to adopt the right gestures and to ensure a good supply of electricity for all in France.

Close #13351

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

* Update bundles/org.openhab.binding.ecowatt/src/main/resources/OH-INF/thing/thing-types.xml

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

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
Signed-off-by: Fabian Wolter <github@fabian-wolter.de>
Co-authored-by: Fabian Wolter <github@fabian-wolter.de>
2022-09-18 17:52:18 +02:00
GiviMAD
798b3ede04
[androiddebugbridge] fix get current package and get mac address (#13390)
Signed-off-by: Miguel Álvarez <miguelwork92@gmail.com>

Signed-off-by: Miguel Álvarez <miguelwork92@gmail.com>
2022-09-18 17:44:59 +02:00
M Valla
e8d20f0341
[openwebnet] improved README for AUX and ENERGY (#13408)
Signed-off-by: Massimo Valla <mvcode00@gmail.com>

Signed-off-by: Massimo Valla <mvcode00@gmail.com>
2022-09-18 17:24:39 +02:00
Dmitry
b6a2240270
[miio] Qingping Air Monitor (cgllc.airmonitor.s1) support is broken (#13262)
* [miio] Qingping Air Monitor (cgllc.airmonitor.s1) support is broken #13258
1.  Custom refresh command for "battery" was defined . The device with "4.1.8_9999" firmware version does not allowed to obtain this information by this way which prevents to obtain other values. The solution should work for both old firmware (the battery information would be requested as before) and it does not prevent the device with new firmware from sending other values (I checked it).

Signed-off-by: Dmitry Malenok <_mak_@bk.ru>

* [miio] Qingping Air Monitor (cgllc.airmonitor.s1) support is broken #13258
1.  The comment clarifying the "battery" parameter behavior was added.

Signed-off-by: Dmitry Malenok <_mak_@bk.ru>

Signed-off-by: Dmitry Malenok <_mak_@bk.ru>
2022-09-18 17:23:22 +02:00
GiviMAD
4ebcb70c83
[jellyfin] add play by id channels and update sdk (#13389)
* [jellyfin] add play by id channels and update sdk
* [jellyfin] add missed Playing Item Id channel

Signed-off-by: Miguel Álvarez <miguelwork92@gmail.com>
2022-09-18 13:01:18 +02:00
J-N-K
b2d9fe5c0a
Adapt to core-changes (added JNA to tp) (#13298)
Signed-off-by: Jan N. Klug <github@klug.nrw>
2022-09-18 11:30:39 +02:00
mlobstein
8a9c66a567
[radiothermostat] Ignore updates if thermostat data is invalid (#13394)
* Ignore updates if data is invalid

Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
2022-09-17 17:49:59 +02:00
Haavar Valeur
7dfb963f92
Configure zone on panel even if the channel is not yet linked (#13380)
Signed-off-by: Haavar Valeur <haavar@haavar.com>
2022-09-17 17:02:09 +02:00
Matthew Skinner
6805f8461e
[ipcamera] Fix ONVIF fails to reconnect (#13396)
* Fix reconnecting issues
* Cleanup logging.

Signed-off-by: Matthew Skinner <matt@pcmus.com>
2022-09-17 10:51:55 +02:00
GiviMAD
25ffd6127b
[vosk] Upgrade sdk and handle UnsatisfiedLinkError exceptions (#13391)
* [vosk] update sdk
* [vosk] handle unsatisfied link error exceptions

Signed-off-by: Miguel Álvarez <miguelwork92@gmail.com>
2022-09-17 09:27:09 +02:00
Florian Hotze
39d221d3a8
[jsscripting] Update openhab-js to 2.0.3 (#13385)
* [jsscripting] Update openhab-js to 2.0.3
* [jsscripting] Update README

Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
2022-09-13 21:57:09 +02:00
Christoph Weitkamp
a963c79e8b
Consider TimeZoneProvider to build states for time-stamp channels (#13386)
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2022-09-13 21:53:52 +02:00
alexf2015
b9761d0288
fix README.md (#13387)
Signed-off-by: Alexander Friese <af944580@googlemail.com>
2022-09-13 21:51:58 +02:00
Jacob Laursen
474be93710
Fix date cast exception (#13382)
After upgrading mysql-connector to 8.0.30 this exception was thrown: class java.time.LocalDateTime cannot be cast to class java.sql.Timestamp

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-09-12 18:16:25 +02:00
Andreas Berger
333ffbcba2
[fineoffsetweatherstation] Fix measurands (#13381)
* fix the PIEZO_GAIN10 measurand
* skip RAIN_PRIO measurand
* skip RCSATION measurand

Signed-off-by: Andreas Berger <andreas@berger-freelancer.com>
2022-09-12 17:16:10 +02:00
Andrew Fiddian-Green
ddd25316d9
[velux] Correction to channel label (#13379)
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>

Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2022-09-11 16:16:44 +02:00
Andrew Fiddian-Green
9123e1349e
[velux] Vane position channel is visible when required (#13271)
* [velux] make vanePosition channel dynamic
* [velux] change category of window position from 'blinds' to 'window'

Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2022-09-11 12:44:16 +02:00
Mark Herwege
909d390581
[systeminfo] Add CPU load channel, update dependencies (#13292)
* Add CPU load channel, update dependencies
* use PercentType, correct process CPU load
* Add and fix test

Signed-off-by: Mark Herwege <mark.herwege@telenet.be>
2022-09-11 11:06:52 +02:00
lolodomo
55e27c8c12
[rotel] New channel to select FM/DAB/iRadio preset (#13285)
* [rotel] New channel to select FM/DAB/iRadio preset

For models RCX-1500, RDG-1520, RT-11, RT-1570, T11 and T14

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-09-11 10:08:50 +02:00
openhab-bot
f74a017bad
New translations unifi.properties (Dutch) (#13372) 2022-09-11 02:22:35 +02:00
lolodomo
e84608e410
[linky] Docker specificities (#13348)
Related to #13336

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-09-10 17:00:28 +02:00
Hilbrand Bouwkamp
698703b0c6
[unifi] Fix portoverride to not remove any other data (#13362)
When a user has configured additional settings on a PoE port, like name.
These settings where lost when changing the PoEPort status in openHAB.
This was because in the binding only some information of the override was stored and when writing the new state this information would have been sent too.
In this change the object to store the override has been replaced by a plain json object. Therefore we don't have to know what is in it and all information is kept.

Signed-off-by: Hilbrand Bouwkamp <hilbrand@h72.nl>
2022-09-10 16:59:42 +02:00
alexf2015
1f1de41bd3
[Easee] Initial contribution (#12954)
* initial binding version

Signed-off-by: Alexander Friese <af944580@gmail.com>
2022-09-10 16:57:21 +02:00
Andrew Fiddian-Green
dce6dc9f79
[hdpowerview] Correct shade capabilities information (#13330)
* [hdpowerview] corrections to capabilities database

Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2022-09-10 10:01:54 +02:00
Haavar Valeur
9c534e37a8
[Konnected] Taking configured onValue into account when sending status to actuator (#13360)
* Taking configured onvalue into account when sending status to actuator
* Added documentation for onValue configuration

Signed-off-by: Haavar Valeur <haavar@haavar.com>
2022-09-10 08:48:03 +02:00
openhab-bot
ce6b0a876d
New translations shelly.properties (German) (#13366) 2022-09-09 22:13:10 +02:00
Mark Herwege
54dc5c1fec
[upnpcontrol] Prepare dynamic channels and status messages for translation (#13364)
* prepare dynamic channels and status messages for translation

Signed-off-by: Mark Herwege <mark.herwege@telenet.be>
2022-09-08 22:25:18 +02:00
Ondrej Pecta
7d9e277a15
[jablotron] Added thermometers support for JA100F alarms (#13361)
Signed-off-by: Ondrej Pecta <opecta@gmail.com>
2022-09-08 21:18:42 +02:00
Haavar Valeur
8ee4ac86db
Fixed example thing. Made names less ambiguous (#13363)
Signed-off-by: Haavar Valeur <haavar@haavar.com>
2022-09-08 13:29:31 +02:00
Hilbrand Bouwkamp
18a41dbe84
[dsmr] Made additional key for smarty meter an option (#13359)
* [dsmr] Made additional key for smarty meter optional

Signed-off-by: Hilbrand Bouwkamp <hilbrand@h72.nl>
2022-09-07 11:08:04 +02:00
lolodomo
c4625992af
[remoteopenhab] Fix the pattern to parse DateTime (#13349)
Re-use the same pattern as defined in class DateTimeTyoe.

Allows the support of 0 to 9 digits after the seconds.

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-09-06 20:27:31 +02:00
Haavar Valeur
fe25216ea6
[Konnected] Using default onvalue if configured is null (#13354)
* Using default onvalue if configured is null
* Using DTO for channel configuration. Changing channel config parameter names to camel case

Signed-off-by: Haavar Valeur <haavar@haavar.com>
2022-09-06 20:24:33 +02:00
lolodomo
bbaf1e782a
[remoteopenhab] Handle REFRESH command as any command (#13350)
The received command (REFRESH) is transmitted as a REFRESH command to
the remote item.

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-09-05 17:54:27 +02:00
mlobstein
5a11f1420e
[nuvo] Fix MPS4 flag and online status reporting (#13345)
* Fix mps4 flag and online status reporting
* Update missing statuses

Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
2022-09-03 17:44:39 +02:00
Christoph Weitkamp
32c76898c1
[avmfritz] Allow to set every userdefined color (#13317)
* Added INCREASE/DECREASE commands for brightness/color Channels
* Fixed NPE in HeatingModel
* Use set unmapped color command for color control of bulbs

Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2022-09-03 14:42:31 +02:00
Stewart Cossey
df432a7fbc
Update API URL. (#13306)
Signed-off-by: Stewart Cossey <stewart.cossey@gmail.com>
2022-09-03 14:32:43 +02:00
Gwendal Roulleau
2b62f74e5f
[mimictts] Use http method POST instead of GET (#13239)
* [mimictts] Use http method POST instead of GET

Using POST method allows longer request size.
Also, using InputStreamResponseListener avoid keeping the response in-memory

* [mimictts] quick fix for regression : providing length

Some audiosink needs it

Signed-off-by: Gwendal Roulleau <gwendal.roulleau@gmail.com>
2022-09-03 12:00:32 +02:00
openhab-bot
b27364679e
New translations fineoffsetweatherstation.properties (Italian) (#13341) 2022-09-01 09:36:05 +02:00
Jacob Laursen
dddf463e09
Upgrade MySQL connector to 8.0.30 (#13242)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-08-31 21:56:39 +02:00
Andreas Berger
4331c5f3ed
[fineoffsetweatherstation] Add support for the new GW2001 weather station (#13283)
* [fineoffsetweatherstation] add support for the new GW2001 weather station with its WH90 sensor
* [fineoffsetweatherstation] add missing channel labels
* [fineoffsetweatherstation] remove redundant translations
* [fineoffsetweatherstation] add test data + fix for WH90
* [fineoffsetweatherstation] fix wrong size for `CMD_READ_RAIN`

Signed-off-by: Andreas Berger <andreas@berger-freelancer.com>
2022-08-31 15:27:18 +02:00
Jacob Laursen
a2e0d23297
[boschindego] Add another status code for returning to dock (#13335)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-08-30 16:45:30 +02:00
Haavar Valeur
195a37e36e
[Konnected] Removed defaults for zone configuration parameter from the channels (#13333)
* Removed defaults from zone parameter
* Corrected the name of the zone property in example

Signed-off-by: Haavar Valeur <haavar@haavar.com>
2022-08-29 22:57:12 +02:00
Wouter Born
8eb0d2c16e
[rrd4j] Use RrdDbPool to prevent ClosedByInterruptException (#13332)
Using the pool prevents exceptions like:

```
java.nio.channels.ClosedByInterruptException: null
	at java.nio.channels.spi.AbstractInterruptibleChannel.end(AbstractInterruptibleChannel.java:199) ~[?:?]
	at sun.nio.ch.FileChannelImpl.endBlocking(FileChannelImpl.java:162) ~[?:?]
	at sun.nio.ch.FileChannelImpl.size(FileChannelImpl.java:388) ~[?:?]
	at org.rrd4j.core.RrdNioBackend.<init>(RrdNioBackend.java:94) ~[?:?]
	at org.rrd4j.core.RrdNioBackendFactory.open(RrdNioBackendFactory.java:163) ~[?:?]
	at org.rrd4j.core.RrdBackendFactory.getBackend(RrdBackendFactory.java:521) ~[?:?]
	at org.rrd4j.core.RrdDb.<init>(RrdDb.java:627) ~[?:?]
	at org.rrd4j.core.RrdDb.of(RrdDb.java:500) ~[?:?]
	at org.openhab.persistence.rrd4j.internal.RRD4jPersistenceService.getDB(RRD4jPersistenceService.java:323) ~[?:?]
	at org.openhab.persistence.rrd4j.internal.RRD4jPersistenceService.store(RRD4jPersistenceService.java:141) ~[?:?]
	at org.openhab.persistence.rrd4j.internal.RRD4jPersistenceService.lambda$0(RRD4jPersistenceService.java:211) ~[?:?]
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) [?:?]
	at java.util.concurrent.FutureTask.run(FutureTask.java:264) [?:?]
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304) [?:?]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) [?:?]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) [?:?]
	at java.lang.Thread.run(Thread.java:829) [?:?]
```

Fixes #13297

Also includes a few code improvements.

Signed-off-by: Wouter Born <github@maindrain.net>
2022-08-29 17:15:17 +02:00
Haavar Valeur
07e2b69e79
[Konnected] Fixed null pointer exception on state update with missing state (#13329)
* Fixed null pointer exception on state update with missing state
* Added variable for state. Changed onvalue configuration type to integer.

Signed-off-by: Haavar Valeur <haavar@haavar.com>
2022-08-29 12:45:25 +02:00
Cody Cutrer
449d3518f6
[jrubyscripting] avoid polluting environment when auto-installing gems (#13328)
fixes https://github.com/boc-tothefuture/openhab-jruby/issues/634;
regression from https://github.com/openhab/openhab-addons/pull/13151

Signed-Off-By: Cody Cutrer <cody@cutrer.us>
2022-08-28 21:45:35 +02:00
Andreas Berger
a327167a58
[fineoffsetweatherstation] Add information about unsupported devices (#13307)
* [fineoffsetweatherstation] add information about unsupported devices

Signed-off-by: Andreas Berger <andreas@berger-freelancer.com>
2022-08-28 14:05:51 +02:00
Andrew Fiddian-Green
f7295bd00f
[hdpowerview] Battery channels visible only when required (#13324)
* [hdpowerview] add batteryKind field
* [hdpowerview] battery channels visible depending on batteryKind

Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2022-08-28 13:55:18 +02:00
Jørgen Austvik
c825171caf
Nobø hub addon: Add more component types with serial numbers. (#13326)
Minor change which gives more properties to detected things, which
should make a little easyer for users with these devices to identify them.

Signed-off-by: Jørgen Austvik <jaustvik@acm.org>
2022-08-28 13:50:56 +02:00
Pumpur
5abbf2df7e
[myStrom] Corrected readMe, mystrompir is not a bulb. (#13322)
* Corrected ReadMe, mystrompir is not a bulb.

Signed-off-by: Stefan Navratil <stefan@navratil.ch>
2022-08-26 22:32:33 +02:00
billfor
5bc4bb794e
[wemo] Add Wemo Outdoor plug (#13319)
Signed-off-by: bill <git@billforsyth.net>
2022-08-26 22:28:29 +02:00
openhab-bot
e656c1f4df
New translations mqtt.properties (Italian) (#13323) 2022-08-26 20:06:56 +02:00
Wouter Born
cfa20db227
[mqtt] Add missing broker connection configuration parameters (#13303)
Allows to configure the following broker connection configuration parameters:

* Protocol: TCP (default), WEBSOCKETS
* MQTT Version: V3 (default), V5
* Hostname Validation: true (default), false

The defaults are chosen to remain backwards compatible.

Signed-off-by: Wouter Born <github@maindrain.net>
2022-08-26 08:53:00 +02:00
Mark Herwege
c21d3061ec
[mail] Correct action names (#13318)
Signed-off-by: Mark Herwege <mark.herwege@telenet.be>
2022-08-25 22:30:21 +02:00
Pete
34bdc21370
[bluetooth] Add support for service data (#10278)
Signed-off-by: Peter Rosenberg <prosenb.dev@gmail.com>
2022-08-25 21:36:21 +02:00
openhab-bot
d4c472a04c
New translations mercedesme.properties (Italian) (#13312) 2022-08-24 11:05:35 +02:00
Bernd Weymann
704000eda9
[mercedesme] Initial contribution (#13044)
Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>
2022-08-23 22:42:39 +02:00
Andrew Fiddian-Green
0a41c3f2f6
[hdpowerview] Channels are visible depending on shade capabilities (#13275)
* [hdpowerview] create channels dynamically
* [hdpowerview] revert from channel creation to channel removal
* [hdpowerview] add category

Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2022-08-23 22:03:43 +02:00
Espen Fossen
bc9cf8e07a
[nobohub] Initial contribution (#12937)
* Added NoboHub binding.

Signed-off-by: Espen Fossen <espenaf@junta.no>
2022-08-22 23:27:24 +02:00
Bob A
9c2070f748
[lutron] Add mDNS discovery for RadioRA 3 processor (#13299)
Signed-off-by: Bob Adair <bob.github@att.net>
2022-08-22 19:37:07 +02:00
Cody Cutrer
c215dfede4
[jrubyscripting] document how to use Ruby in a transformation (#13286)
using the core ScriptTransformationService. See
https://github.com/openhab/openhab-addons/pull/13255 for prior
discussion on this.

Signed-off-by: Cody Cutrer <cody@cutrer.us>
2022-08-22 15:46:18 +02:00
Jacob Laursen
19659b6e05
Adapt to AccessTokenResponse API change (#13278)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-08-22 12:08:14 +02:00
Anders Alfredsson
29fb142e6a
[smhi] Prepare for easier translation (#13305)
Signed-off-by: Anders Alfredsson <andersb86@gmail.com>
2022-08-22 10:47:44 +02:00
Haavar Valeur
ed3642da84
Setting auto discovered callback URL in configuration. Cleaned up callback URL handling (#13295)
Signed-off-by: Haavar Valeur <haavar@haavar.com>
2022-08-21 12:21:44 +02:00
openhab-bot
1b5e766b55
New translations fineoffsetweatherstation.properties (Italian) (#13300) 2022-08-21 12:15:40 +02:00
Haavar Valeur
d8c07ebde7
[Konnected] Refreshed readme to include latest changes (#13294)
* Refreshed readme to include latest changes

Signed-off-by: Haavar Valeur <haavar@haavar.com>
2022-08-20 23:02:05 +02:00
Sami Salonen
ac23965c7d
[transformation.jinja] Update jinjava to 2.6.0 from 2.5.7 (#13296)
Signed-off-by: Sami Salonen <ssalonen@gmail.com>
2022-08-20 10:05:21 +02:00
openhab-bot
a99199720a
New Crowdin updates (#13291)
* New translations shelly.properties (German)
* New translations goecharger.properties (Italian)
2022-08-18 22:04:39 +02:00
Andreas Berger
e49cde0cce
[fineoffsetweatherstation] Add channel for the sensors battery voltage (#13284)
* [fineoffsetweatherstation] add channel for the sensors battery voltage

Signed-off-by: Andreas Berger <andreas@berger-freelancer.com>
2022-08-18 12:14:21 +02:00
Gaël L'hopital
4fb528901f
Solves issue #13196 (#13281)
Signed-off-by: clinique <gael@lhopital.org>
2022-08-18 09:15:41 +02:00
Sascha Kloß
47b004f227
Add transaction to Go-Echarger (#13105)
Signed-off-by: Sascha Kloß <sascha.kloss@gmx.de>
2022-08-17 22:36:56 +02:00
jimtng
3de0f79d9a
[jrubyscripting] Update to jruby 9.3.7.0 to fix BootstrapMethodError (#13280)
* [jrubyscripting] Update to jruby 9.3.7.0
* [jrubyscripting] Exception fixed in jruby 9.3.7.0

The BootstrapMethodError should no longer be thrown by jruby since 9.3.7. Fixed in https://github.com/jruby/jruby/pull/7271

Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
2022-08-17 16:36:12 +02:00
vich-667
7e9e0dbdf2
return rollershutter pos (#13191)
Signed-off-by: Tobias Lange <vich-667@gmx.de>
2022-08-17 10:15:23 +02:00
Dan Cunningham
b63e420abf
[Hydrawise] concurrent error (#13268)
* Fixes a concurrent modification exception, cleans up handler on dispose, fixes totally broken last contact channel
Fixes #13094

Signed-off-by: Dan Cunningham <dan@digitaldan.com>
2022-08-17 10:07:04 +02:00
Andrew Fiddian-Green
8baa500998
[tado] Fix AC target temperature reading and writing bugs (#13272)
* [tado] fix npe when target temperature json element is missing
* [tado] apply temperature command/value restrictions

Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2022-08-17 09:32:17 +02:00
Boris Krivonog
801895e2d2
Refresh token if expired (#13274)
Signed-off-by: Boris Krivonog <boris.krivonog@inova.si>
2022-08-16 22:11:49 +02:00
Boris Krivonog
0a79b8574c
[automower] Adapt login due to Husqvarna API change (#13263)
* The Automower Connect API Authentication does not work anymore as they moved to a new authentication method. (AppKey and AppSecret) - adopted. Fixes issue #12980.

Signed-off-by: Boris Krivonog <boris.krivonog@inova.si>
2022-08-15 21:02:00 +02:00
openhab-bot
932346a091
New translations boschindego.properties (Danish) (#13269) 2022-08-15 20:55:45 +02:00
lolodomo
8e8eb059fd
[serial] Allow custom baudrate and add option 2400 (#13265)
Fix #13131

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-08-15 17:31:47 +02:00
Andrew Fiddian-Green
41fcdd6c71
[velux] Add an action to simultaneously set main and vane positions (#13199)
* [velux] add moveMainAndVane action
* [velux] add claridications to read me
* [velux] refactor actions and translate
* [velux] fix thing lookup

Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2022-08-15 12:36:25 +02:00
Tiller
bb3be91981
[miio] adding support for ijai.vacuum.v19 : Xiaomi Vacuum Mop 2S (#12723)
Signed-off-by: Tiller <github.me@tiller.fr>
2022-08-14 23:00:21 +02:00
Björn Lange
51ff29116f
[mielecloud] Adapt to inbox api changes (#13185)
* No unneccessary calls to thingRegistry.get
* Handle Inbox.add now returning CompletableFuture

Signed-off-by: Björn Lange <bjoern.lange@itemis.de>
2022-08-14 21:31:31 +02:00
CyborgAndy
5d1e3f9efd
[pwm] Fix handling of "maxDutyCycle" parameter value (#12197)
* [pwm] Fix handling of "maxDutyCycle" parameter value

Signed-off-by: Andriy Yemets <cyborg.andy@gmail.com>

* [pwm] Clarify behavior of the parameters

Signed-off-by: Andriy Yemets <cyborg.andy@gmail.com>

* [pwm] Update README.md (#12196)

Fixed description for maxDutycycle parameter
Added two new parameters: equateMinToZero and equateMaxToHundred

Signed-off-by: Andriy Yemets <cyborg.andy@gmail.com>

* Update bundles/org.openhab.automation.pwm/src/main/java/org/openhab/automation/pwm/internal/handler/PWMTriggerHandler.java

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

* Update bundles/org.openhab.automation.pwm/src/main/java/org/openhab/automation/pwm/internal/handler/PWMTriggerHandler.java

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

Signed-off-by: Andriy Yemets <cyborg.andy@gmail.com>
Signed-off-by: Fabian Wolter <github@fabian-wolter.de>
Co-authored-by: Fabian Wolter <github@fabian-wolter.de>
2022-08-14 14:53:12 +02:00
Jacob Laursen
6853fe84b9
Support one decimal for pressure value (#13257)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-08-14 09:24:58 +02:00
openhab-bot
d0f12a7fd5
New translations gardena.properties (German) (#13256) 2022-08-14 00:00:40 +02:00
Haavar Valeur
4b5bbab009
[Konnected] Adding base URL to config to allow for manually adding thing (#13251)
* Adding base URL to config to allow for manually adding thing
* Simplified reading of the base URL configuration. Renamed field to baseUrl to be consistent.
* Changed config parameters to camel case

Signed-off-by: Haavar Valeur <haavar@haavar.com>
2022-08-13 10:34:39 +02:00
Andrew Fiddian-Green
bff2298b20
[gardena] synchronized (#13253)
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>

Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2022-08-12 17:32:51 +02:00
Gerhard Riegler
2d53243de7
[gardena] Fixed connection tracker (#13238)
* Removed provider header, no longer necessary
* Fixed connection tracker not starting after some websocket restarts

Signed-off-by: Gerhard Riegler <gerhard.riegler@gmail.com>
2022-08-12 16:54:24 +02:00
lolodomo
2f808bc8dd
[rotel] Set model and firmware properties (#13240)
For all models providing these information and relying on ASCII protocol.
The binding now supports reading of status message containing variable length content.

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-08-12 16:51:54 +02:00
Hans-Jörg Merk
9b128c2f7d
Add RSSI channel to intesisHome and fixed some NPEs (#13244)
Signed-off-by: Hans-Jörg Merk <github@hmerk.de>
2022-08-12 10:51:42 +02:00
Cody Cutrer
e4c9a40d03
[homekit] allow multiple bridge instances to break the 150 limit (#13226)
fixes #11508, #12927

Signed-off-by: Cody Cutrer <cody@cutrer.us>
2022-08-12 09:55:39 +02:00
Andrew Fiddian-Green
b075d3781c
[velux] Implement new API, and log critical device errors (#13212)
* [velux] use new API, and log StatusReply codes
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>

Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2022-08-12 09:26:51 +02:00
openhab-bot
d5e3ab797c
New translations sonos.properties (French) (#13250) 2022-08-12 07:00:44 +02:00
lolodomo
f3d9c084b8
[broadlinkthermostat] Fix parameter name in README (#13246)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-08-11 21:30:33 +02:00
lolodomo
f795f87f5d
[sonos] Unit tests added for OPML request parsing (#13245)
Fix a typo in previous unit tests

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-08-11 21:27:43 +02:00
lolodomo
4eb74c45f1
[sonos] Ignore TRANSITIONING device state when updating channels (#13241)
* [sonos] Ignore TRANSITIONING device state when updating channels
* Remove TRANSITIONING state option

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-08-11 08:21:39 +02:00
lolodomo
92d6f1c6e9
[sonos] Added support of RadioApp music service (#13235)
* [sonos] Added support of RadioApp music service
* Extract artist and song title from TITLE
* Extract code in methods to reduce the size of the method updateMediaInformation
* Create new class and add tests

Fix #13208

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-08-11 08:18:56 +02:00
dependabot[bot]
4bf7a4a51e
[jdbc] Update PostgreSQL JDBC driver to 42.4.1 (#13221)
Bumps [postgresql](https://github.com/pgjdbc/pgjdbc) from 42.3.3 to 42.4.1.
- [Release notes](https://github.com/pgjdbc/pgjdbc/releases)
- [Changelog](https://github.com/pgjdbc/pgjdbc/blob/master/CHANGELOG.md)
- [Commits](https://github.com/pgjdbc/pgjdbc/compare/REL42.3.3...REL42.4.1)

Also-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-08-10 10:34:08 +02:00
Pumpur
e3be803948
[myStrom] Added Motionsensor and API Token (#13201)
* Added API Token to configuration.
* Added motionsensor to myStrom binding.
* Added SPDX Header.
* fix: removed unnecessary updateStatus().

Signed-off-by: Stefan Navratil <stefan@navratil.ch>
2022-08-09 16:03:29 +02:00
Markus Michels
5b038786d5
[shelly] Improved TRV profile handling (selectable list via dynamic state options (#13227)
provider); some improvements & fixes

Signed-off-by: Markus Michels <markus7017@gmail.com>
2022-08-09 10:04:07 +02:00
Haavar Valeur
6c78fb3161
[konnected] Added support for Konnected Pro (#13180)
* - bug fix in konnnected handler to update change of smarthome units to Units
- multiple changes to code to enable support for the konnected pro-module
* Added optional configuration for callback URI
* Added support for more than one buzzer sound. Made zone/pin variables consistent. Removed preconfigured channels to be consistent (either all should be added or none).

Signed-off-by: Haavar Valeur <haavar@haavar.com>
2022-08-09 09:32:37 +02:00
Cody Cutrer
f4fef5f6df
[homekit] support actual booleans in metadata config (#13228)
as well as strings, too.

reduces confusion, if someone doesn't know it needed to be a string

Signed-off-by: Cody Cutrer <cody@cutrer.us>
2022-08-08 20:50:42 +02:00
Holger Friedrich
8a0b7a042c
[knx] Add support for KNX IP Secure (#12709)
* [knx] Add support for KNX IP Secure

* add support for KNX IP Secure, new options SECURETUNNEL and
  SECUREROUTER, refers to #8872
* add config options for credentials for secure connections
* update user documentation
* add test cases

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2022-08-08 16:55:41 +02:00
openhab-bot
21aa9c6aff
New translations jruby.properties (Italian) (#13229) 2022-08-08 13:53:02 +02:00
Cody Cutrer
581a04b72d
[homekit] fix collecting characteristics that don't belong to a complex accessory (#13233)
given:

```
Group eThermostat { homekit="Thermostat" }
Number:Temperature Thermostat_AmbTemp (eThermostat) { homekit="CurrentTemperature" }
Number:Temperature Thermostat_SetTemp (eThermostat) { homekit="TargetTemperature" }

Group gThermostatZoneContacts
// in reality there are multiple thermostats and multiple of these groups,
// so that a rule on members of gThermostatZoneContacts can find the related
// thermostat to turn it off when a window is open
Group:Contact:OR(OPEN,CLOSED) gWindows (eThermostat, gThermostatZoneContacts)

Contact Window_Contact (gWindows) { homekit="ContactSensor" }
```

When constructing the Thermostat accessory for eThermostat, detects the
Window_Contact as a mandatory characteristic, because it's a base accessory
in a nested group. This leads to lots of warnings about the temperature
value of a contact item being out of range.

The fix is two-fold - first of all, there's no reason to search nested
groups for characteristics of a complex accessory. Second of all,
even if for some reason you were to nest an accessory in an accessory,
the nested accessory does not actually belong to the outer accessory,
so don't add it as a mandatory characteristic of the outer.

I suspect there's still one more bug, because AbstractHomekitAccessoryImpl.
getCharacteristic(HomekitCharacteristicType.CURRENT_TEMPERATURE) was
returning Window_Contact, which is only tagged as a ContactSensor. But
after fixing the above two bugs, it was no longer reproducible, and I
didn't continue digging.

Signed-off-by: Cody Cutrer <cody@cutrer.us>
2022-08-08 09:47:26 +02:00
Cody Cutrer
a191c16f50
[homekit] fix window coverings based on groups of rollershutters (#13232)
it was getting the state as a decimal type, not a percent type, so
it was getting 1 instead of 100.

Signed-off-by: Cody Cutrer <cody@cutrer.us>
2022-08-08 09:43:54 +02:00
jimtng
e916974e38
[daikin] Fix changing specialmode from ECO to NORMAL (#13230)
Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
2022-08-08 08:47:05 +02:00
lolodomo
0e3a9f3c7e
[rotel] Other commands added for RSP-1576, RSP-1582, RAP-1580, RDD-1580, RA-1592, RC-1590 (#13223)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-08-07 22:50:19 +02:00
Cody Cutrer
70eb7dc511
[jrubyscripting] check if gems are installed before installing them (#13151)
* [jrubyscripting] check if gems are installed before installing them

this avoids unecessary downloads and overwrites, or even more importantly
errors if the GEM_HOME is not writable by the openhab user.

this also adds a configuration option for if you want to check for
updates every time configuration is applied (or openhab restarts). this
is useful if your OpenHAB system can't access the internet regularly.

Signed-off-by: Cody Cutrer <cody@cutrer.us>
2022-08-07 18:02:34 +02:00
Christian Wild
7a31cb2785
[tapocontrol] included P115 smart-socket (#13225)
* [tapocontrol] added P115 smart socket
* [tapocontrol] enabled energy-data for P115 socket

Signed-off-by: Christian Wild <christian@wild-bw.de>
2022-08-07 17:38:31 +02:00
krikk
aaf18834ac
Added how to configure InfluxDB Persistance via Web-UI (#13213) 2022-08-07 11:38:49 +02:00
pali
e53e1a5e99
[nibeheatpump] Added PRODINo ESP32 Ethernet v1 board support (#13190)
* [nibeheatpump] Added PRODINo ESP32 Ethernet v1 board support

Also added:
- telnet debug support (UDP debug removed)
- new configuration model
- OTA update support for PRODINo ESP32 Ethernet v1 board

Signed-off-by: Pauli Anttila <pauli.anttila@gmail.com>
2022-08-07 11:35:16 +02:00
Jacob Laursen
11cf3ca86b
[boschindego] Fix footnotes (#13222)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-08-06 08:44:48 +02:00
Jacob Laursen
8e5c2455e8
[boschindego] Fix thing marked as offline when device is reachable (#13219)
* Fix thing offline on invalid command

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

* Rename exception

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

* Go back to last thing status after temporary disruptions

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

* Increase call frequency after device being unreachable

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-08-06 08:42:59 +02:00
jimtng
bf58f98774
[daikin] Fix switching specialmode to NORMAL (#13206)
Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
2022-08-05 20:50:08 +02:00
Andrew Fiddian-Green
ac12e5bfed
[gardena] Improve API rate limit handling (#13016)
* [gardena] eliminate dangling references on dispose
* [gardena] add fixes for 429 errors
* [gardena] apply rate limiting to binding restarts
* [gardena] eliminate NPE if startup fails with exception

Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2022-08-04 20:20:40 +02:00
mlobstein
9f3a23c55f
Fix NPE on shutdown when Thing disabled and fix a bunch of warnings (#13215)
Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
2022-08-04 15:56:52 +02:00
Markus Michels
0d73ed8150
[shelly] Minor bugfixes from hardening (#13200)
* Minor bugfixes from hardening

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

* review changes applied

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

* controlProfile is type String

Signed-off-by: Markus Michels <markus7017@gmail.com>
2022-08-04 08:42:29 +02:00
mlobstein
22f7dfe309
[epsonprojector] several small improvements and formatting changes (#13207)
* several small improvements and formatting changes

Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
2022-08-03 16:30:42 +02:00
Andrew Fiddian-Green
ae418a4246
[neohub] add auto discovery to ReadMe (#13204)
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2022-08-02 17:06:32 +02:00
lolodomo
2f50afdac4
[rotel] New command to toggle between stereo and bypass (#13203)
Concerns the models RSP-1570, RSP-1572 and RSX-1562

BYPASS as DSP mode is also removed for these models.

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-08-02 12:51:28 +02:00
openhab-bot
c8a3867322
New translations boschindego.properties (Danish) (#13202) 2022-08-01 23:25:52 +02:00
lolodomo
f582c90ae8
[rotel] Add missed command to switch between ProLogic modes (#13197)
* [rotel] Add missed command to switch between ProLogic modes

All models using the HEX protocol are concerned.

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-08-01 21:59:59 +02:00
Andrew Fiddian-Green
f60e324229
[neohub] Add support for WebSocket connection to hub (#12915)
* [neohub] add support for secure web socket connection
* [neohub] clean code
* [neohub] synchronize api calls
* [neohub] rename classes, fix compiler errors, remove SuppressWarnings

Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2022-08-01 21:58:39 +02:00
Daniel Campbell
8d3828a9a4
[amazonechocontrol] Add channels to thermostatController (#13067)
* enhance: add thermostat channels to amazonechocontrol

Signed-off-by: Daniel Campbell <djcampbell79@gmail.com>
2022-08-01 12:48:37 +02:00
Andrew Fiddian-Green
b9782484c6
[velux] Add support for vane/slat position (#12618)
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2022-07-31 15:15:25 +02:00
lolodomo
ec5794739c
[rotel] New channel for other commands provided by the API (#13183)
* [rotel] New channel for other commands provided by the API

Models covered by this PR:
A11, A12, A14, CD11, CD12, RA11, RA12, RA1570, RA1572, RC1570, RC1572, RCD1572, P5, X3, X5,
RSP-1066, RSP-1068, RSP-1069, RSP-1098, RSP-1570, RSP-1572,
RSX-1055, RSX-1056, RSX-1057, RSX-1058, RSX-1065, RSX-1067, RSX-1550, RSX-1560, RSX-1562

* Review comment: toString on RotelCommand

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-07-31 11:10:38 +02:00
Jacob Laursen
2de6dd0310
[boschindego] Provide faster channel updates (#13192)
* Optimize API calls for reduced load
* Add position tracking (on map)
* Provide faster updates when active
* Optimize state update after triggering commands
* Clean up duration variables
* Add initial test coverage for DeviceStatus

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-07-31 10:30:43 +02:00
Jacob Laursen
c7f8507cae
[hdpowerview] Refactor tests (#13175)
* Move test providers to dedicated folder
* Simplify resource loading
* Clarify what is being tested
* Extract online communication test to separate class
* Fix SAT findings
* Rename variable to comply with naming convention

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-07-30 20:43:17 +02:00
lolodomo
8d2bb6bf62
[rotel] Updated doc for c8 and c8+ models (#13193)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-07-30 12:09:16 +02:00
Markus Michels
8aa88bc3d9
This PR is just to reduce the delta before I create the PR for Plus/Pro (#13176)
support. In general Gen1 and Gen2 devices have a total different API so
I spliced the API code in version/gen 1 and 2. This means restructuring
the classes (e.h. api+coap became api+api1+api2) and therefor dummy
changes in the code, e.g. import statements. This creates a lot of
overhead and separating those "dummy changes" simplifies merging the
actual PR.

Signed-off-by: Markus Michels <markus7017@gmail.com>
2022-07-29 19:48:10 +02:00
Dan Cunningham
d5b657c6fd
Catch json parsing errors when getting login token. (#13189)
Fixes #13181

Signed-off-by: Dan Cunningham <dan@digitaldan.com>
2022-07-29 19:06:48 +02:00
openhab-bot
b20180fa19
New translations boschindego.properties (Danish) (#13188) 2022-07-29 18:44:09 +02:00
openhab-bot
7cbdfc9b58
New translations somneo.properties (Italian) (#13187) 2022-07-29 00:33:53 +02:00
Jacob Laursen
5ec86ec614
Add additional hub properties (#13174)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-07-28 08:43:17 +02:00
Jacob Laursen
6028533e8e
[boschindego] Plot location on map (#13179)
* Plot location on map
* Invalidate map when requested by service
* Optimize update of raw map

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-07-28 08:39:27 +02:00
0x4d4d
3b8567bd9e
[somneo] Initial contribution (#12321)
* [somneo] Initial contribution

Signed-off-by: Michael Myrcik <michael.myrcik@web.de>
2022-07-27 10:38:06 +02:00
Matt
1181a104f9
[haywardomnilogic] Add http timeout retry (#13164)
* Add HTTP Timeout Retry
* Updated try/catch messaging
* Repositioned some logging to occur before http request

Signed-off-by: Matt Myers <mmyers75@icloud.com>
2022-07-27 10:31:40 +02:00
Jacob Laursen
67006de606
[boschindego] Refresh cutting times right after next planned cutting (#13158)
* Refresh cutting times right after next planned cutting
* Cancel cutting time future unconditionally

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-07-26 20:03:40 +02:00
robnielsen
24e9228699
[insteon] set network to ONLINE after driver is initialized (#13030)
* [insteon] set network to ONLINE after driver is initialized

Signed-off-by: Rob Nielsen <rob.nielsen@yahoo.com>
2022-07-26 19:49:05 +02:00
openhab-bot
7e26b1149e
New translations fineoffsetweatherstation.properties (Italian) (#13177) 2022-07-26 16:40:40 +02:00
eugen
6f3cb286d9
[homekit] Target Fan state - add support for Switch Item (#12985)
* add support for SwitchItem for target fan state

Signed-off-by: Eugen Freiter <freiter@gmx.de>
2022-07-25 21:47:21 +02:00
mlobstein
b31f06a4cd
[radiothermostat] minor readme updates (#13170)
* minor readme updates

Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
2022-07-25 16:42:16 +02:00
Andreas Berger
84ea355e76
[fineoffsetweatherstation] Add support for ELV protocol (#13138)
* [fineoffsetweatherstation] add support for ELV protocol
* [fineoffsetweatherstation] remove german translations
* [fineoffsetweatherstation] add representationProperty for gateway, fix unit of irradiation-uv
* [fineoffsetweatherstation] add representationProperties in descriptor xml file
* [fineoffsetweatherstation] set channels values to undef in case of communication errors
* [fineoffsetweatherstation] use lock for request synchronisation
* [fineoffsetweatherstation] marke sensors as gone, if they got unpaired

resolves #12763

Signed-off-by: Andreas Berger <andreas@berger-freelancer.com>
2022-07-25 16:39:52 +02:00
Jacob Laursen
9ec6f7d12e
Add shade RF RSSI for hub/repeater (#13096)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-07-25 12:56:03 +02:00
Martin Herbst
dcc9190d2e
Allow default values that are lower than allowed minimum value (#13168)
Resolves #13097

Signed-off-by: Martin Herbst <develop@mherbst.de>
2022-07-25 12:16:30 +02:00
Jacob Laursen
60c13d7521
[boschindego] Fix communication error when smart mowing is disabled (#13167)
* Fix communication error when no planned next cutting
* Provide targeted handling of missing cutting times

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-07-25 08:45:46 +02:00
Andrew Fiddian-Green
f7a228e9e9
[hdpowerview] override capabilities for shade types 54,55,56 (#13169)
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2022-07-24 15:02:43 +02:00
lolodomo
cf32ecfeb5
[rotel] New channels to control random mode and repeat mode (CD players) (#13165)
Available for models CD11, CD14 and RCD-1572

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-07-23 17:26:09 +02:00
lolodomo
41f4ca7a51
[rotel] Add support of multiple zones (ASCII protocol) (#13136)
* [rotel] Add support of multiple zones (ASCII protocol)

Models C8 and C8+ (distribution amplifiers)

Code factorization.
Simulator updated.

* Set model/firmware thing properties (ASCII V2 protocol)
* Review comment: NumberOf rather than Nb
* Review comment: getZoneCommand: IllegalArgumentException if numZone is
outside 1-4
* Review comment: constant for volumeUpDown
* Simplification: method isPowerOn with numZone parameter (range 0-4)
* Review comment: fix for getPowerOffCommand
* Review comment: new method isZoneAvailable to factorize code
* Review comment: use MAX_NUMBER_OF_ZONES to check range validity

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-07-23 13:41:38 +02:00
dae1804
36ad888b92
Venstar: split away and schedule settings calls (#13046)
Separate Venstar thermostat API calls to change the away mode or
schedule-enabled mode so that the POST to the thermostat's REST
API settings endpoint contains only one of these two params.

Newer ColorTouch thermostat firmwares will reject any POSTs to the
settings endpoint that include the 'schedule' parameter when the
thermostat is currently in AWAY mode, regardless of the value
passed for 'schedule'.  This had the effect of preventing the
OpenHab binding from un-setting away mode.

Signed-off-by: David Eberhart <git@daveeberhart.com>
2022-07-22 21:44:43 +02:00
Tim
c729b82d59
[homematic] Update README.md (#13159)
* Update README.md
2022-07-22 14:12:29 +02:00
truidix
831e7ec257
check if negativeSwitch is "on" and positiveSwitch is "off. If so: just (#13152)
print a warning instead of throwing a exception

Signed-off-by: David Kumar <git@truidix.de>
2022-07-21 21:31:02 +02:00
Jacob Laursen
0577ee8ad4
Fix excessive firmware version updates (#13155)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-07-21 19:32:42 +02:00
openhab-bot
572d1ec6f0
New Crowdin updates (#13157)
* New translations miele.properties (Danish)
* New translations miele.properties (German)
2022-07-21 15:53:16 +02:00
MeisterPiffer
c6c65c607b
[homematic] Update README.md (#13101)
add example for DSL rule with tabbed view
2022-07-21 15:09:07 +02:00
J-N-K
7855f81760
Fix build (#13150)
* Fix build
* fix itest

Signed-off-by: Jan N. Klug <github@klug.nrw>
2022-07-20 20:40:42 +02:00
openhab-bot
253a634f0a
New Crowdin updates (#13135)
* New translations astro.properties (Hungarian)
* New translations chromecast.properties (Hungarian)
* New translations darksky.properties (Hungarian)
* New translations coronastats.properties (Hungarian)
* New translations evohome.properties (Hungarian)
* New translations mcd.properties (Italian)
* New translations amazondashbutton.properties (Italian)
* New translations openwebnet.properties (Italian)
* New translations openhabcloud.properties (Italian)
* New translations voicerss.properties (Italian)
* New translations tado.properties (Italian)
* New translations wled.properties (Italian)
* New translations livisismarthome.properties (Italian)
2022-07-20 17:47:24 +02:00
Matt
848ec83d52
Additional error handling (#13146)
Signed-off-by: matchews <mmyers75@icloud.com>
2022-07-20 16:26:15 +02:00
Jacob Laursen
d2670e40cb
[miele] Allow hostname as gateway network address (#13147)
* Allow hostname as gateway network address
* Document configuration parameters for things
* Add message for bridge communication error

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-07-20 16:13:16 +02:00
lolodomo
da3ec664e5
[rotel] Fix syntax of few ASCII commands (#13148)
Impacted channels: track and playControl for models CD11, CD14 and RCD1572

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-07-20 14:26:24 +02:00
Markus Michels
4f8c1722a2
[shelly] Auto-numbering for channel labels & bugfixes (#13066)
* - new device types added
- min firmware set to 1.8.2
- unit for gas concentration fixed (ppm)
- Auto numbering on channel labels for groups with multiple instances
(add sequence suffix)
- API and Thing interfaces defined to restrict access to those classes
- fix on TRV boost update via CoAP
- fix for status.temperature and status.uptime, internalTemp channels
- don’t use meter timestamp if not present (RGBW2)
- low battery indicator for sensor devices fixed
- device detection based on model/type improved
- various messages/translations fixed/improved
- README updated (missing thing types added)

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

* missing properties added

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

* minor changes

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

* markdown fixed

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

* review changes applied

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

* shelly_de.properties restored from main branch

Signed-off-by: Markus Michels <markus7017@gmail.com>
2022-07-19 19:37:06 +02:00
Kai Kreuzer
d814640727
[bluetooth] Switch to fork of gatt parser library in order to fix incompatibility with xstream (#13128)
* Switch to fork of gatt parser library in order to fix incompatibility with xstream
* Add SAT suppressions
* Add gson dependency

Signed-off-by: Kai Kreuzer <kai@openhab.org>
2022-07-19 17:58:25 +02:00
Andreas Berger
7920dd6d48
[fineoffsetweatherstation] fix conversion of pressure (#13139)
resolves #13127

Signed-off-by: Andreas Berger <andreas@berger-freelancer.com>
2022-07-18 16:16:37 +02:00
Markus Michels
49a82c284e
[onkyo] HT-RC440 added (#13082)
* HT-RC440 added

Signed-off-by: Markus Michels <markus7017@gmail.com>
2022-07-17 16:48:00 +02:00
pali
6e35926551
[nibeheatpump] Added new channels for F1x45 heat pumps (#13125)
* [nibeheatpump] Added new channels for F1x45 heat pumps

 - Reset Alarms channel
 - 32bit Degree Minutes channel

Signed-off-by: Pauli Anttila <pauli.anttila@gmail.com>
2022-07-17 16:23:13 +02:00
Gaël L'hopital
53b26809d8
Adding scheduled reconnection on timeout (#13130)
Signed-off-by: clinique <gael@lhopital.org>
2022-07-16 23:15:05 +02:00
lolodomo
d724b7f075
[rotel] Fix handling of balance command feedback (#13133)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-07-16 12:49:49 +02:00
J-N-K
9f8c1772d2
Adjust transformations to core changes (#13126)
Signed-off-by: Jan N. Klug <github@klug.nrw>
2022-07-14 22:47:48 +02:00
Sebastian P
8e16c411f0
[dali] Use correct command argument to query current color temperature (#13118)
Signed-off-by: Sebastian Philipp <github-ebqurd@s3lph.me>
2022-07-14 22:19:04 +02:00
Peter Aquino
c780d7598a
[icloud] Fixes COMMUNICATION_ERROR iCloud response invalid: null (July 2022) (#13117) 2022-07-13 20:16:03 +02:00
eugen
94615b7728
[homekit] fix potential null pointer exceptions (#13122)
* fix potential null pointer exceptions
* use contains key

Signed-off-by: Eugen Freiter <freiter@gmx.de>
2022-07-13 17:01:02 +02:00
Gwendal Roulleau
7a53e313cd
[mimictts] Initial contribution (#13045)
* [mimictts] Initial contribution

Add a voice service for Mimic (version 3) TTS from Mycroft AI. 

Signed-off-by: Gwendal Roulleau <gwendal.roulleau@gmail.com>
2022-07-12 18:49:01 +02:00
Fabian Wolter
36bd806c28
[lcn] Add shutter positioning/angle, operating hours counters, tunable white, regulator mode, beeping (#13056)
* [lcn] Add shutter positioning/angle, operating hours counters, tunable white, regulator mode, beeping

Also, fix possible race condition during connecting, when the PC coupler is not connected to the LCN data wire.
Replace discontinued LCN-PKE by LCN-VISU.

Signed-off-by: Fabian Wolter <github@fabian-wolter.de>
2022-07-10 21:46:41 +02:00
simon-dengler
9bd8854e0b
[mcd] Initial contribution (#13051)
Signed-off-by: Simon Dengler <simon_dengler@gmx.de>
2022-07-10 20:20:23 +02:00
Andrew Fiddian-Green
4f57ae7879
[hdpowerview] add shades 31 & 33 (#13110)
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2022-07-10 17:25:15 +02:00
Hans-Jörg Merk
e4ab45876c
[mail] Fix sending HTML/Multipart mails (#13108)
Signed-off-by: Hans-Jörg Merk <github@hmerk.de>
2022-07-10 15:21:56 +02:00
netwolfuk
cfb09bdc48
Update OH version in skeleton scripts (#13107)
Signed-off-by: Nathaniel Wolfe <netwolfuk@gmail.com>
2022-07-10 11:24:32 +02:00
Wouter Born
53b7439f02
[hueemulation] Add default translations for module types (#13102)
Signed-off-by: Wouter Born <github@maindrain.net>
2022-07-10 07:31:34 +02:00
Wouter Born
25e2153d1a
[tado] Fix the last remaining SAT issue (#13099)
Signed-off-by: Wouter Born <github@maindrain.net>
2022-07-09 16:00:49 +02:00
Bernd Weymann
c6778fcb00
[mybmw] Add home-distance channel (#13093)
* add home-distance channel
* use uniformed instead of random gps coordinates

Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>
2022-07-09 15:56:05 +02:00
Reinhard Plaim
9c768dc08f
[goecharger] fix data type for energy (nrg) (#13052)
* [goecharger] fix data type for energy (nrg)
* nrg need to be double for V2
* [goecharger] update example

Signed-off-by: Reinhard Plaim <reinhardplaim@gmail.com>
2022-07-08 21:55:57 +02:00
mlobstein
57e31e2885
Remove several README embedded logos (#13089)
Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
2022-07-07 08:20:02 +02:00
deswong
c1a69596de
[googletts] Add consent parameter to auth code request URL (#13087)
Signed-off-by: Desmond Wong <des@deswong.com>
2022-07-06 10:27:50 +02:00
Jacob Laursen
7a806cd307
[boschindego] Fix duplicated calls during initialization (#13086)
* Fix multiple authentications during initialization
* Fix cutting times being fetched twice during initialization

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-07-05 23:11:44 +02:00
Christoph Weitkamp
4f1fb4ed51
Handle JsonSyntaxException when parsing error messages (#13083)
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2022-07-05 13:22:46 +02:00
Jacob Laursen
f5eabf0ba2
[boschindego] Add missing specialized text for unreachable device (#13058)
* Add missing specialized text for unreachable device
* Document IndegoUnreachableException on relevant paths

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-07-05 13:01:46 +02:00
Jacob Laursen
cc3f9eac91
[miele] Fix auto-update for stop channel and synchronize switch channel with appliance state (#13071)
* Fix auto-update policy for stateless channel
* Reflect appliance state in switch channel state

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-07-05 08:05:21 +02:00
Jacob Laursen
e0494bf44c
Deauthenticate session on dispose (#13081)
Fixes #13080

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-07-05 07:59:13 +02:00
Dan Cunningham
8a87450f4c
[openhabcloud] Makes the baseURL and item updates options advanced... (#13078)
* [openhabcloud] Makes the baseURL and item updates options advanced, cleans up documentation, disabled sending updates to the community myopenHAB.org service.

Fixes #12582

Signed-off-by: Dan Cunningham <dan@digitaldan.com>
2022-07-04 23:09:35 +02:00
Hilbrand Bouwkamp
a58ae57942
[dsmr] Fix incorrect deriving of sub channel names when updating channels (#13076)
Subchannels were created by appending the key. However this was done inside a loop and if multiple updates were needed they would be appended to the channel name, instead of taking the channel name each time.
Signed-off-by: Hilbrand Bouwkamp <hilbrand@h72.nl>
2022-07-04 21:50:03 +02:00
openhab-bot
3e8df2bff8
New Crowdin updates (#13074)
* New translations enigma2.properties (Norwegian)
* New translations enigma2.properties (Hungarian)
* New translations enigma2.properties (Norwegian)
* New translations iCloud.properties (Finnish)
* New translations tradfri.properties (Finnish)
* New translations map.properties (Finnish)
* New translations googletts.properties (German)
* New translations voicerss.properties (Finnish)
* New translations xmltv.properties (Finnish)
* New translations exec.properties (Finnish)
* New translations jinja.properties (Finnish)
* New translations js.properties (Finnish)
* New translations regex.properties (Finnish)
* New translations jsonpath.properties (Finnish)
* New translations scale.properties (Finnish)
* New translations xslt.properties (Finnish)
* New translations xpath.properties (Finnish)
* New translations opensprinkler.properties (Finnish)
* New translations porcupineks.properties (Finnish)
* New translations netatmo.properties (Finnish)
* New translations imperihome.properties (Finnish)
2022-07-04 21:47:43 +02:00
Dan Cunningham
dc66345a7b
[iaqualink] Fix to work with recent API changes to the iAqualink cloud service. Currently the binding throws a gson parsing error early in the poll process rendering it completly broken. (#13073)
Signed-off-by: Dan Cunningham <dan@digitaldan.com>
2022-07-04 21:46:38 +02:00
Wouter Born
325694747d
[enigma2] Remove FIXMEs from translations (#13075)
Signed-off-by: Wouter Born <github@maindrain.net>
2022-07-04 14:51:41 +02:00
openhab-bot
0f4cd1372d
New translations boschindego.properties (Danish) (#13070) 2022-07-03 14:43:48 +02:00
Jacob Laursen
7aa889080e
Add support for SpotMow status code (#13065)
Fixes #13033

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-07-02 15:23:23 +02:00
openhab-bot
bb2761ffe5
New translations boschindego.properties (Danish) (#13064) 2022-07-02 13:34:40 +02:00
lolodomo
03d37232c3
[rotel] Add support for models M8 and S5 (Michi) (#13060)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-07-02 13:31:10 +02:00
Jacob Laursen
5e4ca2568c
[boschindego] Add new channels (#13040)
Fixes #12938

Fixes #13017

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-07-02 12:31:51 +02:00
openhab-bot
53d72dcecb
New translations boschindego.properties (Danish) (#13055) 2022-07-02 12:05:27 +02:00
Lenno Nagel
2c919c6a38
[pidcontroller] Implement previous state recovery on startup (#13003)
* [pidcontroller] Implement previous state recovery on startup

This feature allows the PID controller parameters to be updated and
OpenHAB to be restarted without losing the current controller state.

This is especially important for systems with a long response time.
For example it might take up to a day for an underfloor heating
controller to stabilise after losing state and having to build up
the integrator value from zero.

Signed-off-by: Lenno Nagel <lenno@nagel.ee>

* Change logger.info -> logger.debug

Signed-off-by: Lenno Nagel <lenno@nagel.ee>

* Change debug Item -> inspector Item in README

Signed-off-by: Lenno Nagel <lenno@nagel.ee>

* Add documentation regarding state persistence

Signed-off-by: Lenno Nagel <lenno@nagel.ee>

* Update bundles/org.openhab.automation.pidcontroller/README.md

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

* Update bundles/org.openhab.automation.pidcontroller/README.md

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

Co-authored-by: Fabian Wolter <github@fabian-wolter.de>
2022-07-02 11:28:18 +02:00
Jacob Laursen
b886650bae
[boschindego] Add channels for last/next cutting time (#12989)
* Add channels for last/next cutting time
* Let handleCommand() work synchronously

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-07-02 10:48:33 +02:00
Gerhard Riegler
ad9b4fbf79
[gardena] Adaptation of the login for API version 1.1 (#13050)
* Adaptation of the login for API version 1.1
* Fixed logging statement
* Fixed logging message
* Reverted changes in the german translation

Signed-off-by: Gerhard Riegler <gerhard.riegler@gmail.com>
2022-07-01 17:38:39 +02:00
openhab-bot
b7df5abe8c
New Crowdin updates (#13048)
* New translations googletts.properties (French)
* New translations googletts.properties (German)
* New translations googlestt.properties (German)
* New translations googlestt.properties (French)
2022-07-01 16:01:37 +02:00
Sebastian P
4e2d87da5c
[dali] Implement DT8 (single-channel RGB & color temperature) device type (#12955)
* DALI: Implement DT8 (single-channel RGB & color temperature) device type, fix device and group addressing
* dali: Store BridgeHandler in a local variable instead of retrieving it over and over again.
* dali: Follow logging guidelines.

Signed-off-by: Sebastian Philipp <github-ebqurd@s3lph.me>
2022-07-01 08:11:00 +02:00
jimtng
3fe5f3f267
[jrubyscripting] Update jruby version to 9.3.6.0 (#13047)
Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
2022-07-01 08:06:58 +02:00
Mark Hilbush
2e8167fa3f
[googlestt] Fix authorization from returning null refresh token (#13043)
Signed-off-by: Mark Hilbush <mark@hilbush.com>
2022-06-30 19:03:06 +02:00
Mark Hilbush
00400562d4
[googletts] Fix authorization from returning null refresh token (#13042)
Signed-off-by: Mark Hilbush <mark@hilbush.com>
2022-06-30 19:01:44 +02:00
dependabot[bot]
8a8add71df
Bump mysql-connector-java in /bundles/org.openhab.persistence.jdbc (#12981)
Bumps [mysql-connector-java](https://github.com/mysql/mysql-connector-j) from 8.0.22 to 8.0.28.
- [Release notes](https://github.com/mysql/mysql-connector-j/releases)
- [Changelog](https://github.com/mysql/mysql-connector-j/blob/release/8.0/CHANGES)
- [Commits](https://github.com/mysql/mysql-connector-j/compare/8.0.22...8.0.28)

---
updated-dependencies:
- dependency-name: mysql:mysql-connector-java
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-30 12:44:40 +02:00
Andrew Fiddian-Green
650fc523b5
[hdpowerview] Return capabilities if capabilitiesOverride is not defined (#13031)
* [hdpowerview] bug fix capabilitiesOverride
* [hdpowerview] adopt reviewer requests
* [hdpowerview] suppress log warning on hub v1
* [hdpowerview] adopt reviwer suggestions

Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2022-06-30 10:40:37 +02:00
Jacob Laursen
5ae0870bcb
Add support for new status codes (#13034)
Fixes #13033

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-06-30 09:02:34 +02:00
tb4jc
f203b3f202
[ipcamera] Added URL encoding fix for passwords that contains special characters. (#13035)
* Added URL encoding fix for passwords that contains special characters.
* Simplified as proposed.

Signed-off-by: Thomas Burri <th@thonjato.ch>
2022-06-30 08:27:40 +02:00
dependabot[bot]
5f115295a4
Bump kotlin-stdlib in /bundles/org.openhab.voice.watsonstt (#12979)
Bumps [kotlin-stdlib](https://github.com/JetBrains/kotlin) from 1.4.10 to 1.6.0.
- [Release notes](https://github.com/JetBrains/kotlin/releases)
- [Changelog](https://github.com/JetBrains/kotlin/blob/v1.6.0/ChangeLog.md)
- [Commits](https://github.com/JetBrains/kotlin/compare/v1.4.10...v1.6.0)

---
updated-dependencies:
- dependency-name: org.jetbrains.kotlin:kotlin-stdlib
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-29 22:33:54 +02:00
lolodomo
859a1ebfec
[remoteopenhab] Avoid unexpected log for ALIVE SSE message (#13008)
Related to openhab/openhab-core#2983

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-06-27 18:25:00 +02:00
lolodomo
1d766bb824
[netatmo] Localized label/pattern for dynamic channel types (#13012)
* [netatmo] Localized label/pattern for dynamic channel types
* Review comment about key naming
* Fix label for timestamp extensible channel types

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-06-27 18:09:37 +02:00
Nadahar
e8e7ca8653
[onkyo] Add support for TX-NR807 (#13006)
Signed-off-by: Ravi Nadahar <nadahar@rediffmail.com>
2022-06-27 16:17:15 +02:00
Kai Kreuzer
440f603e88
Apply spotless and resolver (#13027)
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2022-06-27 16:00:37 +02:00
Kai Kreuzer
948dd49bd8
Revert "Trying to fix the documentation build (#13025)" (#13026)
This reverts commit 82568e895c.
2022-06-27 12:23:54 +02:00
Kai Kreuzer
82568e895c
Trying to fix the documentation build (#13025)
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2022-06-27 12:10:52 +02:00
lolodomo
a8c99c383c
[netatmo] Additional examples for home and camera (#13023)
* [netatmo] Additional examples for home and camera

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-06-27 00:13:36 +02:00
openhab-bot
ed4858ebbb [unleash-maven-plugin] Preparation for next development cycle. 2022-06-26 18:18:40 +00:00
openhab-bot
f2df4c3b5c
New Crowdin updates (#13021)
* New translations boschindego.properties (Danish)
* New translations remoteopenhab.properties (German)
* New translations remoteopenhab.properties (Hungarian)
2022-06-26 18:14:07 +02:00
Holger Friedrich
7c81a3db2f
[knx] Allow all port names for serial interfaces (#13019)
Starting with openHAB 3.3, the framework enforces using serial
ports which are detected by the system by default. This feature
is now disabled for the KNX addon to allow using symlinks to
ports as well.
Refers-to: openhab/openhab-core#3014

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2022-06-26 17:22:56 +02:00
lolodomo
e9afa9f08a
[netatmo] Document extensible channels (#13014)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-06-26 11:39:29 +02:00
Mark Hilbush
7e151e8fce
[squeezebox] Fix NumberFormatException when parsing status message (#13010)
* Fix NumberFormatException when parsing status message

Signed-off-by: Mark Hilbush <mark@hilbush.com>
2022-06-25 17:54:28 +02:00
Holger Friedrich
1a557fe17c
[knx] Improve labels and documentation for parameter readInterval (#12992)
Clarify handling of initial read and readInterval in documentation.
Updated labels to distinguish readInterval and pollInterval.
Fixes #12921.

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2022-06-25 11:50:16 +02:00
openhab-bot
3dcc436200
New Crowdin updates (#13007)
* New translations boschindego.properties (Danish)

* New translations rustpotterks.properties (Italian)
2022-06-25 01:06:14 +02:00
Daniel Demus
ccbc6a8f11
[wundergroundupdatereceiver] Check whether the thing is managed (#12998)
Ie. created in the UI or by discovery
Signed-off-by: Daniel Demus <daniel-github@demus.dk>
2022-06-24 19:04:29 +02:00
Andrew Fiddian-Green
b5d7d22c1f
[gardena] eliminate ClassCastException (quick fix) (#13004)
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2022-06-24 18:25:43 +02:00
Sami Salonen
e80b39916c
[dynamodb] Clarified AWS configuration steps (#13000)
* [dynamodb] Clarifying AWS configuration steps
* [dynamodb] Docs: image alt title corrected

Signed-off-by: Sami Salonen <ssalonen@gmail.com>
2022-06-24 16:53:21 +02:00
Gaël L'hopital
a1a02f05bf
[netatmo] Adding Webhook event support for Doorbell (#12972)
* Adding Webhook event support for Doorbell
* Adding doorbell rtc.
* Enhancing NAPushType deserialization
* Setting empty fields to NULL

Signed-off-by: clinique <gael@lhopital.org>
2022-06-24 13:52:02 +02:00
funkstille
8ee86d786a
[dmx] Update README.md (#12914)
* Update README.md

Added Example for ECMAScript
2022-06-24 13:25:01 +02:00
Christoph Weitkamp
7f86947ceb
Fixed Channel definition for battery voltage (#12999)
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2022-06-24 12:15:46 +02:00
openhab-bot
a2caf9343c
New Crowdin updates (#12996)
* New translations netatmo.properties (Italian)
* New translations wundergroundupdatereceiver.properties (Danish)
2022-06-24 08:21:58 +02:00
jimtng
075170e4b9
[ipcamera] Fix multiple parts handling for Dahua events (#12964)
* [ipcamera] Fix multiple part handling for Dahua events
* [ipcamera] Call processSettings only when data contains no boundary

Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
2022-06-23 19:06:34 +02:00
Karel Goderis
22304b3fd0
Fix #12926 (#12995)
Signed-Off-By: Karel Goderis <karel.goderis@me.com>
2022-06-23 18:52:31 +02:00
Sven Strohschein
df06cd3af3
[livisismarthome] Button trigger channels are triggered on restart #12968 (#12969)
* [livisismarthome] Button trigger channels are triggered on restart #12968

Signed-off-by: Sven Strohschein <sven.strohschein@gmail.com>
2022-06-23 09:25:07 +02:00
Jacob Laursen
3465e8f30d
[gardena] Fix null annotation issue (and compiler warning) (#12957)
* Fix compiler warning
* Add basic test coverage for DataItem deserialization
* Add full prefixes to attributes variables
* Add missing newlines at end of test payload files
* Add full prefix to attributes variable

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-06-23 09:11:20 +02:00
openhab-bot
024e15806d
New Crowdin updates (#12991)
* New translations teleinfo.properties (French)

* New translations boschindego.properties (Danish)

* New translations watsonstt.properties (Italian)
2022-06-23 08:55:38 +02:00
Gaël L'hopital
f4f0292dcd
[netatmo] Adding smoke detector module (#12984)
* Adding smoke detector module

Signed-off-by: clinique <gael@lhopital.org>
2022-06-23 08:37:45 +02:00
Jacob Laursen
8d900dbcf5
Fix offline description on failed HTTP call (#12990)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-06-22 22:35:11 +02:00
eugen
565dc19508
[homekit] fix for battery charging state (#12959)
* fix for battery charging state

Signed-off-by: Eugen Freiter <freiter@gmx.de>
2022-06-22 11:20:36 +02:00
GiviMAD
cf94687ad6
[watsonstt] use next gen model (#12971)
Signed-off-by: Miguel Álvarez <miguelwork92@gmail.com>
2022-06-22 08:54:13 +02:00
openhab-bot
a4f5308f91
New translations boschindego.properties (Danish) (#12987) 2022-06-22 08:39:19 +02:00
openhab-bot
6f1d225544
New Crowdin updates (#12982)
* New translations unifi.properties (Dutch)
* New translations upnpcontrol.properties (Dutch)
* New translations elroconnects.properties (Dutch)
* New translations danfossairunit.properties (Danish)
* New translations elroconnects.properties (French)
* New translations nikohomecontrol.properties (Dutch)
2022-06-21 23:56:32 +02:00
Daniel Demus
9d679ba555
[wundergroundupdatereceiver] Add "Outdoor" to humidity (#12977)
* [wundergroundupdatereceiver] Add "Outdoor" to humidity
* [wundergroundupdatereceiver] Missing units in description and patterns
* [wundergroundupdatereceiver] Replace "weather station" with device
The request sender is not necessarily a weather station

Signed-off-by: Daniel Demus <daniel-github@demus.dk>
2022-06-21 12:30:46 +02:00
openhab-bot
66b191c04e
New Crowdin updates (#12975)
* New translations boschindego.properties (Danish)
* New translations harmonyhub.properties (Danish)
2022-06-20 22:45:36 +02:00
Jacob Laursen
461470e1e1
[danfossairunit] Update default translations (#12976)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-06-20 22:39:00 +02:00
Wouter Born
23f77ccd62
[ahawastecollection] Disable AhaCollectionScheduleTest (#12974)
These tests use the real website which causes unwanted load, network connections and test failures.

See: https://github.com/openhab/openhab-addons/actions/runs/2529936944

```
[ERROR] Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 4.109 s <<< FAILURE! - in org.openhab.binding.ahawastecollection.internal.AhaCollectionScheduleTest
[ERROR] org.openhab.binding.ahawastecollection.internal.AhaCollectionScheduleTest.testGetValuesForRegion  Time elapsed: 3.294 s  <<< ERROR!
org.jsoup.UnsupportedMimeTypeException: Unhandled content type. Must be text/*, application/xml, or application/*+xml
	at org.openhab.binding.ahawastecollection.internal.AhaCollectionScheduleTest.testGetValuesForRegion(AhaCollectionScheduleTest.java:42)

[ERROR] org.openhab.binding.ahawastecollection.internal.AhaCollectionScheduleTest.testGetValuesForHannoverCity  Time elapsed: 0.726 s  <<< ERROR!
org.jsoup.UnsupportedMimeTypeException: Unhandled content type. Must be text/*, application/xml, or application/*+xml
	at org.openhab.binding.ahawastecollection.internal.AhaCollectionScheduleTest.testGetValuesForHannoverCity(AhaCollectionScheduleTest.java:33)
```

Signed-off-by: Wouter Born <github@maindrain.net>
2022-06-20 20:07:58 +02:00
Gaël L'hopital
e17db56bd2
Solving issue #12910 (#12973)
Signed-off-by: clinique <gael@lhopital.org>
2022-06-20 17:15:36 +02:00
openhab-bot
33fe083f49
New Crowdin updates (#12967)
* New translations nikohomecontrol.properties (French)

* New translations openuv.properties (French)
2022-06-19 22:56:59 +02:00
Daniel Demus
56f4c8943b
[wundergroundupdatereceiver] Initial contribution (#10105)
* [wundergroundupdatereceiver] Initial implementation

Signed-off-by: Daniel Demus <daniel-github@demus.dk>

* [wundergroundupdatereceiver] Code review

Signed-off-by: Daniel Demus <daniel-github@demus.dk>

* [wundergroundupdatereceiver] Fix some description formatting

Signed-off-by: Daniel Demus <daniel-github@demus.dk>

* [wundergroundupdatereceiver] Add some more channel types per request

Signed-off-by: Daniel Demus <daniel-github@demus.dk>

* [wundergroundupdatereceiver] Add more headers to response



Signed-off-by: Daniel Demus <daniel-github@demus.dk>
Based on the observed headers from actual traffic to wunderground.com.

* [wundergroundupdatereceiver] Discovery service

Signed-off-by: Daniel Demus <daniel-github@demus.dk>

* [wundergroundupdatereceiver] Upgrade to 3.2, fix group name constants

Signed-off-by: Daniel Demus <daniel-github@demus.dk>

* [wundergroundupdatereceiver] Add a list of channel types

Signed-off-by: Daniel Demus <daniel-github@demus.dk>

* [wundergroundupdatereceiver] Add dateutc as synthetic DateTime channel

Also add som emore constants
Signed-off-by: Daniel Demus <daniel-github@demus.dk>

* [wundergroundupdatereceiver] Do more programmatic configuration

Signed-off-by: Daniel Demus <daniel-github@demus.dk>

* [wundergroundupdatereceiver] More readme

Signed-off-by: Daniel Demus <daniel-github@demus.dk>

* [wundergroundupdatereceiver] Update copyright year

Signed-off-by: Daniel Demus <daniel-github@demus.dk>

* [wundergroundupdatereceiver] Handle multiple instance request parameters

Signed-off-by: Daniel Demus <daniel-github@demus.dk>
Ie. those that can have an index number in the name, fx. temp1f, temp2f

* [wundergroundupdatereceiver] Add unmapped but mappable channels

To support multiple devices any new parameters that are submitted cause a new channel to be created
Signed-off-by: Daniel Demus <daniel-github@demus.dk>

* [wundergroundupdatereceiver] Don't pass superfluous config to channels

Also documentation additions
Signed-off-by: Daniel Demus <daniel-github@demus.dk>

* [wundergroundupdatereceiver] Add generated i18n file

Signed-off-by: Daniel Demus <daniel-github@demus.dk>

* [wundergroundupdatereceiver] Re-case test method names

Signed-off-by: Daniel Demus <daniel-github@demus.dk>

* [wundergroundupdatereceiver] Re-word thing file section of README

Signed-off-by: Daniel Demus <daniel-github@demus.dk>

Co-authored-by: Daniel Demus <dde@nine.dk>
2022-06-19 17:01:54 +02:00
Gaël L'hopital
3a632ca659
[openuv] Enhance server side error handling (#12958)
* Enhance server side error handling
* Enhancing exception tree
* a small factorization of error status
* Shorten statusMessage
* Correcting log syntax

Signed-off-by: clinique <gael@lhopital.org>
2022-06-19 14:56:56 +02:00
Holger Friedrich
822c27c181
[knx] FT12: List available serial ports if port cannot be opened (#12942)
Fixes a regression introduced by upgrading Calimero library to 2.5.

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2022-06-19 14:50:35 +02:00
Jacob Laursen
b5489057b6
[hdpowerview] Refactor null-handling, maintenance period, response logging (#12950)
* Treat HDPowerViewWebTargets as non-null since initialized by initialize()
* Simplify maintenance period logic slightly
* Improve response logging

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-06-19 14:12:51 +02:00
Jacob Laursen
efb1bfc772
[boschindego] Add localization support for textual states (#12949)
* Add support for localization of textualstate texts
* Refactor state texts to eliminate redundancy

Fixes #12941

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-06-19 14:07:26 +02:00
GiviMAD
daea9ae5b2
[actiontemplatehli] Initial contribution (#12260)
* [actiontemplatehli] initial contribution

Signed-off-by: Miguel Álvarez <miguelwork92@gmail.com>
2022-06-19 13:39:31 +02:00
GiviMAD
11aa3207a6
[rustpotterks] initial contribution (#12606)
* [rustpotterks] initial contribution

Signed-off-by: Miguel Álvarez <miguelwork92@gmail.com>
2022-06-19 11:06:33 +02:00
openhab-bot
48c14e613c
New translations hdpowerview.properties (Danish) (#12963) 2022-06-19 08:45:42 +02:00
netwolfuk
6f58a52966
[oppo] Documentation - Add example for configuring ser2net version 4 and above (#12961)
* Add example for configuring ser2net version 4 and above

The format for ser2net configuration has changed to a YAML file.
This PR simply adds an example yaml block showing a working ser2net connection with the Oppo Bluray player.
2022-06-19 00:01:50 +02:00
Mark Hilbush
9e3ee5b294
Avoid ClassCastExceptions (#12960)
Signed-off-by: Mark Hilbush <mark@hilbush.com>
2022-06-18 21:03:02 +02:00
Mark Hilbush
4182595c19
Fix NPE when reading reply from device (#12956)
Signed-off-by: Mark Hilbush <mark@hilbush.com>
2022-06-18 21:00:01 +02:00
Florian Hotze
b2087e3807
[jsscripting] Upgrade openhab-js to version 2.0.0 (#12945)
* Bump openhab-js version to 2.0.0
* Update README for current openhab-js version
* README: Fix paths to images

Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
2022-06-18 13:24:05 +02:00
Mark Hilbush
740f843157
Handle WebSocketException to prevent scheduled job failure (#12944)
Signed-off-by: Mark Hilbush <mark@hilbush.com>
2022-06-17 12:54:26 +02:00
Jacob Laursen
72f947dee0
Regenerate i18n texts (#12951)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-06-17 07:31:24 +02:00
Andrew Fiddian-Green
4036888433
[gardena] remove compiler warnings (#12947)
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2022-06-16 21:44:25 +02:00
Mark Herwege
f8bbb2b5a5
[nikohomecontrol] Bug fixes and improvements to thermostats (#11963)
* Thermostat fixes and implement extra thermostat channels

Signed-off-by: Mark Herwege <mark.herwege@telenet.be>
2022-06-15 13:01:22 +02:00
robnielsen
3349cf4945
[insteon] set device offline if it doesn't exist in the plm/hub database (#12904)
* [insteon] set device offline if it doesn't exist in the plm/hub database
* [insteon] use a flag to indicate if a device is linked or not
* [insteon] set config to @NonNullByDefault({}) instead of @Nullable
* [insteon] cleanup

Signed-off-by: Rob Nielsen <rob.nielsen@yahoo.com>
2022-06-14 23:26:08 +02:00
Sven Strohschein
25660991e6
[livisismarthome] New binding (successor of innogysmarthome with local API and some improvements) (#12440)
- Initial version added (copied and renamed from the innogysmarthome binding)
- The local API is now used, authorization, bridge initialization and discovery is already working
- Potential NullPointerExceptions fixed
- Adding battery-low-Channel support for ISC2
- More optimizations and local API changes in the ReadMe
- The key button counter channels are now updated correctly. The according trigger channels should now also work fine.
- Bug fixes regarding button pressed event. The pressed event is now executed along with short and long press events, so if someone want to react on a button press (short or long), the PRESSED trigger event can get checked. And the pressed event isn't senseless executed on a binding restart anymore.
- Error messages improved
- Deprecation-Notice
- New deprecation warning integrated in the innogysmarthome binding
- Livisi renamed to LIVISI
- SHC channels are now initialized correctly
- New "status" channel for the SHC with the values ACTIVE, INITIALIZING and SHUTTINGDOWN
- Code and documentation optimizations
- Fix for PT-PSS action
- Support for SHC classic - The websocket is hosted on another port.
- Update for Temperature-Channel-Definitions and Translations (de)
- Update for Power-Channel-Definitions
- Further translations (de) for devices and channels
- Refactoring branch integrated (some tests added and a lot of code optimizations for example smaller methods, better method names, more simple flows without continue and return in void methods, improved NULL handling, etc.)
- Code optimization (special handling for VariableActuator removed which seems to be not required anymore)
- The thing status is now set to offline when the device is not reachable (even on binding start up)
- The thing status is now set to online again when the device is reachable again
- Clearer description of the invert switch of the RollerShutter (ISR2)
- Copyright notices corrected
- Imports optimized
- Changed handling of pointTemperature (QuantityType instead of DecimalType)
- Code optimization (device status listeners are now registered with device id, so it isn't necessary anymore to call all listeners to find the right matching listener for the device event).
- Code optimization (not working mDNS bridge discovery removed).
- Explicit idle timeout removed (seems not to be required anymore for the local API and may cause problems with SHC 1, there occur EOFExceptions)
- Code optimizations (Debug code removed which isn't required anymore)
- Warn message added which is logged when the temperature to set is not between min and max temperature (this can happen when the user uses the REST-API instead of MainUI or probably also when set via a rule).
- Code optimizations (stronger/consequent use of QuantityType instead of DecimalType)
- Temperature values outside the possible range of 6 - 30 °C are now set to 6 / 30 °C. Therefore a temperature channel can get set to 0 °C for example by a rule and this is automatically changed to 6 °C (and causes a debug message).
- Code optimizations
- Bug fixes regarding UnitsOfMeasurements (Number:Power)
- Tests repaired
- The local API returns "[]" for empty objects which should only get used for arrays... This is now handled by the binding with replacing "[]" by "null". This error occurred with SHC 1, it isn't known if SHC 2 is also affected.
- Number:Dimensionless (percent) introduced for humidity and luminance
- Button events are now supported for SHC 1 (Classic), but without information about short or long press (isn't available for this SHC model).
- Button events are now supported for SHC 1 (Classic), but without information about short or long press (isn't available for this SHC model).
- The configVersion is now also available for SHC 1 bridges.
- More changes to Descriptions, Translations, Icons, Channel-Order, Channel-Config
- Trace logging of responses added to increase the traceability
- The SHC channels should now also get filled for SHC classic
- cpu, memory and disc channels are now defined as percentage (Number:Dimensionless)
- Jetty-HttpClient replaced by simple UrlConnection, because Jetty-HttpClient has problems with high frequency execution of requests. There were EOFExceptions with SHC classic when 2 or more requests were executed within the same second...
- Readme updated
- Copyright notices corrected
- Additions in ReadMe for RST2 / WRT
- The bridge channels (cpu, memory, disc and operation state) are now updated every minute for SHC 1 / classic (because there are no such events for SHC 1 / classic)
- Bug-fix for SHC 1 / classic: Device attributes are now updated correctly for SHC 1 / classic (there is another response structure, which caused that some attributes were not found / update). This should have affected battery low and reachable (thing status) information.
- There are also raw events which report changes regarding the bridge channels (cpu, memory, disc and operation status). There are now processed.
- Token request JSON changed to lower-case (to be compatible with the new SHC firmware update and this should enable to use the standard logics)
- SHC 2 can now get authenticated with the OAuth 2.0 standard logics of OpenHAB (with x-www-form-urlencoded instead of json). The old special json logic is still there to support SHC 1 (but SHC 1 will also get updated soon).
- SHC 1 supports now short and long button pressed events
- Outdated custom login logics removed. SHC 2 and SHC 1 / classic supports now OAuth 2.0 login requests, therefore the default login logics of OpenHAB can now get used.
- README updated for the required software version of SHC 1 / classic
- Code review findings fixed
- Code review findings fixed (Channel Ids renamed to lowerCamelCase)
- Unused code removed
- Code review findings fixed (Device status messages localized)
- Code review findings fixed (label of BooleanStateActuator renamed)
- Code review findings fixed (hard-coded units resolved)
- Code review findings fixed (unit of measurements changed form Power to Energy when it is unit Wh instead of W)
- Code review findings fixed (thing status BRIDGE_OFFLINE changed to COMMUNICATION_ERROR, because BRIDGE_OFFLINE is intended for sub/child devices, not for the bridge thing)
- Code review findings fixed ("initialize" is now returned faster and all requests are executed asynchronously)
- Code review findings fixed ("initialize" is now returned faster and all requests are executed asynchronously)
- Compiler warnings fixed
- Code review findings fixed
- Code review findings fixed (channel ids renamed)
- Code review findings fixed (tags for temperature and humidity added)
- Code review findings fixed (properties renamed to lowerCamelCase like the default properties)
- Code review findings fixed (non-null warnings fixed, performance increased by reducing requests)
- Code review findings fixed (non-null warnings fixed)
- Code review findings fixed (non-null warnings fixed in tests)
- Copyright notices updated
- Unnecessary log line removed
- Code review findings fixed (non-null warnings fixed in tests)
- Test fixed (WebSocketClient can't get mocked completely which caused an Exception)
- Code review findings fixed (various code optimizations)
- Code review findings fixed (channel-type-ids renamed to lowerCamelCase)
- Code review findings fixed (translation simplified)
- Code review findings fixed (temperature point handling converted in UoM)
- Code review findings fixed (Exception handling improved)
- Code review findings fixed (offline state precised when the bridge isn't found/configured)
- Code review findings fixed (exception logs deactivated within tests to reduce to console output when running the tests)
- Code review findings fixed (thing status is now checked instead of bridge status)
- Code review findings fixed (DeviceStructureManager can now be marked as NonNull because it is initialized within the initialize method)
- Code review findings fixed (LivisiClient can now be marked as NonNull because it is initialized within the initialize method)
- Code review findings fixed (OAuthService can now be marked as NonNull because it is initialized within the initialize method)
- Code review findings fixed (unnecessary type check removed)
- Code review findings fixed (warning messages within tests reduced)
- Code review findings fixed (more when the bridge connection state changes)
- Code review findings fixed (reconnect job changed from scheduleAtFixedRate to scheduleWithFixedDelay - recommended by the SAT warnings).
- Code review findings fixed (unused method removed).
- Representation property introduced to auto-ignore textual defined things at discovery/scan
- Code review findings fixed (more detailed error message for SHC not reachable added).
- Fix ChannelTypeID in Readme.md sample
- Code review findings fixed ("/event/ControllerConnectivityChanged" doesn't change the bridge thing to offline anymore, because it isn't important for the local API anymore).
- Code review findings fixed (point temperature commands with DecimalType instead of QuantityType can now also get handled).
- Tests added regarding handleCommand
- Code optimization (constant for the "invert" channel parameter added)
- Code optimization (log messages within tests avoided)

Signed-off-by: Sven Strohschein <sven.strohschein@gmail.com>
Co-authored-by: RalphSester <ralph.sester@sester-edv.de>
2022-06-14 23:21:39 +02:00
Jacob Laursen
960be6bc83
[boschindego] Rewrite to avoid external dependencies (#12905)
* Rewrite to avoid external dependencies

Fixes #12720

* Improve session handling
* Avoid reauthorization for each command/poll
* Further improve session handling
* Refactor SSO cookie handling
* Optimize getting DeviceStatus for unknown status code

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-06-14 22:51:26 +02:00
Bruetti1991
fd9fa722d3
[gardena] Fix handling of websocket connection losses that causes memory leaks (#11825)
* [gardena] Fix handling of websocket connection losses that causes memory leaks

* The binding no longer restarts websockets more than once if the connection is lost

Signed-off-by: Nico Brüttner <n@bruettner.de>
2022-06-14 21:12:14 +02:00
openhab-bot
58342f72ed
New Crowdin updates (#12933)
* New translations netatmo.properties (Italian)

* New translations netatmo.properties (French)
2022-06-13 22:37:13 +02:00
vich-667
2b1b6a3709
add new state battery diagnosis (#12934)
Signed-off-by: Tobias Lange <vich-667@gmx.de>
2022-06-13 21:25:29 +02:00
eugen
cddd2daae2
[homekit] fix issue with some hue lights, e.g. xiaomi (#12931)
* fix for hue

Signed-off-by: Eugen Freiter <freiter@gmx.de>
2022-06-13 19:16:13 +02:00
lolodomo
eb97ba2ec7
[netatmo] Make the grant servlet always available (#12923)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-06-13 08:08:36 +02:00
lolodomo
770d32ce99
[netatmo] Rework room actions (#12870)
* [netatmo] Rework room actions
* Clarify what thermostat modes can be used for the action

Fix #12836

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-06-13 08:07:22 +02:00
Jacob Laursen
ebca0812d1
Fix signalStrength channel update after REFRESH command (#12930)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-06-13 07:46:20 +02:00
Mark Herwege
0cee45f4d5
[nikohomecontrol] Reconnection logic (#12885)
* Clear handler references when disposing handler
* Improved handling when connection lost
* Fix refresh interval property definition
* Unset event handler when actions removed from NHC
* Startup and connection attempt improvements
* Unset action references
* Reconnection logic cleanup
* Cleanup bridge online setting
* Also synchronize scheduleRestartCommunication

Signed-off-by: Mark Herwege <mark.herwege@telenet.be>
2022-06-12 10:38:39 +02:00
Gaël L'hopital
8339faad47
[netatmo] Improve channel helpers (#12851)
Signed-off-by: clinique <gael@lhopital.org>
2022-06-11 20:08:10 +02:00
openhab-bot
bf6d508c61
New Crowdin updates (#12920)
* New translations amazondashbutton.properties (French)

* New translations icalendar.properties (French)

* New translations luxom.properties (French)

* New translations amazondashbutton.properties (French)
2022-06-11 15:24:13 +02:00
lolodomo
303683c2ec
[amazondashbutton] Update default translations (#12917)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-06-11 11:13:52 +02:00
lolodomo
c4b70e333d
[ambientweather] Add missing default translations (#12918)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-06-11 11:12:26 +02:00
lolodomo
b19aefd359
[automover] Update default translations (#12919)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-06-11 11:11:46 +02:00
GiviMAD
6eed7fb542
[pulseaudio] regenerate default translations (#12916)
* [pulseaudio] regenerate default translations

Signed-off-by: Miguel Álvarez <miguelwork92@gmail.com>
2022-06-11 08:36:00 +02:00
Andrew Fiddian-Green
c806c76631
[hdpowerview] Corrections to shade database and capabilities (#12902)
* [hdpowerview] add type 66 shutters to database
* [hdpowerview] shade database updates
* [hdpowerview] shade database additions and corrections
* [hdpowerview] enhance database features
* [hdpowerview] fix capabilities 8, 9 functionality
* [hdpowerview] adjust tests to match new capabilities
* [hdpowerview] correct method visibility
* [hdpowerview] test type 44
* [hdpowerview] remove comment
* [hdpowerview] name change
* [hdpowerview] remove comments attribute
* [hdpowerview] refactor capabilities code
* [hdpowerview] 'hard' properties now hidden
* [hdpowerview] adopt reviewer suggestion
* [hdpowerview] refactor constant names

Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2022-06-10 20:10:31 +02:00
GiviMAD
798d59b2c5
[pulseaudio] Fix source format options (#12913)
Signed-off-by: Miguel Álvarez <miguelwork92@gmail.com>
2022-06-10 07:39:01 +02:00
Christoph Weitkamp
c171f2682a
[groupepsa] Fix syntax of documentation and minor spelling improvements (#12912)
* [groupepsa] Fix syntax of documentation and minor spelling improvements

- Fix syntax of documentation and minor spelling improvements

Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
Co-authored-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-06-10 07:27:57 +02:00
openhab-bot
6aea2a9444
New Crowdin updates (#12907)
* New translations miele.properties (German)

* New translations remoteopenhab.properties (German)

* New translations mqtt.properties (German)

* New translations metrics.properties (German)

* New translations boschindego.properties (German)

* New translations gpstracker.properties (German)

* New translations onkyo.properties (German)

* New translations tado.properties (German)

* New translations telegram.properties (German)

* New translations jruby.properties (German)

* New translations bluetooth.properties (German)

* New translations bluetooth.properties (German)

* New translations bluetooth.properties (German)

* New translations bluetooth.properties (German)

* New translations bluetooth.properties (German)

* New translations bluetooth.properties (German)

* New translations bluetooth.properties (German)

* New translations bluetooth.properties (German)

* New translations bluetooth.properties (German)

* New translations imperihome.properties (German)
2022-06-09 08:08:51 +02:00
robnielsen
045de1b589
[ecobee] Add support for Smart Thermostat Premium (#12892)
Signed-off-by: Rob Nielsen <rob.nielsen@yahoo.com>
2022-06-08 08:52:07 +02:00
Andrew Fiddian-Green
e24ca5708b
[neohub] check for connection refused (#12906)
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2022-06-08 08:45:35 +02:00
openhab-bot
52bb4b3715
New translations sncf.properties (French) (#12901) 2022-06-07 11:18:58 +02:00
jimtng
25d9315197
[fronius] Add additional Inverter DC channels (#12867)
* [fronius] Add additional Inverter DC channels
* [fronius] Update channel description and translations
* [fronius] Add calculated DC Power channels

Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
2022-06-07 08:11:06 +02:00
mlobstein
22ebb9809b
Fix reporting of Roku Home app (#12884)
Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
2022-06-06 16:18:56 +02:00
openhab-bot
1958a82ffe
New Crowdin updates (#12897)
* New translations sonos.properties (French)

* New translations sonyprojector.properties (French)
2022-06-06 15:17:05 +02:00
lolodomo
266feb8a87
[sncf] Align XML description and default translations (#12887)
Re-run of the i18n tool will then trigger no change.

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-06-06 13:17:22 +02:00
Mark Herwege
654fa3e9ed
Fix array out of bound exception (#12889)
Signed-off-by: Mark Herwege <mark.herwege@telenet.be>
2022-06-06 11:38:50 +02:00
openhab-bot
1e864d444b
New Crowdin updates (#12894)
* New translations shelly.properties (German)
* New translations luxom.properties (Italian)
2022-06-06 11:34:28 +02:00
lolodomo
fef3a8d7fc
[sonos] Align XML description and default translations (#12886)
Re-run of the i18n tool will then trigger no change.

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-06-06 09:51:01 +02:00
lolodomo
447ffad438
[sonyprojector] Align XML description and default translations (#12888)
Reorder translations entries.

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-06-06 09:50:33 +02:00
Gaël L'hopital
5a2ec07876
[netatmo] Correct Discovery service (#12869)
* Correct Discovery service
* Enhancing weather station module handling

Signed-off-by: clinique <gael@lhopital.org>
2022-06-05 19:14:04 +02:00
Mark Herwege
f5e5b5189a
[elroconnects] Set thingStatus earlier in initialize (#12877)
* Set thingStatus earlier in initialize
* Check device configuration
* Make sure to always set thing status
* Make thing status message localizable

Signed-off-by: Mark Herwege <mark.herwege@telenet.be>
2022-06-05 13:19:12 +02:00
Markus Michels
29a45ef1ab
Fix #12381 (#12843)
Signed-off-by: markus7017 <markus7017@gmail.com>
Signed-off-by: Markus Michels <markus7017@gmail.com>
2022-06-05 12:03:14 +02:00
openhab-bot
1b43cbaa0f
New Crowdin updates (#12875)
* New translations vigicrues.properties (French)

* New translations weatherunderground.properties (French)

* New translations xmltv.properties (French)

* New translations renault.properties (French)

* New translations ntp.properties (French)

* New translations ntp.properties (German)

* New translations sagercaster.properties (French)

* New translations ntp.properties (Hungarian)

* New translations ntp.properties (Turkish)
2022-06-05 07:45:29 +02:00
mlobstein
22d0e5905c
[benqprojector] Add discovery service (#12866)
* Add discovery service

Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
2022-06-04 23:47:32 +02:00
lolodomo
3de409be75
[luxom] Add missing default translations (#12883)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-06-04 23:45:52 +02:00
Mark Herwege
bdf59524b8
[nikohomecontrol] Do not set thing status before end of initialization (#12819)
* Do not set thing status before end of initialization
* Change ThingStatusDetail when no communication object
* Change bridge config error messages
* Bridge status changed handling
* Check bridge status in handler init

Signed-off-by: Mark Herwege <mark.herwege@telenet.be>
2022-06-04 23:39:46 +02:00
Mark Herwege
62bb809f76
[upnpcontrol] Set thingStatus UNKNOWN in intialize (#12880)
* Set thingStatus UNKNOWN in intialize

Signed-off-by: Mark Herwege <mark.herwege@telenet.be>
2022-06-04 23:32:51 +02:00
lolodomo
d7db798a6f
[lametrictime] Add missing default translations (#12882)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-06-04 23:11:46 +02:00
Mark Hilbush
e40e4bb5d0
Eliminate JsonSyntaxException when restricted_frequency is null (#12876)
Signed-off-by: Mark Hilbush <mark@hilbush.com>
2022-06-04 23:05:17 +02:00
lolodomo
7d782767f9
[renault] Reorder translations entries (#12878)
Re-run of the i18n tool will then trigger no change.

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-06-04 22:55:39 +02:00
lolodomo
76912786c1
[sagercaster] Reorder translations entries (#12879)
Re-run of the i18n tool will then trigger no change.

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-06-04 22:55:12 +02:00
lolodomo
373b73c429
[ntp] Align XML description and default translations (#12881)
Re-run of the i18n tool will then trigger no change.

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-06-04 22:54:28 +02:00
J-N-K
2c36c08f33
Add AARCH64 native lib to dynamodb (#12863)
Signed-off-by: Jan N. Klug <github@klug.nrw>
2022-06-04 21:50:16 +02:00
Andrew Fiddian-Green
3f4d1f041d
[tado] Automatically reconnect offline Things if possible (#12868)
* [tado] reconnect offline things if possible & allowed
* [tado] bridge should ping the server every polling cycle

Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2022-06-04 20:37:30 +02:00
lolodomo
44b1d0c0c1
[xmltv] Add few missing translations and reorder the entries (#12872)
Re-run of the i18n tool will then trigger no change.

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-06-04 20:30:38 +02:00
lolodomo
cabad56a83
[weatherunderground] Reorder translations entries (#12873)
Re-run of the i18n tool will then trigger no change.

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-06-04 20:29:57 +02:00
lolodomo
03005db7b4
[vigicrues] Reorder translations entries (#12874)
Re-run of the i18n tool will then trigger no change.

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-06-04 20:29:20 +02:00
Jacob Laursen
f986183a21
[hdpowerview] Fix output to console from tests and eliminate warnings (#12824)
* Avoid logging to console
* Fix redundant null checks

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-06-04 08:44:44 +02:00
Mark Herwege
651fa295e7
[nikohomecontrol] Discovery improvements (#12855)
* Add discovery representation properties
* Recognized device types improvements
* Move discovery to thingHandlerService
* Discover multiple bridges in network
* Made device property names constants

Signed-off-by: Mark Herwege <mark.herwege@telenet.be>
2022-06-03 20:08:08 +02:00
Wouter Born
43e44ea39a
Exclude embedded module-info.class recursively (#12865)
See: https://github.com/openhab/openhab-addons/pull/12772#issuecomment-1145179643

Signed-off-by: Wouter Born <github@maindrain.net>
2022-06-03 15:38:20 +02:00
dependabot[bot]
7cbdf22452
Bump gson from 2.8.5 to 2.8.9 in /bundles/org.openhab.persistence.influxdb (#12772)
* Bump gson in /bundles/org.openhab.persistence.influxdb

Bumps [gson](https://github.com/google/gson) from 2.8.5 to 2.8.9.
- [Release notes](https://github.com/google/gson/releases)
- [Changelog](https://github.com/google/gson/blob/master/CHANGELOG.md)
- [Commits](https://github.com/google/gson/compare/gson-parent-2.8.5...gson-parent-2.8.9)

---
updated-dependencies:
- dependency-name: com.google.code.gson:gson
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

* Prevent embedding issues by excluding module-info.class

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Wouter Born <github@maindrain.net>
2022-06-02 19:29:16 +02:00
dependabot[bot]
10355dd965
Bump gson from 2.8.5 to 2.8.9 in /bundles/org.openhab.binding.dbquery (#12798)
* Bump gson from 2.8.5 to 2.8.9 in /bundles/org.openhab.binding.dbquery

Bumps [gson](https://github.com/google/gson) from 2.8.5 to 2.8.9.
- [Release notes](https://github.com/google/gson/releases)
- [Changelog](https://github.com/google/gson/blob/master/CHANGELOG.md)
- [Commits](https://github.com/google/gson/compare/gson-parent-2.8.5...gson-parent-2.8.9)

---
updated-dependencies:
- dependency-name: com.google.code.gson:gson
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

* Prevent embedding issues by excluding module-info.class

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Wouter Born <github@maindrain.net>
2022-06-02 19:28:01 +02:00
J-N-K
0bbd276a24
Refactor scale transformation to configuration registry (#12862)
Signed-off-by: Jan N. Klug <github@klug.nrw>
2022-06-02 18:18:58 +02:00
openhab-bot
44a0dfb132
New translations darksky.properties (German) (#12860) 2022-06-02 15:20:16 +02:00
Mark Herwege
be06730c32
[nikohomecontrol] Nhc fixes (#12859)
* Make trigger type items act on off
* Fix gson serializing empty values
* Fix some null pointer warnings

Signed-off-by: Mark Herwege <mark.herwege@telenet.be>
2022-06-02 13:03:42 +02:00
eugen
97b423b273
update configuration revision on start (#12854)
Signed-off-by: Eugen Freiter <freiter@gmx.de>
2022-06-01 22:44:05 +02:00
Andrew Fiddian-Green
668eb4d3a2
[hdpowerview] add type 66 shutters to database (#12857)
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2022-06-01 22:38:18 +02:00
openhab-bot
598d88648c
New Crowdin updates (#12849)
* New translations boschshc.properties (German)
* New translations jinja.properties (German)
* New translations regex.properties (German)
* New translations jsonpath.properties (German)
* New translations xpath.properties (German)
* New translations dynamodb.properties (German)
* New translations jdbc.properties (German)
* New translations neeo.properties (German)
* New translations fsinternetradio.properties (German)
* New translations sonyaudio.properties (German)
* New translations systeminfo.properties (German)
* New translations wemo.properties (German)
* New translations googlestt.properties (German)
* New translations voicerss.properties (German)
* New translations porcupineks.properties (German)
* New translations watsonstt.properties (German)
* New translations voskstt.properties (German)
* New translations deutschebahn.properties (German)
* New translations dwdunwetter.properties (German)
* New translations shelly.properties (German)
* New translations googletts.properties (German)
* New translations http.properties (Italian)
* New translations evcc.properties (German)
* New translations imperihome.properties (Italian)
* New translations voicerss.properties (German)
* New translations dwdunwetter.properties (German)
2022-06-01 12:11:04 +02:00
lolodomo
3114408cb9
[darksky] Update default translations (#12853)
Related to #12837

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-06-01 10:48:14 +02:00
mlobstein
b829fe52e4
Increase timeout for thermostat status requests (#12852)
Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
2022-05-31 09:39:44 +02:00
Jacob Laursen
4ded5732c3
Remove strict version dependencies (#12816)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-05-30 12:03:31 +02:00
openhab-bot
43bbe56af3
New Crowdin updates (#12846)
* New translations netatmo.properties (Italian)
* New translations imperihome.properties (French)
* New translations herzborg.properties (Italian)
2022-05-29 23:08:08 +02:00
fremel75
6190867c39
[influxdb] Fix for influxdbv1 retention and table names containing keywords or special chars (#11139)
* [influxdbv1] https://github.com/openhab/openhab-addons/issues/9790 and https://github.com/openhab/openhab-addons/issues/10398 Fix for retention and table names containing InfluxQL keywords or special characters

Signed-off-by: fremel@gmail.com <fremel@gmail.com>

* Revert escaped qoutes on null items

Signed-off-by: fremel@gmail.com <fremel@gmail.com>

* Apply suggestions from code review

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

Co-authored-by: Joan Pujol <joanpujol@gmail.com>

* Apply spotless

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

Co-authored-by: Fabian Wolter <github@fabian-wolter.de>
Co-authored-by: Joan Pujol <joanpujol@gmail.com>
Co-authored-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-05-29 20:54:49 +02:00
Jacob Laursen
531ddb37da
Fix build (#12848)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-05-29 20:23:05 +02:00
Karel Goderis
020db307bb
[Helios] Remove support for obsolete firmware 2.7 including SOAP base… (#12721)
* Helios] Remove support for obsolete firmware 2.7 including SOAP based communication

Signed-off-by: Karel Goderis <karel.goderis@me.com>
2022-05-29 16:25:43 +02:00
Bernd Weymann
a0c3e7a88a
bugfix x-user-agent (#12841)
Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>
2022-05-29 11:21:40 +02:00
lolodomo
12b88a5c8b
[imperihome] Default translations (#12845)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-05-29 11:16:08 +02:00
lolodomo
a83838c485
[modbus.*] Updated default translations (#12844)
Related to #12837

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-05-29 10:23:58 +02:00
James Melville
93ecb5d8e7
Allow pre-escaped URLs for http binding (#12350)
Signed-off-by: James Melville <jamesmelville@gmail.com>
2022-05-29 08:58:56 +02:00
lolodomo
a5e1767e5f
[herzborg] Default translations (#12838)
Related to #12837

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-05-28 20:46:31 +02:00
mlobstein
81ae28cba9
Add PowerOn option to Remote Button channel (#12839)
Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
2022-05-28 20:10:52 +02:00
openhab-bot
b43eb4a25b
New Crowdin updates (#12835)
* New translations amazondashbutton.properties (French)

* New translations netatmo.properties (French)

* New translations netatmo.properties (French)
2022-05-28 20:00:46 +02:00
Markus Michels
6c78b4a63d
Fixes CoAP parsing problem (#12831) (#12834)
Signed-off-by: markus7017 <markus7017@gmail.com>
Signed-off-by: Markus Michels <markus7017@gmail.com>
2022-05-28 11:55:58 +02:00
Gaël L'hopital
1aec6c9b30
[netatmo] Add siren device (#12805)
* Starting Siren addition

Signed-off-by: clinique <gael@lhopital.org>
2022-05-28 11:26:30 +02:00
Markus Michels
5291d7ddc9
[shelly] Prepare for CrowdIn translations, bug fixes (#12822)
* Prepare for CrowdIn translations, includes translation of binding
settings; fix #12815 endless initialization; fix #12535 invalid log
messages

Signed-off-by: markus7017 <markus7017@gmail.com>
Signed-off-by: Markus Michels <markus7017@gmail.com>
2022-05-28 10:33:40 +02:00
openhab-bot
1bb4500da1
New Crowdin updates (#12828)
* New translations netatmo.properties (French)
* New translations netatmo.properties (Italian)
2022-05-28 01:08:07 +02:00
lolodomo
1aeaccfe04
[netatmo] Fix getActiveChildren (#12830)
Wait for the thing being initialized properly by the thing manager
before considering it as an active children

Fix #12809

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-05-27 19:47:13 +02:00
lolodomo
efde8beae6
[netatmo] Remove 2 outdated entries from the properties file (#12827)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-05-27 17:24:28 +02:00
robnielsen
53db5c4822
[insteon] change .equals() to == for ThingStatus equality check (#12826)
Signed-off-by: Rob Nielsen <rob.nielsen@yahoo.com>
2022-05-27 16:12:04 +02:00
robnielsen
88e7ba3774
[insteon] set device to offline if network is not online after initialization (#12790)
* [insteon] set device to offline if network is not online during initialization

Signed-off-by: Rob Nielsen <rob.nielsen@yahoo.com>
2022-05-27 14:14:43 +02:00
Matthew Skinner
7f249872bc
[wled] Change to bridge/thing structure and add global controls (#12199)
* Update to using bridge/thing
* remove white channels.
* Improve Discovery
* Add more sleep/ timed light / NL features
* Change advanced channels
* fix bug for sleep duration
* Update readme with new channels
* Move channels into separate readme heading.
* fix white jumps to 0 after moving control.

Signed-off-by: Matthew Skinner <matt@pcmus.com>
2022-05-27 13:26:47 +02:00
J-N-K
87023da9e3
Fix issues with tests after core-changes (#12817)
Signed-off-by: Jan N. Klug <github@klug.nrw>
2022-05-27 09:07:15 +02:00
openhab-bot
2403ffcb86
New translations network.properties (French) (#12821) 2022-05-27 08:36:36 +02:00
Mark Herwege
766eba5bd6
[elroconnects] Fix thing type description (#12823)
* Fix thing type description

Signed-off-by: Mark Herwege <mark.herwege@telenet.be>
2022-05-26 23:18:25 +02:00
Matthew Skinner
867628a701
Doorbird online/offline bug fix (#12814)
Signed-off-by: Matthew Skinner <matt@pcmus.com>
2022-05-26 15:35:59 +02:00
Sönke Küper
76001902a3
[deutschebahn] DB API Marketplace adjustments (#12786)
* Changes API URL and authentication Headers for DB API Marketplace.
* Fixed some typos and code style findings.

Signed-off-by: Sönke Küper <soenkekueper@gmx.de>
2022-05-26 13:09:09 +02:00
openhab-bot
d938341ba7
New Crowdin updates (#12810)
* New translations miele.properties (Danish)
* New translations netatmo.properties (Italian)
2022-05-25 22:16:01 +02:00
Andreas Isenmann
010fa0200a
[Netatmo] Enhancement of documentation (#12807)
* Enhancement of Netatmo binding documentation

Signed-off-by: Andreas Isenmann <andreas.isenmann@ise-world.de>
2022-05-25 13:42:59 +02:00
GiviMAD
2ee6f8493e
[jellyfin] fix multiple sessions for device and update deps (#12794)
Signed-off-by: Miguel Álvarez Díez <miguelwork92@gmail.com>
2022-05-24 22:29:40 +02:00
Andrew Fiddian-Green
3ee741e63b
[tado] Fix AC control bugs; Add null annotations and checks (#12570)
* [tado] add null annotations and checks
* [tado] cosmetics
* [tado] tweak homeid
* [tado] revert int to Integer
* [tado] explicit method public declaration
* [tado] remove "Bridge not initialized" exception on shutdown
* [tado] new state values: error if unsupported; don't force defaults
* [tado] adopt reviewer suggestion
* [tado] tweaks
* [tado] use new,current,default mode for target capabilities; cosmetics
* [tado] eliminate dead code
* [tado] set or defaults
* [tado] change 'nullable Integer' to 'int'
* [tado] eliminate warning if handler already disposed
* [tado] improve json logging
* [tado] fix getTargetTemperature if state is OFF
* [tado] add null checks
* [tado] log warning instead of throwing exception
* [tado] improved json trace logging
* [tado] adopt reviewer suggestion
* [tado] fix logging to trace
* [tado] thread synch, and fix 'this' assignments on futures
* [tado] tweak yaml
* [tado] fix verticalSwing
* [tado] fix fanLevel

Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2022-05-24 22:09:03 +02:00
Gaël L'hopital
55beb413bd
[netatmo] Add doorbell support (#12776)
* Adding doorbell handling to netatmo
Closes #8571

Signed-off-by: clinique <gael@lhopital.org>
2022-05-24 21:56:55 +02:00
Andrew Fiddian-Green
308bb3013a
[hdpowerview] Change method names to match documentation (#12796)
* [hdpowerview] refactor method names

Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2022-05-24 21:50:41 +02:00
Stefan Giehl
39d7abc824
[LuxtronikHeatpump] fix menuStateLine1 state options (#12802)
Signed-off-by: Stefan Giehl <stefangiehl@gmail.com>
2022-05-24 21:11:44 +02:00
GiviMAD
1b5471cf65
[watsonstt] reuse token (#12800)
* [watsonstt] reuse token

Signed-off-by: Miguel Álvarez Díez <miguelwork92@gmail.com>
2022-05-24 20:45:49 +02:00
GiviMAD
98af136e4a
[porcupineks] concurrency fix (#12801)
Signed-off-by: Miguel Álvarez Díez <miguelwork92@gmail.com>
2022-05-24 20:14:02 +02:00
Gaël L'hopital
907e33518e
[netatmo] Removing feature restriction from binding configuration (#12795)
* Removing feature restriction from binding configuration

Signed-off-by: clinique <gael@lhopital.org>
2022-05-24 12:59:59 +02:00
Jacob Laursen
6283c9a0e2
Disable broken test (#12793)
Related to: #12784

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-05-24 08:13:02 +02:00
Mark Hilbush
1baa37dcdd
[bigassfan] Add warning about new incompatible firmware (#12792)
* Add warning about new incompatible firmware
* Add firmware version number

Signed-off-by: Mark Hilbush <mark@hilbush.com>
2022-05-23 22:51:28 +02:00
robnielsen
5b79e18289
[insteon] ignore commands if device is not online (#12787)
Signed-off-by: Rob Nielsen <rob.nielsen@yahoo.com>
2022-05-23 21:56:35 +02:00
GiviMAD
6a6cf3e515
[androiddebugbridge] fix start-intent channel (#12791)
Signed-off-by: Miguel Álvarez Díez <miguelwork92@gmail.com>
2022-05-23 18:33:56 +02:00
David Pace
c16e9df7a0
[boschshc] Support for Bosch Intrusion Detection System (#12700) (#12758)
* [boschshc] Support for Bosch Intrusion Detection System (#12700)

* Add thing and channel definitions for intrusion detection system
* Extract handler abstraction for devices with non-configurable device
IDs
* Extract service abstractions for write-only services (i.e. services
that can not receive states from the bridge)
* Add handler, services and DTO implementations for the intrusion
detection system
* Add detailed Javadocs
* Generalize mechanism to actively fetch initial states for certain
services
* Add unit tests
* Add documentation

closes #12700

* [boschshc] Documentation and formatting enhancements

Signed-off-by: David Pace <dev@davidpace.de>
2022-05-22 21:45:55 +02:00
lolodomo
50831fff14
[netatmo] Discovery using current value of readFriends parameter (#12782)
Fix #12778

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-05-22 10:34:41 +02:00
lolodomo
2fbdc7d21e
[netatmo] Avoid requesting favorite stations when not needed (#12777)
* [netatmo] Avoid requesting favorite stations when not needed
* Add new method getFavoriteAndGuestStationsData
* Enhanced description for method getOwnedStationData
* getFavoriteAndGuestStationsData returns a collection of NAMain

Fix #12769

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-05-22 10:32:09 +02:00
openhab-bot
cab63283f3
New translations netatmo.properties (Italian) (#12781) 2022-05-21 21:19:09 +02:00
M Valla
1029b926ce
[openwebnet] add default translations (#12775)
Signed-off-by: Massimo Valla <mvcode00@gmail.com>
2022-05-21 10:45:42 +02:00
lolodomo
b475f0abd1
[netatmo] Add translations for config parameters (#12768)
* [netatmo] Add translations for config parameters

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-05-21 10:20:34 +02:00
openhab-bot
b30a82c1a3
New Crowdin updates (#12771)
* New translations astro.properties (Italian)
* New translations netatmo.properties (Italian)
* New translations fineoffsetweatherstation.properties (Italian)
2022-05-21 09:18:59 +02:00
Gaël L'hopital
9632a0a870
[netatmo] Switch to Code Granting process (#12726)
Signed-off-by: clinique <gael@lhopital.org>
2022-05-20 12:53:53 +02:00
lolodomo
c12ed4bc8e
[fineoffsetweatherstation] Align XML with default translations (#12766)
Makes i18n tool reusable.

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-05-19 21:44:26 +02:00
Andreas Berger
66bb27275d
[fineoffsetweatherstation] Initial contribution (#12464)
* [fineoffsetweatherstation] initial commit
* [fineoffsetweatherstation] add missing measure type for air quality
* [fineoffsetweatherstation] add names to sensors
* [fineoffsetweatherstation] add missing channel types for lightning and water leak
* [fineoffsetweatherstation] adjust label names and replaced images + pdf so there are no copyright issues
* [fineoffsetweatherstation] remove wrong semantic tags
* [fineoffsetweatherstation] add missing measurands for WH45 (CO2) and WH35 (Leaf wetness)
* [fineoffsetweatherstation] fix typos
* [fineoffsetweatherstation] improve error handling for unstable connections
* [fineoffsetweatherstation] set online status after successful discovery
* [fineoffsetweatherstation] adjustments after review
* [fineoffsetweatherstation] adjustments after review
* Fix typo
* use `system.wind-speed` where applicable
* fix naming of channel type constants

Signed-off-by: Andreas Berger <andreas@berger-freelancer.com>
2022-05-19 20:52:17 +02:00
dependabot[bot]
688dad0be8
Bump bcprov-jdk15on from 1.52 to 1.67 in /bundles/org.openhab.binding.boschshc (#12127)
Bump all org.bouncycastle bundles to version 1.70 and added new bcutil-jdk15on jar which was added with v1.69

Signed-off-by: Gerd Zanker <gerd.zanker@web.de>
2022-05-19 10:04:01 +02:00
Andrew Fiddian-Green
af4ad689ac
[hdpowerview] add type 38 shade to database (#12761)
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2022-05-18 17:36:57 +02:00
openhab-bot
a97c53662b
New translations voskstt.properties (Italian) (#12759) 2022-05-18 01:04:40 +02:00
Hilbrand Bouwkamp
dec6483e2c
[unifi] New site, wlan, wiredClient, and poePort. Discovery support (#11959)
* [unifi] New wiredClient and poePort, Discovery support

This change adds the following changes:
- 2 new things: a wired client and POE port.
- Adds discovery of clients and poePort.
- Adds guest channel to client thing.
Also included some refactoring and bug fixes.

This change includes changes made by Matthew Bowman that he created on his own branch but were never completed.

Closes #9609: Implemented async http call, which should fix the buffer overflow.
Closes #10375: At least should avoid the stack overflow.
Closes #11964: cid will be handled in lower case.

* Removed type from UniFiCache constructor

It's redundant and only used for logging.

* Added UniFi Site and wLAN things

* Improved default state handling

Updated refresh/state update, to also update when no data available.
Simplified usage of cache: call cache directly instead of implicit via controller class.
Made getDefaultState generic to all things, and simplified passing channelId instead of channelUID to sub methods.

* Moved dto objects to dto package.

* Added support for client experience

* Made fields private

No need to have them protected.

* Added PoE power-cycle command

Also added wireless client as command as this better fits with the openHAB model to handle commands that are only one way and not have a state.

* Updated readme

* [unifi] Added client/guest count to wlan

* Fix QRcode construction and added hidden ssid support in qrcode string

Also-by: Matthew Bowman <mgb@otr.mx>
Signed-off-by: Hilbrand Bouwkamp <hilbrand@h72.nl>
Co-authored-by: Matthew Bowman <mgb@otr.mx>
2022-05-16 23:14:00 +02:00
robnielsen
d9b5f2d911
[insteon] remove instructions about redirecting output from console commands (#12734)
Signed-off-by: Rob Nielsen <rob.nielsen@yahoo.com>
2022-05-16 22:43:33 +02:00
Doug Culnane
1def184dee
[renault] Small English text fix. Add missing config parameter to README. (#12755)
* [renault] Add German translations and small english text fixes. Add missing config parameter to README.
* [renault] Remove German translations.
* [renault] Make config with default and english text sources of truth consistent.

Signed-off-by: Doug Culnane <doug@culnane.net>
2022-05-16 22:08:41 +02:00
openhab-bot
c33463456f
New Crowdin updates (#12752)
* New translations goecharger.properties (Italian)

* New translations porcupineks.properties (French)

* New translations voskstt.properties (French)
2022-05-16 21:14:11 +02:00
Hilbrand Bouwkamp
e6cc323723
DSMR identifier cosem objects should be parsed as hex values (#12756)
Closes #12724

Signed-off-by: Hilbrand Bouwkamp <hilbrand@h72.nl>
2022-05-16 21:13:28 +02:00
lolodomo
25a923be39
[webthing] Cleanup semantic tags for dynamic channels (#12751)
Related to #12262

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-05-16 19:21:22 +02:00
lolodomo
5eaddd1af1
[voskstt] Update the description of the preloadModel parameter (#12749)
* [voskstt] Update the description of the preloadModel parameter

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-05-16 19:16:23 +02:00
lolodomo
b99d98b03d
[porcupineks] Fix description of the sensitivity parameter (#12748)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-05-16 18:33:36 +02:00
lolodomo
2fb662dab7
[sensibo] Fix tags for target temperature channel types built (#12750)
dynamically

Related to #12262

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-05-16 18:29:29 +02:00
Roie Geron
d7f8fe6411
[touchwand] - remove Thing state update on unit discovery, causing expire to fail (#12736)
* remove listeners from unit discovery 

Signed-off-by: Roie Geron <roie.geron@gmail.com>
2022-05-16 16:49:53 +02:00
openhab-bot
91ee684a06
New Crowdin updates (#12747)
* New translations googletts.properties (French)

* New translations googlestt.properties (French)

* New translations voskstt.properties (French)

* New translations watsonstt.properties (French)

* New translations pollytts.properties (French)

* New translations mqtt.properties (French)

* New translations mqtt.properties (French)

* New translations porcupineks.properties (French)
2022-05-16 15:21:55 +02:00
Reinhard Plaim
e7f20b45cc
[goecharger] Add powerAll to thing-types (#12742)
* [goecharger] Add powerAll to thing-types

Signed-off-by: Reinhard Plaim <reinhardplaim@gmail.com>
2022-05-16 14:03:40 +02:00
lolodomo
cff0629fdd
[goecharger] Fix compatibility with go-eCharger V3 (#12733)
Also avoid the thing to remain in state UNKNOWN if the decoding of the
JSON response is failing.

Fix #12719

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-05-16 10:27:19 +02:00
openhab-bot
78813efbd2
New Crowdin updates (#12745)
* New translations exec.properties (French)

* New translations jinja.properties (French)

* New translations js.properties (French)

* New translations jsonpath.properties (French)

* New translations regex.properties (French)

* New translations scale.properties (French)

* New translations xslt.properties (French)

* New translations xpath.properties (French)

* New translations renault.properties (French)

* New translations sonnen.properties (French)

* New translations luxom.properties (French)

* New translations luxom.properties (Italian)

* New translations prowl.properties (French)

* New translations prowl.properties (Italian)

* New translations awattar.properties (German)

* New translations vesync.properties (Italian)

* New translations netatmo.properties (Italian)
2022-05-16 09:30:05 +02:00
Sven Strohschein
6980102abf
[netatmo] Floodlight switch repaired (#12743)
* [netatmo] Floodlight switch repaired

Signed-off-by: Sven Strohschein <sven.strohschein@gmail.com>
2022-05-16 09:28:44 +02:00
Mark Hilbush
049fd1766e
[nest] Fix for missing refresh token after reauthorization (#12711)
Signed-off-by: Mark Hilbush <mark@hilbush.com>
2022-05-15 22:03:04 +02:00
lolodomo
715fe34daa
[webthing] Fix item type for dynamic channel (#12738)
* [webthing] Fix item type for dynamic channel
* Review comments: use constants from CoreItemFactory

Related to #12712

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-05-15 21:24:46 +02:00
Andrew Fiddian-Green
7dae2b01ec
[openthermgateway] transition bridge state via offline to online (#12744)
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2022-05-15 18:56:34 +02:00
lolodomo
bab8e98796
[km200] Fix item type for dynamic channel type (#12732)
* [km200] Fix item type for dynamic channel type

Related to #12712

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-05-14 14:42:56 +02:00
lolodomo
6c2363d524
[haywardomnilogic] Fix item-type value for channel types waterflow and (#12727)
Related to #12712

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-05-12 23:14:50 +02:00
Jacob Laursen
cc43251b5d
Fix logging for appliances where consumption data is not supported (#12728)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-05-12 23:12:32 +02:00
Jonathan Gilbert
bdfe999bca
Removed ClassExtender as it's no longer used and may be leaking memory (#12725)
Signed-off-by: Jonathan Gilbert <jpg@trillica.com>
2022-05-12 23:08:40 +02:00
Florian Hotze
2e1fbdd86f
[evcc] Initial contribution (#12611)
Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
2022-05-12 19:31:45 +02:00
Martin Matuška
9c0541c2c9
Update README.md (#12707)
Mention that Sinclair devices using the Gree protocol are supported as well (EWPE smart).
2022-05-12 07:45:20 +02:00
Daniel Lienert
47418606c6
DOCS: Add missing bracket (#12722) 2022-05-12 07:40:48 +02:00
lolodomo
7364e69fd2
[oceanic] Fix item-type value for channel types reserve and flow (#12716)
Related to #12712

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-05-11 22:05:54 +02:00
lolodomo
96323f91ab
[lutron] Fix item-type tag value for channel type buttonpress (#12715)
Related to #12712

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-05-11 22:03:44 +02:00
lolodomo
01006b73aa
[automower] Fix item-type value for channel type positionType (#12714)
Related to #12712

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-05-11 22:03:11 +02:00
lolodomo
cb27dc5e68
[knx] Fix item-type value for channel type datetime-control (#12717)
Related to #12712

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-05-11 22:02:06 +02:00
lolodomo
97db8aa407
Fix case for item-type tag value (channel definition) (#12713)
Related to #12712

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-05-11 22:00:44 +02:00
Mark Herwege
9d594469df
Correct error for long thing names (#12708)
Signed-off-by: Mark Herwege <mark.herwege@telenet.be>
2022-05-09 23:05:30 +02:00
Giovanni Fabiani
888f962116
[openwebnet] Add support for sending Auxiliary (AUX) commands/messages to the bus (WHO=9) (#12468)
Signed-off-by: Giovanni Fabiani <fabiani.giovanni@gmail.com>
2022-05-08 21:02:42 +02:00
lolodomo
553fcfa3b4
[netatmo] Do not ignore updated events (same timestamp) (#12701)
Fix #12699

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-05-08 12:08:02 +02:00
Holger Friedrich
8830ed527e
[knx] Allow sending items with units to KNX bus. (#12675)
Items with dimensions (QuantityType) are now translated and can be sent to the
KNX bus. This requires the correct DPT to be specified in the channel
definition. Fixes #10706.

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2022-05-08 11:23:18 +02:00
Corubba
961696ead6
[http] Support all 2xx response codes (#12594)
* [http] Add tests
* [http] Treat all success codes as such
* All 2xx http codes mean success, so treat them the same way 200 is.

Fixes #11369

Signed-off-by: Corubba Smith <corubba@gmx.de>
2022-05-08 10:53:20 +02:00
lolodomo
4e56b9b734
[netatmo] Give access to video only when video is available (#12698)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-05-07 21:21:35 +02:00
Gaël L'hopital
f6ab246a41
[openuv] adressing issue #12688 (#12695)
* openuv adressing issue #12688

Signed-off-by: clinique <gael@lhopital.org>
2022-05-07 20:37:03 +02:00
Hans Böhm
cb60d891fb
[openweathermap] Fix display of alert data (#12697)
* fix display of alert data
* improve javadoc
* add javadoc to updateMinutelyForecastChannel

Signed-off-by: Hans Böhm <h.boehm@gmx.at>
2022-05-07 19:01:38 +02:00
lolodomo
b51c930390
[vesync] Add default translations (#12696)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-05-07 12:30:23 +02:00
dag81
0a46724b38
[veSync] New VeSync binding addition (#12219)
* [veSync] New VeSync binding addition

Signed-off-by: David Goodyear <david.goodyear@gmail.com>

* [veSync] New VeSync binding addition - LUH-D301S support added.

Signed-off-by: David Goodyear <david.goodyear@gmail.com>

* [veSync] New VeSync binding addition - AH channel corrections

Signed-off-by: David Goodyear <david.goodyear@gmail.com>

* [veSync] New VeSync binding addition - AH D301S night light removal

Signed-off-by: David Goodyear <david.goodyear@gmail.com>

* [veSync] New VeSync binding addition - AH docs mistLevel correction

Signed-off-by: David Goodyear <david.goodyear@gmail.com>

* [veSync] New VeSync binding addition - Debug output correction

Signed-off-by: David Goodyear <david.goodyear@gmail.com>

* [veSync] New VeSync binding addition - Dual200S adjustments

Signed-off-by: David Goodyear <david.goodyear@gmail.com>

* [veSync] PR adjustments

Signed-off-by: David Goodyear <david.goodyear@gmail.com>

* [veSync] PR adjustments - removal of TODOs

Signed-off-by: David Goodyear <david.goodyear@gmail.com>

* [veSync] PR adjustments - markdown table formatting

Signed-off-by: David Goodyear <david.goodyear@gmail.com>

* [veSync] PR adjustments - Air Purifier doc's and bug fix

Signed-off-by: David Goodyear <david.goodyear@gmail.com>

* [veSync] PR adjustments - Air Humidifiers doc's

Signed-off-by: David Goodyear <david.goodyear@gmail.com>

* [veSync] PR adjustments - HttpClient handling management to move api instance to the correct location

Signed-off-by: David Goodyear <david.goodyear@gmail.com>

* [veSync] PR adjustments - ThingTypeUID additions

Signed-off-by: David Goodyear <david.goodyear@gmail.com>

* [veSync] PR adjustments - Documentation correction - airPurifierPollinterval

Signed-off-by: David Goodyear <david.goodyear@gmail.com>

* [veSync] PR adjustments - Documentation correction - configuration parameters

Signed-off-by: David Goodyear <david.goodyear@gmail.com>

* [veSync] PR adjustments - Module documentation correction - description update.

Signed-off-by: David Goodyear <david.goodyear@gmail.com>

* [veSync] PR adjustments - thing-types - bridge configuration updates

Signed-off-by: David Goodyear <david.goodyear@gmail.com>

* [veSync] PR adjustments - thing-types - description updates to cut length where possible.

Signed-off-by: David Goodyear <david.goodyear@gmail.com>

* [veSync] PR adjustments - discovery - representation prop adjustments

Signed-off-by: David Goodyear <david.goodyear@gmail.com>

* [veSync] PR adjustments - documentation - configuration block adjustments.

Signed-off-by: David Goodyear <david.goodyear@gmail.com>

* [veSync] PR Adjustments - Humidity set point channel renames

Signed-off-by: David Goodyear <david.goodyear@gmail.com>

* [veSync] PR Adjustments - Initalize direct call cleanup

Signed-off-by: David Goodyear <david.goodyear@gmail.com>

* [veSync] PR Adjustments - getDeviceUID override removal

Signed-off-by: David Goodyear <david.goodyear@gmail.com>

* [veSync] PR Adjustments - unit adjustments

Signed-off-by: David Goodyear <david.goodyear@gmail.com>

* [veSync] PMD Error correction - file naming correction

Signed-off-by: David Goodyear <david.goodyear@gmail.com>

* [veSync] PR Adjustment - HttpClient handling simplified.

Signed-off-by: David Goodyear <david.goodyear@gmail.com>

* [veSync] PR Adjustment - Removal of dead code.

Signed-off-by: David Goodyear <david.goodyear@gmail.com>

* [veSync] PR Adjustment - Readme OpenHab to openHAB

Signed-off-by: David Goodyear <david.goodyear@gmail.com>

* [veSync] PR Adjustment - Comment cleanup

Signed-off-by: David Goodyear <david.goodyear@gmail.com>

* [veSync] PR Adjustment - Handler Error removal to comm issue

Signed-off-by: David Goodyear <david.goodyear@gmail.com>

* [veSync] PR Adjustment - Quick spotless fix

Signed-off-by: David Goodyear <david.goodyear@gmail.com>

* [veSync] PR Adjustment - Removal of debug log - as status has message in now.

Signed-off-by: David Goodyear <david.goodyear@gmail.com>

* [veSync] PPM to PM correction for Air Quality units.

Signed-off-by: David Goodyear <david.goodyear@gmail.com>

* [veSync] ReadMe Units PM Update

Signed-off-by: David Goodyear <david.goodyear@gmail.com>

* [veSync] Constant name correction for air quality units adjustment.

Signed-off-by: David Goodyear <david.goodyear@gmail.com>

* [veSync] Humidifier Percentage Units addition.

Signed-off-by: David Goodyear <david.goodyear@gmail.com>

* [veSync] Air Filter Life Remaining units addition

Signed-off-by: David Goodyear <david.goodyear@gmail.com>

* [veSync] PM25 update based on other bindings, to correct the units.

Signed-off-by: David Goodyear <david.goodyear@gmail.com>

* [veSync] ReadMe PM25 updates

Signed-off-by: David Goodyear <david.goodyear@gmail.com>

* [veSync] PR Updates: Thing Type Ids to lower case

Signed-off-by: David Goodyear <david.goodyear@gmail.com>

* [veSync] PR: Removal of unrequired createThing override

Signed-off-by: David Goodyear <david.goodyear@gmail.com>

* [veSync] PR: Removal of unused channel-type nightLightBrightnessType

Signed-off-by: David Goodyear <david.goodyear@gmail.com>

* [veSync] PR: Readme correction

Signed-off-by: David Goodyear <david.goodyear@gmail.com>
2022-05-07 12:15:48 +02:00
Łukasz Dywicki
7323b2e4eb
[modbus] Add support for after connection delays required by some devices. (#12642)
Fixes #12641.

Signed-off-by: Łukasz Dywicki <luke@code-house.org>
2022-05-07 12:02:04 +02:00
Gaël L'hopital
adda4c8769
[Netatmo] Binding rewrite without external dependencies - step 3 (#12357)
Signed-off-by: clinique <gael@lhopital.org>
Also-by: Laurent Garnier <lg.hc@free.fr>
2022-05-07 00:37:24 +02:00
Felix Schneider
3b793a73a1
[AmazonEchoControl]: Docs: Remove old bug warning & adjust spacing (#12690)
* DOCS: Remove old bug warning

The bug that alexa remindes twice was fixed

* {OTHER} Remove trailing spaces
* {DOCS} Adjusted spacing to unify the docs

Signed-off-by: Felix Schneider <fs@felix-schneider.org>
2022-05-06 23:16:07 +02:00
Dave
8460054c9d
[boschshc] Support Bosch Smart Home Cameras (#12666) (#12680)
* [boschshc] Support Bosch Smart Home Cameras (#12666)

- add thing definitions for indoor security camera 360 and outdoor
security camera Eyes
- implement services for privacy mode and camera notifications
- implement camera handler
- add unit tests
- update documentation

* [boschshc] Enhance logging and comments (#12666)

* only log on debug level when initial state can not be retrieved
* do not log stack traces
* minor Javadoc fixes

closes #12666

Signed-off-by: David Pace <dev@davidpace.de>
2022-05-06 23:13:04 +02:00
Mark Herwege
e9d9149c35
Update README.md (#12691)
Removed first section from README. These are not rendered in the inline documentation and make the documention (More...) of the binding inside OH show the raw text.
2022-05-06 23:08:08 +02:00
lolodomo
80a959e370
[openweathermap] Ignore disabled things (#12686)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-05-05 20:16:07 +02:00
lolodomo
fddfe4e75f
[homeconnect] Ignore disabled things (#12685)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-05-05 20:15:04 +02:00
lolodomo
b4945f647c
[somfytahoma] Ignore disabled things (#12687)
* [somfytahoma] Ignore disabled things

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-05-05 20:13:59 +02:00
lolodomo
bfca6d2201
[powermax] Ignore disabled things (#12684)
* [powermax] Ignore disabled things

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-05-05 19:59:59 +02:00
lolodomo
4180eac57c
[freebox] Ignore disabled things (#12683)
* [freebox] Ignore disabled things

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-05-05 19:55:16 +02:00
Reinhard Plaim
60cbfad5ac
[goecharger] fix issue with category (#12682)
* [goecharger] category before state
remove warning within readme.md

Signed-off-by: Reinhard Plaim <reinhardplaim@gmail.com>
2022-05-04 22:08:25 +02:00
Ondrej Pecta
a37a119ff1
[orbitbhyve] do not update status of a disabled sprinker (#12679)
Signed-off-by: Ondrej Pecta <opecta@gmail.com>
2022-05-04 12:54:20 +02:00
Mark Herwege
cc3ebeffdd
[elroconnects] Hub discovery, device management console commands, signal strength channels (#12653)
* Added bridge alarm channel
* Added signal strength channels
* Add deviceId payload to hub trigger channel
* Device renaming
* Device join functionality
* Console commands for hub management
* Remove device join channel
* Manual configuration README update
* Discovery of controllers using cloud service
* README update
* Support older firmware commands
* Fix error status messages
* Update ip address in thing configuration on ip detection
* Background discovery config parameter
* Fix enable discovery parameter, handle bad authentication response
* httpClient change, backgroundDiscovery enabled from thing handler

Signed-off-by: Mark Herwege <mark.herwege@telenet.be>
2022-05-03 21:19:06 +02:00
Wolfgang Klimt
61de1a5387
[awattar] Initial contribution (#11976)
* First alpha version of the awattar binding

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

* Corrected typos

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

* More typos

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

* Improved time handling to consider time zone.

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

* Corrected logical time problem, start adding nextprice thing

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

* Added support for Austria

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

* Use List instead of Set

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

* Minor corrections

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

* Removed unneeded handler, corrected fetching of prices

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

* Added i18n, updated documentation

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

* Corrected pom.xml after rebase

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

* Updated version to 3.3.0-SNAPSHOT

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

* Corrected findings of Code analysis tool

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

* Updated copyright notice

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

* Updates to get rid of compiler warnings

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

* Worked on review comments from @fwolter

Obeyed most of the review comments. Exceptions:

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

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

* Updated Readme to match code changes

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

* Further work on review comments from @fwolter

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

* Corrected config definition

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

* Changed Copyright to 2022

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

* Review comments from @fwolter. Improved timezone handling

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

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

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

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

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

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

* Initial version

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

* Minor cleanup after rebase

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

* Corrected type "peugot" => "peugeot"

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

* Improved Exception messages
Corrected URL

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

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

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

* Before rebase

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

* Various fixes

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

* Updated tests

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

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

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

* Updated to 3.1.0-SNAPSHOT

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

* Added README.md

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

* Changed channels to lowerCamelCase

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

* Minor corrections

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

* Corrected lastUpdated in thing-types.xml

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

* Fixed ToStringbuilder

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

* corrected capitalization in thing-types.xml and Constants

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

* Corrected URL for Citroen

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

* Added groupepsa binding to bom pom.xml

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

* Updated copyrights

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

* Fixed CheckStyle warnings

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

* Fixed check style notifications

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

* Updated readme

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

* Corrected capitalization of thing-types.xml

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

* Updated pom. xml to 3.3.0-SNAPSHOT

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

* Updated copyright messages

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

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

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

* Logging updates

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

* Updated dependencies
Added dependencies to NOTICE

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

* Ignore lastposition for isConnected check

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

* Updated to use ThingHandlerService

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

* Fixed various review findings

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

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

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

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

* [jellyfin] update parent version

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

* update license header year

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

* add example to readme

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

* apply pr review

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

* apply pr review

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

* apply pr review

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

* add third-party info

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

* upgrade sdk to release 1.2.0

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

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

Closes #12555

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

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

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

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

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

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

* authorization working

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

* Fully Authorization integration & cleanup

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

* make project compilable

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

* make code compilable & buildable

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

* fix discovery test

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

* fix property test

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

* fix unit tests

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

* unit tests fixed

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

* solve checkstyle high & medium

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

* include all status update channel calls

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

* correct Closed/Connected/Locked states

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

* add charge statistics

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

* add ChargingProfile channels

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

* add charging sessions

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

* add discovery properties

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

* provide general check-control info

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

* add test data for different vehicles

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

* fix some checkstyle

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

* add more vehicles to unit test

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

* add F11 test

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

* add service mileage

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

* add check controls

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

* add fingerprint mechanism

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

* cleanup channels after rework

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

* bugfixe requesting vehicles

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

* fix brand handling

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

* anonymous fingerprint

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

* add charge statistics channels

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

* add tire channels

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

* remove range max channels

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

* resolve last checkstyle issues

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

* fix chrge profile updates

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

* fix remote service execution

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

* fix image handling

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

* adapt service & checkcontrol handling

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

* bugfix session selection

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

* rework km / mi handling

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

* introduce fallbacks for range calculations

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

* unit tests for all available vehicle fingerprints

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

* bugfixes during creation of HMI and translations

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

* bugfix translation and language selection

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

* introduce climate-now start / stop

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

* bugfixes translation

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

* add all fuelindicator fields

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

* correct remote service ids, commands and translations

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

* cleanup remote requsts and responses

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

* add remote response examples

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

* rework command options

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

* remove unused timezoneprovider

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

* locale language debugging

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

* fix range value calculation

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

* introduce charge-info channel

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

* localize charge info string

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

* smaller charge status fixes

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

* 1st readme adaptions plus corresponding bugfixes

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

* bugfix date time conversion

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

* readme channel group update

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

* add motion status

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

* raw test anonymous fingerprint

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

* revert motion status

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

* bugfixes todo sections

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

* china login

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

* remove unnecessary info logging

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

* spell check and example update

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

* resolve codeowner conflicts

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

* delete rex responses

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

* bugfix linux characters

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

* bugfix unit test with static time comparison

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

* Copyright header adaption

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

* add raw data channel

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

* add address channel

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

* add motion channel

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

* add mild hybrid vehicle support

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

* review comment corrections

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

* correct review comments

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

* resolve bom conflict

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

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

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

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

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

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

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

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

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

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

* #12236 fixed

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

* TRV support competed

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

* Complete TRV support

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

* - TRV polling optimized

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

* # WARNING: head commit changed in the meantime

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

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

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

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

* log types revised

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

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

Each protocol is now handled in a separate class.

Allow to reduce the size of class RotelConnector

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

* buildCommandMessage now throwing RotelException

Comment added when RotelException is catched without any specific
handling

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

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

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

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

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

A message is now logged for unsupported Sonos models.

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

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

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

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

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

Fixes #12455

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

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

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

Followup on #10407. Relates to #4026.

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

Fixes #12590

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

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

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

* New translations pixometer.properties (German)

* New translations amazondashbutton.properties (German)

* New translations amazondashbutton.properties (Hungarian)

* New translations amazondashbutton.properties (Italian)

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

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

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

Related to openhab/openhab-core#2798

* [herzborg] Remove default value for serial port parameter

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

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

Fixes #11606

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

While I was here, enhanced LinkyException

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

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

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

* Apply iMinValue & iMaxValue to the integral result accumulator

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

* Set iMinResult, iMaxResult default value to NaN

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

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

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

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

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

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

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

Fixes #12460

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Fix bug :

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

* Add trigger on channel when using button simulation

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

* Fix redundant superinterface DiscoveryService

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

* Fix bug #11521

Typo in the Counter Channel name for VMB7IN.

* [velbus] Add VMBELPIR module

* [velbus] Updates clock alarms management

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

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

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

* New translations dwdpollenflug.properties (German)

* New translations openweathermap.properties (French)

* New translations rotel.properties (French)

* New translations elroconnects.properties (French)

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

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

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

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

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

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

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

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

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

Fixes #12496

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

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

* Fix pom.xml formatting.

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

* Some fixes and removed redundant null checks.

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

* Proper thread naming.

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

* Adjust brand name capitalization. Some README adjustments.

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

* Fix format issue.

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

* Fix threadname.

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

* Update development cycle

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

* Review fixes

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

* Avoid communication restart when disposing

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

* Update CODEOWNERS

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

* Code review.

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

* Background discovery

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

* Fix formatting

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

* Create i18n properties file

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

* Add IP Adress parameter

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

* Moved hostname resolving out of initialize

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

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

* [velux] refactor Poller into a separate class

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

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

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

* [velux] demote confusing log message

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Fix #12419
Fix #12424

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

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

The CCU does not accept exponential notation in TCL scripts.

Fix #12301

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

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

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

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

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

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

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

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

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

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

Fixes #12415

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

See #12235

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

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

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

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

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

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

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

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

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

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

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

* [flicbutton] Add config parameter address for FlicButton thing

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

* [flicbutton] Run spotless

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

* [flicbutton] Code cleanup & docs improvement

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

* Apply suggestions from code review

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

* [flicbutton] Update LICENSE

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

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

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

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

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

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

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

* [flicbutton] Simplify config parsing

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

* [flicbutton] Move everything to internal package

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

* [flicbutton] Remove hyphens from port parameter docs example

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

* [flicbutton] Change maintainer to openHAB project

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

* Apply docs suggestions + update to 3.2.0-SNAPSHOT

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

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

* [flicbutton] Fix bridge offline & reconnect handling

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

* [flicbutton] Close open socket on dispose

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

* [flicbutton] Improve exception error message in ThingStatus

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

* [flicbutton] Fix README title

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

* [flicbutton] Improve exception error message in ThingStatus

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

* [flicbutton] Style fixes

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

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

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

* Apply doc improvements from code review

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

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

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

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

* [flicbutton] Cleanup / remove guava leftover

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

* [flicbutton] Remove online status description

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

* [flicbutton] Improve flicd hostname label

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

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

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

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

* [flicbutton] Use debug log level instead of info

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

* [flicbutton] Update version and license

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

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

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

* [flicbutton] Fix SAT warnings (2)

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

* [flicbutton] Concurrency refactoring & fixes

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

* [flicbutton] Cancel initialization task also when already running

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

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

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

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

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

* [flicbutton] Fix FlicSimpleclientDiscoveryServiceImpl javadoc

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

* [flicbutton] Fix required definition of thing types

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

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

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

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

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

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

Fixes #12307

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

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

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

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

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

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

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

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

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

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

Related to #12262

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

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

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

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

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

Follow-up #12269

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

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

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

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

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

Fix #12263

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Related to openhab/openhab-core#2742

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

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

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

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

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

Fixes #12183

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

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

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

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

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

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

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

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

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

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

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

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

* New translations ambientweather.properties (French)

* New translations automower.properties (French)

* New translations electroluxair.properties (French)

* New translations mqttbroker.properties (Hungarian)

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

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

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

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

Signed-off-by: Olivier Marceau <hollysaiqs@marceau.ovh>
2022-02-01 00:44:58 +01:00
Jacob Laursen
fd6c8eeb80
[hdpowerview] Add shade identify command (#12175)
* Add shade identify command.

Fixes #12174 

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-01-31 18:38:40 +01:00
Wouter Born
58d6123696
[lifx] Add support for new LIFX products (#12179)
Allows for discovering all the new LIFX products and their features.

Signed-off-by: Wouter Born <github@maindrain.net>
2022-01-31 12:35:54 +01:00
Dan Cunningham
a0920d4c0c
[jsscripting] Append the ruleID or file name to the logger when console logging (#11945)
* Appends the ruleID or file name to the logger when console logging.
* Adds configurable logging, updates scriptId logic

Signed-off-by: Dan Cunningham <dan@digitaldan.com>
2022-01-31 11:55:50 +01:00
robnielsen
37c028ddc0
[insteon] Ignore missing network handler when disposing a device (#12169)
Signed-off-by: Rob Nielsen <rob.nielsen@yahoo.com>
2022-01-30 18:50:47 +01:00
Cody Cutrer
8794ff860e
[homekit] handle NULL/UNDEF for temperature characteristics (#12172)
recent regression from handling QuantityType

Signed-off-by: Cody Cutrer <cody@cutrer.us>
2022-01-30 18:46:56 +01:00
Dan Cunningham
00da156b1b
[jsscripting] Updates to latest openhab-js library (#12171)
* Updates to latest openhab-js library
* Update for new default log level in 3.3

Signed-off-by: Dan Cunningham <dan@digitaldan.com>
2022-01-30 18:28:58 +01:00
jimtng
927dbba107
[mqtt.generic] Include availabilityTopic in the binding docs (#12158)
Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
2022-01-30 11:45:33 +01:00
SoCsOnFPGAsGuy
5c741fda9e
[enocean] enable usage of Nodon roller-shutter repeater mode (#12133)
* [enocean] enable repeater mode selection for NODON rollershutter
* [enocean] adds new EEP definition for NODON rollershutter to README.md

Signed-off-by: Marcel Eckert <mrcleckert@aol.com>
2022-01-30 11:12:03 +01:00
openhab-bot
78902b84b5
New translations electroluxair.properties (Italian) (#12147) 2022-01-30 09:53:09 +01:00
jimtng
dc10897456
[mqtt.generic] Rename channel label from Percentage Value to Dimmer (#12162)
Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
2022-01-30 09:26:46 +01:00
jimtng
3c32f9aa24
[mqtt.generic] Fix default configuration and docs for color_mode (#12163)
Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
2022-01-30 09:13:39 +01:00
jimtng
4e122005ca
[jrubyscripting] Apply RUBYLIB configuration to $LOAD_PATH (#12123)
* [jrubyscripting] Apply RUBYLIB configuration to $LOAD_PATH

Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
2022-01-29 11:55:09 +01:00
lolodomo
5abea08da3
[voicerss] Hide the API key when logging API URL (#12096)
Also fix few typos

Also small changes regarding log levels and exception handling

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-01-29 11:52:36 +01:00
boecko
d75baa59af
[groovyscripting] add conf/automation/groovy to the classpath (#12043)
* [groovyscripting] added conf/automation/groovy-path to the classpath

Signed-off-by: Andreas Böckler <andy@boeckler.org>
2022-01-29 09:33:12 +01:00
mlobstein
78e214651f
Workaround for incorrectly reported fan state (#12145)
Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
2022-01-28 22:00:52 +01:00
Arne Seime
4cad5dab1e
Minor clarification of macAddress property (#12119)
Signed-off-by: Arne Seime <arne.seime@gmail.com>
2022-01-28 16:41:56 +01:00
lolodomo
9717b7a107
[googlestt] Adjust service label for consistency with TTS services. (#12134)
Documentation enhanced to explain how to setup the default STT.

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-01-28 09:02:21 +01:00
Jacob Laursen
7b3a1c9fc2
Create concrete handlers for Insight, Motion and Socket/Light Switch. (#12120)
No logic/code changes yet, just extraction/separation.

Fixes #12105

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-01-28 08:23:24 +01:00
openhab-bot
15d1610952
New Crowdin updates (#12050)
* New translations tradfri.properties (Italian)

* New translations mycroft.properties (French)

* New translations deutschebahn.properties (German)

* New translations gardena.properties (German)

* New translations luftdateninfo.properties (German)

* New translations network.properties (Finnish)

* New translations publictransportswitzerland.properties (Finnish)

* New translations mycroft.properties (Finnish)

* New translations pushover.properties (German)

* New translations yamahamusiccast.properties (Italian)

* New translations ecotouch.properties (German)

* New translations voicerss.properties (French)
2022-01-28 07:58:33 +01:00
jimtng
87b0dbfd06
[jrubyscripting] Update jruby version to 9.3.3.0 (#12143)
Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
2022-01-28 07:47:38 +01:00
Jacob Laursen
dab48ddd95
[hdpowerview] Optimize initialization of shades (#12113)
* Optimize initialization of shades.

Fixes #12071

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

* Avoid hashmap reallocation during initialization.

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-01-28 07:47:32 +01:00
Jacob Laursen
608d0ae23a
[hdpowerview] Fix autoupdate quirk. (#12141)
Fixes #12140

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-01-27 21:38:29 +01:00
Jacob Laursen
369b985192
[hdpowerview] Convert calibrate to command channel. (#12138)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-01-27 20:49:27 +01:00
GiviMAD
89b8b2eb0a
[porcupineks] add library to NOTICE file and update to porcupine 2.1 (#12137)
Signed-off-by: Miguel Álvarez Díez <miguelwork92@gmail.com>
2022-01-27 20:19:27 +01:00
GiviMAD
702ffcdc22
[googlestt] add library to NOTICE file (#12136)
Signed-off-by: Miguel Álvarez Díez <miguelwork92@gmail.com>
2022-01-27 20:00:04 +01:00
Christian Wild
3d9717caf9
[tapocontrol] now supports energy monitoring of P110 device (#12017)
* [tapocontrol] added energy monitoring for P110
* [tapocontrol] corrected textual thing configuration in readme

Signed-off-by: Christian Wild <christian@wild-bw.de>
2022-01-27 08:46:30 +01:00
GiviMAD
07e02cf459
[googlestt] initial contribution (#12055)
* [googlestt] initial contribution

Signed-off-by: Miguel Álvarez Díez <miguelwork92@gmail.com>
2022-01-27 00:24:51 +01:00
eugen
ec93c3600e
[homekit] quick restart on network changes (#12072)
* quick restart on network changes

* only restart if needed
* add null check

Signed-off-by: Eugen Freiter <freiter@gmx.de>
2022-01-26 20:19:03 +01:00
Benjamin Lafois
d6da67435a
[somfytahoma] [Improvement] Fix cozytouch support and add waterheatersystem support (#11855)
* Add support for Cozytouch and WaterHeaterSystem

Signed-off-by: Benjamin Lafois <benjamin.lafois@gmail.com>
2022-01-26 20:12:46 +01:00
lolodomo
56b2f47be6
[porcupineks] Enhanced documentation (#12116)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-01-25 20:18:09 +01:00
Andrew Fiddian-Green
8a2d507b21
[hdpowerview] Added support for rear blackout panel (#12098)
* [hdpowerview] refactor enum constant names
* [hdpowerview] add support for blackout shades
* [hdpowerview] unit tests for capabilities 8 & 9
* [hdpowerview] delete no longer valid comment
* [hdpowerview] blackout shade position is never UNDEF
* [hdpowerview] updated read me
* [hdpowerview] refactor unit tests into two classes

Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2022-01-25 20:09:14 +01:00
Jacob Laursen
9d361c1fa3
[hdpowerview] Add support for repeaters (#12061)
* Add support for repeaters.

Fixes #12060

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

* Simplify thing type filtering.

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

* Improve robustness of configuration ID validation/initialization.

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

* Convert repeater-identify to command channel.

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

* Fix logged warning.

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

* Skip unneeded bridge status logic.

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

* Skip redundant logging.

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

* Fix chanenl type label for blinking enabled.

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-01-24 22:42:53 +01:00
olivierkeke
3d24cfc535
[teleinfo] improve documentation for Linky Standard TIC mode (#12093)
* Improve standard tic mode channels description
* Add textual configuration for standard tic mode
* Add new supported hardware

Signed-off-by: Olivier Marceau <hollysaiqs@marceau.ovh>
2022-01-24 21:37:16 +01:00
Jacob Laursen
bb9cb906d1
[wemo] Refactor duplicated code (#12101)
* Extract getHost() and getUDN() to common handler base class.
* Delete AbstractWemoHandler as it serves no purpose.
* Extract isUpnpDeviceRegistered() to base class.
* Fix typo.

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-01-24 21:26:35 +01:00
lolodomo
ea21f2ff47
[pollytts] Mention where to find configuration settings (#12107)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-01-24 21:13:39 +01:00
lolodomo
ffb03d572d
[voicerss] Mention where to find configuration settings (#12108)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-01-24 21:12:57 +01:00
lolodomo
0166fdaee6
[TTS services] Enhance doc to explain how to setup default voice (#12099)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-01-23 22:50:50 +01:00
Hans-Jörg Merk
d9c31e626a
[wemo] make UPnP more robust and fix polling/portscan (#12001)
* [wemo] make UPnP more robust
* [wemo] change thing status updates

Signed-off-by: Hans-Jörg Merk <github@hmerk.de>
2022-01-23 22:49:52 +01:00
Cody Cutrer
d4fb20d529
[homekit] use quantity type conversions for temperature characteristics (#12083)
if an Item associated with a temperature characteristic has a QuantityType
(of dimension Temperature) as its state, regardless of current unit,
use that to convert to celsius instead of any other configuration.

Note that this is only for supply values to HomeKit; commands coming from
HomeKit will still send a DecimalType with units according to the HomeKit-wide
useFahrenheit configuration.

Signed-off-by: Cody Cutrer <cody@cutrer.us>
2022-01-23 13:40:14 +01:00
Jonathan Gilbert
6bd37cb02a
[jsscripting] JS script engine no longer watches node_modules for scripts (#11830)
Signed-off-by: Jonathan Gilbert <jpg@trillica.com>
2022-01-23 11:46:13 +01:00
lolodomo
4af260d0e6
[voicerss] Updated documentation (config, voices) (#12088)
* [voicerss] Updated documentation (config, voices)

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

* Removed "actually"

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

* Use HTTPS to reference API WEB site in documentation

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-01-23 11:04:47 +01:00
lolodomo
107c72e958
[pollytts] Fix typo in documentation (#12089)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-01-22 22:35:50 +01:00
Flole998
158f8341d5
Add channels for screensaver state and virtual keyboard state (#11984)
Include OnAVStart for playing state detection

Fixes: #7542

Signed-off-by: Flole <flole@flole.de>
2022-01-22 22:34:48 +01:00
Frank Seidinger
dd08a2a1e3
[knx] GroupRead / SendToKNX fails with NullPointerException #12040 (#12074)
* Fixed NullPointerException due to missing SecureApplicationLayer in creation of ProcessCommunicationResponder

Signed-off-by: Frank Seidinger <frank.seidinger@gmail.com>
2022-01-22 20:38:33 +01:00
lolodomo
e9c9acdbfd
[voicerss] Fix bad audio format code and use HTTPS URL instead of HTTP (#12092)
Fix #12091

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-01-22 19:12:38 +01:00
Marcel
d196dc2c92
[miio] Implement lumi devices support for gateways (#11688)
* [miio] Implement lumi devices support for gateways v3 WIP

Adding support for the following models:
* Aqara LED Light Bulb (Tunable White) (modelId: lumi.light.aqcn02)
* IKEA E27 white spectrum opal (modelId: ikea.light.led1545g12)
* IKEA E27 white spectrum clear (modelId: ikea.light.led1546g12)
* IKEA E14 white spectrum (modelId: ikea.light.led1536g5)
* IKEA GU10 white spectrum (modelId: ikea.light.led1537r6)
* IKEA E27 warm white (modelId: ikea.light.led1623g12)
* IKEA GU10 warm white (modelId: ikea.light.led1650r5)
* IKEA E14 warm white (modelId: ikea.light.led1649c5)
* Door lock (modelId: lumi.lock.v1)
* Aqara Door Lock (modelId: lumi.lock.aq1)
* Aqara Door Lock S2 (modelId: lumi.lock.acn02)
* Aqara Door lock S2 Pro (modelId: lumi.lock.acn03)
* Mi Smart Plug (Zigbee) (modelId: lumi.plug.mmeu01)
* Mi Temperature and Humidity Sensor (modelId: lumi.sensor_ht.v1)
* Mi Window and Door Sensor (modelId: lumi.sensor_magnet.v2)
* Mi Motion Sensor (modelId: lumi.sensor_motion.v2)
* Water Leak Sensor (modelId: lumi.sensor_wleak.aq1)
* Aqara Temperature and Humidity Sensor (modelId: lumi.weather.v1)

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

* Work in progress support plug

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

* [miio] cleanup, improve messages and initialization

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

* [miio] Cleanup to prepare for PR

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

* [miio] add missing placeholder

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

* [miio] resolve merge issue

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

* [miio] update readme after rebase

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

* [miio] Update from review comments and warnings/checkstyle cleanup

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

* [miio] update readme after merge and update json to updated format

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

* [miio] Improve online indication

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

* reset

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

* Update readme

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

* [miio] update from review comments

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

* [miio] feedback codereview

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2022-01-22 18:57:01 +01:00
Andreas Brenk
03b53475ba
[voicerss] Add support for WAV audio format (#11916)
* [voicerss] add unit test for supported formats
* [voicerss] add support for WAV audio format

Signed-off-by: Andreas Brenk <mail@andreasbrenk.com>
2022-01-22 16:53:05 +01:00
GiviMAD
efa8963d20
[porcupineks] Keyword Spotter, initial contribution (#12028)
* initial contribution

Signed-off-by: Miguel Álvarez Díez <miguelwork92@gmail.com>
2022-01-22 14:02:02 +01:00
lolodomo
f75c04d5d4
[googletts] Configuration example via text file in documentation (#12087)
* [googletts] Configuration example via text file in documentation

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-01-22 11:31:36 +01:00
lolodomo
5c373923e8
[pollytts] Small changes in configuration in documentation (#12086)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-01-22 10:45:01 +01:00
lolodomo
f823e11d3a
[picotts] Added new chapter for configuration in documentation (#12085)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-01-22 09:57:39 +01:00
Andrew Fiddian-Green
c828d81dbb
[hdpowerview] Update shade database (#12081)
* [hdpowerview] update shade database

* [hdpowerview] add type 65 shade capabilities 8

Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2022-01-21 20:32:28 +01:00
Christoph Weitkamp
caa3359f53
Fixed build by improve config handling (#12078)
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2022-01-21 14:04:43 +01:00
Christopher Schirner
cc437d86e2
Add note for Unifi OS default port (#11812)
Co-authored-by: schinken <mail+github@schinken.io>
2022-01-21 10:36:52 +01:00
Richard Koshak
df7d111bce
changedSince returns a boolean, not a Number (#12079) 2022-01-20 16:51:39 +01:00
Gleb Dyskin
28adfb9d1e
Update README.md (#12057)
Editing wrong channels in items
2022-01-20 15:19:15 +01:00
Matt Filetto
d8ca7d20ca
[onkyo] Add support for TX-NR609 (#12067)
* binding: [onkyo]: add TX-NR609
* Basically a 616 but with some THX Listening Modes not on other models
* [onkyo]: add "PLIIx Music + THX Music" Listening Mode

Signed-off-by: Matt Filetto <matt.filetto@gmail.com>
2022-01-19 18:15:22 +01:00
Christoph Weitkamp
58ff256288
[androiddebugbridge] Added mDNS discovery for Fire TV Stick (#11881)
* Added mDNS discovery for Fire TV Stick

Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2022-01-18 09:02:38 +01:00
Kai Kreuzer
39ee01687f
Fix NPE when Thing configuration changes (#12070)
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2022-01-18 00:03:46 +01:00
mlobstein
71b4fcbac7
[oppo] Fix Play Mode and Disc Type updates (#12066)
* Fix Play Mode and Disc Type updates

Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
2022-01-17 20:29:23 +01:00
Markus Eckhardt
94401fc798
[km200] Added JCE check and removed some warnings (#11841)
* Added a check if JCE is installed
* removed warnings

Signed-off-by: Markus Eckhardt <github@familie-eckhardt.eu>
2022-01-17 18:47:38 +01:00
Jacob Laursen
e44dfe7dbc
[hdpowerview] Refactor dynamic channels (#11853)
* Extract dynamic channel creation to separate classes.
* Avoid double list allocations.
* Add test coverage for scenarios with no channels built.
* Extract common builder stuff to super class.
* Fix grammar.
* Reduce constructor access modifiers.
* Removed unneeded this keyword for protected method.
* Fix null annotation issues.

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-01-17 13:41:33 +01:00
Christoph Weitkamp
8b3bb313eb
[pushover] Improved exception handling (#12023)
* Improved exception handling

Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2022-01-16 18:07:36 +01:00
Jacob Laursen
fee45a5b94
[hdpowerview] Refactor exception handling (#12049)
* Refactor exception handling.

Fixes #12048

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-01-15 19:16:09 +01:00
lolodomo
2623632ac7
[electroluxair] Add missing default translation properties (#12053)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-01-15 17:47:58 +01:00
lolodomo
0e62c88e7f
[yamahamusiccast] Add missing default translation properties (#12054)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-01-15 17:46:40 +01:00
Jonathan Gilbert
4d88ad06ae
[jsscripting] Wrapped GraalJS ScriptEngines now also Autocloseable (#12022)
Signed-off-by: Jonathan Gilbert <jpg@trillica.com>
2022-01-15 17:44:15 +01:00
Christoph Weitkamp
67b701b6b4
[jdbc] Removed check if item exists to allow to truncate data for clean-ups (#12052)
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2022-01-15 17:09:54 +01:00
Joan Pujol
0df790c687
[influxdb] Fix previous item state performance issues (#11993)
Fixes #11878

Signed-off-by: Joan Pujol <joanpujol@gmail.com>
2022-01-15 16:39:19 +01:00
Christoph Weitkamp
bb2e4c7c65
[jdbc] Implement 'ModifiablePersistenceService' interface (#11922)
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2022-01-15 14:29:06 +01:00
openhab-bot
344a4ceae3
New Crowdin updates (#11960)
* New translations openweathermap.properties (Italian)

* New translations openweathermap.properties (German)

* New translations icalendar.properties (Italian)

* New translations network.properties (German)

* New translations atlona.properties (Italian)

* New translations yeelight.properties (Italian)

* New translations yioremote.properties (Italian)

* New translations astro.properties (German)

* New translations deconz.properties (German)

* New translations deconz.properties (Italian)

* New translations pollytts.properties (German)

* New translations mqtt.properties (Italian)

* New translations publictransportswitzerland.properties (Italian)

* New translations mqtt.properties (Italian)

* New translations mqtt.properties (Italian)

* New translations ipp.properties (German)
2022-01-14 23:30:41 +01:00
Jacob Laursen
2832567fc9
[hdpowerview] Add support for calibrating a shade (#12002)
* Add support for calibrating a shade.

Fixes #11767

* Fix startup problems by decoupling capabilities cache from updateSoftProperties.
* Minor refactoring of capabilities and shade id handling.
* Dispose faster/safer by killing any remaining tasks.
* Set shade thing status to UNKNOWN until we receive any data for shade.
* Fix position update glitch after setting position.
* Remove unneeded catch after shade id refactoring.
* Document return values in Javadoc.
* Avoid logging InterruptedException during dispose.
* Add calibration example item.
* Reduce nesting.
* Add myself as reviewer for binding.
* Add Andrew Fiddian-Green as reviewer for binding.
* Handle JsonParseException.
* Fix alphabetic order.

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-01-14 22:59:01 +01:00
eugen
843ca55c68
fix Fahrenheit conversion (#12024)
Signed-off-by: Eugen Freiter <freiter@gmx.de>
2022-01-14 22:56:50 +01:00
Andrew Fiddian-Green
67ccf858f8
[hdpowerview] update shade database (#12045)
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2022-01-14 19:43:11 +01:00
Jacob Laursen
d07348b216
[hdpowerview] Fix SAT warnings (#12032)
* Fix SAT warnings about missing @NonNullByDefault.
* Move part of firmware JSON response validation to HDPowerViewWebTargets.

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-01-14 19:35:56 +01:00
Christoph Weitkamp
e3e4cd667d
[ipp] Added representation property and code improvements (#12039)
* Added representation property

Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2022-01-14 11:32:58 +01:00
alexf2015
1ee5906fc7
[digitalstrom] Adoptions due to API changes in DSS Update 1.19.2 (#12033)
* added support for DSUID in DSS response data while being compatible to removed DSID which might still be in use due to older firmware versions.
* fixed a NPE and also fixed json parameter naming.
* applied improvements from DSUID class
* fixed variable name, made dsid member final, added author

Signed-off-by: Alexander Friese <af944580@googlemail.com>
2022-01-14 08:38:20 +01:00
Martin van Wingerden
71011b2431
[rfxcom] Updates / small fixes (#12037)
* [rfxcom] Updates / small fixes

Added support for:
 - CHIME - Alfawise, dBell
 - HUMIDITY - HUM3 - Inovalley S80 plant humidity sensor
 - LIGHTING1 - Oase Inscenio FM Master

Fixes #10251

Signed-off-by: Martin van Wingerden <martin@martinvw.nl>
2022-01-13 14:12:19 +01:00
maniac103
a4c579b753
[homematic] Fix long button press handling for HM-IP devices (#11982)
* [homematic] Fix long button press handling for HM-IP devices

HM devices have the following long press cycle:
PRESS_CONT
PRESS_LONG
PRESS_CONT (N times for repetion)
PRESS_LONG_RELEASE

while (at least some) HM-IP devices use this one:
PRESS_LONG
PRESS_LONG_START
PRESS_LONG (N times for repetition)
PRESS_LONG_RELEASE

Add support for the latter case while keeping support for the former
case.

Signed-off-by: Danny Baumann <dannybaumann@web.de>

* [homematic] Track 'uses LONG_START datapoint' flag per-device
2022-01-13 09:09:19 +01:00
Kai Kreuzer
a1e6a4e35c
[tesla] Add support for setting charging amps and sentry mode (#12029)
* Add support for setting charging amps and sentry mode

Signed-off-by: Kai Kreuzer <kai@openhab.org>
2022-01-13 09:04:24 +01:00
Kai Kreuzer
e9b0620c86
[tesla] Change center_display_state from switch to number (#12030)
* Change center_display_state from switch to number

Signed-off-by: Kai Kreuzer <kai@openhab.org>

* Update property file

Signed-off-by: Kai Kreuzer <kai@openhab.org>
2022-01-12 23:06:31 +01:00
Udo Hartmann
ab2f6b0afe
[knx] Update README.md (#12035)
Changed Example of Dimmer channel. Makes no sense to provide both Switch and Position Status in configuration, as an update of Switch Status will delete Position and vice versa. Position Status makes sense.
2022-01-12 21:09:42 +01:00
Kai Kreuzer
b7e78e3a0d
Update sunroof feature to changed Tesla API (#12031)
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2022-01-12 08:41:10 +01:00
MikeTheTux
7b0ba301e7
[guntamatic] Initial contribution: Binding for Guntamatic Heating Systems (#12011)
Signed-off-by: Michael Weger <weger.michael@gmx.net>
2022-01-11 22:35:18 +01:00
Moritz 'Morty' Strübe
11ed1c3e66
[mqtt] Add documentation about using auto discovery with Tasmota (#12003)
* [mqtt] HomeAssistant: Doc: Add auto discovery with Tasmota
* [mqtt] HomeAssistant: Doc: Minor formatting adjustments

Signed-off-by: Moritz 'Morty' Strübe <morty@gmx.net>
2022-01-11 13:25:27 +01:00
dalgwen
682cb8a1b5
[mycroft] Init i18n (#12020)
(and by the way, reorder alphabetically the CODEOWNERS file)
Signed-off-by: Gwendal Roulleau <gwendal.roulleau@gmail.com>
2022-01-11 13:17:33 +01:00
dalgwen
40b5932817
[mycroft] Initial contribution (#11040)
This binding will connect to Mycroft A.I. in order to control it or react to event by listening on the message bus.

Signed-off-by: Gwendal Roulleau <gwendal.roulleau@gmail.com>
2022-01-10 16:51:07 +01:00
Sven Strohschein
ab1ce7f6db
[innogysmarthome] VariableActuators are now recognized again (#11741) (#12008)
Signed-off-by: Sven Strohschein <sven.strohschein@gmail.com>
2022-01-10 13:53:38 +01:00
Kai Kreuzer
35d7d9d6dd
[tesla] Clarify and update how refresh tokens can be obtained (#12015)
* Clarify and update how refresh tokens can be obtained
* Fix logging statement

Signed-off-by: Kai Kreuzer <kai@openhab.org>
2022-01-10 09:54:31 +01:00
Kai Kreuzer
43384fe9fc
Print usage for tesla command on console (#12014)
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2022-01-10 09:47:03 +01:00
Jan Vybíral
dc0a974a98
[nuki] Support for SmartLock 3.0 and SmartDoor (#12005)
Signed-off-by: Jan Vybíral <jan.vybiral1@gmail.com>
2022-01-10 09:36:28 +01:00
Jeremy Stucki
bcb7b73191
[publictransportswitzerland] Add missing default translation properties (#12009)
Signed-off-by: Jeremy Stucki <dev@jeremystucki.ch>
2022-01-09 19:14:03 +01:00
Moritz 'Morty' Strübe
ebf5c4e0e9
[jeelink] Doc: Clarify thing discovery (#12004)
Signed-off-by: Moritz 'Morty' Strübe <morty@gmx.net>
2022-01-09 17:41:17 +01:00
Matthew Skinner
cb3496f967
[ipcamera] Fix multiple mjpeg issues and allow stream to stay alive (#11921)
* Fix for a camera that has a space in boundary
* Fixes to ipcamera.mjpeg

Signed-off-by: Matthew Skinner <matt@pcmus.com>
2022-01-09 13:42:16 +01:00
chingon007
46ba275edb
[sonnen] Initial contribution of new binding for solar battery (#11915)
* Initial contribution of sonnen binding

Signed-off-by: chingon007 <tron81@gmx.de>
2022-01-09 11:31:23 +01:00
James Melville
0fcebcde3f
[mqtt.generic] Add UOM to inbound values for MQTT Channels (#10727)
* Add UOM for MQTT Channels

Signed-off-by: James Melville <jamesmelville@gmail.com>

* Fix dependencies

Signed-off-by: James Melville <jamesmelville@gmail.com>

* Simplify units parsing, remove channelUID from NumberValue constructor

Signed-off-by: James Melville <jamesmelville@gmail.com>

* Simplify pattern

Signed-off-by: James Melville <jamesmelville@gmail.com>

* Fix tests

Signed-off-by: James Melville <jamesmelville@gmail.com>

* Correct Units reference

Signed-off-by: James Melville <jamesmelville@gmail.com>

* Correct homeassistant binding changes

Signed-off-by: James Melville <jamesmelville@gmail.com>

* Wrap precision in temperature unit definition

Signed-off-by: James Melville <jamesmelville@gmail.com>

* Use BigDecimal for precision

Signed-off-by: James Melville <jamesmelville@gmail.com>

* Use BigDecimal throughout

Signed-off-by: James Melville <jamesmelville@gmail.com>

* Fix SAT

Signed-off-by: James Melville <jamesmelville@gmail.com>

* Inverty equals check

Signed-off-by: James Melville <jamesmelville@gmail.com>
2022-01-09 10:05:53 +01:00
Jan Gustafsson
f79ce45650
[electroluxair] Initial contribution (#11116)
* [electroluxair] Initial contribution of the electroluxair openHAB binding

Signed-off-by: Jan Gustafsson <jannegpriv@gmail.com>

* Updated after code review.

Signed-off-by: Jan Gustafsson <jannegpriv@gmail.com>

* Updated after code review and also copyright to 2022.

Signed-off-by: Jan Gustafsson <jannegpriv@gmail.com>

* [electroluxair] Initial contribution of the electroluxair openHAB binding

Signed-off-by: Jan Gustafsson <jannegpriv@gmail.com>

* Updated after code review.

Signed-off-by: Jan Gustafsson <jannegpriv@gmail.com>

* Updated after code review

Signed-off-by: Jan Gustafsson <jannegpriv@gmail.com>
2022-01-09 10:02:25 +01:00
Matthew Skinner
06576fa0fe
[opensprinkler] Add Veto and some default times to state options. (#11816)
* Add default times to state options.


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

* remove pattern


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

* Update default translations properties

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

Co-authored-by: Laurent Garnier <lg.hc@free.fr>
2022-01-08 22:57:23 +01:00
Flole998
a13ce5793c
[http] Provide meaningful error messages (#11995)
Signed-off-by: Flole <flole@flole.de>
2022-01-08 15:49:30 +01:00
Jacob Laursen
56a10af420
Consolidate properties for compliance. (#11997)
Fixes #11996

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-01-08 14:37:00 +01:00
Jacob Laursen
e64d0e5028
Consolidate properties for compliance. (#11992)
Fixes #11991

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-01-08 01:00:22 +01:00
dalgwen
82974b4c2f
[googletts] Use returned sound to get play informations (#11877)
* [googletts] Use real sound returned to get play informations (#10015)

When google tts returns a wav file, it is now parsed to get correct informations about it.(mandatory for playing it with at least the System speaker audio sink)
Close #10015

* Fix a regression, as the WAV fix was incorrectly applied to the MP3 file

Signed-off-by: Gwendal Roulleau <gwendal.roulleau@gmail.com>
2022-01-08 00:44:28 +01:00
raykleibelt
65002647df
Update HomematicDeviceDiscoveryService.java (#11971)
fix for bug #11969

After a restart of openHAB the function 'getScanTimeout()' is called before the member 'installModeDuration' has been initialized with the correct value from the configuration. With a large number of Homematic devices, the default value of 'installModeDuration' is too small to read in all Homematic devices from the CCU.
Therefore, when calling the function 'getScanTimeout()', the value is read directly from the configuration. The member 'installModeDuration' has been removed.

Signed-off-by: raykleibelt <54982000+raykleibelt@users.noreply.github.com>
2022-01-07 21:43:24 +01:00
Jacob Laursen
78fd621ad9
Use standard firmware property constant. (#11989)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-01-07 21:31:59 +01:00
Christoph Weitkamp
6f555cb0af
Remove license header in feature file (#11983)
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2022-01-07 13:15:47 +01:00
Jacob Laursen
05ebeea86b
[hdpowerview] Add firmware information properties for hub and shade. (#11980)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-01-07 10:33:52 +01:00
LukasA83
1280a0e11b
Add DateTime channel type to comply with mqtt homie convention 3.x (#11894)
Signed-off-by: Lukas Agethen <lukas83@gmx.de>
2022-01-06 23:35:41 +01:00
coop-git
348a1ce422
[yamahamusiccast] Adding NOTICE (#11978)
Signed-off-by: Lennert Coopman <github@coopman.org>
2022-01-06 22:27:18 +01:00
Fabian Wolter
1b701a5c7c
[yamahamusiccast] Fix license headers (#11977)
Signed-off-by: Fabian Wolter <github@fabian-wolter.de>
2022-01-06 20:36:03 +01:00
coop-git
60c1eceb96
[yamahamusiccast] Initial contribution (#11880)
* Pull Request OH3

Signed-off-by: Lennert Coopman <github@coopman.org>

* Pull Request OH3

Signed-off-by: Lennert Coopman <github@coopman.org>

* Pull Request OH3

Signed-off-by: Lennert Coopman <github@coopman.org>

* Pull Request OH3

Signed-off-by: Lennert Coopman <github@coopman.org>

* Pull Request OH3

Signed-off-by: Lennert Coopman <github@coopman.org>

* Pull Request OH3

Signed-off-by: Lennert Coopman <github@coopman.org>

* Pull Request OH3

Signed-off-by: Lennert Coopman <github@coopman.org>

* Pull Request OH3

Signed-off-by: Lennert Coopman <github@coopman.org>
2022-01-06 20:04:25 +01:00
Hilbrand Bouwkamp
da59cdd255
Update license headers to 2022 (#11973)
Signed-off-by: Hilbrand Bouwkamp <hilbrand@h72.nl>
2022-01-06 18:14:47 +01:00
yfaway
3c78ddff1d
Update README.md (#11862)
Fix 1 spelling error. Mark several channels as writable. Add link to the PDF file that contains the list of EnvisaLink commands.
2022-01-06 13:46:00 +01:00
Christian Wild
6b6372e95c
[tapocontrol] fix "device not found" with L510/L530 hw rev2 / add L920 and P110 things (#11967)
* [tapocontrol] P110 and L920 Things added
* [tapocontrol] Fixed L510/L530 Series Bug with HW-Rev2.0

Signed-off-by: Christian Wild <christian@wild-bw.de>
2022-01-06 12:29:44 +01:00
Philipp S
5dc26419d1
[deconz] Support for air quality sensor (#11885)
[deconz] Support for air quality sensor

Signed-off-by: Philipp Schneider <philipp.schneider@nixo-soft.de>
2022-01-06 09:44:59 +01:00
mlobstein
b9ad9ae29e
[atlona] Correct spelling of atlona (#11966)
Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
2022-01-05 16:39:32 +01:00
Christoph Weitkamp
346fcd068c
Do not create table on 'query', only on 'store' (#11961)
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2022-01-04 21:26:52 +01:00
Andrew Fiddian-Green
d45bcdb7aa
[hdpowerview] Fix secondary position bug. Add shade database and properties. (#11698)
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2022-01-04 20:23:48 +01:00
Christoph Weitkamp
0988c040a6
Add mime data to restored image (#11962)
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2022-01-04 16:52:56 +01:00
Christoph Weitkamp
ef46e126b4
[jdbc] Fixed NPE when SQL query failed (#11954)
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2022-01-04 10:37:04 +01:00
Wouter Born
845b57add9
[plugwise] Remove broken links from documentation (#11951)
These linked pages seem to have been removed from the Plugwise website.

Signed-off-by: Wouter Born <github@maindrain.net>
2022-01-04 09:32:40 +01:00
mlobstein
e9537f2cbd
fix projector error message display (#11953)
Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
2022-01-04 09:28:34 +01:00
Matt
770e897f36
[haywardomnilogic] Added filter & pump RPM & state channels (#11223)
* Update unit formating

Signed-off-by: Matt Myers <mmyers75@icloud.com>

* Updates per last review

Signed-off-by: Matt Myers <mmyers75@icloud.com>

* Updated units to decimal

Signed-off-by: Matt Myers <mmyers75@icloud.com>

* Removed erroneous chlorinator code from filterhandler

Signed-off-by: Matt Myers <mmyers75@icloud.com>

* Adding pump support, added body of water to xml paths to prevent detection of terminal or other items

Signed-off-by: Matt Myers <mmyers75@icloud.com>

* Added getApiDef call to initialize when debug=trace

Signed-off-by: Matt Myers <mmyers75@icloud.com>

* Fixed typo on README

Signed-off-by: Matt Myers <mmyers75@icloud.com>

* Cleanup pump xml spotless checks

Signed-off-by: Matt Myers <mmyers75@icloud.com>

* Fix typos in README

Signed-off-by: Matt Myers <mmyers75@icloud.com>

* Fixed a couple typos in pump discovery

Signed-off-by: Matt Myers <mmyers75@icloud.com>

* Fixed README typo

Signed-off-by: Matt Myers <mmyers75@icloud.com>

* Fix untested pump typos

Signed-off-by: Matt Myers <mmyers75@icloud.com>

* Fix pump typo

Signed-off-by: Matt Myers <mmyers75@icloud.com>

* Add thing properties and max filter/pump speed command

Signed-off-by: Matt Myers <mmyers75@icloud.com>

* Add support for relays to exist in the backyard

Signed-off-by: Matt Myers <mmyers75@icloud.com>

* Update README

Signed-off-by: Matt Myers <mmyers75@icloud.com>

* Add support for colorLogicLights to exist in the backyard

Signed-off-by: Matt Myers <mmyers75@icloud.com>

* Remove sensor thing and associated handler.  Hayward does not expose data for stand alone sensors.  Packaged in other things (backyard air temp, body of water temp, etc.)

Signed-off-by: Matt Myers <mmyers75@icloud.com>

* Added heater states

Signed-off-by: Matt Myers <mmyers75@icloud.com>

* Updated heater state in readme

Signed-off-by: Matt Myers <mmyers75@icloud.com>

* Added dynamic state description updates to set pump & filter minimum and maximum speeds.

Signed-off-by: Matt Myers <mmyers75@icloud.com>

* Moved dynamicStateDescription updates to thing initialize routine

Signed-off-by: Matt Myers <mmyers75@icloud.com>

* Code checks

Signed-off-by: Matt Myers <mmyers75@icloud.com>

* Add min/max limits to filter, pump and heater setpoints

Signed-off-by: Matt Myers <mmyers75@icloud.com>

* Add virtual heater dynamic state descriptions.  Change filter & pump speeds back to number:dimensionless

Signed-off-by: Matt Myers <mmyers75@icloud.com>

* Add pump & filter speed RPM channels

Signed-off-by: Matt Myers <mmyers75@icloud.com>

* Fixed typo in pump handler

Signed-off-by: Matt Myers <mmyers75@icloud.com>

* Elaborate on filter/pump handler initialize exception

Signed-off-by: Matt Myers <mmyers75@icloud.com>

* Update bow.xml property intit's to empty values (fix typos)

Signed-off-by: Matt Myers <mmyers75@icloud.com>

* Added debug flag to inject XML until appropriate integration tests are setup

Signed-off-by: Matt Myers <mmyers75@icloud.com>

* Pump and Filter enable to last speed

Signed-off-by: Matt Myers <mmyers75@icloud.com>

* Removed tatus file

Signed-off-by: Matt Myers <mmyers75@icloud.com>

* Update readme

Signed-off-by: Matt Myers <mmyers75@icloud.com>

* format readMe

Signed-off-by: Matt Myers <mmyers75@icloud.com>

* Update ReadMe

Signed-off-by: Matt Myers <mmyers75@icloud.com>

* Remove xml debug code

Signed-off-by: Matt Myers <mmyers75@icloud.com>
2022-01-03 16:49:36 +01:00
Christoph Weitkamp
167f8ebc49
Avoid UnsupportedEncodingException & use const from StandardCharsets (#11948)
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2022-01-03 16:05:08 +01:00
openhab-bot
3f54327d5a
New Crowdin updates (#11890)
* New translations adorne.properties (German)
* New translations ahawastecollection.properties (German)
* New translations airquality.properties (German)
* New translations airvisualnode.properties (German)
* New translations amazonechocontrol.properties (German)
* New translations astro.properties (Finnish)
* New translations astro.properties (French)
* New translations bosesoundtouch.properties (German)
* New translations chromecast.properties (German)
* New translations denonmarantz.properties (German)
* New translations exec.properties (German)
* New translations hue.properties (French)
* New translations icalendar.properties (German)
* New translations jruby.properties (German)
* New translations jruby.properties (Italian)
* New translations luxtronikheatpump.properties (German)
* New translations mielecloud.properties (German)
* New translations openuv.properties (French)
* New translations openweathermap.properties (German)
* New translations phc.properties (German)
* New translations powermax.properties (French)
* New translations pushsafer.properties (German)
* New translations rotel.properties (French)
* New translations tradfri.properties (French)
2022-01-03 16:00:47 +01:00
J-N-K
aaf0132d01
[amazonechocontrol] Fix refresh time for skill connected devices (#11943)
Signed-Off-By: Jan N. Klug <github@klug.nrw>
2022-01-03 15:32:20 +01:00
Christoph Weitkamp
0936d97b41
[googletts] Improve exception handling (#11925)
* Improve exception handling
* Moved classes to dto package to reduce SAT warning

Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2022-01-03 14:12:36 +01:00
Sami Salonen
76855fd81a
[dynamodb] AWS SDK updated to 2.17.102 (#11914)
* [dynamodb] Update guide for updating the SDK

Some steps were obsolete and required corrections.

Signed-off-by: Sami Salonen <ssalonen@gmail.com>

* [dynamodb] Update AWS SDK to 2.17.102

- Added NOTICE with all compiled dependencies. Dependencies listed in
  feature.xml are omitted.
- jackson dependency is now provided by AWS SDK as a 'shaded' copy
- log4j version used in tests updated
- Specifying DefaultsMode=STANDARD to make the SDK utilize latest
  recommended parameters. RetryMode is also controlled by DefaultsMode,
  so we avoid setting it explicitly unless overridden by the user.
- Fixed test regressions due to SDK changes

Signed-off-by: Sami Salonen <ssalonen@gmail.com>
2022-01-03 14:07:45 +01:00
Christoph Weitkamp
dee9ab891f
[openweathermap] Improved exception handling (#11949)
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2022-01-03 14:00:25 +01:00
Micha
41d775c02b
[heos] Update Denon CLI reference in plugin documentation (#11947) 2022-01-03 13:59:39 +01:00
Markus Lipp
dba4b0088f
[jsscripting] Fixed links to JS-Joda (#11950)
Fixed path to JS-Joda github page to be formatter as external links
2022-01-03 13:52:05 +01:00
Jacob Laursen
5c9da5687c
Support refresh command for signalStrength items. (#11944)
Fixes #11942

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-01-03 13:36:36 +01:00
Michael Wodniok
4a8fd569f0
[icalendar] fixes #11927: Added original texts for translation (#11928)
* [icalendar] fixes #11927: Added original texts for translation

Signed-off-by: Michael Wodniok <michi@noorganization.org>
2022-01-03 12:09:58 +01:00
Dan Cunningham
3884b378bb
Adds a RepresentationProperty to discovery to avoid duplicate inobx entries (#11941)
Signed-off-by: Dan Cunningham <dan@digitaldan.com>
2022-01-03 09:22:45 +01:00
Stefan Giehl
2d32067533
[LuxtronikHeatpump] fix channel type of newly defined unknown channels (#11937)
Signed-off-by: Stefan Giehl <stefangiehl@gmail.com>
2022-01-02 16:57:41 +01:00
Bo Biene
6deb3f56da
[wolfsmartset] Fix NullPointerException when updating values (#11931)
* fix bug #11930 NullPointerException

Signed-off-by: Bo Biene <openhab.github@biene.eu>
2022-01-02 16:51:51 +01:00
Robert Schmid
ef2454cd82
[dali] Fix frame packing (#11936)
Signed-off-by: Robert Schmid <r.schmid@outlook.com>
2022-01-02 16:38:33 +01:00
jpharvey
8eda5551d1
[cbus] fix exception from threadpool at startup (#11846)
* update to use executorservice to fix crash caused by change in underlying threadpool implementation

* Remove explicit cast

Signed-off-by: John Harvey <john.p.harvey@btinternet.com>
2022-01-02 16:20:32 +01:00
Jacob Laursen
e8df66f1d0
[hdpowerview] Refresh battery level when receiving refresh command (#11933)
* Refresh battery level when receiving REFRESH command.

Fixes #11932

Update README with shade refresh logic.

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-01-02 13:44:51 +01:00
lolodomo
e4cd27f623
[powermax] Add few missing default translation properties (#11913)
Also run mvn i18n:generate-default-translations

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-01-01 11:33:08 +01:00
lolodomo
b701e15ec2
[remoteopenhab] Reorder default translation properties (#11912)
Result of mvn i18n:generate-default-translations

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-01-01 11:32:14 +01:00
lolodomo
b37a293f03
[rotel] Fix default properties (#11911)
Also reorder properties by running mvn i18n:generate-default-translations

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-01-01 11:31:09 +01:00
lolodomo
2283adaee1
[astro] Add missing default translation properties (#11910)
Reorder the properties running mvn i18n:generate-default-translations

Fix #11811

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-01-01 11:30:27 +01:00
kakonema
52b4bd8f10
[Yeelight] Add color4 bulb (#11908)
* [Yeelight] Add color4 bulb

Signed-off-by: Vlado Ilic <kakonema@gmail.com>
2021-12-31 16:39:46 +01:00
Stefan Triller
a1df7a82ff
[iCalendar] Fix httpclient getting stuck with broken requests (#11866)
* [iCalendar] Fix httpclient getting stuck with broken requests

Fixes #9827

Signed-off-by: Stefan Triller <github@stefantriller.de>
2021-12-31 11:46:36 +01:00
Christoph Weitkamp
cf86044580
Prevent errors in log when URI host is null (#11893)
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2021-12-30 13:53:24 +01:00
Hilbrand Bouwkamp
253f36abbf
[astro] Fixed timeLeft calculation at the end of the year (#11889)
Season timeleft calculated the wrong time at the end of the year, because the seasons it measures the time with are the seasons within the same year.
So for times at the end of the year it computed against the season at the beginning of the year, resulting in negative number of days.
Also changed the time of timeLeft to actual days instead of quantity unit days.
Because with the milliseconds internal resolution it will generate events each and every time this channel is updated as milliseconds change often.

Signed-off-by: Hilbrand Bouwkamp <hilbrand@h72.nl>
2021-12-30 13:49:43 +01:00
Jacob Laursen
50560f7b5b
Fix inability to recover from network issues on initialization. (#11891)
Fixes #11304

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2021-12-30 11:58:22 +01:00
Martin Herbst
a407555362
Explicit conversion to double value added (#11887)
Fixes #11886


Signed-off-by: Martin Herbst <develop@mherbst.de>
2021-12-29 18:47:07 +01:00
Stefan Giehl
352c171f9a
[LuxtronikHeatpump] Adds additional channels (#11860)
* Adds channels available on newer heatpumps

Signed-off-by: Stefan Giehl <stefangiehl@gmail.com>
Signed-off-by: Jamie Townsend <jamie_townsend@hotmail.com>
2021-12-29 18:25:16 +01:00
Wouter Born
5eb6368927
[shelly] Fix comment in translations file (#11884)
This fixes the comment showing up in the translations.
The code seems to use the 'message.discovery.failed' instead of 'discovery.failed'.

Signed-off-by: Wouter Born <github@maindrain.net>
2021-12-29 14:10:54 +01:00
openhab-bot
c23f6adf13
New Crowdin updates (#11832)
* New translations astro.properties (Finnish)
* New translations astro.properties (German)
* New translations bluetooth.properties (German)
* New translations boschshc.properties (Italian)
* New translations comfoair.properties (German)
* New translations dwdunwetter.properties (German)
* New translations epsonprojector.properties (German)
* New translations gpio.properties (German)
* New translations heliosventilation.properties (German)
* New translations homeconnect.properties (German)
* New translations homematic.properties (German)
* New translations ipp.properties (German)
* New translations jruby.properties (Hungarian)
* New translations jsscripting.properties (German)
* New translations jsscripting.properties (Hungarian)
* New translations map.properties (German)
* New translations map.properties (Hungarian)
* New translations mqttbroker.properties (Italian)
* New translations nanoleaf.properties (German)
* New translations ocean.properties (German)
* New translations openhabcloud.properties (Finnish)
* New translations samsungtv.properties (Hungarian)
* New translations shelly.properties (German)
* New translations snmp.properties (German)
* New translations sonos.properties (German)
* New translations spotify.properties (German)
* New translations tr064.properties (German)
* New translations tradfri.properties (German)
* New translations unifi.properties (German)
* New translations unifi.properties (Hungarian)
* New translations valloxmv.properties (Finnish)
* New translations volvooncall.properties (German)
* New translations xslt.properties (German)
2021-12-29 13:16:52 +01:00
Ondrej Pecta
0583b608fd
[yeelight] Fixed ceiling3 device being recognized as device without nightmode (#11876)
Signed-off-by: Ondrej Pecta <opecta@gmail.com>
2021-12-29 08:42:09 +01:00
Kai Kreuzer
db567bc652
Various small enhancements (#11874)
- do not go from INITIALIZING to OFFLINE and then ONLINE, but skip OFFLINE for panels, if the controller is ONLINE
- reduce logging to debug when receiving trigger events
- only update Thing configuration if necessary to avoid Thing updated events
- fix description of model types, which was outdated due to new models being available by now

Signed-off-by: Kai Kreuzer <kai.kreuzer@telekom.de>
2021-12-28 19:27:45 +01:00
Fredo70
96a8f942b1
[myStrom] Request info is not supported by the first generation of plug (#11854)
* Request info is not supported by the first generation of plug

closes #10432
Signed-off-by: Frederic Chastagnol <fchastagnol@fredoware.ch>
2021-12-28 18:42:16 +01:00
eugen
b6af3aba9f
return min value instead of 0 (#11803)
Signed-off-by: Eugen Freiter <freiter@gmx.de>

Co-authored-by: Eugen Freiter <freiter@gmx.de>
2021-12-28 13:19:55 +01:00
Stefan Giehl
d2c06fbbe1
[irobot] fixes typo in channel description (#11870)
Signed-off-by: Stefan Giehl <stefangiehl@gmail.com>
2021-12-28 13:01:32 +01:00
Jacob Laursen
5e3bddf4ed
[miele] Refactor mDNS discovery (#11873)
* Add nullness annotations.
* Fix error handling.
* Localize discovery result label.
* Reduce log level to warning for error creating discovery result.

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2021-12-28 12:35:52 +01:00
Kai Kreuzer
57cc935708
Reduce to debug logging in case of communication problems (#11872)
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2021-12-28 11:17:57 +01:00
Andrew Fiddian-Green
e9060c462b
[miele] Fix mDNS issue where hub repeatedly disappears from, resp. reappears in, the Inbox. (#11834)
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2021-12-28 09:49:05 +01:00
Matthew Skinner
8d15e0ae7b
Bump netty to 4.1.72.Final for log4j2 fix TELSTICK FIXED (#11863)
Signed-off-by: Matthew Skinner <matt@pcmus.com>
2021-12-28 09:45:24 +01:00
Wouter Born
7f137ccaf9
[boschshc] Add default translations (#11851)
Signed-off-by: Wouter Born <github@maindrain.net>
2021-12-28 09:25:06 +01:00
Jeremy Stucki
1cae863569
[publictransportswitzerland] Public Transport Switzerland Initial contribution (#8540)
* [publictransportswitzerland] Initital commit

Signed-off-by: Jeremy Stucki <dev@jeremystucki.ch>

* [publictransportswitzerland] Add json stationboard

Signed-off-by: Jeremy Stucki <dev@jeremystucki.ch>

* [publictransportswitzerland] Add csv stationboard

Signed-off-by: Jeremy Stucki <dev@jeremystucki.ch>

* [publictransportswitzerland] Encoding / Data usage

Signed-off-by: Jeremy Stucki <dev@jeremystucki.ch>

* [publictransportswitzerland] Update readme

Signed-off-by: Jeremy Stucki <dev@jeremystucki.ch>

* [publictransportswitzerland] Update binding.xml

Signed-off-by: Jeremy Stucki <dev@jeremystucki.ch>

* [publictransportswitzerland] Remove code owner

Signed-off-by: Jeremy Stucki <dev@jeremystucki.ch>

* [publictransportswitzerland] Add more detailed thing status

Signed-off-by: Jeremy Stucki <dev@jeremystucki.ch>

* [publictransportswitzerland] Make field filters a constant

Signed-off-by: Jeremy Stucki <dev@jeremystucki.ch>

* [publictransportswitzerland] Remove json channel

Signed-off-by: Jeremy Stucki <dev@jeremystucki.ch>

* [publictransportswitzerland] Stop scheduler on config error

Signed-off-by: Jeremy Stucki <dev@jeremystucki.ch>

* [publictransportswitzerland] Work on i18n

Signed-off-by: Jeremy Stucki <dev@jeremystucki.ch>

* [publictransportswitzerland] Remove TODO

Signed-off-by: Jeremy Stucki <dev@jeremystucki.ch>

* [publictransportswitzerland] Re-order members

Signed-off-by: Jeremy Stucki <dev@jeremystucki.ch>

* [publictransportswitzerland] Update label

Signed-off-by: Jeremy Stucki <dev@jeremystucki.ch>

* [publictransportswitzerland] Set status to unknown instead of initializing

Signed-off-by: Jeremy Stucki <dev@jeremystucki.ch>

* [publictransportswitzerland] Update version

Signed-off-by: Jeremy Stucki <dev@jeremystucki.ch>

* [publictransportswitzerland] Log api response

Signed-off-by: Jeremy Stucki <dev@jeremystucki.ch>

* [publictransportswitzerland] Mark CSV advanced

Signed-off-by: Jeremy Stucki <dev@jeremystucki.ch>

* [publictransportswitzerland] Add error message

Signed-off-by: Jeremy Stucki <dev@jeremystucki.ch>

* [publictransportswitzerland] Update readme

Signed-off-by: Jeremy Stucki <dev@jeremystucki.ch>

* [publictransportswitzerland] Move members

Signed-off-by: Jeremy Stucki <dev@jeremystucki.ch>

* [publictransportswitzerland] Add dynamic channels

Signed-off-by: Jeremy Stucki <dev@jeremystucki.ch>

* [publictransportswitzerland] Implement dispose

Signed-off-by: Jeremy Stucki <dev@jeremystucki.ch>

* [publictransportswitzerland] Remove unnecessary translation

Signed-off-by: Jeremy Stucki <dev@jeremystucki.ch>

* [publictransportswitzerland] Rename csv -> tsv

Signed-off-by: Jeremy Stucki <dev@jeremystucki.ch>

* [publictransportswitzerland] Update readme

Signed-off-by: Jeremy Stucki <dev@jeremystucki.ch>

* [publictransportswitzerland] Update train names

Signed-off-by: Jeremy Stucki <dev@jeremystucki.ch>

* [publictransportswitzerland] Fix markdown table

Signed-off-by: Jeremy Stucki <dev@jeremystucki.ch>

* [publictransportswitzerland] Use UNDEF

Signed-off-by: Jeremy Stucki <dev@jeremystucki.ch>

* [publictransportswitzerland] Allow departures without platform

Signed-off-by: Jeremy Stucki <dev@jeremystucki.ch>

* [publictransportswitzerland] Work on display logic

Signed-off-by: Jeremy Stucki <dev@jeremystucki.ch>

* [publictransportswitzerland] Use null

Signed-off-by: Jeremy Stucki <dev@jeremystucki.ch>

* [publictransportswitzerland] Make style checks happy

Signed-off-by: Jeremy Stucki <dev@jeremystucki.ch>

* [publictransportswitzerland] Implement refresh command

Signed-off-by: Jeremy Stucki <dev@jeremystucki.ch>

* [publictransportswitzerland] Avoid hitting API limits

Signed-off-by: Jeremy Stucki <dev@jeremystucki.ch>

* [publictransportswitzerland] Use expiring cache

Signed-off-by: Jeremy Stucki <dev@jeremystucki.ch>

* [publictransportswitzerland] Update version

Signed-off-by: Jeremy Stucki <dev@jeremystucki.ch>

* [publictransportswitzerland] Increase channel update interval

Signed-off-by: Jeremy Stucki <dev@jeremystucki.ch>

* [publictransportswitzerland] Use lower cache expiration time

Signed-off-by: Jeremy Stucki <dev@jeremystucki.ch>

* [publictransportswitzerland] Avoid glob import

Signed-off-by: Jeremy Stucki <dev@jeremystucki.ch>

* [publictransportswitzerland] Make compiler happier

Signed-off-by: Jeremy Stucki <dev@jeremystucki.ch>

* [publictransportswitzerland] Add error explanation

Signed-off-by: Jeremy Stucki <dev@jeremystucki.ch>

* [publictransportswitzerland] Skip check

Signed-off-by: Jeremy Stucki <dev@jeremystucki.ch>

* [publictransportswitzerland] Print message instead of stacktrace

Signed-off-by: Jeremy Stucki <dev@jeremystucki.ch>

* [publictransportswitzerland] Store date format as final field

Signed-off-by: Jeremy Stucki <dev@jeremystucki.ch>

* [publictransportswitzerland] Cache configuration

Signed-off-by: Jeremy Stucki <dev@jeremystucki.ch>

* [publictransportswitzerland] Work on exception handling

Signed-off-by: Jeremy Stucki <dev@jeremystucki.ch>

* [publictransportswitzerland] Update readme

Signed-off-by: Jeremy Stucki <dev@jeremystucki.ch>

* [publictransportswitzerland] Make style checks happy

Signed-off-by: Jeremy Stucki <dev@jeremystucki.ch>

* [publictransportswitzerland] Bump version

Signed-off-by: Jeremy Stucki <dev@jeremystucki.ch>

* [publictransportswitzerland] Work on compiler warnings

Signed-off-by: Jeremy Stucki <dev@jeremystucki.ch>

* [publictransportswitzerland] Add more detailed introduction

Signed-off-by: Jeremy Stucki <dev@jeremystucki.ch>

* [publictransportswitzerland] Move tsv into group

Signed-off-by: Jeremy Stucki <dev@jeremystucki.ch>

* [publictransportswitzerland] Bump version

Signed-off-by: Jeremy Stucki <dev@jeremystucki.ch>

* [publictransportswitzerland] Update thing description

Co-authored-by: Fabian Wolter <github@fabian-wolter.de>
Signed-off-by: Jeremy Stucki <dev@jeremystucki.ch>

* [publictransportswitzerland] Update thing description

Co-authored-by: Fabian Wolter <github@fabian-wolter.de>
Signed-off-by: Jeremy Stucki <dev@jeremystucki.ch>

* [publictransportswitzerland] Remove explicit channel creation

Signed-off-by: Jeremy Stucki <dev@jeremystucki.ch>

* [publictransportswitzerland] Run mvn spotless:apply

Signed-off-by: Jeremy Stucki <dev@jeremystucki.ch>

* [publictransportswitzerland] Migrate to OH3

Signed-off-by: Jeremy Stucki <dev@jeremystucki.ch>

* [publictransportswitzerland] Work on OH3 migration

Signed-off-by: Jeremy Stucki <dev@jeremystucki.ch>

* [publictransportswitzerland] Bump version

Signed-off-by: Jeremy Stucki <dev@jeremystucki.ch>

* [publictransportswitzerland] Define channel-type for departures

Signed-off-by: Jeremy Stucki <dev@jeremystucki.ch>

* [publictransportswitzerland] Update copyright notice

Signed-off-by: Jeremy Stucki <dev@jeremystucki.ch>

* [publictransportswitzerland] Move channel types below thing types

Signed-off-by: Jeremy Stucki <dev@jeremystucki.ch>

* [publictransportswitzerland] Remove ignored files

Signed-off-by: Jeremy Stucki <dev@jeremystucki.ch>

* [publictransportswitzerland] Remove author tag

Signed-off-by: Jeremy Stucki <dev@jeremystucki.ch>

* [publictransportswitzerland] Update feature description

Signed-off-by: Jeremy Stucki <dev@jeremystucki.ch>

* [publictransportswitzerland] Make linter happy

Signed-off-by: Jeremy Stucki <dev@jeremystucki.ch>

* [publictransportswitzerland] Update README

Signed-off-by: Jeremy Stucki <dev@jeremystucki.ch>

* Bump version

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

Co-authored-by: Fabian Wolter <github@fabian-wolter.de>
2021-12-27 21:19:22 +01:00
jimtng
d38f37fa1a
[amazonechocontrol] Remove duplicate items in the example (#11809)
Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
2021-12-27 20:31:22 +01:00