-
Notifications
You must be signed in to change notification settings - Fork 66
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
What does the value in batteryCapacity represent? #26
Comments
batteryCapacity
represent?batteryCapacity
represent?
batteryCapacity
represent?
I would assume this is the 12 bars, and then the degradation value is the number of bars left. |
That would make sense @BenWoodford, thanks for the answer! Any idea if there is a way to get the actual battery size or at least the range that can be traveled? |
Isn’t most of that in the response? |
Not really, I am talking about the actual battery capacity in watt-hs, "12 bars" doesn't really tell me anything regarding that, right? Unless I'm missing something. |
If you talk irectly to the Nissan servers, and request What does |
Thanks for all the help @BenWoodford!! :) I haven't been able to try it on a real car yet, just developing based on the APIs documented in different open source projects. I will try it out once I get to play around with a real car and will let you know if it works as you described. |
FWIW, here are some actual responses I get to the two endpoints here: BatteryStatusCheckResultRequest.php
BatteryStatusRecordsRequest.php
This is using regionCode "NE" from Ireland for a late 2015 Tekna |
It might be possible to determine the BatteryCapacity by looking at BatteryRemainingAmountWH. Perhaps a 24kWh doesn't return a BatteryRemainingAmountWH Later cars, I think after the initial 2016 24kWh Leaf, output the state-of-charge (SOC). SOC gives the battery and so that can be used to get an accurate battery calculation. Here's the output from my 30kWh Tekna (circa Nov 2017). BatteryStatusRecordsRequest.php
|
I'm trying to get the battery size from the APIs and the closest thing I found is the
batteryCapacity
, however, from what I saw, the value returned for that parameter is always 12, do you know what that number represents exactly?Thanks in advance for the response and for the great work documenting these APIs!!
The text was updated successfully, but these errors were encountered: