Comments (10)
I wish I had the same problem ;-)
Maybe it might make sense to convert down to kWh above 9999 Wh -> 10.0 kWh
Total length of the string would fit.
from opendtu.
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.
Changing the display language to English or French solves the problem.
In German, either the font would have to be a little smaller or - as already suggested - there should be an automatic switch from Wh to kWh.
from opendtu.
let's hope for a good solar yield today too. and especially my wishes for @broth-itk to surpass a daily yield to something like
22222 Wh
... with the fun part, that exactly this number might break the pixel length fix again 😉 (just kidding, in theory the fix should work for any pixel width)
Unfortunately, the display will not show “22222 Wh” because it now automatically switches to kWh.
from opendtu.
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.
from opendtu.
Here is a video-shot of the problem. Maybe it's interesting to see at which positions the text disappears.
Youtube-Link
from opendtu.
@MetaChuh Thanks for your wishes! ;-)
Have a great day!
from opendtu.
@tbnobody many thanks also from my side. It works with v24.3.15.
from opendtu.
@tm-107 👍🙏
The problem only exists if the display is set to German.
thanks for fiddling around with other languages, until you found a possible cause 👍
from a perspective of string lengths, it's very intreaguing why today:
works, while Heute:
does not, as the string lenghts should be the same.
maybe the difference lies at the capital H
which consumes more pixel width ?
i've not worked very much with the display libraries yet, but i, probably same as the project owner and chief of dev @tbnobody assumed, that the additional pixels would just not be displayed, if the image is shifted ... but not that the whole line would be ommited, as it seems the case
very fascinating.
can anyone else with a larger than 10kwh daily solar yield confirm this as well ?
from opendtu.
verified and working: v24.3.15 with Heute: 14121 Wh
(yesterday)
let's hope for a good solar yield today too.
and especially my wishes for @broth-itk to surpass a daily yield to something like 22222 Wh
... with the fun part, that exactly this number might break the pixel length fix again 😉
(just kidding, in theory the fix should work for any pixel width)
thx & greetings to all participants of this issue
metachuh
from opendtu.
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.
from opendtu.
Related Issues (20)
- no return from manual ip configuration to dhcp HOT 1
- Interrupt received with CMT2300A HOT 2
- HMS-800-2T HOT 14
- /api/livedata/status -> too many decimal places via web query HOT 3
- [Request] Add support for TSUN TSOL_MS2000 inverter HOT 3
- "HMS-400BM" recognized as "HMS-500-1T v2" HOT 12
- MQTT connection lost, laggy web interface, restart required HOT 7
- _isAllEnabledProducing and _isAllEnabledReachable are true without connection to inverter HOT 4
- crashes especially after firmware update at tcp_update_rcv_ann_wnd HOT 4
- Version v24.8.1 läst sich nicht mit VSC neu bauen. HOT 3
- keine WLAN-Verbindung zum Ziel-WLAN HOT 21
- Nach WLAN-Router Neustart keine Verbindung mit der DTU HOT 55
- [Request] IPv6 support HOT 13
- nRF24 Chip-Status not connected HOT 5
- [Request] fail-safe limit option HOT 1
- HMT 2250 6T - connected but no data displayed HOT 4
- WiFi issue still exists HOT 45
- Überschusseinspeisung nur bei Netzfreqenz kleiner 50 Hz HOT 2
- "Poll interval" - Fix documentation or code HOT 2
- [Request] do not use night time if date is in the year 1970 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from opendtu.