WienerNetzeSmartmeter icon indicating copy to clipboard operation
WienerNetzeSmartmeter copied to clipboard

"Please file an issue" -> looks like API is returning incomplete data?

Open uffish opened this issue 5 months ago • 1 comments

Hey folks, Thanks for the integration! I've been trying to make it work on and off for a long time and never had any joy, even across multiple versions, blowing it away and reconfiguring it, all the stuff. I can authenticate file and my zaehlpunkt has entities added, but I never get any consumption data. Yesterday I finally got around to checking the logs and from the below (and my reading of the code) it looks like either the API isn't returning meter_readings, or at least anything the code can interpret as valid data. I'm a domestic customer (non-business) and am opted in to everything that can be opted into.

I can go and do a bit more digging to see what the raw data the API is actually returning is, but I thought I'd ask first in case this is a known issue and I'm just being stupid. So, er, is this is a known thing and I'm just being stupid?

2024-09-05 17:10:37.367 ERROR (MainThread) [custom_components.wnsm.live_sensor] Unable to load consumption
2024-09-05 17:10:37.368 ERROR (MainThread) [custom_components.wnsm.live_sensor] Please file an issue with this error and                             (anonymized) payload in github {'hasSmartMeter': True, 'isDataDeleted': False, 'zaehlpunkt': 'AT00100000000000000010000XXXXX', 'type': 'TAGSTROM', 'address': '[my-address], 1180 Wien', 'zip': '1180'} {'consumptionYesterdayValue': 29586, 'consumptionYesterdayValidated': True, 'consumptionYesterdayTimestamp': '2024-09-03T22:00:00.000Z', 'consumptionDayBeforeYesterdayValue': 37817, 'consumptionDayBeforeYesterdayValidated': True, 'consumptionDayBeforeYesterdayTimestamp': '2024-09-02T22:00:00.000Z'} {} {'optIn': True, 'consumptionAverage': 0, 'consumptionMinimum': 0, 'consumptionMaximum': 0}

uffish avatar Sep 06 '24 12:09 uffish