GithubHelp home page GithubHelp logo

Comments (6)

reox avatar reox commented on July 22, 2024 1

sounds like the /zaehlpunkt/default/welcome endpoint is gone...

Seems like it is split up now into several calls:
https://api.wstw.at/gateway/WN_SMART_METER_PORTAL_API_B2C/1.0/zaehlpunkt/consumptions returns:

{
    "consumptionYesterday": {
        "value": 3300,
        "validated": true,
        "date": "2023-02-15T23:00:00.000Z"
    },
    "consumptionDayBeforeYesterday": {
        "value": 4049,
        "validated": true,
        "date": "2023-02-14T23:00:00.000Z"
    }
}

and https://api.wstw.at/gateway/WN_SMART_METER_PORTAL_API_B2C/1.0/zaehlpunkt/baseInformation returns:

{
    "hasSmartMeter": true,
    "isDataDeleted": false,
    "dataDeletionTimestampUTC": null,
    "zaehlpunkt": {
        "zaehlpunktName": null,
        "zaehlpunktnummer": "...",
        "zaehlpunktAnlagentyp": "TAGSTROM",
        "adresse": "...",
        "postleitzahl": "..."
    }
}

there is also https://api.wstw.at/gateway/WN_SMART_METER_PORTAL_API_B2C/1.0/zaehlpunkt/meterReadings:

{
    "meterReadings": [
        {
            "value": 1234000,
            "type": "1-2:1.8.0",
            "validated": true,
            "date": "2023-02-16T23:00:00.000Z"
        }
    ]
}

IIRC these were the contents of the welcome endpoint before.

from wienernetzesmartmeter.

DarwinsBuddy avatar DarwinsBuddy commented on July 22, 2024 1

Fixed and rolled https://github.com/DarwinsBuddy/WienerNetzeSmartmeter/releases/tag/v1.0.2

from wienernetzesmartmeter.

cleversmart avatar cleversmart commented on July 22, 2024

same here, but with 2022.12.8, it seams like it‘s the API…

from wienernetzesmartmeter.

adamnet01 avatar adamnet01 commented on July 22, 2024

Hi, It's not working for me either.

Logger: custom_components.wnsm.sensor
Source: custom_components/wnsm/sensor.py:179
Integration: WienerNetzeSmartmeter (documentation, issues)
First occurred: 06:25:15 (20 occurrences)
Last logged: 11:02:32

Error retrieving data from smart meter api
Traceback (most recent call last):
File "/config/custom_components/wnsm/sensor.py", line 231, in async_update
welcome = await self.get_welcome(smartmeter)
File "/config/custom_components/wnsm/sensor.py", line 179, in get_welcome
raise RuntimeError("Cannot access welcome: ", response)
RuntimeError: ('Cannot access welcome: ', {'Exception': 'PROD API Gateway encountered an error. Error Message: Resource /zaehlpunkt/default/welcome not found. Request Details: Service - WN_SMART_METER_PORTAL_API_B2C, Operation - null, Invocation Time:5:25:15 AM, Date:Feb 17, 2023, Client IP - 212.17.110.118, User - Default and Application:null'})

from wienernetzesmartmeter.

DarwinsBuddy avatar DarwinsBuddy commented on July 22, 2024

Thanks @reox for investigating. Will have a look

from wienernetzesmartmeter.

DarwinsBuddy avatar DarwinsBuddy commented on July 22, 2024

@acdcnow Thanks a lot for reporting this in such a detailed manner and @reox for the quick analysis. :)

from wienernetzesmartmeter.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.