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

since middle of January statistic entities are not working #216

Closed
2023alpha2023 opened this issue Jan 29, 2024 · 7 comments
Closed

since middle of January statistic entities are not working #216

2023alpha2023 opened this issue Jan 29, 2024 · 7 comments

Comments

@2023alpha2023
Copy link

2023alpha2023 commented Jan 29, 2024

hi again,
the new version 1.4.5 didn't solve the problem.
Until around 17.01.24 I got this data in the home assistent energy dashboard (I add two statistic entities)
Bildschirmfoto 2024-01-29 um 20 09 11
Everything is fine, Verbrauch and Netzeinspeisung are working
Yellow bar: data from an solar inverter

since 18.01.24 both statistic entities are not working and I got unclear data e.g.:
Bildschirmfoto 2024-01-29 um 20 10 21
Three bars for Verbrauch, rest is missing
Netzeinspeisung: no bar

Is there any idea or trick to solve the problem?
If I remember correctly version 1.4.0 or 1.4.1 was working. I tried a couple of things:

  • delete the entities
  • delete the folder in custom_components
  • installed version 1.4.0 or 1.4.1
  • installer the actual version

-> no impact, still unclear data

@manolitto
Copy link

have a similar problem:

  • version 1.4.5
  • completely uninstalled the integration and deleted all old data
  • reinstalled and reconfigured everything a week ago (when 1.4.5 came out)
  • historic data (statistics) loading worked ok (once after setup), but
  • on the next day I had a huge negative "consumption"
  • and from next day on I get no data any longer at all

Screenshot 2024-02-01 at 21 21 54

Screenshot 2024-02-01 at 21 22 11

@simmac
Copy link

simmac commented Feb 1, 2024

Similar issue for me. Look into your logs to see whether you get the same message, this is what I see in my logs:

Unable to load consumption

Please file an issue with this error and (anonymized) payload in github {'hasSmartMeter': True, 'isDataDeleted': False, 'zaehlpunkt': 'AT0010000000000000001000000[redacted], 'type': 'TAGSTROM', 'address': '[redacted]', 'zip': '[redacted]'} {'consumptionYesterdayValue': 10569, 'consumptionYesterdayValidated': True, 'consumptionYesterdayTimestamp': '2024-01-28T23:00:00.000Z', 'consumptionDayBeforeYesterdayValue': 14475, 'consumptionDayBeforeYesterdayValidated': True, 'consumptionDayBeforeYesterdayTimestamp': '2024-01-27T23:00:00.000Z'} {} {'optIn': True, 'consumptionAverage': 0, 'consumptionMinimum': 0, 'consumptionMaximum': 0}

@tixoman
Copy link

tixoman commented Feb 6, 2024

had the same problem.
My solution: deleting the 0 entries in the recorder database every day.

DELETE
FROM statistics
WHERE metadata_id IN (
SELECT ID FROM statistics_meta WHERE statistic_id LIKE '%AT00%'
)
AND state = 0 AND SUM = 0 AND start_ts >= UNIX_TIMESTAMP( DATE_ADD( UTC_DATE(), INTERVAL -1 DAY) )

So i have no negative consumption and the import is also running correct every day.

@DarwinsBuddy
Copy link
Owner

Please upgrade to v1.4.6 and follow instructions in FAQs How can I start over with a fresh data import?

@manolitto
Copy link

Please upgrade to v1.4.6 and follow instructions in FAQs How can I start over with a fresh data import?

Hmm, I upgraded and followed the FAQ guide (btw. small typo there, guess it should be "Days to keep" instead of "Days to remove"?)
After a restart and the reinstall of the integration everything looked fine.
A little later after another restart (actually a reboot) the Energy Board again shows a huge negative consumption for today (!?).

Will report what happens tomorrow after the next data import run...

@lukas-berger
Copy link

Same here, followed the guide in the FAQ and seeing -1096.2 kWh consumption for today.

@stefanschramek
Copy link

I have the same issues, as mentioned here #219

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

7 participants