Comments (4)
Which browser (and which version) are you using? I am unfortunately unable to reproduce this behaviour, but I have had reports of this issue already.
from iddatalogger.
I'm on an Opera browser:
Versie:78.0.4093.147 (x86_64)
Updatestream:Stable
Systeem:macOS Versie 11.5.2 (build 20G95) 11.5.2 x86_64
I've looked at the log, but can't find anything interesting there:
Aug 31 17:28:38 omat iddatalogger[32521]: 17:28:38.812838 [INFO] Building past charge sessions from beginning of data logging...
Aug 31 17:28:38 omat iddatalogger[32521]: 17:28:38.813590 [INFO] Plugged car in at 2021-08-31 15:28:29
Aug 31 17:28:38 omat iddatalogger[32521]: Loading ChargeSession...
Aug 31 17:28:38 omat iddatalogger[32521]: 17:28:38.814236 [INFO] Started charging at 2021-08-31 15:28:29
Aug 31 17:28:38 omat iddatalogger[32521]: Loading CarStatusFetcher...
Aug 31 17:28:38 omat iddatalogger[32521]: 17:28:38.814891 [INFO] Logging in...
Aug 31 17:28:38 omat iddatalogger[32521]: Loading LoginInformation...
Aug 31 17:28:38 omat iddatalogger[32521]: Loading MobileAppAPI...
Aug 31 17:28:38 omat iddatalogger[32521]: Loading HTTPUtils...
Aug 31 17:28:39 omat iddatalogger[32521]: Loading Form...
Aug 31 17:28:41 omat iddatalogger[32521]: Loading CarStatusUpdateReceiver...
Aug 31 17:28:41 omat iddatalogger[32521]: Loading CarStatusWriter...
Aug 31 17:28:41 omat iddatalogger[32521]: 17:28:41.435974 [INFO] Done. Startup took 2.800448179245s
Aug 31 17:28:41 omat iddatalogger[32521]: 17:28:41.436101 [INFO] Ready!
Aug 31 17:28:41 omat iddatalogger[32521]: 17:28:41.436199 [INFO] Fetching car status...
Aug 31 17:28:41 omat iddatalogger[32521]: 17:28:41.981114 [NOTICE] Could not find expected key 'zoneRearLeftEnabled' in carStatusData. Unexpected
Aug 31 17:28:41 omat iddatalogger[32521]: 17:28:41.981369 [NOTICE] Could not find expected key 'zoneRearRightEnabled' in carStatusData. Unexpecte
Aug 31 17:28:41 omat iddatalogger[32521]: 17:28:41.981445 [INFO] Writing new data for timestamp 2021-08-31T15:28:29
[...snip repeats...]
Aug 31 17:37:41 omat iddatalogger[32521]: 17:37:41.872550 [INFO] Unplugged car at 2021-08-31T15:37:03
Aug 31 17:37:41 omat iddatalogger[32521]: 17:37:41.872623 [INFO] Charge session:
Aug 31 17:37:41 omat iddatalogger[32521]: range: start: 239km end: 240km
Aug 31 17:37:41 omat iddatalogger[32521]: duration: 0.1h
Aug 31 17:37:41 omat iddatalogger[32521]: SOC: start: 69% end: 69% target: 80%
Aug 31 17:37:41 omat iddatalogger[32521]: chargeEnergy:0.26kWh cE_soc_calc0kWh
Aug 31 17:37:41 omat iddatalogger[32521]: POWER: avg: 2kW min: 2kW max: 2kW
from iddatalogger.
This was unfortunately also a bug related to MySQL. I will consider officially deprecate mysql, it is simply too much extra work and very hard to properly test edge cases like this. (Even with proper tests, this would have been very hard to catch)
The bug was caused by a missing NULL declaration for the endTime field causing MySQL to automatically fill in the current time if a new row was created. This also might have also split charging sessions, if IDDataLogger was restarted during one. (Because of this I simply recommend deleting the whole table)
For everyone affected by this bug, you'll need to DROP TABLE chargingSessions and recreate it using this new SQL: https://github.com/robske110/IDDataLogger/blob/master/db_mysql.sql#L43-L59
Don't worry, the chargingSessions will be regenerated from the data in the carStatus table.
from iddatalogger.
Thank you and thanks for the instructions to repair it. Please don't drop mysql support, I'm happy to test for you, and I can also create issues if I run into them.
from iddatalogger.
Related Issues (20)
- IDDatalogger seems to only can handle one car? HOT 2
- Get issus with Docker and Mysql (MariaDB 10.5) HOT 1
- Use of docker version HOT 2
- MySkoda HOT 3
- MySql scheme incorrect. HOT 4
- Not authorized to execute API request HOT 1
- Error - Division by zero HOT 1
- ABRP Integration HOT 11
- Docker how to on raspberry buster HOT 2
- IDDataLogger stopped working after a power outage HOT 6
- It seems VW changed the login protocol HOT 4
- ID Software 3.0 feature support HOT 10
- CUPRA (Born) API HOT 1
- VW removed the /status endpoint HOT 1
- Support for ID.4 in USA? HOT 5
- VW changed the first login page, getting now error 404 HOT 1
- Crash when processing charge session with 0% start-SOC
- IDDataLogger stopped working [Dec23] HOT 2
- Kein Zugriff auf Weboberfläche HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from iddatalogger.