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
[OH3] Chart only with 0 as values #1781
Comments
I just upgraded my system and saw the same. |
That would solve the problem, note that I don't have a problem with parsing the number with the unit attached (the client can split on |
I nonetheless think it makes sense to define that historic states are always in the default unit - because otherwise, you would have to deal with changing unit on client side and that would imho be highly complicated. We also use the unit from the item state description and show that normally in the legend - so that would be all clean.
Could you please create a separate issue for it? Maybe you can also directly attach an rrd4j database file, so that it can be easily reproduced. |
I installed snapshot 1998 and removed all my rrd files. |
Can the issue be reopened please. |
@kaikreuzer : did you check ? Still not working for me with snapshot 2003. |
I just upgraded to 2003 and can confirm the issue - or at least a similar one: The issue is with the chart provider, it cannot yet handle QuantityTypes as can be seen when debug logging is enabled:
|
You mean in OH3 I hope because it is working properly in OH2 since years. |
No, OH2 "didn't have any persistence services that deliver QuantityTypes". |
I mean charts with these number with dimensions are working in OH2. |
No, as mentioned above, everything is totally clear. |
Fixes #1781 Signed-off-by: Kai Kreuzer <kai@openhab.org>
Just retested with build 2004 and the charts are working smoothly for me now. |
Charts are back for me too. Thank you Kai. |
…ab#1789) Fixes openhab#1781 Signed-off-by: Kai Kreuzer <kai@openhab.org> GitOrigin-RevId: 35b0a12
Now that I can display charts, charts are containing only 0 values.
If I use the persistence API to request the last data for one of these temperature items, I get values.
The text was updated successfully, but these errors were encountered: