PaulKennett / LeafRange

A better range "guess-o-meter" for early Nissan Leaf cars

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Possible improvements

klasrocket opened this issue · comments

Hi.

Got inspired by your project and started puting toghether something that could also work for 2018+ 40KWh leafs, as I own an old 2012 but borrows a 2018 sometimes for longer trips.
I had the idea to use esp32 instead of arduino for a few reasons, ie. being able to share SoC readings with other services wirelessly, maybe home assistant and/or a better route planner, also esp32 require fewer components, as it's 3.3v and has can-controller built in.
Got it working fairly well at the old leaf but just realized that the newer leafs need polling on the canbus to get anything out at all. Trying to get that working now with help of dalas repo and links: https://github.com/dalathegreat/leaf_can_bus_messages

I've been thinking about jumping to esp32 also. And I've been borrowing a 30kWh Leafs from time to time. Keen to see what you come up with.

Another thing that might be useful with esp32 is the ability to use a browser on a phone or tablet instead of display, or in combination for more details.
Just managed to get the polling right to read back shifter position so at least some progress. Getting late here in sweden but will contiune a bit more the coming days. Hopefully I can get back with something useful in a bit.