Skip to content
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

Energy dashboard - data not showing #67

Open
francsoitv opened this issue Oct 13, 2024 · 5 comments
Open

Energy dashboard - data not showing #67

francsoitv opened this issue Oct 13, 2024 · 5 comments

Comments

@francsoitv
Copy link

francsoitv commented Oct 13, 2024

First, thanks for your work!

I have setup this addon and It works, I receive all the data :
Capture d’écran 2024-10-13 à 10 08 52

But when I try to add it to the energy dashboard, nothing shows on the graph (0kWh every day, every month, ...)

I tried with the alias, both kWh and m3, nothing seems to enable the data ingestion

I don't see any logs that might help me..

HA 2024.10.0

@ssenart
Copy link
Owner

ssenart commented Oct 13, 2024

Hello, the data start to feed the energy dashboard from the time you set it up.

You won't get the past data.

@C-Duv
Copy link

C-Duv commented Oct 13, 2024

Do you know any way to insert those old values manually?

@francsoitv
Copy link
Author

Ok thanks!
+1 i'd love to be able to get history

If that's of any help, it's possible for Linky (https://github.com/bokub/ha-linky)

@C-Duv
Copy link

C-Duv commented Oct 13, 2024

Too bad ha-linky is not in Python, it would have been easy to mimic the feature.

@francsoitv
Copy link
Author

francsoitv commented Oct 14, 2024

So I'm trying to get the history myself, with these steps:

  • Download the raw daily data from GRDF ("Donnees_informatives_xxx.csv")
Capture d’écran 2024-10-14 à 09 51 16
  • Convert it into a CSV to import into the SQL database
Capture d’écran 2024-10-14 à 09 53 16

With metadata_id = the ID of sensor.gazpar in the statistics_metadata table
Be careful to put everything in the same metrics, kWh only in my case. I had to average the m3<>kWh conversion so that I can use the total m3

I'm still struggling with the new data, it seems that there is confusion between state column (which should be differential) and sum column (which should be total)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants