-
Notifications
You must be signed in to change notification settings - Fork 117
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
Resolve issues waking some cars from sleep #512
Comments
I believe setting to disabled is essentiallythe same as disconnecting the cable so not sure what the Zoe is doing... That being said what is the request here? Just an API to allow Zoe used to continue with the same process just not depending on RAPI? |
Yep have a way to dynamically set over the api the disable state from 254 to 255 or vis versa without having to reboot EVSE & write to the flash nor using RAPI commands. |
FYI I have a Zoe ZE50 E-Tech R110, and this vehicle is subject to the sleep issue. Ref: OpenEVSE/ESP8266_WiFi_v2.x#223 So I added an automation in HA which is sending through mqtt a sequence of automation:
#
- alias: "OpenEVSE: Zoé Bugfix"
trigger:
- platform: state
entity_id:
- binary_sensor.openevse_vehicle_connected
from: "off"
to: "on"
condition: []
action:
- service: mqtt.publish
data:
topic: "openevse/rapi/in/$FD"
- delay:
hours: 0
minutes: 0
seconds: 2
milliseconds: 0
- service: mqtt.publish
data:
topic: "openevse/rapi/in/$FE" So far, and like reported in the issue in reference, this is pretty reliable. I've seen this option in OpenEVSE: But I don't want to use it because of this warning: I am using EVSE with an HA integration. I need and rely on the EVSE to be able to detect when a car is plugged., which is translated in mqtt with Considering RAPI through mqtt will be removed, I think we definitely need some mqtt topics to enable/disable EVSE. I recently introduced Could we introduce something like Thanks! |
That option does the same as what you are doing, IE sends a $FD to the vehicle |
It does but once saved in the config, and rebooted the evse. not really usable for scripting some anti-sleep pattern yet. |
No, I don't think the higher levels should be making those kinds of decisions, they should just start/stop and the OpenEVSE should deal with the interactions with the vehicle. We need to define more sleep modes and config around how the charge is paused and resumed. The thing that is not clear to me is the sequence of events that will put a particular vehicle to sleep or wake it up |
depending of Zoe BMS software version, they don't have the same procedure or bugs so this will be quiet complicate to find something universal. |
Doesn't have to be universal as such, but needs to have the flexibility to configure different patterns. I think we might need a mode to sleep, wait for n seconds then disable. Then also a module that forces a (min power?) charge for n seconds after the vehicle is plugged in. I think that should cover most of the cases I remember seeing. But I would like to see a list of vehicles and the associated hacks |
@mathieucarbou , don't you need the first procedure step describe at top of the thread on your Zoe? ( Trigger a charge few seconds before set the Zoe in sleep mode ) |
I can confirm it's the same behaviour for Dacia Spring EVs. |
On UI side we could have 2 selector menus for pause mode and activating charge: Pause / Disable / 30s charge then Pause Charge Activation: But I'm not fan of this solution as it's a hack for buggy or non standard vehicles, keeping them at the same level deserve main clarity. Also I'm not even sure the actual Pause / Disable switch is used by somebody and solve any issue. There's no report on the related Issue supposed to be solved by this commit so perhaps there's no pro at all to always keep the evse in disabled state when paused. This would be interesting to have some feedback. If this Pause / Disable it not enough and those reported this got the same Zoe / Dacia problem, then we only need to match the top procedure and would simplify the setup: Zoe / Dacia sleep & wake-up hack: |
No! 100% sure. I didn't know about these steps, the only thing I need to do is disable then enable evse once the vehicle connects. I am always using Solar divert. So I usually plug when there is not enough sun, so no charge, and the vehicle wakes up at one point and charges when asked to. |
@mathieucarbou on what they told me, the vehicle can't wake up only after few hours. Guys using this procedure mostly plug their vehicle when going back from work, and startautomatically the charge in late night hours later. but I've also heard that some up to date BMS on zoe don't suffer from this. |
Oh!!! Yes that is possible... So to test that, I will have to keep the plug connected in the evening through the night and keep it connected in the morning until the sun rises. So it will be a test for this week-end :-) |
I've also contacted one of those guy to see if they can test your procedure and get same result. |
Thanks to @glynhudson we found some interesting info on the Zoe: |
FYI, it does not apply to the new Zoe ZE50 (52kWh) E-Tech R110 because I am charging with solar divert during the day at a pilot of 6A - 10A depending. And I was able to confirm that with an OBD device and CanZe. The vehicle charges at a lowest current of 5.6A (pilot set to 6A) up to 19A when the pilot is set to 20A. Also, at a lower current, the PF is about 0.8. But at higher current, the PFC triggers and the PF is higher than 0.95, most of the time 0.98 (measures with a shelly em dedicated for the EVSE box). |
I can also confirm the ZE40 'R' model can handle 6A charging. I think the 7.2A minimum limit that's mentioned in the links posted only applies to 'Q' model Zoes that can take 43kW AC. Manufacture of the 'Q' model Zoes stopped in Jan 2017. The Renault EV ready document has some info about the wakeup procedure, I'm guessing that 'non-compliant' modes is referring to older Zoes, or Zoes without the BMS update? |
The other way would be to use Renault API to send a start_charge when openevse switch to active. This will wake up the vehicle: |
No... Not an option. That's the API I was using before, and that is the reason I bought the OpenEVSE box.
So no, please no... 😆 |
OK so yesterday I've remove any automation I got. So no more $FD-$FE, or $FR. And today the solar divert started the charge normally when possible. So I'm baffled.... So 2 explanations:
So I will keep testing, all automations disabled, sleep mode active. |
I may be able to get access to a Zoe to test this issue, can someone confirm the time it takes for a Zoe to go to sleep after the EVSE goes to sleep (just to reduce the testing time)? |
On actually 'fixing' this issue. I will add a simple module that adds a high priority claim to vehicle connection and an option to disable before waking up, with 4 config options
|
FYI I left the vehicle connected the night of sat-sun and the vehicle started charging sunday morning with solar divert (export mode) without any issue. Nobody woke up the car. So I just think I ran into a random issue which had the same symptoms of a car sleep (because I had to woke up the car to start charging). But from my testing during these 2 days, the Zoe ZE50 E-Tech R110 is not subject to the sleep issue... I will continue to monitor: I usually leave the car plugged during the night. |
Why is the default not equal to the min_current ? |
It is my understanding that some Zoes need a min of 7.2 amps to start a charge, so thought it made sense to be cautious |
Can we try and colate information on which vehicles suffer from this issue? and if there are just (Zoe) firmware updates that are needed to be applied. |
Hello, FYI I have disabled the automation since our previous discussion, and I didn't activate the special mode in OVSE. So I don't restart the box anytime and I have pause status set to sleep (defaults). And everything works fine! We are charging and using the VE every day and on week-end or mornings it starts with divert when it has to. Zoe E-Tech R110 52kWh. |
Hello I have a Zoe R90 Z.E.40 from May-2018. I can wake up the car with the remote by pressing the "lock doors" button and the charge starts. Have some people managed to do some firmware updates on the car itself to solve the issue ? . |
OpenEVSE | 8.2.0.EU I have a Dacia Spring from September 2022. When you restart the ARDUINO it returns to AUTO mode even if it is ON. Is this behavior normal? Now that RAPI is not working, what commands are sent to restart or force it to start (it was not clear to me). Note: I hope you can understand because I am using a translator since my native language is Spanish. P.S. Having to wait until 00:00 instead of being able to rest before 23:00 makes me sad. |
Dacia Spring 2024This is my best solution so far to allow home assistant to control the charge through openevse without:
Solution (everything done in HA)
There is no need to charge the car at regular intervals. I tested up to 8h10min of continuous sleep and the car would charge without a problem. Important noteAny action performed on the car such as opening a door or pushing on a button on the key, "resets" the sleeping routine. That means that if such an action is performed and the charger doesn't charge the car for a couple of second quickly, the car will go to a deep sleep and the solution described above stops working until the plug is disconnected and reconnected again. |
Some Zoe users needs to setup a special procedure to prevent the Zoe going in sleep state .
The /config set Sleep/Disable state for pause has been introduced for that.
But it doesn't seems to solve the issue on all Zoe.
They have a start procedure on their smart home device to handle this:
This first procedure prevent the Zoe to go in sleep mode and not waking up later
And then it seems to works.
The problem here is they still use RAPI commands for that, could be usefull to set an interface over the API to let them control that disabled state.
The /config one needs ESP32 to be restarted to let the disable state change effectively.
The text was updated successfully, but these errors were encountered: