-
-
Notifications
You must be signed in to change notification settings - Fork 508
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
Total Yield Day is partly not visible when value is > 10.0000Wh. #1797
Comments
I wish I had the same problem ;-) Maybe it might make sense to convert down to kWh above 9999 Wh -> 10.0 kWh |
Same problem here... today I'm currently at >26.000 Wh and the value disappears when it's on the left side. The problem only exists if the display is set to German. |
@tm-107 👍🙏
thanks for fiddling around with other languages, until you found a possible cause 👍 from a perspective of string lengths, it's very intreaguing why maybe the difference lies at the capital very fascinating. |
I could imagine that either this line: OpenDTU/src/Display_Graphic.cpp Line 120 in 43c3c8d
or this line OpenDTU/src/Display_Graphic.cpp Line 117 in 43c3c8d
calculates a negative result which results in a underflow and therefor in a very high number (e.g. 240) and places the text outside the display. |
Here is a video-shot of the problem. Maybe it's interesting to see at which positions the text disappears. |
verified and working: v24.3.15 with let's hope for a good solar yield today too. thx & greetings to all participants of this issue |
@MetaChuh Thanks for your wishes! ;-) |
@tbnobody many thanks also from my side. It works with v24.3.15. |
Unfortunately, the display will not show “22222 Wh” because it now automatically switches to kWh. |
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. |
What happened?
Total Yield Day is partly not visible when value is > 10.0000Wh.
When screensaver moves the text to the left, the text disappears.
("Heute" in following pics is the Total Yield Day. It is missing in the lower picture.)
To Reproduce Bug
Use 1.3" OLED display with fusion board.
German language, but maybe issue also for others.
have day yield of > 10.000Wh
When screensaver moves the text to the left, the text disappears.
Expected Behavior
Total Yield Day always visible.
Install Method
Pre-Compiled binary from GitHub
What git-hash/version of OpenDTU?
v24.2.16
Relevant log/trace output
Anything else?
The text was updated successfully, but these errors were encountered: