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

Divert mode current set initially set to maximum level regardless of generation #388

Closed
ncaunt opened this issue Jul 11, 2022 · 12 comments · Fixed by #532
Closed

Divert mode current set initially set to maximum level regardless of generation #388

ncaunt opened this issue Jul 11, 2022 · 12 comments · Fixed by #532

Comments

@ncaunt
Copy link

ncaunt commented Jul 11, 2022

(Bug present in release version but also confirmed present on latest dev build)

My system is configured in "SolarPV-gen" mode with the MQTT topic reflecting generation published to every 10 seconds. Attack/decay are at their defaults.

When divert mode is activated and sufficient generation becomes available (>= 6 Amps), ESP32 Wifi will set the pilot to the maximum charge current regardless of actual generation. It will remain at maximum until either that setting is changed or the generation available would cause the pilot to be set to another integer current level.

Both the "Charge rate" (both main and service tabs) and "Pilot" values in the web GUI reflect what should have been sent to EVSE based on available generation but the actual current is still at the maximum level.

@ncaunt
Copy link
Author

ncaunt commented Aug 16, 2022

A little more info:

  • The maximum charge current used is whatever the "Max Current" is currently set to in the GUI.
  • Once the integer current level has changed then this behaviour does not recur until the mode has been toggled from eco to normal and back again. That is, if the EVSE is left in eco mode this will only happen on the first charging session. I just witnessed the charge current being set to maximum after generation dropped below the threshold and then returned.
  • I have "Pause status" set to "Disable". Might be related to the previous point.

@cholawo
Copy link

cholawo commented Sep 6, 2022

+1 I've seen my car frequently go to 32A when my Grid (+I/-E) has just crept over the 6A mark.

@cholawo
Copy link

cholawo commented Sep 16, 2022

I want to add, this only happens with one of my two evs. It happens with a BMW i3, but I haven't seen it happen with the Outlander PHEV. My hunch is that the evse sends a current below 6A that the bmw ignores and then goes to 32A, where the outlander doesn't ignore it and remains charging at 6A. Here's a graph to show it happening. I'll setup something to store evse logs at the same time so I can get more info.
image

@jeremypoulter
Copy link
Collaborator

Will look at that, but the EVSE should error if that case happens. But interesting that you get different results with the two vehicles.

@cholawo
Copy link

cholawo commented Sep 22, 2022

I noticed that I do have the pilot in emoncms and it looks normal to me, but the car does seem to simply ignore it sometimes.
At the start of this graph, the pilot drops to 6A as it wakes to start charge, but the car just starts at 30A until the pilot moves to 7A at which point the car starts behaving normally.
In the middle of this graph it gets even weirder. The charger sleeps for a minute, wakes and the car is behaving normally but then after 4 minutes the car just decides to go to 30A!

image

I wonder what else can be changing besides these variables that might cause the car to go to 30A....

@jeremypoulter
Copy link
Collaborator

If you enable the developer mode and go to the RAPI tab, what is the pilot value as reported via RAPI?

@cholawo
Copy link

cholawo commented Sep 23, 2022

I've started logging the GC and GS RAPI data so I'll get back to you the next time this happens.

@ve6rah
Copy link

ve6rah commented Sep 23, 2022

@cholawo if your car is ignoring the pilot signal, that is a major safety problem. The car has no way of knowing why the pilot is limiting you to that current, in this case it's just because you are trying to limit to your solar output, but it could just as easily be because you're on a low-powered circuit. The car should never be ignoring the pilot, and if that's really what's happening, you should be taking that up with the manufacturer pronto!

@cholawo
Copy link

cholawo commented Sep 23, 2022

I saw it happen today and I see the rapi pilot stays at 32 whilst frontend shows pilot at 6. So it seems that under some circumstances the frontend pilot value doesn't update rapi. I can send an rapi command to correct it and the car obeys whatever rapi pilot is set to. So I guess it's some frontend issue?

@cholawo
Copy link

cholawo commented Sep 23, 2022

I also did a little more experimenting, I could reproduce this a few times when unplugging and replugging the car, but not when I unlock and lock the car (which also causes charging to stop and restart). For now I'm going to automate the problem away by sending an rapi command when rapi pilot remains at 32 and wifi module pilot is 6.

image

image

@jeremypoulter
Copy link
Collaborator

I was fairly certain that is what was happening as it was not creating an error, so thanks for confirming.

@KipK
Copy link
Collaborator

KipK commented Dec 19, 2022

same issue than #450 , #452, #481

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants