home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
72.76k stars 30.47k forks source link

Tibber Integration accumulated production current hour stays zero #89962

Closed TimKraemer closed 6 months ago

TimKraemer commented 1 year ago

The problem

Tibber seems to see my power production in sensor power production, but doesn't accumulate the values in accumulated production current hour (they stay zero), which I would like to feed into HA's Energy Dashboard as "Return to grid".

sensor power production: Untitled2

sensor accumulated production current hour Untitled

Any bugfix or help if I missed something would be appreciated!

All the other sensors seem to work perfectly! Thank you for that amazing integration!

What version of Home Assistant Core has the issue?

2023.1.7

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant Container

Integration causing the issue

tibber

Link to integration documentation on our website

https://www.home-assistant.io/integrations/tibber/

Diagnostics information

config_entry-tibber-a6fba3e058623323db2a0940fd37ee91.json.txt

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

No response

home-assistant[bot] commented 1 year ago

Hey there @danielhiversen, mind taking a look at this issue as it has been labeled with an integration (tibber) you are listed as a code owner for? Thanks!

Code owner commands Code owners of `tibber` can trigger bot actions by commenting: - `@home-assistant close` Closes the issue. - `@home-assistant rename Awesome new title` Renames the issue. - `@home-assistant reopen` Reopen the issue. - `@home-assistant unassign tibber` Removes the current integration label and assignees on the issue, add the integration domain after the command.

(message by CodeOwnersMention)


tibber documentation tibber source (message by IssueLinks)

z3us22 commented 1 year ago

I do have the same issue with "accumulated consumption current hour" - I use it for showing me my hourly power consumption at the "Energy" Tab in Home Assistant.

image But as you can see on my picture there are hours or even days without any data being provided by the entity. I also checked only the entity - it's really not getting/showing any information for several hours: image

You got any idea for that?

jpp040 commented 1 year ago

The problem

Tibber seems to see my power production in sensor power production, but doesn't accumulate the values in accumulated production current hour (they stay zero), which I would like to feed into HA's Energy Dashboard as "Return to grid".

sensor power production: Untitled2

sensor accumulated production current hour Untitled

Any bugfix or help if I missed something would be appreciated!

All the other sensors seem to work perfectly! Thank you for that amazing integration!

What version of Home Assistant Core has the issue?

2023.1.7

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant Container

Integration causing the issue

tibber

Link to integration documentation on our website

https://www.home-assistant.io/integrations/tibber/

Diagnostics information

config_entry-tibber-a6fba3e058623323db2a0940fd37ee91.json.txt

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

No response

Have the same issue on my installation.

Could you resolve your problem? I have just startet with HA and everything works well. Tibber is integrated and delivering data. What else is wondering me: "last meter production" shows me -1 kWh permanently. doesn't make sense. "power production" is absolutely correct and equals my Hoymiles inverter respectively the production excess that's getting back to my contract partner.

Bildschirm­foto 2023-05-04 um 15 35 41 Bildschirm­foto 2023-05-04 um 15 46 37 Bildschirm­foto 2023-05-04 um 15 47 21 Bildschirm­foto 2023-05-04 um 15 47 37 Bildschirm­foto 2023-05-04 um 15 50 01
TimKraemer commented 1 year ago

Unfortunately no, it didn't change. Also I have random "freezes" of the values on some days, around one in 10 days. Very unstable plugin unfortunately :/

jpp040 commented 1 year ago

Maybe @Danielhiversen has any further ideas. When looking for some older YouTube videos, it already had worked for some time.

To use “power production” as input isn’t working because it’s not listet in the drop-down to choose from.

issue-triage-workflows[bot] commented 1 year ago

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. Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.

TimKraemer commented 1 year ago

still not solved, I will try to find time to look into the plugin myself - feel free to bug me about this in a few weeks ;)

Sw0rdf1sh1 commented 1 year ago

@TimKraemer did you fixed this issue by your own?

TimKraemer commented 1 year ago

@TimKraemer did you fixed this issue by your own?

unfortunately I wasn't able to :/

HebeROF commented 1 year ago

I do have the same problem and newer versions of HA do not fix this issue.

It's a pity, because my main concern was to see exactly what I consume and when and how much I feed into the grid for further planning.

so it always shows one hundred percent consumption, which is unfortunately wrong.

rumblemumble commented 1 year ago

Not sure if it had ever worked for you guys, but when I check live data of my tibber IR on tibber's developer page, the values stays empty as well. So I guess it's not an error on HA plugin side.

My power meter is not very fancy and just shows neg value if I produce more than I consume. I also started using tibber IR a few weeks ago.

HebeROF commented 1 year ago

As a diversion, it would of course be nice if this negative value could be added hourly. After all, one would have the yield of the solar system minus the negative sum from the overproduction of the solar system and thus automatically the consumption from solar, the feed-in to the grid and from Tibber the consumed electricity.

Sw0rdf1sh1 commented 1 year ago

I've solved this by using the riemann sum integral in Home Assistant Helpers for sensor.power_production_STREETNAME. This will sum my "negative" Production and i can use it i my energy dashboard.

image

HebeROF commented 1 year ago

Can you show some details?

Sw0rdf1sh1 commented 1 year ago

Sure

In your HASSIO Dashboard go to "Settings" > Devices & Services > Helpers > Create Helper Choose: "Integration - Riemann sum integral sensor" Name like "PV and Input Sensor would be something like sensor.power_production_musterstrasse_3 (there will be an tibber Entity with a name like that.

The negative values are your "Return to grid" values. Tibber shows them as positive integers in your Dashboard and their API. Using this Integral will sum these integers over the time and you can use this new created Sensor as your "Return to Grid" sensor in your Energy Dashboard.

image

This will create your own sensor, which you can use in the Energy Dashboard. The virtual sensor sums the negative values of Tibber.

issue-triage-workflows[bot] commented 9 months ago

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. Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.

z3us22 commented 9 months ago

I am not sure if it is fixed but I haven't had any problems lately. Seems to work now :)

issue-triage-workflows[bot] commented 6 months ago

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. Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.