Repository navigation
Replies: 4 comments 3 replies
|
I've asked the same question and didn't get an answer. This is what I found out and using. This is based on standard errors with a few modification for Tesla |
1 reply
|
Here are the values I have already seen for that field.
I have the same for all other fields if someone wants to create the
documentation...
case "charge_state.charging_state":
return ![ null, // Unavailable
"Disconnected", // Disconnected
"NoPower", // Connected, no power
"Starting", // Connected, starting charge
"Charging", // Connected, charging
"Stopped", // Connected, charge stopped
"Complete", // Connected, charge complete
].includes(d.after)
Le mer. 30 mars 2022 à 22:33, Panda88CO ***@***.***> a écrit :
… Thanks
That helps
I was actually looking for possible return values of a given parameter
returned by the API. I need to translate the returned string to a number to
allow it to integrate in a different platform
E.g. from charging state:
"response": {
"battery_heater_on": false,
. . . . . .
"charger_power": 0,
"charger_voltage": 0,
*"charging_state": "Complete",*
"conn_charge_cable": "SAE",
"est_battery_range": 171.24,
What other values than *Complete* exists??
Is that documented somewhere?
—
Reply to this email directly, view it on GitHub
<#554 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ADUNWNN6LF4VWB6OMMYQRCDVCS3AXANCNFSM5RY6FQOQ>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
2 replies
|
thanks
Christian Olgaard
…________________________________
From: SylvainGa ***@***.***>
Sent: Wednesday, March 30, 2022 2:38:25 PM
To: timdorr/tesla-api ***@***.***>
Cc: Panda88CO ***@***.***>; Author ***@***.***>
Subject: Re: [timdorr/tesla-api] Are the possible return values of the API calls documented somewhere? (Discussion #554)
Oh, sorry. I should have read better :) This was posted already in #207<#207>
#207<#207>
—
Reply to this email directly, view it on GitHub<#554 (reply in thread)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/APQ7ECUPJMVRVXMMF2BHW4TVCTCVDANCNFSM5RY6FQOQ>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
0 replies
|
Here is my NodeRed node that is in charge of detecting any change in vehicleData command response. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hi
I have a need to map possible return values from a returned API parameter into integer values. E.,g. what are the possible return values that can occur for a car's charging state? Is it documented somewhere? If not it would be a great document to have :-)
Thanks
All reactions