-
Notifications
You must be signed in to change notification settings - Fork 231
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
vehicle.charge.pilot.on/off storm on Leaf causing device to stop respond or even reboot. #975
Comments
After some days of checking I found that on ZE0 LEAF it might do strange things when switch on AC at running car but the only problem using OVMS on this car is that it has almost 100% probability to die when AC charging. The problem is that even LOG file is not showing problem. It is overloaded with messages about start stop mode change of charging and probably there is memory leak that kills it when so much events happens quickly in short time. I have attached some logs at level Debug that does not show how it happens exactly. Most of it is how standard AC charging session proceeds. There are also some log from previous day where I could see some crash logs reports, that might be same issue. Crash that keeps device running is fine and it is also logged but my crashes are final, it do not restart. Where is a hw watchdog? I will try to disable server reporting (which makes no sense as the main reason - control it by app will not work) and also scripts for ABRP and keep using it as is for several days what happens. |
New information: I found that the problem is not happening only during charging but during normal drive. This is what OVMS unit receives when car is on. Just stays parked ON, nobody is doing nothing,, no charging cables in socket. D (356530) events: Signal(vehicle.charge.pilot.on) The problem is not in server task that kills the unit because want to transfer all data. The problem is that unit does not know CAN messages of this car and thinks that some message that travels on can several times per second if car is on is something about charging. Not it is not. And I cant tell you just logging this kills the unit time to time. |
Today the unit works very well (it restarts during charging once in 5 minutes but to the mobile app it sends every secoond charging start and charging stop message. No way to see how much was chargerd as the notificaiton in android change forth and back as it charging or not charging. There is probably wrong interpretation of CAN messages what is charging and what is end of charging. This is the only reason why whole device can restart 5 times in 5 minutes. I am not expert but there should be CAN message database for this car. |
Version 3.3.004 seems to fix this issue, it is available currently through the eap channel for testing. |
Updating right now. I will monitor it and give feedback in a few days. |
When I connect AC cable or when I switch on AC on on Nissan Leaf 2012 it started to generate events charge-pilot-on and off messages very quickly and device is overloaded, is irresponsible, doing reboots and sometimes it freeze completely.
I blamed the ABRP script that I later disabled and it is happening again. I blamed my one line scripts that changes charging limits when I arrive/leave home. Happened also after deleting them. I tried to several combinations.
Adding long files I got from device.
logs.zip
This behaviour render the device unusable as i can ot read SOC on app while charging most of times or it drops connection after setting on preheating, that are two main reasons why I bought and install the unit. I can test whatever needed.
The text was updated successfully, but these errors were encountered: