-
Notifications
You must be signed in to change notification settings - Fork 33
FAQs
Thanks for all of the interest this project has gained and also for your ideas and feedback.
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.
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.)
Note: Since some time we have troubles with the Wiener Netze login. A more sustainable change is hopefully coming soon. We're working on it. If you want to get more detailed updates please see: #289
We refactored the integration in order to sunset the _statistics sensor. Rest assured, you're still getting the historical data of your smartmeter reported. This is a breaking change though, since we now use a different Recorder entity for reporting the historical data to HomeAssistant.
Formerly we tracked it in
sensor.ATXXXXXXXXXXXXXX_statistics
now it's stored in
wnsm:ATXXXXXXXXXXXXXX
After upgrading to v1.7.0. you might want to delete your sensor.ATXXXXXXXXX_statistics sensor and integrate (if applicable) the wnsm:ATXXXXXXXXXX sensor into your energy dashboard instead.
You can check if you got your "new statistics" sensor set up properly by going to Developer tools -> Statistics.
Eventually you will just need two sensors from now on:
-
sensor.at001000000000XXXfor your daily meter readings -
wnsm:at001000000000XXXfor your statistics data
Please make sure that you import the latter (i.e. wnsm:....) into your Energy dashboard and use this one for your costs sensors.
If there are any other statistics sensors present related to WNSM, you can safely delete them.
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.
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.
Go to the energy configuration and select as consumption meter reading the energy sensor that ends with
_statistics, i.e., something like wnsm:at0010000000000000001000000000000.
You might get a warning, that this entity is not available, but yesterday's statistic data should turn up in the energy panel.
Here are some examples, how to use the 1h consumption data in various forms:
This is similar to the widget you can see in the smartmeter-web:
type: horizontal-stack
cards:
- type: statistic
entity: wnsm:at0010000000000000001000000000000
name: Gestern
period:
calendar:
period: day
offset: -1
stat_type: change
- type: statistic
entity: wnsm:at0010000000000000001000000000000
name: Vorgestern
period:
calendar:
period: day
offset: -2
stat_type: change
Note: This graph seems to produce wrong results, when the consumption is very similar for each hour...
chart_type: bar
period: hour
days_to_show: 2
type: statistics-graph
entities:
- entity: wnsm:at0010000000000000001000000000000
name: Energy Consumption
stat_types:
- state
- Navigate to the energy configuration and remove the sensors for consumption and feed-in
2. Remove statistics (recorder) data
- Navigate to Developer tools -> Actions -> Recorder: Purge entities
- Select all sensors (start with AT001)
- Deactivate `Domains to remove` and `Entity globs to remove`
- Select `Days to keep` and select `0 days`
- Click on `Execute service`
4. Remove the integration
- Navigate to Integrationen and to the entry of WienerNetzeSmartmeter.
- Select the 3 points for ALL entries and click Delete
5. Navigate to Developer tools -> Statistics
- Enter AT001 in the search above
- For each entry, a button should appear on the right “Problems with this integration”
- Click on it and select delete
6. Reboot HomeAssistant
7. Install the newest version with HACS
8. Reboot HomeAssistant
9. Add the integration WienerNetzeSmartmeter again
What we would need is potential additional calls in the smartmeter dashboard of Wiener Netze, which may not appear on a an account not owning a PV counter.
Best way to get this:
-
access&login https://smartmeter-web.wienernetze.at/#/welcome

-
Hit F12, select Network, Disable cache, filter for Fetch/XHR calls and reload the tab.

-
select and copy the response from all of the above marked calls and paste them here (anonymized) respectively. (If you have privacy concerns, we can share them on another channel, just contact me via email)

-
If there are other calls that you don't see in above screenshot please also post them with their respective responses. (Maybe we don't have all information necessary for feeding the PV sensor).
-
Create an issue with the information collected and we will have a look.
Thanks a lot for the effort. ❤️
If problems still occur, a good starting point for identifying them is to activate debug logging in the integration:
- delete the entities in the integration
- activate the debug logging
- add the entities again using Add entry
- deactivate the debug logging - a log should be downloaded automatically
- post the relevant parts, i.e. error messages etc. here