Commit Graph

589 Commits

Author SHA1 Message Date
Adrian Kumpf
477b88acde Persists tokens after auto refresh 2019-08-01 20:01:44 +02:00
Adrian Kumpf
7f5226d86d Convert to imperial measurements 2019-07-31 22:29:14 +02:00
Adrian Kumpf
54a3537a73 Fix warnings 2019-07-31 21:55:13 +02:00
Adrian Kumpf
3fee27058e Create settings view 2019-07-31 21:45:55 +02:00
Adrian Kumpf
0fecc5eb7e Test TeslaMate.Api 2019-07-31 17:40:15 +02:00
Adrian Kumpf
7e5d62cbd8 Add sign in view 2019-07-31 17:40:15 +02:00
Adrian Kumpf
b6fd6d0d32 Persist API tokens 2019-07-31 17:40:15 +02:00
Adrian Kumpf
e440fac97d Show version on web UI
Resolves #65
2019-07-30 12:07:26 +02:00
Adrian Kumpf
9cab49a3cc Log :car_id 2019-07-30 12:07:26 +02:00
Adrian Kumpf
67c113500b Fix efficiency calculation
Fixes #61
2019-07-29 20:51:42 +02:00
Adrian Kumpf
f8c6e3fa41 Upgrade Phoenix LiveView 2019-07-27 12:29:14 +02:00
Adrian Kumpf
b8bd368c47 Replace node-sass with sass to speed up compilation 2019-07-26 19:14:11 +02:00
Adrian Kumpf
93cce4d4da Set unique :id to support multiple vehicles 2019-07-26 18:47:34 +02:00
Adrian Kumpf
ba2dc6eec1 Start the Endpoint after loading vehicles 2019-07-23 19:42:26 +02:00
Adrian Kumpf
3489aeb3ea Add default values to some config parameters 2019-07-23 19:41:00 +02:00
Adrian Kumpf
ee1d59fbe1 Simplify release tasks 2019-07-21 17:08:09 +02:00
Adrian Kumpf
ee82b4f734 Add feature flags for MQTT and Logging 2019-07-21 17:06:57 +02:00
Adrian Kumpf
a783b11f8c Delete canceled updates 2019-06-19 22:57:30 +02:00
Adrian Kumpf
e85623ae80 Handle :asleep events in online state 2019-06-16 19:54:12 +02:00
Adrian Kumpf
ec27a9c3b2 Correctly name range fields 2019-05-25 15:07:27 +02:00
Adrian Kumpf
bb8623bc4c Broadcast state changes if vehicle is idling 2019-05-10 23:10:39 +02:00
Adrian Kumpf
b2bc0047a4 Save :last_response before suspending 2019-05-08 15:13:35 +02:00
Adrian Kumpf
de2f4ab024 Increase polling frequency when receiving :resume_logging 2019-04-30 10:55:17 +02:00
Adrian Kumpf
042172f3a3 Adjust polling intervals 2019-04-26 22:58:37 +02:00
Adrian Kumpf
295c9e9c71 Report distance & duration to be 0 for short trips
Even though those are deleted distance and duration are logged and it
should be consistent.
2019-04-26 22:43:24 +02:00
Adrian Kumpf
bfc29f8bef Log minutes until suspending 2019-04-25 21:19:54 +02:00
Adrian Kumpf
72dabac817 Prevent suspending if vehicle is unlocked 2019-04-24 17:19:37 +02:00
Adrian Kumpf
afc1e35a5c Use custom LiveViewSocket to change the log level 2019-04-24 17:02:04 +02:00
Adrian Kumpf
6eb5bebde9 Add :sentry_mode to Summary 2019-04-23 14:47:47 +02:00
Adrian Kumpf
beca5a76d9 Don't suspend if sentry mode is active 2019-04-22 21:35:36 +02:00
Adrian Kumpf
6def8514e9 Use naive way to get in nested structs 2019-04-22 19:29:35 +02:00
Adrian Kumpf
1a61943865 Set telegram backend log level to :error 2019-04-20 20:32:06 +02:00
Adrian Kumpf
744042ea84 Add :locked to Summary 2019-04-17 22:54:47 +02:00
Adrian Kumpf
67aec64170 Handle :drive_state being nil when driving
Yes, this actually happened ...
2019-04-17 19:57:36 +02:00
Adrian Kumpf
cde54d305d Reduce polling interval if API returns unkown errors 2019-04-15 23:11:10 +02:00
Adrian Kumpf
91aa7cd01e Record address of charging station 2019-04-15 22:01:41 +02:00
Adrian Kumpf
01717973ab Round milliseconds 2019-04-15 20:29:48 +02:00
Adrian Kumpf
0e7f37c991 Lookup start & end addresses when closing a trip 2019-04-15 17:23:38 +02:00
Adrian Kumpf
8876f762c1 Add Addresses 2019-04-15 15:27:36 +02:00
Adrian Kumpf
0502dd7602 Reduce polling interval when driving 2019-04-15 14:05:51 +02:00
Adrian Kumpf
92818bc785 Record additional battery heater fields 2019-04-15 13:55:59 +02:00
Adrian Kumpf
0e50a56f76 Include temperatures in Summary 2019-04-15 13:44:20 +02:00
Adrian Kumpf
129adf17a2 Start charging if charging_state is "Starting" 2019-04-15 13:32:48 +02:00
Adrian Kumpf
e038415e3d Record inside temperature 2019-04-15 13:32:48 +02:00
Adrian Kumpf
30c4183a52 Don't publish nil values via MQTT 2019-04-15 13:32:48 +02:00
Adrian Kumpf
bdf067784a Publish summaries via MQTT 2019-04-14 17:41:51 +02:00
Adrian Kumpf
91c32bcf91 Add German translations 2019-04-14 17:41:51 +02:00
Adrian Kumpf
426d4d28fe Publish Summary struct via PubSub 2019-04-14 15:53:22 +02:00
Adrian Kumpf
d522db99d0 Use internal ids to resumve / suspend logging 2019-04-13 19:46:48 +02:00
Adrian Kumpf
8403fd444a End trip if shift state is "P" 2019-04-13 19:38:30 +02:00