Commit Graph

76 Commits

Author SHA1 Message Date
Kai Kreuzer
541b40474b
[tesla] Adapt calls to new products API endpoint (#16331)
Signed-off-by: Paul Smedley <paul@smedley.id.au>
2024-01-27 20:11:08 +01:00
J-N-K
3136425b39
Adapt to core changes (ThingHandlerService) (#16107)
Related to: https://github.com/openhab/openhab-core/pull/3957

Signed-off-by: Jan N. Klug <github@klug.nrw>
2024-01-03 11:50:55 +01:00
Jacob Laursen
f4596f581e
Update license headers to 2024 (#16168)
* Update copyright year in configuration
* Update license headers
* Manually update nibeheatpump headers (.cpp/.h/.ino)
* Manually update smsmodem header
* Manually update hueemulation header
* Manually update addon-header.xml header

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2024-01-01 18:14:57 +01:00
Holger Friedrich
533cc666ab
Apply spotless after release (#16097)
* Apply spotless after release
* itests: resolve bundles

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2023-12-22 23:30:38 +01:00
openhab-bot
83e0485219 [unleash-maven-plugin] Preparation for next development cycle. 2023-12-22 14:37:48 +00:00
Kai Kreuzer
92383abf57
Store active route location in dedicated fields (#16032)
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2023-12-10 10:36:24 +01:00
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
Hakan Tandogan
09501d59c4
[tesla] fix small typo in documentation (#15699)
Signed-off-by: Hakan Tandogan <hakan@tandogan.com>
2023-10-06 08:22:05 +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
72607d3bee Apply spotless
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2023-07-24 01:20:31 +02:00
openhab-bot
809fceaff3 [unleash-maven-plugin] Preparation for next development cycle. 2023-07-23 19:19:01 +00:00
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
Jerome Luckenbach
ce3f673380
[Documentation] Markdown improvements t to z (#14371)
* Apply markdown fixes for bindings with letter _t_
* Apply markdown fixes for bindings with letter _u_
* Apply markdown fixes for bindings with letter _v_
* Apply markdown fixes for bindings with letter _w_
* Apply markdown fixes for bindings with letter _x_
* Apply markdown fixes for bindings with letter _y_
* Apply markdown fixes for bindings with letter _z_

Signed-off-by: Jerome Luckenbach <github@luckenba.ch>
2023-04-11 12:54:54 +02:00
lolodomo
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
J-N-K
4d6d6443ef
fix spotless after release (#14014)
Signed-off-by: Jan N. Klug <github@klug.nrw>
2022-12-19 15:22:17 +01:00
openhab-bot
7993786dc9 [unleash-maven-plugin] Preparation for next development cycle. 2022-12-19 00:55:11 +00:00
Дилян Палаузов
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
440f603e88
Apply spotless and resolver (#13027)
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2022-06-27 16:00:37 +02:00
openhab-bot
ed4858ebbb [unleash-maven-plugin] Preparation for next development cycle. 2022-06-26 18:18:40 +00: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