Commit Graph

304 Commits

Author SHA1 Message Date
Adrian Kumpf
c278aa207f Try to keep using tokens if initial refresh fails
Addresses #774
2020-06-04 09:52:31 +02:00
Adrian Kumpf
0db6d6905c Allow to set a cost by the minute per geo-fence 2020-05-30 12:33:23 +02:00
Adrian Kumpf
04ab18262d Allow to set charge cost by minute 2020-05-30 12:33:23 +02:00
Adrian Kumpf
6fd7cbbc28 Allow negative charge costs
Closes #743
2020-05-25 19:22:41 +02:00
dependabot-preview[bot]
607c220bf2 Bump phoenix_live_view from 0.12.1 to 0.13.0 (#742) 2020-05-22 16:00:06 +00:00
Adrian Kumpf
60631907ef Replace mojito with finch 2020-05-14 14:11:20 +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
155a135d51 Upgrade to phoenix 1.5 2020-04-23 12:51:15 +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
706c9d6a75 Bump phoenix_live_view to 0.12.0 2020-04-19 12:32:05 +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
0dbc5600ef Add language switcher 2020-04-15 14:21:35 +02:00
Adrian Kumpf
6e2247b7fe Handle ambiguous dates when importing data
Fixes #549
2020-04-14 14:24:25 +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
jmiverson
9eb42ee8a7 Updated Labels to Title Case (#578)
Some labels were using title case and others weren't.  Attempted to make it consistent across the board.
2020-04-11 12:45:08 +02:00
Adrian Kumpf
3d3863e17c Format code 2020-04-10 13:06:25 +02:00
Adrian Kumpf
4fdfc4d74e Upgrade bulma-tooltip 2020-04-10 13:02:08 +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
a457d17ffa Enable streaming for new users as well 2020-04-04 13:43:42 +02:00
Adrian Kumpf
3d13056bdf Publish elevation 2020-04-02 18:38:11 +02:00
Adrian Kumpf
a0bf12e264 Update translations 2020-04-02 17:56:29 +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
fdd11dcf8e Inform if an update is available 2020-04-02 16:36:28 +02:00
Adrian Kumpf
711c5e8813 Check for available updates 2020-04-02 16:35:12 +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
38893db700 Prevent that more than one request is made at the same time 2020-03-28 15:52:35 +01:00
Adrian Kumpf
c5176b60f9 Remove unused column 'power_avg' 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
2f8defff06 Add feature flag for the Streaming API 2020-03-28 15:48:37 +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
Adrian Kumpf
e357ebdd3b Insert position & check geofences at the end of a drive 2020-03-18 16:12:05 +01:00
Adrian Kumpf
c2f3bc5099 Fix tests 2020-03-17 14:45:05 +01:00
Adrian Kumpf
267cef3388 Add odometer to the summary page
Closes #508
2020-03-17 14:34:24 +01:00
Adrian Kumpf
1e86761314 Update the tests so that 'rated' is used by default
Follow-up of 9994d77
2020-03-11 15:36:08 +01:00
Adrian Kumpf
b76b2d2cfa Add option to calculate charging costs retroactively
Closes #442
2020-03-11 15:11:13 +01:00
Adrian Kumpf
14a5acf7cb Allow to enter total cost or cost per KWh used
Closes #457
2020-03-11 15:11:13 +01:00
Adrian Kumpf
85eb9307e2 Indicate if any of the doors are open 2020-03-11 14:38:47 +01:00
Adrian Kumpf
86a6bee239 Add support for session fees
Closes #455
2020-03-09 12:56:11 +01:00
Adrian Kumpf
6d4213cb0d Always publish :trim_badging 2020-03-02 13:04:42 +01:00
Adrian Kumpf
35b623e28f Store more vehicle config attributes
Closes #468
2020-03-02 12:42:05 +01:00
Adrian Kumpf
c0d1eefe44 Use the maximum kWh to calculate the charge cost
Closes #432
2020-03-02 10:59:23 +01:00