Commit Graph

71 Commits

Author SHA1 Message Date
Michael Vestergaard
1857f25d0f Handle stream getting the message "Vehicle is offline" and change the state to offline in vehicle (#3508) 2024-01-19 14:09:59 +01:00
Nir Klinger
fba87d7e88 added tire low pressure icon to teslamate web (#3424)
* added tire low pressure icon to teslamate web

* updated new fields to mqtt md

* Update default.pot and errors.pot
2023-11-13 19:07:03 -06:00
Matthias Wirtz
ed70976770 Endpoints Query Param, Docker 60s delay fixed, Typo fixed, Update several Dependencies (#3398)
* Endpoints Query Param, Docker 60s delay fixed, Typo fixed

* Update dependencies
2023-11-12 17:51:14 +01:00
Adrian Kumpf
db59717d04 Fix deprecation warnings on Elixir v1.15 2023-06-10 18:44:18 +02:00
Adrian Kumpf
6af97bafc8 Read vehicle name from vehicle_data response 2023-06-10 17:29:51 +02:00
Adrian Kumpf
8756c66bca Fix typos 2023-02-03 21:20:10 +01:00
Adrian Kumpf
2b3e127259 Handle invalid JWTs 2022-07-15 12:35:35 +02:00
NirKli
7a9c6b9ad1 Added tire pressure (#2706)
* - Added support for tire pressure graph per drive

* - Fixed migration script

* - Added tire pressure documentation in mqtt.md

* Use add command instead of add_if_not_exists

Co-authored-by: Adrian Kumpf <8999358+adriankumpf@users.noreply.github.com>

* Remove drop function command from migration script

Co-authored-by: Adrian Kumpf <8999358+adriankumpf@users.noreply.github.com>

* Format code

Co-authored-by: Adrian Kumpf <8999358+adriankumpf@users.noreply.github.com>
2022-06-24 15:24:39 +02:00
Adrian Kumpf
b209d348f8 Restart stream process if token expired
Addresses #2450
2022-02-20 14:18:00 +01:00
Adrian Kumpf
b6a5219090 Don't exchange SSO token for Chinese accounts
Addresses #2378
2022-01-26 18:03:56 +01:00
Adrian Kumpf
8aa772872a Remove support for logins with username/password 2022-01-21 19:09:32 +01:00
Adrian Kumpf
3d1697a909 Don't parse issuer URL twice 2022-01-19 10:12:25 +01:00
Howard Su
811dac1d08 Fix MFA for Chinese accounts (#2234) 2022-01-01 18:04:13 +01:00
Adrian Kumpf
5113bc3c52 Update Chinese endpoints 2021-12-13 19:30:04 +01:00
Adrian Kumpf
977f423014 Use new Chinese endpoints
Related to #2214
2021-12-13 19:08:22 +01:00
Adrian Kumpf
0a127f60a9 Show error message if access is denied
Related to #2159
2021-11-17 17:39:28 +01:00
Adrian Kumpf
9c9564ecc7 Exchange Chinese SSO tokens 2021-10-31 16:56:36 +01:00
Adrian Kumpf
00ce5c39ce Use SSO Access Tokens 2021-09-30 13:45:02 +02:00
Adrian Kumpf
cbf8d8922d Handle unexpected SSL messages
Closes #2001
2021-09-28 17:19:02 +02:00
Adrian Kumpf
7f661a5a25 Update error message of recaptcha 2021-09-10 11:11:14 +02:00
Adrian Kumpf
373a478365 Update website dependencies 2021-08-30 17:23:34 +02:00
Adrian Kumpf
e4234b4f25 Split auth code into smaller modules 2021-08-30 16:16:21 +02:00
Adrian Kumpf
c630ec662a Handle captcha appearing after submitting form 2021-08-30 15:06:17 +02:00
Adrian Kumpf
70b5717ae1 Make Tesla's WAF happy 2021-08-06 15:04:55 +02:00
Adrian Kumpf
6c19a7b8a7 Handle owner_api errors returned by streaming API
Addresses #1848
2021-07-19 15:12:09 +02:00
Adrian Kumpf
be76577d5b Enter captcha code in a separate view
Addresses #1836
2021-07-16 18:28:25 +02:00
Adrian Kumpf
34d8fb7887 Fix login with captcha for accounts outside of China 2021-07-16 16:05:13 +02:00
Adrian Kumpf
88fc27efb1 Change default auth headers 2021-07-16 14:48:01 +02:00
Adrian Kumpf
99c5bc8ccc Fix login for Chinese accounts 2021-07-08 12:15:25 +02:00
Adrian Kumpf
543d53a879 Fix login with captcha 2021-07-08 10:46:00 +02:00
Adrian Kumpf
efef6ca887 Fix sign-in for Chinese accounts 2021-06-02 19:10:45 +02:00
Adrian Kumpf
1a90cdeadf Allow to sign in w/o captcha
Addresses #1658
2021-06-02 11:24:45 +02:00
Adrian Kumpf
4b4ac82cd2 Handle errors when loading captcha 2021-06-01 10:49:33 +02:00
Adrian Kumpf
e557152dfb Consolidate return types 2021-06-01 10:41:26 +02:00
Adrian Kumpf
6050657876 Remove compression middleware 2021-06-01 01:06:10 +02:00
Adrian Kumpf
c5f4b11888 Re-add login hint 2021-06-01 01:05:08 +02:00
Adrian Kumpf
b161f33c0c Show error message if account is locked 2021-06-01 00:53:35 +02:00
Adrian Kumpf
827f5aa33d Support Tesla's captcha verification 2021-06-01 00:53:32 +02:00
Adrian Kumpf
289cf788be Extend test matrix 2021-05-03 13:11:30 +02:00
Iulius
ff74185ab7 typo in code_challenge_method fixed (#1571)
the code_challenge_method should be S256
2021-04-27 12:26:52 +02:00
Adrian Kumpf
41f1280e75 Fix service mode detection
Related to #593
2021-04-06 17:38:09 +02:00
Adrian Kumpf
6f6dc0ae3f Use latset websockex 2021-03-20 21:38:42 +01:00
Adrian Kumpf
535be718fc Tweak user agent randomization 2021-03-17 18:29:18 +01:00
Adrian Kumpf
0a2364656d Set another user agent for auth requests 2021-03-16 17:45:37 +01:00
Adrian Kumpf
6d31adba00 Use Mix.Project.config/0 to get version at compile time 2021-03-13 21:06:12 +01:00
Adrian Kumpf
4c9fc7e392 Update user agent used for API requests 2021-03-13 13:14:02 +01:00
Adrian Kumpf
9fee2b5afe Change default auth headers 2021-03-10 19:47:54 +01:00
Adrian Kumpf
1384023bf5 Change default headers to make Tesla WAF happy
Addresses #1369
2021-02-21 10:45:49 +01:00
Adrian Kumpf
2b4d774b06 Change log level for streaming timeouts to debug 2021-02-06 17:32:00 +01:00
Adrian Kumpf
b1991f541e Add support for v3 API tokens in China (#1300)
* Add support for v3 API tokens in China

* Add support for refreshing tokens in China

* Log auth requests without debug output

* Log failed requests to the Owner API
2021-02-06 17:28:29 +01:00