-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
Issue with March on energy dashboard #16058
Comments
Anybody able to look at this? Thanks a lot! |
One more point that I have found, apparently, what is visible on the chart (yearly) is March number in April column and nothing for April... again, I checked the database and on an examaple of sensor feeding PV production, there is no inconsistency in data, using this script, I can see hourly values, daily ok as well, ... is it the one (table and column) used for creating the chart?
|
Adding info to database - I ran |
Anybody has any advice / view on this? Thanks a lot. |
Still nobody can help? June works and continues well, ie really seems to be connect DST and the way how data are interpreted by frontend... |
It's going to be pretty hard to remotely debug what issues you're having on your specific system with your specific dataset. If you really want to dig into this further, I would suggest attaching a development frontend onto your HA and start digging into the debugging to see where things are going off. I'm happy to work with you to offer advice if you want to go down that road, but without having access to your system and seeing the actual data in the frontend debugger it's difficult for me to really say what's going on. My month looks fine. Here's some info if you feel like going down that path. |
I can try that ... I a bit hoped that sharing data / database backup would be possible and sufficient as well to replicate on developer side but if not, I will go through the link you provided. |
Well I guess if you did want to make a backup and upload all your data somewhere I might take a look at it out of curiousity, but I'm not sure where you would host that, or how to deal with any privacy implications, and I can't promise I would actually spend any significant time on it or claim I can provide a fix (I just do minor bugfixes from time to time as a volunteer). You'll be your own best advocate if you have the ability to look into it yourself, you've noticed by now that there's not a huge developer attention paid to bug reports that don't affect a large number of people. |
Hi @karwosts , |
Hi @karwosts , any further advice how to proceed? Thanks a lot!! |
Hmm, sorry its difficult for me to say from here. I guess the initial idea was you could setup a development environment, which would allow you to use the debugger, though I know that's a big task. Maybe one thing that could be done is just export all your data from statistics table for these entities in question to a csv and upload it somewhere to browse, see if anything looks off? |
Well, as I noted above, I have already testing environment on separate HW... i.e. I have there separate HA with restored dtb... and see the same behaviour. Not sure how can I use debugger or share more info ... Regarding export of data - I did that already - you can see it below... the point is that there does not seem to be anything strange... |
Sorry don't know how to help you further. |
Maybe check out the community forums to see if anyone else has hit this issue. |
I've tried that as well but the same - no response / explanation. I have only bunch of people on facebook forum seeing the same behaviour. Unfortunatelly no one being developer... |
@GiZMoSK1221 I have opened another issue in core as I was not sure where the problem is, there is as well dump of my database... |
@karwosts i'm running mariadb |
That didn't quite work for me, but I think I figured it out (replaced start with st in the strftimes. SELECT datetime(s.created_ts, 'unixepoch', 'localtime') as cr, datetime(s.start_ts, 'unixepoch', 'localtime') as st, s.* FROM statistics s where metadata_id=56 and strftime('%Y', st)='2023' and strftime('%m',st)='03' and strftime('%d',st) in ('11','12') order by id asc; Also I realize my DST is on March 12, not March 27, but here's my data from my DST window: <style> </style>
|
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. |
Checklist
Describe the issue you are experiencing
I have an issue with March on energy dashboard. Although I can see in detail normal on monthly detail, in yearly detail, there is no March and the values are included in Apr. Second issue I have (not sure if related) is one missing day in March corresponding to date when time has moved to summer time by 1 hour. I have checked on Facebook group and it seems that I am not the only one. Energy stat delivered via Goodwe integration, i.e. with solar production as visible from the charts.
Describe the behavior you expected
Sum up of Mar values included in Mar on yearly chart
No issue with DST within March
Steps to reproduce the issue
Go to energy dashboard - select Month - March; then Month - April; then Year
What version of Home Assistant Core has the issue?
2023.3.6
What was the last working version of Home Assistant Core?
No response
In which browser are you experiencing the issue with?
Firefox 111.0.1 (64 bit); Chrome Version 111.0.5563.146 (Official Build) (x86_64)
Which operating system are you using to run this browser?
macOs Monterey 12.6.4
State of relevant entities
No response
Problem-relevant frontend configuration
No response
Javascript errors shown in your browser console/inspector
No response
Additional information
The text was updated successfully, but these errors were encountered: