Commit Graph

2508 Commits

Author SHA1 Message Date
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