-
Notifications
You must be signed in to change notification settings - Fork 68
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
[Request] Make 'Night' configurable #671
Comments
As far as I remember, OpenDTU already has everything we need to determine sunrise and sunset. Do you agree that this is far superior to setting a fixed time frame, which is either completely off in the summer or completely off in the winter? About the 20W threshold: Do you really think it is important to be able to set this to a custom value? How about setting this to 1% of max(max_power_yesterday, max_power_today)? |
Not to forget DST (daylight saving time). Another clock / timer to adjust twice a year? :) You are right. Opendtu comes with the power saving oled feature. We already can choose one out of three day/night cycles |
You are mixing three different things:
NTP will configure the clock correctly, so there is no need to adjust OpenDTU's clock. However, there is the issue that sunrise and sunset change by a full hour once DST is enabled/disabled. That's why a fixed time frame also makes little sense.
That is actually implemented like this: Turn the screen off after two minutes after the last inverter went offline. That does not even happen if at least one inverter is battery-powered. It has nothing to do with sunrise or sunset.
This is what I meant: There is a setting to select the type of sunset, and since the software is there, we can ask it when sunset and sunrise are. |
i honestly dont get it. What is "everything" and how can I edit/use it?
this sounds good to me |
Sorry, that's a misunderstanding between a developer and a user. I was talking about the fact that the software has mostly everything that is needed to make an informed decision about whether or not it's day or night, i.e., it already knows when there is sunrise and sunset. We still have to use that information in the DPL so that it behaves as you requested. Which is a very reasonable request. |
ahhh, ok. That explains my confusion :D |
Sure using the actual sunrise and sunset time (ideally with a configurable offset) would be best.
Why not allow the threshold be configurable (like, e.g., the TargetPowerConsumption offset is) - would that take much effort? |
The DPL is complex enough as it is. More settings are usually not helpful. Please explain why it is important to most users to configure this? What value would you chose and why? How do you suggest I come up with a value for my setup? Are you willing to document all of this? What do you think about my suggestion of using 1% of max(max_power_yesterday, max_power_today)?
Why? |
Yeah, unfortunately, an efficient charge&discharge control is inherently complex.
Well, most users likely would not care nor understand the implications. The point is that there is a trade-off how to spend low PV power best -
This would not fit with the background that I explained above why I would adapt the threshold.
Sorry, that part of my comment was in the wrong context. |
At least, the |
Will be fixed when #1126 gets merged |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new discussion or issue for related concerns. |
Is your feature request related to a problem? Please describe.
No response
Describe the solution you'd like
Hi,
currently 'empty at night' and the corresponding 'night-state' solely depends on the current wattage (<20 W) from the solar panels.
Describe alternatives you've considered
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: