Commit Graph

268 Commits

Author SHA1 Message Date
Adrian Kumpf
08b72d4e43 Rename module 2019-11-24 14:00:50 +01:00
Adrian Kumpf
f51c2937c6 Cache location-based information 2019-11-24 14:00:50 +01:00
Adrian Kumpf
dde12b0e5b Add option to overwrite sleep mode per geo-fence
Resolves #251
2019-11-24 14:00:50 +01:00
Adrian Kumpf
66bafcb66d Add option to disable sleep mode 2019-11-24 14:00:50 +01:00
Adrian Kumpf
9dda53a47f Add elevation to every position 2019-11-24 13:56:14 +01:00
Adrian Kumpf
62b8a211af Automatically set Grafana URL 2019-11-24 13:56:14 +01:00
Adrian Kumpf
935beb6fb5 Mark map container with phx-update=ignore
Fixes #262
2019-11-19 14:01:39 +01:00
Adrian Kumpf
5142980138 Use reduced default suspend_min for newer vehicles
In order to identify the vehicle it has to be online when signing in to
the Tesla account. The fatback value is still 21 minutes.
2019-11-19 00:21:15 +01:00
Adrian Kumpf
549dedb3bf Decouple global from car-specific settings 2019-11-18 23:43:25 +01:00
Adrian Kumpf
3ef7cd1254 Fetch sign-in status only on index route 2019-11-17 18:04:04 +01:00
Adrian Kumpf
30d10d29a0 Display link to Grafana dashboards
... if a URL was entered on the Settings page.

Resolves #235
2019-11-17 16:56:03 +01:00
Adrian Kumpf
5e2995482c Slightly increase timeout value 2019-11-16 12:24:19 +01:00
Adrian Kumpf
a9e66a6c67 Add for attributes to labels 2019-11-16 12:24:19 +01:00
Adrian Kumpf
915f1878f5 Reject efficiencies <= 0
Fixes #250
2019-11-16 12:24:19 +01:00
Adrian Kumpf
be82d3b2f6 Automatically repair drives & charges w/o addresses
Resolves #239
2019-11-16 12:24:19 +01:00
Adrian Kumpf
79908f6b25 Use 0 as default charger power 2019-11-16 12:24:19 +01:00
Adrian Kumpf
156f77b618 Invalidate pending task 2019-11-16 12:24:19 +01:00
Adrian Kumpf
0846a20122 Use Task.async/1 instead of custom implementation 2019-11-05 23:04:40 +01:00
Adrian Kumpf
a23b5f26f1 Make vehicle fetch async 2019-11-05 21:38:27 +01:00
Adrian Kumpf
0d33b04b48 Make api calls async 2019-11-05 21:38:08 +01:00
Adrian Kumpf
696a4df72f Remove duplicate 2019-11-03 17:04:35 +01:00
Adrian Kumpf
fd6a31d079 Publish "heading" via MQTT
Resolves #225
2019-11-03 13:08:52 +01:00
Adrian Kumpf
409aadd7a1 Display remaining time while charging
Resolves #221
2019-11-03 13:08:52 +01:00
Adrian Kumpf
5feb60230f Temporarily switch to fork of ecto_enum 2019-10-28 13:52:26 +01:00
Adrian Kumpf
b356b19e3c Add tooltips 2019-10-27 21:36:14 +01:00
Adrian Kumpf
2bbb7879ff Test phase correction 2019-10-27 20:34:28 +01:00
Adrian Kumpf
d1064179d8 Refactor Log module 2019-10-26 21:20:05 +02:00
Adrian Kumpf
f38a4221eb Implement phase correction 2019-10-26 21:19:10 +02:00
Adrian Kumpf
f46f454cdc Prevent negative values for charge energy added 2019-10-26 16:22:43 +02:00
Adrian Kumpf
0d4a82cc83 Tweak charge and drive aggregation queries 2019-10-25 23:13:45 +02:00
Adrian Kumpf
a96dedad11 Add "car in service" state
Resolves #217
2019-10-24 22:48:08 +02:00
Adrian Kumpf
3ff47c32e0 Complete charging session immediately 2019-10-24 15:57:49 +02:00
Adrian Kumpf
f2769869d6 Tweak calculation of charge energy used 2019-10-24 15:57:29 +02:00
Adrian Kumpf
f9b3e3fa5d Display more icons in the UI 2019-10-23 22:46:28 +02:00
Adrian Kumpf
cd70f9acf0 Catch otherwise unhanded info messages 2019-10-23 22:46:28 +02:00
Adrian Kumpf
b0e3f6002b Fix broken dashboard links 2019-10-23 22:46:24 +02:00
Adrian Kumpf
830faed957 Tweak UI 2019-10-22 23:21:53 +02:00
Adrian Kumpf
0fe2f917da Add MQTT topic /is_climate_on
Resolves #214
2019-10-22 20:43:57 +02:00
Adrian Kumpf
8a68461f1b Show only vehicles connected to the account in UI
Fixes #213
2019-10-22 20:32:30 +02:00
Adrian Kumpf
4ca0567c61 Trim patch version if possible 2019-10-22 20:05:37 +02:00
Adrian Kumpf
7f4647f966 Serve pre-gzipped files 2019-10-22 20:00:01 +02:00
Adrian Kumpf
0c31683e86 Increase the precision of timestamps 2019-10-20 15:35:23 +02:00
Adrian Kumpf
0a8d89c74d Timeout completed charges after 15 minutes 2019-10-20 15:35:23 +02:00
Adrian Kumpf
0dede3d3f5 Set correct end date for completed charges
Fixes #211
2019-10-20 15:35:16 +02:00
Adrian Kumpf
bef950a1a9 Calculate actual charge energy used 2019-10-19 21:54:56 +02:00
Adrian Kumpf
5dff59a7bf Indicate when a (car) software update is available 2019-10-19 16:29:35 +02:00
Adrian Kumpf
dca44e141f Use preferred range for efficiency calculation 2019-10-17 20:45:03 +02:00
Adrian Kumpf
7630b3780d Create TestHelper.eventually/2 2019-10-16 22:08:40 +02:00
Adrian Kumpf
abfa8c96d5 Device efficiency factor from charge data 2019-10-16 21:12:53 +02:00
Adrian Kumpf
cbb0a02b5d Tweak circuit breaker settings 2019-10-12 13:02:23 +02:00