WienerNetzeSmartmeter
WienerNetzeSmartmeter copied to clipboard
Late data - not from yesterday
Dear all!
As I know "WienerNetzeSmartmeter" should provide data from yesterday. But I only see data from the day before. Example: If it is friday I can see it from wednesday and not from thursday. Is it possible to fix because online on wienernetze.at I can see it from yesterday.
Sensor will refresh at the moment between 5 and 6am. Maybe it would fix the issue if this "time window" is later or it is possible to configure it in the options. I am right, that this integration only requests the data 1 time a day or is it caused by the API?
Thanks!
I have the same issue still. I'm automatically fetching the data at 7 AM, I'll try to fetch it earlier but not sure if this offsets it into the right direction
I have the issue, that values from yesterday are shown today, has anybody an idea how to fix it?
Can confirm this behavior:
All meter data shown in this table are ment to be at the end of that period. So 6236 is at end of thirsday 9.10.
I always get new data in the morning. But e.g. on friday 10.10. I did not get the 6236 from end of thirsday but the 6222 from end of wednesday. But the consumption "Gestern" and "Vorgestern" are correct.
So the meter data are one day late and Wiener Netze has the newer data already. This confused me a long time. Can this be corrected?
Hi @DarwinsBuddy , can you also confirm this and even better, do you have a solution for it? thanks
I think the issue is that the value of the sensor gets the same date as when it is updated. I.e., in your case the sensor was updated somewhere at 8 in the morning I guess. AFAIK there is no way to back-date values in HA, except maybe for direct database insertion... With the 1h data, we do the trick and insert only statistics, for which we can set the time.
Hi guys,
@reox is correct here. There is no way to retroactively backdate or correct any reported data for home assistant. This discrepancy between what the WienerNetze SmartMeter API is reporting and how Home Assistant's sensor / recorder features work is the culprit.
Since we have to poll the API regularly (and not too often, so we don't apply unnecessary load to their infrastructure) we cannot foresee when the data of an individual smartmeter is ready for us to import. The data itself is batch processed, and the leeway between the reported data and the imported one is as of these technical limitations inevitable, unfortrunately.
I hope this answers your question @Swimmer71
Hi,
not sure what you mean. When I check the Wiener Netze in the morning of, eg. Friday, I can see all data until end of Thursday, and the smart meter data is from midnight of Thursday. So you integration could also pick up this data on Friday. Bty, at what time you pick this data? But if you pick it this should also contain Thursdays data, right?
And „Verbrauch Gestern“ (=Thursday) and „Verbrauch Vorgestern“ (=Wednesday) is correct, but the smart meter value is from end of Wednesday instead of end of Thursday.
So therefor I don’t understand this missmatch. Data is available form Wiener Netze but not fetched by integration.
thanks
Von: Christoph Spörk @.> Gesendet: Donnerstag, 20. November 2025 16:17 An: DarwinsBuddy/WienerNetzeSmartmeter @.> Cc: Swimmer71 @.>; Mention @.> Betreff: Re: [DarwinsBuddy/WienerNetzeSmartmeter] Late data - not from yesterday (Issue #303)
https://avatars.githubusercontent.com/u/490836?s=20&v=4 DarwinsBuddy left a comment (DarwinsBuddy/WienerNetzeSmartmeter#303) https://github.com/DarwinsBuddy/WienerNetzeSmartmeter/issues/303#issuecomment-3558610562
Hi guys,
@reox https://github.com/reox is correct here. There is no way to retroactively backdate or correct any reported data for home assistant. This discrepancy between what the WienerNetze SmartMeter API is reporting and how Home Assistant's sensor / recorder features work is the culprit.
Since we have to poll the API regularly (and not too often, so we don't apply unnecessary load to their infrastructure) we cannot foresee when the data of an individual smartmeter is ready for us to import. The data itself is batch processed, and the leeway between the reported data and the imported one is as of these technical limitations inevitable, unfortrunately.
I hope this answers your question @Swimmer71 https://github.com/Swimmer71
— Reply to this email directly, view it on GitHub https://github.com/DarwinsBuddy/WienerNetzeSmartmeter/issues/303#issuecomment-3558610562 , or unsubscribe https://github.com/notifications/unsubscribe-auth/BD5NB3YZX6NTY5ZYD3DAB7T35XLOHAVCNFSM6AAAAAB2744CSSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZTKNJYGYYTANJWGI . You are receiving this because you were mentioned. https://github.com/notifications/beacon/BD5NB32KXRONJHVWJEQ775T35XLOHA5CNFSM6AAAAAB2744CSSWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTWUDQLIE.gif Message ID: @.*** @.***> >
You can use the statistics to get the daily statistics, for example:
type: statistic
period:
calendar:
period: day
offset: -1
stat_type: change
entity: wnsm:at001009823789237589
name: Gestern
layout_options:
grid_columns: 2
grid_rows: 2
and offset: -2 for the day before. The values match for me exactly.
The meter value itself is rather useless to get actual daily stats from :/
my issue is, that I want to check the meter value itself on each month change. So I thought in history I go to first day of next month and I see the value from last day of last month (31.). But I see the value from last but one day of last month (30.).
20.11.2025 19:54:26 reox @.***>:
*reox* left a comment (DarwinsBuddy/WienerNetzeSmartmeter#303)[https://github.com/DarwinsBuddy/WienerNetzeSmartmeter/issues/303#issuecomment-3559573368]You can use the statistics to get the daily statistics, for example:
*type: statistic period: calendar: period: day offset: -1 stat_type: change entity: wnsm:at001009823789237589 name: Gestern layout_options: grid_columns: 2 grid_rows: 2 * The meter value itself is rather useless to get actual daily stats from :/
— Reply to this email directly, view it on GitHub[https://github.com/DarwinsBuddy/WienerNetzeSmartmeter/issues/303#issuecomment-3559573368], or unsubscribe[https://github.com/notifications/unsubscribe-auth/BD5NB34PCE7KI5M3BNUPKGD35YE6BAVCNFSM6AAAAAB2744CSSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZTKNJZGU3TGMZWHA]. You are receiving this because you were mentioned.
I think this is only possible +-1 day... Or you sum up the statistics for a month (for example, set period: month), but that does not give you the meter value but just the consumption