Comments (10)
maybe the API changed. I'll have a look this weekend.
from wienernetzesmartmeter.
I guess so.
When you add the integration for every Zaehlpunkt in your account a sensor will be created. each of those sensors will be initialized, hence the call to Zaehlpunkt which fail and thus you cannot add the integration.
fixing the API call's expected response will fix it.
I hope I'll find time tomorrow to have a look
from wienernetzesmartmeter.
Found the issue.
b2capiKey
changed to b2cApiKey
improved robustness of the regex looking for it
from wienernetzesmartmeter.
same issue here
from wienernetzesmartmeter.
Yep, they did something...
I get this error message:
{'Exception': 'PROD API Gateway encountered an error.
Error Message: Native service provider error.
Reason : com.wm.app.b2b.server.ServiceException: java.net.SocketException: Connection reset.
Request Details: Service - WN_SMART_METER_PORTAL_API_B2C, Operation - /zaehlpunkte, Invocation Time:4:45:58 PM, Date:Jan 13, 2023, Client IP - 1.2.3.4, User - Default and Application:WN_SMART_METER_PORTAL_API_B2C'}
I got this before rarely, but it fixed itself after a while. But this time it seems to be persistent.
Maybe they blocked all access that is not via their smartmeter portal, because on that page the requests to /zaehlpunkte
are working :(
edit: I also see those in the log:
'Exception': 'PROD API Gateway encountered an error. Error Message: Unauthorized application request. Request Details: Service - WN_SMART_METER_PORTAL_API_B2C, Operation - /zaehlpunkte, Invocation Time:11:30:56 PM, Date:Jan 18, 2023, Client IP - 1.2.3.4, User - Default and Application:sys:defaultApplication'}
This really sounds like they blocked access :/
from wienernetzesmartmeter.
so maybe it's the reason why I'm not able to add the integration, because of "Username/password invalid"
tried so many things like volkszähler - not able to decrypt this data :(
hope, that @DarwinsBuddy finds a solution ;)
Another question is: i've got two Zählpunkte - is the choice in HACS AFTER the login?
from wienernetzesmartmeter.
Hi, if you fix the problem, maybe please add a function to retrieve historical data. In my case I miss few days and I‘m not able to add the missing data with the correct date to the recorder.
from wienernetzesmartmeter.
this is a home assistant feature afaik.
iirc you have to go to
Settings -> Devices/Integrations -> Entities
and at the respective sensor.you click on the most right icon to add data
Right now this may not work, as the sensor has to be up-to-date.
from wienernetzesmartmeter.
released fix in 1.0.1
from wienernetzesmartmeter.
Nice! I thought already they had blocked the access :D
from wienernetzesmartmeter.
Related Issues (20)
- No hourly data downloaded when the account includes an inactive zaehlpunkt ("Returned data does not match given zaehlpunkt!") HOT 40
- TypeError "Can't override _attr_state_class in subclass" in 1.4.2 HOT 11
- v1.4.2: The following integrations and platforms could not be set up: wnsm.sensor HOT 1
- no data showing up after (version 1.43) KeyError: "Sum" in Logfile HOT 3
- Einspeisezählpunkt wird gefunden aber keine Daten HOT 1
- after update 1.4.3 statistic entity is not working HOT 2
- Error on device update HOT 2
- since middle of January statistic entities are not working HOT 7
- trigger reimport of data due to huge negative consumption error? HOT 10
- Statistics Import Stops Working after Renaming Statistics Entity HOT 2
- Energy Dashboard shows feeding without actually feeding in place HOT 31
- Problem with 29.02. HOT 2
- Subsequent update to statistics after initial import is not working HOT 5
- wnsm: Error on device update HOT 7
- No statistics are imported the day after the consumtion HOT 1
- Subsequent update to statistics after initial import is still not working HOT 10
- Error on wnsm/live_sensor.py:68 HOT 14
- two Smartmeters under the same contract. consumption and production HOT 1
- HomeAssistantType was used from wnsm, this is a deprecated alias which will be removed in HA Core 2025.5 HOT 1
- Keine Verbindung seit neuem Einspeisepunkt HOT 12
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wienernetzesmartmeter.