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

EVCC Keeps freezing and crashing #14180

Closed
djfanatix opened this issue Jun 4, 2024 · 8 comments · Fixed by #14244
Closed

EVCC Keeps freezing and crashing #14180

djfanatix opened this issue Jun 4, 2024 · 8 comments · Fixed by #14244
Labels
enhancement New feature or request

Comments

@djfanatix
Copy link
Contributor

djfanatix commented Jun 4, 2024

Describe the bug

EVCC UI Freezes and crashes

Steps to reproduce

I cannot find anything relevant in the logs
It seems it starts fine and then it freezes.
The UI is also frozen, it does not change.
It initially fetches the values from modbus and homewizard, but then nothing (freeze) and a reboot after a while

I tried to remove circuit, no effect.

But I added a log anyhow.
EVCC 0.126.6
HA Addon

Configuration details

Log details

What type of operating system are you running?

Linux

Version

0.126.6

@andig
Copy link
Member

andig commented Jun 4, 2024

Please see #8009 for diagnosis.

@andig andig added the question Rather clarification than issue label Jun 4, 2024
@djfanatix
Copy link
Contributor Author

I deleted the addon and reinstalled, and then I disable the circuits and now it works again.
If I enable the circuits EVCC hangs after startup.
Is something changed for the circuits since 0.126.4 or 0.126.5?

@andig
Copy link
Member

andig commented Jun 4, 2024

Are you saying going back to 0.126.4 works again? You'll need to share the config that leads to this.

@djfanatix
Copy link
Contributor Author

djfanatix commented Jun 5, 2024

Ok I did do a lot of trials and now I got a backup working again.
So if I disable the 'circuit:main' in the Loadpoints, it works again.

I also tried with parent circuits in the Loadpoints, but this doesn't work

Config edited:

site:
  title: Home
  residualPower: 250
  circuit: main
  maxGridSupplyWhileBatteryCharging: 100
  meters:
    grid: homewizard 
    pv:
    - solaredge 
    battery: storedge 
circuits:
  - name: main
    maxPower: 4800
    meter: homewizard
loadpoints:
- title: Go-E  
  charger: goe 
  **circuit: main**
  vehicle: my_car

@andig
Copy link
Member

andig commented Jun 6, 2024

You MUST NOT add the same circuit twice, so not doing this on the loadpoint is correct. I think we should validate that a higher-level (site) circuit cannot be reused on a lower level (loadpoint).

/cc @premultiply

@andig andig added enhancement New feature or request and removed question Rather clarification than issue labels Jun 8, 2024
@premultiply
Copy link
Member

Correct. Should never be used twice in the circuit tree.

@andig
Copy link
Member

andig commented Jun 8, 2024

Not sure I follow. What should not be used twice in the tree? Question here is if a root circuit can have loadpoints assigned I think? I'm not entirely sure what we should expect.

@andig
Copy link
Member

andig commented Jun 9, 2024

Closing as config issue. #14244 will prevent this kind of mistake.

@andig andig closed this as completed Jun 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants