73 Commits
Author SHA1 Message Date
Florian Bezannier 76dc0f396a handle charging_status when it's None 2021-03-24 18:34:45 +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 8bb528d92f fix get_temp() 2021-03-22 12:05:30 +01:00
Florian Bezannier c3adb194a3 code clean up and reduce algo complexity 2021-03-21 19:31:26 +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 Bezannier d81422fbea code cleanup and otp proxy 2021-03-14 16:26:32 +01:00
Florian Bezannier d27c63b17c improve automatic refresh to avoid redundancy 2021-03-08 20:21:21 +01:00
Florian BEZANNIERandGitHub 34b90590b9 Merge pull request #41 from jlayec/update-refresh-official
add automatic refresh
2021-03-08 19:05:21 +01:00
Florian Bezannier 3201d26317 code cleanup with prospector 2021-03-08 18:57:13 +01:00
jlayec a535e51298 add automatic refresh 2021-03-07 19:14:41 +00:00
jlayec 2a20444077 Merge branch 'master' into feature-hybrid_compatibility 2021-03-06 17:38:16 +00:00
Florian Bezannier ba65d48d10 handle preconditioning programs 2021-03-06 17:31:34 +01:00
Florian Bezannier 5cac905cfd handle error in get_charge_hour 2021-03-06 16:53:15 +01:00
jlayec 7c62d5f6eb fix realm to get otp 2021-03-06 07:58:43 +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
Florian BEZANNIERandGitHub f28f390a74 Merge pull request #26 from jlayec/master
first step to manage hybrid cars
2021-02-22 15:35:59 +01:00
jlayec 0cace91995 fix get_recorded_position() and add level_fuel for hybrid cars 2021-02-13 11:49:21 +00:00
jlayec a9f1fa482d small fix level_fuel 0 for hyrbrid cars 2021-02-13 10:52:11 +00:00
jlayec 87a9c787b9 fix trip update for electric cars after modifications for hybrid cars 2021-02-13 01:01:52 +00:00
jlayec 78ce126211 trip update for hybrid cars 2021-02-12 22:56:28 +00:00
jlayec 37cf1b2216 fix mqtt return_code 300 2021-02-11 13:16:04 +00:00
jlayec 7e9f2e3237 add get_energy() method to class Energy for hybrid cars 2021-02-11 00:37:35 +00:00
jlayec d00f23f178 avoid fuel level 0 for hybrid cars + fix empty battery table 2021-02-10 21:55:06 +00:00
Florian Bezannier 3f0374210d add VehicleState topic for detectiong charging car v3 2021-02-08 00:26:34 +01:00
Florian Bezannier e807a22bbf add VehicleState topic for detectiong charging car v2 2021-02-08 00:14:45 +01:00
Florian Bezannier 3569a4b1b6 add VehicleState topic for detectiong charging car 2021-02-08 00:10:40 +01:00
jlayec 1b4dd7ccf9 fix in case only one energy 2021-02-07 21:30:29 +00:00
jlayec fbc094f6ed first evolution to manage hybrid cars 2021-02-07 20:48:15 +00:00
Florian Bezannier 105bb55d79 fix mqtt client not instanced 2021-02-05 22:33:04 +01:00
Florian Bezannier da39f3a243 fix reconnection 2021-02-04 09:57:41 +01:00
Florian Bezannier bcab63d77e add get state 2021-02-01 12:31:17 +01:00
Florian Bezannier 523631f683 fix subscribe topic 2021-02-01 11:56:47 +01:00
Florian Bezannier d1081b73b3 add rate limit to getOtpCode 2021-01-29 11:57:42 +01:00
Florian Bezannier 52d2850fe9 handle empty database 2021-01-29 11:21:22 +01:00
Florian Bezannier 9031ef2591 comment debug info 2021-01-28 14:53:31 +01:00
Florian Bezannier f169253ec6 fix weather api 2021-01-28 14:36:38 +01:00
Florian Bezannier 14bd160e2a fix sql request 2021-01-27 23:35:13 +01:00
Florian Bezannier c214c2e34d add strong authentification 2021-01-27 22:56:46 +01:00
Florian Bezannier a1ffa72f6c update dashboard, add consumption vs temperature 2021-01-27 22:54:02 +01:00
Florian Bezannier 621f41690b fix expiration of token 2021-01-05 14:52:45 +01:00
Florian Bezannier 4bae281a9d fix ecomix 2021-01-05 14:40:39 +01:00
Florian Bezannier dd34eaa860 fix sql command 2021-01-05 14:18:38 +01:00
Florian Bezannier ed3ee579b9 update api, update battery record 2020-12-31 00:26:33 +01:00
Florian Bezannier f501d67ed6 work in progress battery monitor 2020-12-26 12:44:32 +01:00