Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect Meter being selected #205

Closed
AkshayRao27 opened this issue Dec 19, 2023 · 7 comments
Closed

Incorrect Meter being selected #205

AkshayRao27 opened this issue Dec 19, 2023 · 7 comments
Labels
bug Something isn't working bugfix

Comments

@AkshayRao27
Copy link

AkshayRao27 commented Dec 19, 2023

I have two Smart Meters listed in my account, but one of the meters has been inactive for over a year. The integration is selecting the inactive meter instead of the active meter.

image

image

A good solution would be to ask the user which meter should be used for the integration after the user logs in with their ID & Password.

In the mean time is there a way to change which meter gets selected?
I tried adding data to my configuration.yml and secrets.yml files manually, but the data isn't taking

image
image

@AkshayRao27
Copy link
Author

I tried contacting Wiener Netze to ask them to remove the inactive meter from my account, but 3 weeks later I have still not received any response.

Is there no way to fix this inside HA?

@DarwinsBuddy
Copy link
Owner

I think there is a problem with the manual configuration part. Using the config flow, by removing all configuration from your json config files and removing all sensors + integration and reinstalling it should do the trick.

I'll have a look into the manual config setup. I guess this was not bubbling up, because nearly all of us are using the auto setup with config flow.

@DarwinsBuddy DarwinsBuddy added bug Something isn't working bugfix labels Jan 13, 2024
@DarwinsBuddy
Copy link
Owner

ah okay. Now I get it.

The statistics sensor is inactive due to some limitations regarding WienerNetze API and Home Assistant. It is completely normal. Your setup works as expected. Please see the FAQs for the reason why this is happening #19

@AkshayRao27
Copy link
Author

I deleted all the WNSM Files and reinstalled the latest version (1.4.3). It is still selecting an inactive meter. Here is a screencap:
https://imgur.com/a/OyiVNnG (sorry for the bad quality - imgur compresses a lot and GitHub allows only 10mb)

@AkshayRao27
Copy link
Author

@DarwinsBuddy I just removed and reinstalled the integration and am now on 1.4.5. This issue still persists. Can I somehow provide more information to help fix it?

@DarwinsBuddy
Copy link
Owner

Hi

  1. the idea with "selecting one smart meter" may work for you, but not necessarily for everyone. some users have multiple active smart meters on various different addresses. Wiener Netze reports all of your past and current contracts including all related smart meters. we can only use what's exposed by the API without making a suggestion on which is currently used/active/etc.

  2. what sensor is active? please see the FAQs. if you have troubles with your currently used smartmeter in your energy dashboard you can enable debug logging of this integration and either post the anonymized log here or send it to me via email.

@AkshayRao27
Copy link
Author

So yesterday, this randomly changed without me doing anything at all and it pulled a lot of data, admitedly in a rather odd fashion:
image

Ever since then, the "Home" sensor (the smart meter that is active in my WN account is labelled "Home") seems to be working, even though the Home_statistics sensor isn't updating. The old meter is still being detected (which is fine) but they are no longer blocking the new meter from being detected ^^

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working bugfix
Projects
None yet
Development

No branches or pull requests

2 participants