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 integration #73

Open
neckaros opened this issue Dec 11, 2024 · 4 comments
Open

Energy integration #73

neckaros opened this issue Dec 11, 2024 · 4 comments

Comments

@neckaros
Copy link

First of all great integration! Thanks for the work

I have an issue where in the energy tab:

  • GRDF has a lag of 2days more or less (😒)
  • on day D when I get the data of D-2 this value seems to appear do the day D in energy tab? Well is slightly different from what I got for d-2 but I don't see how it can be D as it is 10pm?
@ssenart
Copy link
Owner

ssenart commented Dec 11, 2024

HA always take the current time to record the new sensor value in the system, even if that value is 2 days old.

I don't know any mean to insert them with the right date.

@C-Duv
Copy link

C-Duv commented Dec 11, 2024

I tried to find how bokub/ha-linky is doing it: it seems to send a recorder/import_statistics message to HA via the WebSocket API: https://github.com/bokub/ha-linky/blob/5e1c04f79af34371ce499bb4a208755409ae1195/src/ha.ts#L97

but I can't find any documentation about this on the HA website.

I do find stuff on this in Spook: https://spook.boo/recorder#import-statistics
But ha-linky is not said to use Spook.

This message on HACF forum says the same thing: https://forum.hacf.fr/t/integration-des-consommations-electriques-passees/33676/10

@ssenart
Copy link
Owner

ssenart commented Dec 14, 2024

ha-linky has many interesting ideas (websocket, price computations) how to push history data in HA.

I have to spend more time to see how I can reuse them.

@ssenart
Copy link
Owner

ssenart commented Dec 21, 2024

Hello, I've just released a new application that does some things like ha-linky does (using HomeAssistant WebSocket).

It is available here.

It permits to upload the grdf history and keep it updated in HA Energy Dashboard.

Try it and tell me.

It is a first version that covers only volume (m3)

I will work on publishing energy (kWh) as well.

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