Commit Graph
218 Commits
Author SHA1 Message Date
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 d9f0141ff4 handle no short_label in api response 2021-04-06 10:55:23 +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 70b655b686 print error 2021-04-03 10:08:13 +02:00
Florian Bezannier 00b343f5dd add opel corsa-e and add abrp name 2021-04-03 09:59:24 +02:00
Florian Bezannier 72ff63c05f fix charge control 2021-04-01 10:18:13 +02:00
Florian Bezannier 066153e834 add domoticz doc v2.0 2021-03-30 13:41:59 +02:00
Florian BEZANNIERandGitHub 6282f8ec6f Update README.md 2021-03-30 12:15:48 +02:00
Florian BEZANNIERandGitHub 7954c3b6d3 Merge pull request #55 from flobz/feature-hybrid_compatibility
Feature hybrid compatibility
2021-03-29 17:34:11 +02:00
Florian Bezannier 70fcd452f1 clean code 2021-03-29 16:34:16 +02:00
Florian Bezannier e173f13b4e handle decode error 2021-03-29 15:47:23 +02:00
Florian Bezannier c2ecbde3d0 fix stop hour not being updated 2021-03-25 23:21:00 +01:00
Florian Bezannier 2fa4a896dd refresh layout when new trips 2021-03-24 18:55:03 +01:00
Florian Bezannier 76dc0f396a handle charging_status when it's None 2021-03-24 18:34:45 +01:00
Florian BEZANNIERandGitHub b17fbb3f8b Merge pull request #52 from jlayec/fix-various
fix trip engine for hybrid cars + locale + get_vehicles url
2021-03-24 17:28:21 +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 32c7e548bc fix compat with python 3.7 2021-03-23 18:50:44 +01:00
Florian Bezannier bdad100739 add temperature graph 2021-03-23 18:45:43 +01:00
Florian Bezannier 36a8379817 keep the same device_id when create new_otp_session 2021-03-23 12:04:03 +01:00
Florian Bezannier dccfebc1d7 handle bad response from API 2021-03-23 11:53:19 +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 c231f7f866 consistent in return statements 2021-03-22 12:18:23 +01:00
Florian Bezannier 8bb528d92f fix get_temp() 2021-03-22 12:05:30 +01:00
Florian Bezannier 58851f40d6 add filename parameter to load otp config 2021-03-21 19:52:16 +01:00
Florian Bezannier ce5b05301a undo variable rename 2021-03-21 19:37:35 +01:00
Florian Bezannier c3adb194a3 code clean up and reduce algo complexity 2021-03-21 19:31:26 +01:00
Florian BEZANNIERandGitHub 25c61433b8 Merge pull request #51 from jlayec/fix-nolocation
fix when last_position is not available from api
2021-03-21 19:27:10 +01:00
jlayec 2225476583 fix positions url when coordinates are not available in a record 2021-03-20 22:04:36 +00:00
jlayec 7e89f9fd9c fix when last_position is not available from api 2021-03-20 21:24:36 +00:00
Florian BEZANNIERandGitHub ebc0188ba3 Add video 2021-03-15 20:01:07 +01:00
Florian Bezannier 206fe8e612 add fct to get car type 2021-03-15 19:56:39 +01:00
Florian Bezannier 992837c42c add charge_detection fct 2021-03-15 19:56:39 +01:00
Florian BEZANNIERandGitHub 24f2f54573 Merge pull request #46 from jlayec/add-chargetable
fix average consumption refresh in summary dashboard
2021-03-15 09:52:39 +01:00
Florian BEZANNIERandGitHub 582368fb23 remove comment 2021-03-15 09:51:22 +01:00
Florian BEZANNIERandGitHub 7219cfed04 Update bug_report.md 2021-03-15 08:16:39 +01:00
jlayec 795c1224d1 fix average consumption refresh in summary dashboard 2021-03-14 23:03:16 +00:00
Florian BEZANNIERandGitHub 7734fef22b Merge pull request #45 from jlayec/add-chargetable
add charge table to dashboard
2021-03-14 23:39:53 +01:00
jlayec b10275e23b add charge table in dashboard 2021-03-14 22:12:33 +00:00
Florian Bezannier 374faf5e5e clean up 2021-03-14 16:36:49 +01:00
Florian Bezannier 16c09b351c improve trips algo 2021-03-14 16:36:09 +01:00
Florian Bezannier d81422fbea code cleanup and otp proxy 2021-03-14 16:26:32 +01:00
Florian Bezannier d8a18a90b4 handle otp error and add add proxy 2021-03-14 16:24:59 +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
Florian Bezannier 72ad867958 set email and password with environment variable 2021-03-12 18:30:01 +01:00
Florian BEZANNIERandGitHub dd9ce1c875 Merge pull request #43 from jlayec/feature-hybrid_compatibility
update slider, DEBUGV for trip algo, fix without charge control
2021-03-11 21:52:53 +01:00
jlayec ac8e61415c update slider to have the last trip without server restart 2021-03-09 20:56:04 +00:00
jlayec ccc6549527 add log level DEBUGV 9 for trip algorithm and fix debug arg int 2021-03-09 20:38:18 +00:00