FAQs #19
Replies: 3 comments 20 replies
-
Hey @DarwinsBuddy , when I integrate this into our home assistant I get a kwh sensor and a hidden cost sensor. The cost sensor is always 0,-€ and the kwh is always 419,32. Both sensors haven't changed for two weeks (since integration). I want to help and fix this issue, but I am not sure where to start. Are there any logs I can check for? |
Beta Was this translation helpful? Give feedback.
-
First of all many thankx for provind the smartmeter integration Wiener Netze for HA! Is was easy to install even tough I am a newbie. It neede a little more reading to understand why it is statistics, ... |
Beta Was this translation helpful? Give feedback.
-
How about two Smartmeters under the same contract. e.g. I have a PV System producing energy measured by the second SM. I see the second SM but it never has any values. |
Beta Was this translation helpful? Give feedback.
-
FAQs
Thanks for all of the interest this project has gained and also for your ideas and feedback.
Since many of the inquiries and questions became repetitive over the last couple of weeks, I decided to
create a list of FAQs s.t. (hopefully) I do not have to answer each of those multiple times over time.
IMPORTANT INFORMATION
This project is a community project and is not in any way related to Wiener Netze and their Smartmeter infrastructure.
If you have troubles with your smart meter, please do not create issues or discussions here in this project, they will politely be deleted without further notice if they do not address a topic directly associated with this integration.
How often are the sensors updated?
This integration uses the Wiener Netze B2C API, which serves at earliest your smart meter readings
in the morning at the day after your consumption. The integration checks every hour if new data is available and will update
automatically. If you have a brand new smart meter give the API a few days to expose your data.
Why does my login not work?
Please use the login credentials you're usually using at https://smartmeter-web.wienernetze.at/ (which should be the same as for your log.wien login)
Other oauth providers are not supported yet (e.g. google, etc.)
Why is my
_statistics
sensor marked asinactive
?Since we scrape the WienerNetze API once a day (as it's not delivering real-time, but batch data) we had to find a solution to retroactively import data into home assistant. Since there is no official API for that @reox got creative and came up with injecting the individual entries into the persistence layer of HA by using recorder.
But this forces us to never set the
_statistics
sensor active, as it would not be possible to add retroactively entries from that point on. Thus we decided to go for a double track solution: The live sensor for daily data that can be used for applications in HA that require an active sensor, but not necessarily historical data, and the_statistics
sensor for historical data to sift through in your Energy dashboard.Why does my sensor not show, or not display information?
Be sure, that your credentials are correct.
If you got your smart meter only recently, patiently wait for Wiener Netze to activate it and for them to slowly export the data to their API.
I opted into 15 min granularity. Can I access this data within the integration?
The answer to this question is complicated. Right now, Homeassistant cannot easily import historical data (See also this discussion). Therefore, it is not possible to have the 15min data directly.
However, it is possible to import statistics, but only for 1h intervals. Thus, the current implementation makes use of the statistics import to give you at least 1h consumption data.
The handling of this data is a bit special, as it is not a simple sensor state, but stored separately.
Setup 1h consumption data in energy dashboard
Go to the energy configuration and select as consumption meter reading the energy sensor that ends with
_statistics
, i.e., something likesensor.at0010000000000000001000000000000_statistics
.You might get a warning, that this entity is not available, but yesterday's statistic data should turn up in the energy panel.
Use the 1h consumption data as lovelace widget
Here are some examples, how to use the 1h consumption data in various forms:
Show yesterday's and the day before that total consumption
This is similar to the widget you can see in the smartmeter-web:
Get a graph of the hourly consumption
Note: This graph seems to produce wrong results, when the consumption is very similar for each hour...
How can I start over with a fresh data import?
Domains to remove
andEntity globs to remove
Days to keep
and select 0Execute service
WienerNetzeSmartmeter
.Delete
WienerNetzeSmartmeter
againGeneral Troubleshooting
If problems still occur, a good starting point for identifying them is to activate debug logging in the integration:
Beta Was this translation helpful? Give feedback.
All reactions