Commit Graph
57 Commits
Author SHA1 Message Date
Florian Bezannier 40a7f20d72 code clean 2021-04-21 11:44:46 +02:00
Florian Bezannier 98baca6601 add charge price 2021-04-20 11:10:52 +02:00
Florian Bezannier 42411d8818 change message to debug 2021-04-18 14:17:50 +02:00
Florian Bezannier 25236854c5 check len of trips 2021-04-15 14:31:48 +02:00
Florian BEZANNIERandGitHub 25b86c0149 Feature abrp (#79)
* add ABRP connection

* update doc

* fix get_last_temp()

* add image

* update abrp

* fix abrpname

* fix no last postition

* add type point

* find model by vin

* add Spacetourer

* fix indent
2021-04-13 12:48:37 +02:00
Florian Bezannier a814c6ec34 remove unused import 2021-04-06 17:31:56 +02:00
ed6e942908 Prevent division by zero during calculation of co2_per_kw (#68)
* Prevent division by zero during calculation of co2_per_kw

Co-authored-by: Florian BEZANNIER <48728684+flobz@users.noreply.github.com>
2021-04-06 11:07:30 +02:00
Florian Bezannier f7353e3139 fix #70 name error when no trips 2021-04-06 09:33:11 +02:00
MaxandGitHub 84c798385f save config for defined file (#64)
* save config for defined file

* don't call save_config with unset config_name
2021-04-03 23:40:20 +02:00
Florian Bezannier 2fa4a896dd refresh layout when new trips 2021-03-24 18:55:03 +01:00
jlayec 7d6e3df705 fix trip engine for hybrid cars + locale + get_vehicles url 2021-03-23 23:19:37 +00:00
Florian Bezannier dd73ff468b fix compat with python 3.7 v2 2021-03-23 18:52:20 +01:00
Florian Bezannier bdad100739 add temperature graph 2021-03-23 18:45:43 +01:00
Florian Bezannier 7d9fb8c6fa format date depending of server localization and disable sorting because only compatible with English format 2021-03-22 20:06:23 +01:00
Florian Bezannier c3adb194a3 code clean up and reduce algo complexity 2021-03-21 19:31:26 +01:00
jlayec 7e89f9fd9c fix when last_position is not available from api 2021-03-20 21:24:36 +00:00
Florian BEZANNIERandGitHub 582368fb23 remove comment 2021-03-15 09:51:22 +01:00
jlayec 795c1224d1 fix average consumption refresh in summary dashboard 2021-03-14 23:03:16 +00:00
jlayec b10275e23b add charge table in dashboard 2021-03-14 22:12:33 +00:00
Florian Bezannier 16c09b351c improve trips algo 2021-03-14 16:36:09 +01:00
Florian Bezannier cefc614ad0 fix compat with python3.7 2021-03-14 12:20:36 +01:00
Florian Bezannier e889b80841 code clean up 2021-03-12 19:03:39 +01:00
jlayec ac8e61415c update slider to have the last trip without server restart 2021-03-09 20:56:04 +00:00
jlayec eb8f5c8a55 fix execution without charge control 2021-03-09 20:29:33 +00:00
Florian Bezannier 3201d26317 code cleanup with prospector 2021-03-08 18:57:13 +01:00
jlayec ed5b33ed23 fix units 2021-03-06 18:46:36 +00:00
jlayec 2a20444077 Merge branch 'master' into feature-hybrid_compatibility 2021-03-06 17:38:16 +00:00
Florian Bezannier 3ebc48903a WHIP handle hybrid car 2021-03-05 21:01:40 +01:00
jlayec 5d80f8c275 handle battery and fuel capacity properly for hybrid cars 2021-02-24 01:13:26 +00:00
jlayec 184cb3a0c7 update trip algorithm for hybrid cars 2021-02-24 01:02:36 +00:00
jlayec 78ce126211 trip update for hybrid cars 2021-02-12 22:56:28 +00:00
jlayec d00f23f178 avoid fuel level 0 for hybrid cars + fix empty battery table 2021-02-10 21:55:06 +00:00
Romain Fafet 4458df212e fix case when there is no altitude 2021-02-09 00:34:03 +01:00
jlayec fbc094f6ed first evolution to manage hybrid cars 2021-02-07 20:48:15 +00:00
Romain Fafet 9e3f708d36 fix Value Error for position/ 2021-02-07 16:37:43 +01:00
Florian Bezannier 52d2850fe9 handle empty database 2021-01-29 11:21:22 +01:00
Florian Bezannier cb6ae3fca7 DispatcherMiddleware compatibility with old version 2021-01-27 23:01:41 +01:00
Florian Bezannier a1ffa72f6c update dashboard, add consumption vs temperature 2021-01-27 22:54:02 +01:00
Florian Bezannier 4c55479ae2 fix typerror 2020-12-31 01:05:06 +01:00
Florian Bezannier f2022c9561 fix ZeroDivisionError 2020-12-31 00:58:02 +01:00
Florian Bezannier ed3ee579b9 update api, update battery record 2020-12-31 00:26:33 +01:00
Florian Bezannier 25368293ca fix save charge control config 2020-12-26 12:40:11 +01:00
Florian Bezannier e401754d8e add trips var 2020-12-24 10:15:27 +01:00
Florian Bezannier 589211eb96 try new method to update_trips v2 2020-12-24 10:14:09 +01:00
Florian Bezannier 13e6d4ec3d try new method to update_trips 2020-12-23 16:50:43 +01:00
Florian Bezannier 048477e692 disable reload to allow debug in thread 2020-12-23 15:41:00 +01:00
Florian Bezannier 2e6e198419 fix saveconfig, add log info, handle exeption in app_decoder 2020-12-23 14:47:54 +01:00
Florian Bezannier cac194e11c add fct get_db 2020-12-23 10:44:35 +01:00
Florian Bezannier 3b50ecf4bb fix trigger 2020-12-23 10:26:01 +01:00
Florian Bezannier b83fccda82 fix circular import 2020-12-23 10:15:33 +01:00