dingo35 / SmartEVSE-3.5

Smart Electric Vehicle Charging Station (EVSE)
MIT License
38 stars 13 forks source link

Contactor switches on/off/on when the charging session starts #40

Closed mintgroen closed 1 month ago

mintgroen commented 3 months ago

Describe the bug When charging starts the EV requests the charging session to start, contactor does click on, clack off, click on and remains on.

To Reproduce 3.5 RC1 and 3.5 RC2 both show the same behavior.

Steps to reproduce the behavior:

  1. What Mode are you in? Normal, Smart or Solar? Does not matter
  2. What steps do you take so the problem arises? Start charging

Expected behavior Contactor should only close once

I did not recall that I noticed this behavior in the past so I reverted back to Serkri v1.8 and tried 10 times, the symptom did not reappear (yet, I will monitor it closely)

If needed I can flash to 3.5 and post the debug.

dingo35 commented 3 months ago

@mintgroen , Maarten, via PM I thought we agreed you'd try to find the commit that caused this, since I cannot reproduce the problem (probably EV related).

Any results on that?

mintgroen commented 3 months ago

Yes, so far Serkri v1.8 works ok.

mintgroen commented 2 months ago

20 charging sessions later, symptom did not occur again.

Do you know what the changes in state interpretation are between 1.8 and 3.5?

dingo35 commented 2 months ago

Symptom did not occur again at which version?

Many commits between 1.8.0 and 3.5, I thought you were going to find out which one is the culprit?

dingo35 commented 1 month ago

Inactive for too long....

mintgroen commented 1 month ago

After enabling the more detailed logging of the CP voltages Stegen traced it down to a hardware variation which resulted in the faulty state detection. Stegen send another SmartEVSE to test the behaviour, seems that the calibrated ADC still has some margins and other infuences affecting the voltage levels.

Installed the new SmartEVSE today, programmed with 3.6 and did a quick smoke test. The state detection works ok, relay kicks in and stays in.

dingo35 commented 1 month ago

Ok thx for your feedback Maarten!