Commit Graph

113 Commits

Author SHA1 Message Date
Adrian Kumpf
a0e12c3808 Store marketing names
... and identify new Model S and X.

Closes #2494, #2496
2022-04-22 15:42:25 +02:00
Adrian Kumpf
b209d348f8 Restart stream process if token expired
Addresses #2450
2022-02-20 14:18:00 +01:00
cwanja
c89088f7d6 Update vehicle.ex (#2455)
Added support for the 2021.5+ Model X. Fixes #2454
2022-02-09 16:01:01 +01:00
Adrian Kumpf
25e572bb9b Don't warn in case of common faulty update status
After successfully installing an update the Tesla API often reports
"downloading" as `status` while `install_perc` is at 100%.
2022-01-22 13:03:48 +01:00
Adrian Kumpf
6c53788738 Don't suspend logging while downloading an update
Fixes #2194
2022-01-22 13:00:50 +01:00
Adrian Kumpf
fc2b188a31 Fix detection of refreshed Model S
Addresses #2193
2021-12-14 15:16:54 +01:00
Adrian Kumpf
451b23634c Sign out if API repeatedly returns 401 response 2021-11-05 18:53:50 +01:00
Adrian Kumpf
ec8b604c00 Discard stale stream data when falling asleep 2021-09-29 19:25:29 +02:00
Adrian Kumpf
e4f0cb9767 Unify wording 2021-09-27 19:19:27 +02:00
Adrian Kumpf
1feb844e2f Discard stale stream data
Related to #1996
2021-09-27 19:05:26 +02:00
Adrian Kumpf
a4304c2915 Add debug log statements
Related to #1996
2021-09-27 18:28:22 +02:00
Adrian Kumpf
4ea3034202 Broadcast offline state when car goes offline while driving
Fixes #1975
2021-09-22 22:26:36 +02:00
Adrian Kumpf
289cf788be Extend test matrix 2021-05-03 13:11:30 +02:00
Adrian Kumpf
b1329ff64f Increase update rate for power
Related to #1504
2021-05-02 14:22:16 +02:00
Adrian Kumpf
188eb03672 Handle non-existing range values after the car was offline
Addresses #1351
2021-02-16 11:08:30 +01:00
Adrian Kumpf
4b23c8604e Upgrade to Elixir v1.11 2020-10-08 22:17:56 +02:00
Adrian Kumpf
92b7e031bb Fix compiler warning 2020-10-04 19:20:27 +02:00
Adrian Kumpf
87d7ff275a Bump Grafana to 7.1
Closes #870
2020-08-27 20:04:32 +02:00
Adrian Kumpf
107574d70f Trigger build 2020-07-10 18:53:48 +02:00
Adrian Kumpf
9311cb4171 Create new connection after too many disconnects 2020-07-08 20:01:28 +02:00
Adrian Kumpf
9c74846432 Tweak streaming timeouts 2020-06-29 17:45:27 +02:00
Adrian Kumpf
3508d8164e Reduce log spam 2020-06-09 15:59:09 +02:00
Adrian Kumpf
3a7eae4760 Periodically store vehicle data while charging
The reason for this is that the Overview Dashboard can display current
temperature values while charging.
2020-05-29 14:11:52 +02:00
Adrian Kumpf
60631907ef Replace mojito with finch 2020-05-14 14:11:20 +02:00
Adrian Kumpf
390e362a09 Update CHANGELOG 2020-05-02 14:12:11 +02:00
Adrian Kumpf
aadfd916d0 Explicitly match on expected states 2020-05-02 13:53:49 +02:00
Adrian Kumpf
190dde7928 Fix firmware version comparison
Addresses #648
2020-04-27 14:57:12 +02:00
Adrian Kumpf
2d08545396 Do not publish unknown values
Addresses #639
2020-04-25 12:50:45 +02:00
Adrian Kumpf
4804aeb767 Reduce the amount of data sent to the client when driving 2020-04-19 15:20:23 +02:00
Adrian Kumpf
27578ff63b Discard incomplete API responses
Follow-up of #577
2020-04-19 12:31:18 +02:00
Adrian Kumpf
79d7076402 End drive when car is put into service mode 2020-04-16 11:16:04 +02:00
Adrian Kumpf
74920519ed Log "Suspending logging" just once 2020-04-14 14:24:42 +02:00
Adrian Kumpf
e3807f1520 Do not suspend manually in case of invalid data 2020-04-11 17:47:30 +02:00
Adrian Kumpf
3429ecd9eb Handle empty drive_states
Fixes #577
2020-04-11 17:01:49 +02:00
Adrian Kumpf
45d94d52b3 Implement database efficiency improvements
Closes #573
2020-04-11 14:49:44 +02:00
Adrian Kumpf
231583b48f Publish MQTT message when the health check succeeds again
Fixes #551
2020-04-08 13:10:43 +02:00
Adrian Kumpf
1646bb9013 Use default :suspend_min if streaming is enabled 2020-04-08 11:13:43 +02:00
Adrian Kumpf
6086b06646 Do not preload settings when importing
This allows to use custom settings for the import without needing to
persists them.
2020-04-04 14:25:46 +02:00
Adrian Kumpf
6d011467c0 Display the total duration of a sleep attempt 2020-04-04 13:43:42 +02:00
Adrian Kumpf
3d13056bdf Publish elevation 2020-04-02 18:38:11 +02:00
Adrian Kumpf
025a81f874 Do not suspend if the doors or trunk are open 2020-04-02 17:54:37 +02:00
Adrian Kumpf
f1e434e9c9 Remove outdated sleep mode requirements 2020-04-02 16:33:33 +02:00
Adrian Kumpf
a36fb8d66c Remove option to disable sleep mode 2020-04-02 16:33:33 +02:00
Adrian Kumpf
24581cc21a Pick default sleep settings 2020-04-02 16:33:33 +02:00
Adrian Kumpf
71f02dab66 Do not warn if terminating with :normal 2020-04-02 16:32:30 +02:00
Adrian Kumpf
38893db700 Prevent that more than one request is made at the same time 2020-03-28 15:52:35 +01:00
Adrian Kumpf
a691784926 Use the Streaming API
Closes #417
2020-03-28 15:52:35 +01:00
Adrian Kumpf
80f36148bc 1.18.2 2020-03-27 22:50:17 +01:00
Adrian Kumpf
b65002e80b Add state transition from :charging to :asleep
Fixes #529
2020-03-27 22:12:04 +01:00
Adrian Kumpf
0520993d76 Handle invalid charge data
Fixes #534
2020-03-26 18:09:39 +01:00