n2mb_racing
Active Member
Looks like the API possibly had approximately a 10 minute gap in data during the start of the charge. Since the charger kWh is based on the live data it missed the incoming kWh from the charger. I just added a couple calculations to determine the difference in time between the last good data point and the current data point it's dealing with. If it determines that it's missing data points it will fill the missing charger data in with the newest good info. At least that's the theory, I put it in place and it doesn't appear to have broken anything else but it's a significant change so we'll see. It's actually something that should have been in place already to properly catch this type of thing. I only put it in place for home charges for now.
Looks like it is working! thanks!
I just noticed some strange text on the page, though. It now has a bunch of extra text between my last drive and the charge. Stuff like:
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
11
1
1