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

Starting evcc with Mode = Off does not disable charger #117

Closed
schenlap opened this issue May 10, 2020 · 6 comments · Fixed by #199
Closed

Starting evcc with Mode = Off does not disable charger #117

schenlap opened this issue May 10, 2020 · 6 comments · Fixed by #199
Labels
bug Something isn't working

Comments

@schenlap
Copy link
Contributor

Grid power = 1000W import, Mode is default Off. Charger is in enabled state during evcc start.

[main] INFO 2020/05/10 08:56:40 evcc dev (HEAD)
[main] INFO 2020/05/10 08:56:40 using config file /xxx/evcc/evcc.yaml
[main] INFO 2020/05/10 08:56:40 listening at 0.0.0.0:7070
[load] INFO 2020/05/10 08:56:40 main loadpoint config: vehicle — grid ✓ pv — battery — charge —
[load] INFO 2020/05/10 08:56:40 main charger config: power — energy — timer —
[load] INFO 2020/05/10 08:56:40 main charge mode: off
-> correct
[load] INFO 2020/05/10 08:56:40 main charger enabled
-> this is my init state.
[load] DEBUG 2020/05/10 08:56:40 main set charge current: 6A
-> charging will beginn / continue
[load] DEBUG 2020/05/10 08:56:40 > main
[load] DEBUG 2020/05/10 08:56:40 main charger status: B
[load] DEBUG 2020/05/10 08:56:40 main grid power: 1000.0W
[load] DEBUG 2020/05/10 08:56:40 main charge power: 0.0W
[load] DEBUG 2020/05/10 08:56:40 main charger disable - contactor delay 19s
[load] DEBUG 2020/05/10 08:56:40 < main
[load] DEBUG 2020/05/10 08:56:40 > main
[load] DEBUG 2020/05/10 08:56:40 main charger status: B
[load] DEBUG 2020/05/10 08:56:40 main grid power: 1000.0W
[load] DEBUG 2020/05/10 08:56:40 main charge power: 0.0W
[load] DEBUG 2020/05/10 08:56:40 main charger disable - contactor delay 19s
[load] DEBUG 2020/05/10 08:56:40 < main
[load] DEBUG 2020/05/10 08:56:50 > main
[load] DEBUG 2020/05/10 08:56:50 main charger status: B
[load] DEBUG 2020/05/10 08:56:50 main grid power: 1000.0W
[load] DEBUG 2020/05/10 08:56:50 main charge power: 0.0W
[load] DEBUG 2020/05/10 08:56:50 main charger disable - contactor delay 19s
[load] DEBUG 2020/05/10 08:56:50 < main
[load] DEBUG 2020/05/10 08:57:00 > main
[load] DEBUG 2020/05/10 08:57:00 main charger status: C
[load] INFO 2020/05/10 08:57:00 main start charging ->
[load] DEBUG 2020/05/10 08:57:00 main grid power: 1000.0W
[load] DEBUG 2020/05/10 08:57:00 main charge power: 1380.0W
[load] DEBUG 2020/05/10 08:57:00 main charger disable - contactor delay 19s
[load] DEBUG 2020/05/10 08:57:00 < main
[load] DEBUG 2020/05/10 08:57:10 > main
[load] DEBUG 2020/05/10 08:57:10 main charger status: C
[load] DEBUG 2020/05/10 08:57:10 main grid power: 1000.0W
[load] DEBUG 2020/05/10 08:57:10 main charge power: 1380.0W
[load] DEBUG 2020/05/10 08:57:10 main charger disable - contactor delay 19s
[load] DEBUG 2020/05/10 08:57:10 < main
[load] DEBUG 2020/05/10 08:57:20 > main
[load] DEBUG 2020/05/10 08:57:20 main charger status: C
[load] DEBUG 2020/05/10 08:57:20 main grid power: 1000.0W
[load] DEBUG 2020/05/10 08:57:20 main charge power: 1380.0W
[load] DEBUG 2020/05/10 08:57:20 main charger disable - contactor delay 19s
[load] DEBUG 2020/05/10 08:57:20 < main

I think enabled state of charger can occur in real world (e.g. restart of evcc during charging) and evcc should be able to handle this situation. Contactor delay in not decreased so it will never stop charger.

If I have misunderstood the charger state please close this issue.

@andig andig added the bug Something isn't working label May 10, 2020
@premultiply
Copy link
Member

Vorsicht: Der Mode heisst wohl inzwischen mindestens in der config-Datei "stop" nicht "off". Bei "off" kommt nur Mode "0". Bin ich gerade drüber gestolpert...

@andig
Copy link
Member

andig commented May 19, 2020

Ich versteh‘s nicht. Der Mode heisst off. Wo kommt Mode 0?

@premultiply
Copy link
Member

Wenn man in der evcc.yaml bei mode off einträgt und EVCC startet meldet er mode 0.
Wenn man dort stattdessen stop reinschreibt steht auch im Log mode stop.

@andig
Copy link
Member

andig commented May 20, 2020

Wenn man in der evcc.yaml bei mode off einträgt und EVCC startet meldet er mode 0. Wenn man dort stattdessen stop reinschreibt steht auch im Log mode stop.

OK, neues Issue, wird gelöst.

Ist unabhängig davon dieser PR ein Schritt in die richtige Richtung für das beschriebene Problem?

@schenlap
Copy link
Contributor Author

schenlap commented May 20, 2020

getestet mit 0490db1 (current master)
funktioniert jetzt jedenfalls (auch mit mode=off). Danke!

getestet mit evse-wifi

@andig
Copy link
Member

andig commented Jul 3, 2020

Sollte behoben sein.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
3 participants