Commit Graph

52 Commits

Author SHA1 Message Date
Kai Kreuzer
b33ebb8433
Hide refresh token in the UI as it is considered a secret (#16030)
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2023-12-09 23:54:41 +01:00
Kai Kreuzer
6e9ef27006
Fix location with firmware 2023.38.x (#16029)
Signed-off-by: Paul Smedley <paul@smedley.id.au>
Co-authored-by: Paul Smedley <paul@smedley.id.au>
2023-12-09 22:25:45 +01:00
Hakan Tandogan
70095cdb49
[tesla] extend docu on 'softwareupdateversion', this can hold map updates too (#15835)
* [tesla] extend docu on 'softwareupdateversion', this can hold map updates too

---------

Signed-off-by: Hakan Tandogan <hakan@tandogan.com>
2023-11-17 19:52:53 +01:00
Hakan Tandogan
59c3135ccb
[tesla] Add channels for software update (#15816)
* [tesla] Add value holders for Software Update state

Signed-off-by: Hakan Tandogan <hakan@tandogan.com>
2023-11-01 21:24:36 +01:00
Hakan Tandogan
062f7b13eb
[tesla] regenerate i18n file (#15767)
Signed-off-by: Hakan Tandogan <hakan@tandogan.com>
2023-10-17 09:33:22 +02:00
billfor
118afa31fd
[tesla] Fix update timestamp and null exception for offline state (#15756)
Signed-off-by: Bill Forsyth <git@billforsyth.net>
2023-10-17 07:40:50 +02:00
Hakan Tandogan
74d55c60e1
[tesla] Add channels for active routing (#15705)
Signed-off-by: Hakan Tandogan <hakan@tandogan.com>
2023-10-12 09:25:00 +02:00
uqs
2797e6f278
[tesla] Remove the minimum 5A charge current limit (#15711)
While the app can't go lower than 5A, the API allows setting values down
to 0A, and at least going to 2-3A can make sense if you want to put
excess solar power into the car without also drawing some from the grid.

Due to the overhead this causes it can be wasteful, so keep logging the
warning about going below 5A.

Signed-off-by: Ulrich Spörlein <uspoerlein@gmail.com>
2023-10-11 23:10:37 +02:00
Holger Friedrich
1b122a53b9
Java 17 features (T-Z) (#15576)
- add missing @override
- Java style array syntax
- remove redundant modifiers
- always move String constants to left side in comparisons
- simplify lambda expressions and return statements
- use replace instead of replaceAll w/o regex
- instanceof matching and multiline strings
- remove null check before instanceof

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2023-09-21 07:58:53 +02:00
Kai Kreuzer
f607dde3a5
[tesla] Adapt binding to changed API from Tesla backend (#14922)
* Adapt binding to changed API from Tesla backend

Signed-off-by: Kai Kreuzer <kai@openhab.org>
2023-05-02 21:49:06 +02:00
Wouter Born
2119cebf33
[tesla] Cleanup code (#14833)
Signed-off-by: Wouter Born <github@maindrain.net>
2023-04-20 19:03:04 +02:00
Wouter Born
83cbe746d0
Remove redundant modifiers from interfaces (#14843)
Signed-off-by: Wouter Born <github@maindrain.net>
2023-04-18 13:07:04 +02:00
Wouter Born
f21f7bc8b3
Add more connection details to add-ons (#14813)
* Add more connection details to add-ons

Signed-off-by: Wouter Born <github@maindrain.net>
2023-04-15 21:23:24 +02:00
lolodomo
c8cdd2dfa5
[tesla] Stop the WebSocket client when disposing the thing handler (#14483)
Fix #14341

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2023-03-07 20:50:37 +01:00
lolodomo
e0a3ca2f9b
[tesla] Normalize thread names and avoid a possible IAE (#14351)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2023-02-19 20:55:16 +01:00
Kai Kreuzer
bfb6091d7b
Fix account going offline every few seconds (#14300)
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2023-01-31 19:35:22 +01:00
J-N-K
89d0689e36
fix i18n for bindings (#14235)
Also-By: Jacob Laursen <jacob-github@vindvejr.dk>
Signed-off-by: Jan N. Klug <github@klug.nrw>
2023-01-21 12:14:51 +01:00
J-N-K
5f8214f08a
Adapt to core changes (addon.xml) (#13289)
Signed-off-by: Jan N. Klug <github@klug.nrw>
2023-01-15 20:31:42 +01:00
Jacob Laursen
4dd6d3a8a2
Update license headers to 2023 (#14154)
* Update copyright year in configuration
* Update license headers

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2023-01-06 09:49:54 +01:00
Kai Kreuzer
f588c07f3a
Synchronize access to account to avoid concurrency issues (#14128)
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2023-01-01 12:02:15 +01:00
Kai Kreuzer
2d5402656e
[tesla] Fix discovery of Tesla vehicles from account (#14070)
* Fix discovery of Tesla vehicles from account

Signed-off-by: Kai Kreuzer <kai@openhab.org>
2022-12-31 10:22:39 +01:00
Дилян Палаузов
78534e8106
Typos a/an (#13812) 2022-12-01 14:30:50 +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
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
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
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
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
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
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
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
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
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
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
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
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
Wouter Born
07a1976c81
Add default translations for binding add-ons (#11760)
* Add default translations for binding add-ons

This makes the texts used by these add-ons translatable with Crowdin.

To keep the PR simple, it only adds default translations for add-ons which do not yet have any default translations properties file.
We can do follow up PRs for adding missing key/values to add-ons that already have these files or to remove duplications.

There are several add-ons in this PR that do have non-English translation files, so I'll upload those to Crowdin when the PR is merged.

Signed-off-by: Wouter Born <github@maindrain.net>
2021-12-15 18:40:21 +01:00
Sönke Küper
f2996aa723
Updated jsoup to 1.14.3 and adjusted some addons to use the provided version instaed of compile time dependency. (#11643)
Signed-off-by: Sönke Küper <soenkekueper@gmx.de>

Co-authored-by: Sönke Küper <soenkekueper@gmx.de>
2021-12-11 17:21:42 +01:00
Kai Kreuzer
f506ec299b
[tesla] Prevent NPE (#10872)
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2021-06-15 23:47:47 +02:00
Wouter Born
580f293766
Resolve itest runbundles for Gson and Commons Lang upgrades and fix JsonParser deprecations (#10345)
* Resolve itest runbundles for Gson and Commons Lang upgrades
* Fix JsonParser deprecations too
* Fix feature verification

Signed-off-by: Wouter Born <github@maindrain.net>
2021-03-18 12:15:15 +01:00
Christian Güdel
62e829f968
[Tesla] Add SSO handler to authenticate against Tesla SSO service (#10259)
Signed-off-by: Christian Güdel <cg@dmesg.ch>
2021-03-01 15:19:10 +01:00
Christoph Weitkamp
de3cacc603
[tesla] Removed dependency on org.apache.commons (#9815)
* Removed dependency on org.apache.commons

Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2021-01-16 12:35:31 +01:00
Kai Kreuzer
eea5750b73
[tesla] Correctly handle floating point numbers (#9802)
Fixes #9636

Signed-off-by: Kai Kreuzer <kai@openhab.org>
2021-01-13 20:53:10 +01:00
Wouter Born
d6364aceb1
Update license headers to 2021 (#9620)
Signed-off-by: Wouter Born <github@maindrain.net>
2021-01-02 22:03:14 +01:00
Wouter Born
ac6f08908f
Use renamed Units class (#9267)
Signed-off-by: Wouter Born <github@maindrain.net>
2020-12-07 10:34:02 +01:00
Wouter Born
ac18da7fc3
Use core unit classes (#9261)
Add-ons should not depend on tec.uom.se classes but use core unit classes instead so they are less impacted when this library is replaced or upgraded.

Signed-off-by: Wouter Born <github@maindrain.net>
2020-12-06 19:57:26 +01:00
Kai Kreuzer
007c3b56e5
removed deprecated author information from binding.xml (#9113)
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2020-11-23 19:06:33 -08:00
Wouter Born
b423f93b1f
Remove Map null annotation workarounds (#8916)
These workarounds to prevent false positives can be removed now the EEAs allow for proper null analysis.

Signed-off-by: Wouter Born <github@maindrain.net>
2020-11-04 13:57:24 +01:00
Hilbrand Bouwkamp
003c3af985
Remove immediate = true from all Components (#8615)
We recommend not to use this on add-ons.

Signed-off-by: Hilbrand Bouwkamp <hilbrand@h72.nl>
2020-10-01 20:27:01 -07:00