WienerNetzeSmartmeter icon indicating copy to clipboard operation
WienerNetzeSmartmeter copied to clipboard

Subsequent update to statistics after initial import is still not working

Open patakfal opened this issue 11 months ago • 10 comments

#222 was closed but did not solve the problem, running 1.4.7 and the issue still persists, no update after initial load of historical data..

patakfal avatar Mar 18 '24 20:03 patakfal

Does anyone else still have the same issue after 1.4.7? Or I am alone with this?

patakfal avatar Apr 03 '24 11:04 patakfal

What does the log say? Please also check the debug log if the request to the API is actually send and what the answer is.

reox avatar Apr 03 '24 11:04 reox

logs.txt

This is last hour log, it seems it queries the previous days since the last successful historical date import took place. But no update on it ever since...

patakfal avatar Apr 03 '24 11:04 patakfal

okay, so there is simply no new data in the API (all the values are null). does it correctly show up in the wiener netze web portal? If it does, I would guess that the Zählpunktnummer ist different...

reox avatar Apr 03 '24 12:04 reox

The historical data was successful, but after that it shows "there is no data for this period". Zählpunktnummer AT0010000000000000001000015057713 is consistent. The only API call that shows data is in https://api.wstw.at/gateway/WN_SMART_METER_PORTAL_API_B2C/1.0/zaehlpunkt/consumptions, which shows Yesterday and DayBeforeYesterday that value is correct also on WienEnergie web portal...

patakfal avatar Apr 03 '24 13:04 patakfal

Same problem for me. Wiener Netze Portal Shows realistic data. Home assistant wnsm show parts only random to me. Seems that hourly values don't show up... I deleted and removed everything 2x.

Happy to help with more details or debug session. But my coding skills are limited. IMG_6264 IMG_6267 IMG_6266 IMG_6265

W-M-B avatar Apr 06 '24 17:04 W-M-B

Just looking at the logs and the issue reported. It seems that the API is not reporting flaky to no values back. Does this issue still persist? @W-M-B @patakfal ?

When the historical data is fetched it can take up to 2 hours to show in the dashboard. What is reported by WienerNetze though is beyond our control.

DarwinsBuddy avatar Apr 14 '24 10:04 DarwinsBuddy

update from my side: I did a clean up yesterday: deleted everything, rebootet, checked deleted some more (maybe the FAQ section needs an update, I will propose) rebootet. first ingestion now looks good so far.. I will update if the next days is fine. I have 1 smartmeter (consumption only)

W-M-B avatar Apr 15 '24 12:04 W-M-B

update: data update works fine. from my point of view the api and WNSM works fine (again). issue most likely some undeleted data in my system that caused the problem or onthe API side

W-M-B avatar Apr 16 '24 08:04 W-M-B

@patakfal do you still have the problem?

For me it is fixed. Cause : incomplete deletion of data. Working now for 4 days

W-M-B avatar Apr 18 '24 18:04 W-M-B

I'm closing this due to inactivity.

DarwinsBuddy avatar Jul 12 '24 06:07 DarwinsBuddy

for my smartmeter the issue was due to hourly and quarterly data was not available in the Wiener Netze. so only daily values were available and I could only this data in home assistant Since this week (more or less) I have again all data in the portal and it also shows up in home assistant. so good to close as the issue was related to the data provider!

W-M-B avatar Jul 12 '24 08:07 W-M-B