Skip to content

Commit

Permalink
V1.60.3
Browse files Browse the repository at this point in the history
  • Loading branch information
bassmaster187 committed Dec 10, 2024
1 parent 91ff9ae commit f0d12bc
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 2 deletions.
4 changes: 2 additions & 2 deletions TeslaLogger/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@
// Sie können alle Werte angeben oder Standardwerte für die Build- und Revisionsnummern verwenden,
// übernehmen, indem Sie "*" eingeben:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.60.2.0")]
[assembly: AssemblyFileVersion("1.60.2.0")]
[assembly: AssemblyVersion("1.60.3.0")]
[assembly: AssemblyFileVersion("1.60.3.0")]

[assembly: InternalsVisibleTo("UnitTestsTeslaloggerNET8")]
[assembly: InternalsVisibleTo("UnitTestsTeslalogger")]
5 changes: 5 additions & 0 deletions TeslaLogger/TelemetryConnection.cs
Original file line number Diff line number Diff line change
Expand Up @@ -693,6 +693,11 @@ private void handleLoginResponse(dynamic j)
{
Thread.Sleep(10 * 60 * 1000);
}
else if (response.ToString().Contains("token expired"))
{
Log("Login Error: token expired!");
car.webhelper.GetToken();
}
}
}
catch (Exception ex)
Expand Down
7 changes: 7 additions & 0 deletions TeslaLogger/WebHelper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4860,6 +4860,13 @@ internal async Task<double> GetOdometerAsync()

public async Task<string> GetCommand(string cmd, bool noMemcache = false)
{
if (car.FleetAPI)
{
Log("*** FleetAPI no Datacalls allowed! ***");
return "";
}


string resultContent = "";
try
{
Expand Down
Binary file modified TeslaLogger/bin/TeslaLogger.exe
Binary file not shown.
3 changes: 3 additions & 0 deletions TeslaLogger/bin/changelog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Version 1.60.3
- don't use data commands at all for fleet api cars

# Version 1.60.2
- don't use nearby_charging_sites anymore in fleet api because it is a paid feature

Expand Down

0 comments on commit f0d12bc

Please sign in to comment.