Closed Simanias closed 1 year ago
@Simanias Thx you for making this issue.
I looked at the API that provided this information and it contains the wrong data.
The API does indeed return large negative values. That is indeed what you see in the sensor hours run this year
. And the sensor run percentage
is calculated on that so that's why it also shows wrong data.
Unfortunately I can't do much about this at the moment. But I will send an email to the developers of the official website and ask if they can solve this.
We have seen other large jumps as well. Would it make sense to add a filter in this integration on sensors where we know it cannot happen? Can a custom integration make use of built-in integrations like filter
?
Is it still happening?
Is it still happening?
You mean with the new version 0.2.4? For me their are still 2 very large negative values.
For me the last one was on 12 Sept.
@Simanias The data given by the Live API is still wrong. But since this data is not shown on the official site. I don't think they are going to fix it.
{
"WND-BH":{
"id":"111",
"timestamp":"1665169810",
"wind_power":"7",
"power":"849",
"wind_direction":"ZW",
"year_production":"1809880",
"rpm":"26.1",
"total_runtime":"113006",
"year_runtime":"-383872785.244444",
"diameter":"100",
"pulsating":"1",
"power_percentage":"100",
"power_per_share":"153"
}
}
Maybe we should close the issue, since there is nothing you can do to resolve the wrong data from the API.
Maybe we should close the issue, since there is nothing you can do to resolve the wrong data from the API.
We could still create a filter as part of the integration? I have this:
- platform: filter
name: "het rode hert energy management filtered"
entity_id: sensor.het_rode_hert_energy_shares
filters:
- filter: outlier
window_size: 4
radius: 4.0
precision: 3
How difficult is it to apply this by default?
@Simanias I send an email again and the reaction of the customer service was:
We cannot solve this problem for you as it is not our software and code.
@balk77 I don't think you should change the data but you can do it for your self
Checklist
The problem
In the latest version 0.2.1 the new values of 'run percentage' and 'hours run' show a large negative value. I have tried to reset the values by removing the integration and re-install it, but no joy.
What is version of Home Assistant Core did you recieve the bug?
8.4
What is version of Home Assistant Supervisor did you recieve the bug?
2022.08.5
What is version of Home Assistant Supervisor?
2022.08.7
What is version of the Windcentrale integration?
0.2.1
Example Code snippet
No response
Anything in the logs that might be useful for us?
No response
Additional information
No response