question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Unable to STOP charge!?

See original GitHub issue

Hi,

Do I read the log correctly that the script is trying to send a “STOP CHARGE” to the car (last 5 lines)?

09:30:33 Policy     8 Evaluating Policy match (tm_hour), condition (gte), value (6)
09:30:33 Policy     8 Evaluating Policy match (tm_hour), condition (lt), value (20)
09:30:33 Policy     8 Evaluating Policy match (settings.hourResumeTrackGreenEnergy), condition (lte), value (tm_hour)
09:30:33 Policy     7 All policy conditions have matched. Policy chosen is Track Green Energy
09:30:33 TeslaAPI   8 Entering car_api_available - next step is to query Tesla API
09:30:33 TeslaAPI   8 car_api_available returning True
09:30:33 TWCManager 1 Green energy generates 0W, Consumption 0W, Charger Load 1211W
09:30:33 TWCManager 1 Limiting charging to 0.00A - 0.00A = 0.00A.
09:30:33 TWCManager 1 Charge when above 6A (minAmpsPerTWC).
09:30:43 TeslaAPI   8 Entering car_api_available - next step is to query Tesla API
09:30:43 TeslaAPI   8 car_api_available returning True
09:30:43 TeslaAPI   8 startOrStop is set to stop
09:30:44 TeslaAPI   8 Car API cmd<Response [200]>
09:30:44 TeslaAPI   4 CARNAME: stop charge response{'response': {'result': True, 'reason': ''}}

It doesn’t seem to work as the car is charging and not stopping at all!? Is this a bug on my CAR or something? Because my Powerwall is below 90% and should use the solar energy only to charge it till it’s 90% and then deliver energy for the car.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:19 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
MikeBishopcommented, Jul 7, 2020

Reasonable suggestion. Anything lower than the current charge should suffice, so another option would just be to always set it to 50%. Updated, if you do a git pull.

1reaction
MikeBishopcommented, Jul 7, 2020

@MikeBishop I noticed in the threads above one trick people used was to set the maximum charging SoC to the current SoC where stop charging didn’t work. Might be something for us to think about, we could send a stop charging message first and perhaps after a grace time set the SoC limit to current SoC?

That assumes we know which car is connected. But we could use the minimum charge at home more generally, or simply set it to the minimum. Regardless, the car would declare itself done. I’d have to go through the logic to make sure the fallback doesn’t get overwritten on the next cycle or stored as the new outside value, though.

Read more comments on GitHub >

github_iconTop Results From Across the Web

I can't stop the charging session and unplug my cable
When your cable is stuck at a charging station, you can try the following actions: 1. Wait for a short while and then...
Read more >
Chargepoint: Unable to stop session : r/electricvehicles - Reddit
Any attempt to stop the session in the chargepoint app is met by the message “Unable to stop session”.
Read more >
How to Fix Unable to Charge Samsung Galaxy Phone Past 85%
Learn how you can fix unable to charge Samsung Galaxy Phone past 85%? While charge your Samsung phone it then suddenly stucked at...
Read more >
EV Driver Support - ChargePoint
Call us for a quick, helpful answer. We take care of EV drivers 24 hours a day, 7 days a week for charging...
Read more >
What To Do If Your EV Won't Unplug From a Charger
If you are charging in public and the charger handle won't disconnect, call customer service. Use your app, your browser, or the number...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found