DarwinsBuddy/WienerNetzeSmartmeter

Connection Error

Closed this issue · 4 comments

Hi,
since Wednesday, 31.7.2024, there was an API change at WienerNetze. In the "main.xxxxxxxxxx.js" file the API Key after "b2cApiKey" cant't be found anymore.

This error is shown in Homeassistant:
"custom_components.wnsm.api.errors.SmartmeterConnectionError: Could not obtain API Key - no match"

reox commented

so either that is an temporary issue and goes away soon or they really changed something :( In that case one would have to check where we get the key from...

reox commented

Okay, maybe they really changed something. It looks like there is now a JSON file that contains the information: https://smartmeter-web.wienernetze.at/assets/app-config.json
Can someone verify that? If that is the case, it would be actually much easier to get the keys.

above fix #248 is working for me too. great! thx a lot!

What is exactly to do to fix this? I have no data since few days…