Skip to content
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

Charging Session missing in Timeline Plugin and Charging History #1441

Open
Ventusfahrer opened this issue Jan 6, 2025 · 0 comments
Open
Labels
bug Something isn't working

Comments

@Ventusfahrer
Copy link

logfile.zip
** Append Logfile **

Describe the bug

There was a charging session between these two drives, where 41,1 kWh were charged to the car.

image

This charging event is missing in the Timeline Plugin as well as in the Charge History:

image

Just in the moment the charging activity starts teslalogger was updated

05.01.2025 18:48:07 charge begin and update begin
05.01.2025 18:47:45 : #1[Thread Pool Worker:33]: *** FT: Telemetry Server Alerts
05.01.2025 18:47:47 : #1[Thread Pool Worker:8]: *** FT: { "data": [ { "key": "Odometer", "value": { "stringValue": "9912.37346254076" } } ], "createdAt": "2025-01-05T17:47:47.611046039Z", "vin": "LRW3E7FS3RC956467" }
05.01.2025 18:47:56 : #1[Thread Pool Worker:19]: *** FT: { "data": [ { "key": "PackCurrent", "value": { "stringValue": "-1.4000000208616257" } }, { "key": "Soc", "value": { "stringValue": "15.85195530726257" } }, { "key": "RatedRange", "value": { "stringValue": "41.08597193233568" } }, { "key": "IdealBatteryRange", "value": { "stringValue": "41.08597193233568" } } ], "createdAt": "2025-01-05T17:47:56.111019029Z", "vin": "LRW3E7FS3RC956467" }
05.01.2025 18:47:59 : #1[Thread Pool Worker:29]: *** FT: Telemetry Server Alerts
05.01.2025 18:48:00 : #1[Thread Pool Worker:29]: *** FT: { "data": [ { "key": "DoorState", "value": { "stringValue": "TrunkRear" } } ], "createdAt": "2025-01-05T17:48:00.611188803Z", "vin": "LRW3E7FS3RC956467" }
05.01.2025 18:48:00 : #1[Thread Pool Worker:29]: *** FT: XXXX DoorState:TrunkRear
05.01.2025 18:48:07 : #1[Thread Pool Worker:19]: *** FT: { "data": [ { "key": "DCChargingEnergyIn", "value": { "stringValue": "0" } }, { "key": "ACChargingEnergyIn", "value": { "stringValue": "0" } } ], "createdAt": "2025-01-05T17:48:07.610443116Z", "vin": "LRW3E7FS3RC956467" }
05.01.2025 18:48:07 : #1[Thread Pool Worker:19]: *** FT: charge_energy_added: 
05.01.2025 18:48:08 : #1[Thread Pool Worker:29]: *** FT: { "data": [ { "key": "ChargeState", "value": { "stringValue": "ClearFaults" } } ], "createdAt": "2025-01-05T17:48:08.611167909Z", "vin": "LRW3E7FS3RC956467" }
05.01.2025 18:48:08 : #1[Thread Pool Worker:29]: *** FT: ChargeState ClearFaults
05.01.2025 18:48:08 : #1[Thread Pool Worker:29]: *** FT: unknown ChargeState: ClearFaults
05.01.2025 18:48:19 : Checking TeslaLogger online update (current version: 1.62.7.0) ...
05.01.2025 18:48:19 : ---------------------------------------------
05.01.2025 18:48:19 :  *** New Version Detected *** 
05.01.2025 18:48:19 : Current Version: 1.62.7.0
05.01.2025 18:48:19 : Online Version: 1.62.8.0
05.01.2025 18:48:19 : Start update!
05.01.2025 18:48:19 :   Docker detected!
05.01.2025 18:48:20 : #1[Thread Pool Worker:286]: *** FT: { "data": [ { "key": "DoorState", "value": { "stringValue": "" } } ], "createdAt": "2025-01-05T17:48:20.610817861Z", "vin": "LRW3E7FS3RC956467" }
05.01.2025 18:48:20 : #1[Thread Pool Worker:286]: *** FT: XXXX DoorState:
05.01.2025 18:48:23 : #1[Thread Pool Worker:6]: *** FT: { "data": [ { "key": "ChargeState", "value": { "stringValue": "Idle" } } ], "createdAt": "2025-01-05T17:48:23.610536316Z", "vin": "LRW3E7FS3RC956467" }
05.01.2025 18:48:23 : #1[Thread Pool Worker:6]: *** FT: ChargeState Idle
05.01.2025 18:48:23 : Update Request!
05.01.2025 18:48:23 : Restart Request!

The logfiles continues with charging events about 40 seconds later

05.01.2025 18:49:07
05.01.2025 18:49:00 : #1[Car_1:17]: Meter Status: IsCharging: False / Vehicle Meter: 333.8 kWh / Utility Meter: NaN kWh / Session Price: NaN / Class: ElectricityMeterGoE / Version: 57.1
05.01.2025 18:49:00 : #1[Car_1:17]: *** FT: Telemetry Server start connection
05.01.2025 18:49:00 : #1[:22]: GetChargingHistoryV2Service initializing ...
05.01.2025 18:49:00 : #1[Car_1:17]: ScanMyTesla FastMode: False
05.01.2025 18:49:00 : #1[Car_1:17]: CloseDriveState EndDate: 2025-01-05 18:48:54
05.01.2025 18:49:01 : Reverse geocoding by GeocodeCache
05.01.2025 18:49:01 : #1[Car_1:17]: UpdatePosFromCurrentJSON 420152 - affected: 0
05.01.2025 18:49:01 : #1[Car_1:17]: change TeslaLogger state: Start -> Sleep
05.01.2025 18:49:01 : Reverse geocoding by GeocodeCache
05.01.2025 18:49:01 : #1[Car_1:17]: UpdatePosFromCurrentJSON 420152 - affected: 0
05.01.2025 18:49:01 : #1[Car_1:17]: state: asleep
05.01.2025 18:49:01 : #1[:21]: *** FT: Connect to Telemetry Server
05.01.2025 18:49:02 : #1[:21]: *** FT: Login to Telemetry Server
05.01.2025 18:49:02 : #1[Thread Pool Worker:23]: *** FT: Config Already Sent: paid
05.01.2025 18:49:02 : #1[Thread Pool Worker:6]: *** FT: { "data": [ { "key": "RatedRange", "value": { "stringValue": "41.176469667869455" } }, { "key": "IdealBatteryRange", "value": { "stringValue": "41.176469667869455" } }, { "key": "Soc", "value": { "stringValue": "15.886871508379889" } }, { "key": "DCChargingEnergyIn", "value": { "stringValue": "0.019999999552965164" } } ], "createdAt": "2025-01-05T17:49:02.610457491Z", "vin": "LRW3E7FS3RC956467" }
05.01.2025 18:49:02 : #1[Thread Pool Worker:6]: *** FT: Car Online!
05.01.2025 18:49:02 : #1[Car_1:17]: skip sleep because of telemetry is online
05.01.2025 18:49:02 : #1[Car_1:17]: change TeslaLogger state: Sleep -> Start
05.01.2025 18:49:02 : #1[Car_1:17]: ScanMyTesla FastMode: False
05.01.2025 18:49:02 : #1[Car_1:17]: CloseDriveState EndDate: 2025-01-05 18:48:54
05.01.2025 18:49:02 : Reverse geocoding by GeocodeCache
05.01.2025 18:49:02 : #1[Car_1:17]: UpdatePosFromCurrentJSON 420152 - affected: 0
05.01.2025 18:49:02 : #1[Car_1:17]: change TeslaLogger state: Start -> Online
05.01.2025 18:49:02 : Reverse geocoding by GeocodeCache
05.01.2025 18:49:02 : #1[Car_1:17]: UpdatePosFromCurrentJSON 420152 - affected: 0
05.01.2025 18:49:02 : #1[Car_1:17]: state: online
05.01.2025 18:49:05 : #1[:22]: GetChargingHistoryV2Service initialized
05.01.2025 18:49:05 : #1[Thread Pool Worker:6]: *** FT: { "data": [ { "key": "Location", "value": { "locationValue": { "latitude": 49.707283, "longitude": 8.647129 } } } ], "createdAt": "2025-01-05T17:49:05.610541707Z", "vin": "LRW3E7FS3RC956467" }
05.01.2025 18:49:05 : #1[Thread Pool Worker:6]: *** FT: Insert Location
05.01.2025 18:49:07 : #1[Thread Pool Worker:5]: *** FT: { "data": [ { "key": "ACChargingEnergyIn", "value": { "stringValue": "0.04566666734715304" } } ], "createdAt": "2025-01-05T17:49:07.611011153Z", "vin": "LRW3E7FS3RC956467" }
05.01.2025 18:49:07 : #1[Thread Pool Worker:5]: *** FT: charge_energy_added: 
05.01.2025 18:49:16 : #1[Thread Pool Worker:9]: *** FT: { "data": [ { "key": "TpmsPressureRr", "value": { "stringValue": "2.7750000413507223" } } ], "createdAt": "2025-01-05T17:49:16.610994137Z", "vin": "LRW3E7FS3RC956467" }

The charging session continues and is documented in the logfile until it stops at

Charging ends at 05.01.2025 22:29:08
05.01.2025 22:29:08 : #1[Thread Pool Worker:5]: *** FT: { "data": [ { "key": "ACChargingEnergyIn", "value": { "stringValue": "40.594389493789386" } } ], "createdAt": "2025-01-05T21:29:08.111047423Z", "vin": "LRW3E7FS3RC956467" }
05.01.2025 22:29:42 : #1[Thread Pool Worker:6]: *** FT: { "data": [ { "key": "NumBrickVoltageMax", "value": { "stringValue": "45" } } ], "createdAt": "2025-01-05T21:29:42.611025082Z", "vin": "LRW3E7FS3RC956467" }
05.01.2025 22:29:56 : #1[Thread Pool Worker:33]: *** FT: { "data": [ { "key": "PackCurrent", "value": { "stringValue": "-0.4000000059604645" } } ], "createdAt": "2025-01-05T21:29:56.110948286Z", "vin": "LRW3E7FS3RC956467" }
05.01.2025 22:30:24 : TeslaLogger process statistics
Thread count:                  28
WorkingSet64:           121274368
PeakWorkingSet64:       130240512
PrivateMemorySize64:    188862464
VirtualMemorySize64:   1922859008
StartTime: 1/5/2025 6:48:52 PM
Database sizes: DB teslalogger
  table pos has 66mb
  table charging has 7mb
  table battery has 4mb
  table TPMS has 2mb
  table superchargerstate has 2mb
  table drivestate has 1mb

05.01.2025 22:30:34 : #1[Thread Pool Worker:33]: *** FT: { "data": [ { "key": "BrickVoltageMax", "value": { "stringValue": "3.3520001592114568" } } ], "createdAt": "2025-01-05T21:30:34.610918100Z", "vin": "LRW3E7FS3RC956467" }
05.01.2025 22:30:40 : #1[Thread Pool Worker:6]: *** FT: { "data": [ { "key": "Soc", "value": { "stringValue": "84.90896358543417" } }, { "key": "DCChargingEnergyIn", "value": { "stringValue": "39.41999911889434" } }, { "key": "RatedRange", "value": { "stringValue": "219.45700866941414" } }, { "key": "IdealBatteryRange", "value": { "stringValue": "219.45700866941414" } } ], "createdAt": "2025-01-05T21:30:40.610757750Z", "vin": "LRW3E7FS3RC956467" }
05.01.2025 22:30:56 : #1[Thread Pool Worker:33]: *** FT: { "data": [ { "key": "PackCurrent", "value": { "stringValue": "-0.5000000074505806" } } ], "createdAt": "2025-01-05T21:30:56.110708589Z", "vin": "LRW3E7FS3RC956467" }
05.01.2025 22:31:56 : #1[Thread Pool Worker:6]: *** FT: { "data": [ { "key": "PackCurrent", "value": { "stringValue": "-0.4000000059604645" } } ], "createdAt": "2025-01-05T21:31:56.111251205Z", "vin": "LRW3E7FS3RC956467" }
05.01.2025 22:32:56 : #1[Thread Pool Worker:9]: *** FT: { "data": [ { "key": "PackCurrent", "value": { "stringValue": "-0.4000000059604645" } } ], "createdAt": "2025-01-05T21:32:56.111257212Z", "vin": "LRW3E7FS3RC956467" }
05.01.2025 22:33:56 : #1[Thread Pool Worker:141]: *** FT: { "data": [ { "key": "PackCurrent", "value": { "stringValue": "-0.4000000059604645" } } ], "createdAt": "2025-01-05T21:33:56.111274114Z", "vin": "LRW3E7FS3RC956467" }
05.01.2025 22:34:00 : #1[Thread Pool Worker:8]: *** FT: { "data": [ { "key": "NumBrickVoltageMin", "value": { "stringValue": "61" } } ], "createdAt": "2025-01-05T21:34:00.611247745Z", "vin": "LRW3E7FS3RC956467" }
05.01.2025 22:34:10 : #1[Thread Pool Worker:33]: *** FT: { "data": [ { "key": "BrickVoltageMin", "value": { "stringValue": "3.344000158831477" } } ], "createdAt": "2025-01-05T21:34:10.611189997Z", "vin": "LRW3E7FS3RC956467" }
05.01.2025 22:34:56 : #1[Thread Pool Worker:5]: *** FT: { "data": [ { "key": "PackCurrent", "value": { "stringValue": "-0.4000000059604645" } } ], "createdAt": "2025-01-05T21:34:56.111273648Z", "vin": "LRW3E7FS3RC956467" }
05.01.2025 22:35:42 : #1[Thread Pool Worker:141]: *** FT: { "data": [ { "key": "NumBrickVoltageMax", "value": { "stringValue": "53" } } ], "createdAt": "2025-01-05T21:35:42.610440589Z", "vin": "LRW3E7FS3RC956467" }
05.01.2025 22:35:56 : #1[Thread Pool Worker:9]: *** FT: { "data": [ { "key": "PackCurrent", "value": { "stringValue": "-0.4000000059604645" } } ], "createdAt": "2025-01-05T21:35:56.110529361Z", "vin": "LRW3E7FS3RC956467" }
05.01.2025 22:36:34 : #1[Thread Pool Worker:5]: *** FT: { "data": [ { "key": "BrickVoltageMax", "value": { "stringValue": "3.344000158831477" } } ], "createdAt": "2025-01-05T21:36:34.610422444Z", "vin": "LRW3E7FS3RC956467" }
05.01.2025 22:36:56 : #1[Thread Pool Worker:8]: *** FT: { "data": [ { "key": "PackCurrent", "value": { "stringValue": "-0.5000000074505806" } } ], "createdAt": "2025-01-05T21:36:56.110846167Z", "vin": "LRW3E7FS3RC956467" }
05.01.2025 22:37:52 : #1[Thread Pool Worker:141]: *** FT: { "data": [ { "key": "Soc", "value": { "stringValue": "84.87394957983193" } }, { "key": "DCChargingEnergyIn", "value": { "stringValue": "39.39999911934137" } }, { "key": "RatedRange", "value": { "stringValue": "219.36651093388033" } }, { "key": "IdealBatteryRange", "value": { "stringValue": "219.36651093388033" } } ], "createdAt": "2025-01-05T21:37:52.610965671Z", "vin": "LRW3E7FS3RC956467" }
05.01.2025 22:37:56 : #1[Thread Pool Worker:5]: *** FT: { "data": [ { "key": "PackCurrent", "value": { "stringValue": "-0.4000000059604645" } } ], "createdAt": "2025-01-05T21:37:56.111071375Z", "vin": "LRW3E7FS3RC956467" }
05.01.2025 22:38:37 : #1[Thread Pool Worker:8]: *** FT: { "data": [ { "key": "ModuleTempMin", "value": { "stringValue": "23.5" } } ], "createdAt": "2025-01-05T21:38:37.611009884Z", "vin": "LRW3E7FS3RC956467" }
05.01.2025 22:38:43 : #1[Thread Pool Worker:141]: *** FT: { "data": [ { "key": "VehicleSpeed", "value": { } }, { "key": "Gear", "value": { } } ], "createdAt": "2025-01-05T21:38:43.610812548Z", "vin": "LRW3E7FS3RC956467" }
05.01.2025 22:38:48 : #1[Thread Pool Worker:5]: *** FT: Telemetry Server Alerts
05.01.2025 22:38:52 : #1[Thread Pool Worker:141]: *** FT: { "data": [ { "key": "ACChargingPower", "value": { } }, { "key": "ChargeState", "value": { } } ], "createdAt": "2025-01-05T21:38:52.610829290Z", "vin": "LRW3E7FS3RC956467" }
05.01.2025 22:38:53 : #1[Thread Pool Worker:141]: *** FT: { "data": [ { "key": "FastChargerPresent", "value": { } } ], "createdAt": "2025-01-05T21:38:53.610944940Z", "vin": "LRW3E7FS3RC956467" }
05.01.2025 22:38:56 : #1[Thread Pool Worker:31]: *** FT: { "data": [ { "key": "PackCurrent", "value": { "stringValue": "0" } } ], "createdAt": "2025-01-05T21:38:56.110601911Z", "vin": "LRW3E7FS3RC956467" }

To Reproduce
I doubt, that this can be reproduced

Expected behavior
If there is a critical moment where an uprade can harm the data integrity, the upgrade should be postponed until a safe time.

Screenshots
see in the description

** Teslalogger Type **
Docker on Proxmox LCX

** Do you use Tasker or iBeacon **
no

Additional context
none

@Ventusfahrer Ventusfahrer added the bug Something isn't working label Jan 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant