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

PV Opt generating negative discharge windows that don't match end time shown in UI #198

Closed
ThomasPrior opened this issue Apr 4, 2024 · 6 comments

Comments

@ThomasPrior
Copy link

Describe the bug
Since the DST change I've seen a few odd charging windows.

pv_opt log output shows:

17:08:08 INFO: end : 04-Apr 17:00 BST

17:08:08 INFO: start : 04-Apr 17:07 BST

This is displayed in HomeAssistant as finishing an hour later:

image

The inverter receives the end time of 17:00 instead of the expected 18:00, making the discharge window -8 minutes.

Screenshot_20240404-171206_SolisCloud

Time on inverter seems to be set correctly.

Screenshot_20240404-171319_SolisCloud

pv_opt.log

@ThomasPrior
Copy link
Author

Adding second log with the same behaviour.

As shown in HomeAssistant:
Start 17:20
End: 18:00

As shown in logs and on inverter:
Start: 17:20
End: 17:00

pv_opt.log

@jacekowski
Copy link

It could be the same thing i'm seeing in #197

@ThomasPrior
Copy link
Author

Interesting, I saw what I thought to be a very poor plan for today (discharge everything, all day) and that's what led me to finding this.

Also on fixed 15p/kWh of export.

@fboundy
Copy link
Owner

fboundy commented Apr 4, 2024

This should be fixed in 3.14.0. There's a beta version out now if you want to test it. Best wait for beta-4 actually. Fixes another couple of bugs.

@fboundy
Copy link
Owner

fboundy commented Apr 4, 2024

It could be the same thing I'm seeing in #197

Not sure these are the same. There is a "time zone" issue which I think I've fixed but I think at least part of what is happening in #197 is that there is a cost benefit to forced discharging but it's not intuitive.

@ThomasPrior
Copy link
Author

Thank you again for your prompt attention on this and previous issues.

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

No branches or pull requests

3 participants