yp87 / leaf2mqtt

Pull in data from the Nissan Connect platform for the LEAF and publish over MQTT
GNU General Public License v3.0
42 stars 39 forks source link

reported total capacity of the battery #59

Open Happyboy0980 opened 1 year ago

Happyboy0980 commented 1 year ago

Describe the bug Reported total capacity of the battery is not correct. At my 40kWh leaf it is reported as 240.00, I would assume this is in Kwh.. but also in Ah it is way off...

LEAF_TYPE Nissan Leaf 40kWh "Zero-edition"

Expected behavior To see the correct value..

apbarratt commented 1 year ago

Curious. My 24kWh reports a total capacity of "12". Which I've assumed is meant to match the 12-part charge indicator on the app. I've come to accept that nothing coming out of these Nissan APIs makes much sense.