Comments (12)
The check for invalid data is only in place for the total lifetime energy.
from homeassistant-fusionsolar.
I think we all should report this to Huawei. You can mail them at [email protected]
from homeassistant-fusionsolar.
Just to be 100% sure: are you using the latest version of the integration?
There is already some code in place to prevent this. The root cause is Huawei sending wrong data.
Normally the value should only be updated if the plant is producing.
Could you check which entity you are using? Because I suspect you are using?
from homeassistant-fusionsolar.
Thanks for the fast reply.
I'm using the 'sensor.fusionsolar_station_total_current_day_energy' and I installed the Integration via HACS. Not sure where I can see what version I am running?
from homeassistant-fusionsolar.
Sometimes the Solar in the Energy Dashboard drops below Zero. So indeed it feels like the API sends incorrect data.
from homeassistant-fusionsolar.
If you have installed it through HACS and there are no updates available then you are running the latest version.
from homeassistant-fusionsolar.
But adding that to the Energy Dashboard also does not show correct data. Before I used the Inverters Daily Energy, but when you have batteries it is not the Solar Energy alone. So I looked like the total_current_day_energy
was the one I needed.
Thanks for the help, but as long as Huawei sends incorrect data it will not be solved I guess. Would be nice if that check could also be added to the total_current_day_energy
from homeassistant-fusionsolar.
The problem is that it is not that easy to check.
At the moment the check for the lifetime value is that it is only updated if the plant is producing.
We can't do this for the daily energy as the data would otherwise be moved over to the next day.
Returning 0 while not producing is also not an option, because Home Assistant will see this as a reset of the data.
I don't have a clue on how to check if the data is invalid as there is no real logic to it.
from homeassistant-fusionsolar.
Thanks. I understand.
from homeassistant-fusionsolar.
I am seeing similar behaviour with this integration - every night between 2300-0000 there is a large spike
When I look at the underlying data in Grafana, I see there is a burst of (what appears to be invalid) data between 2300 and 0000, every 10 minutes, starting at 23:12. (there is a zero data tick @ 23:12, followed by 5 ticks of bad data before it is zero again at 00:12)
from homeassistant-fusionsolar.
Did anyone get a response from Huawei on this?
In the meantime, is it easy to get this addon to ignore any solar-panel generation data coming from the inverter between 11pm and 1am as a precaution?
from homeassistant-fusionsolar.
I did not reported it, as I don't get the invalid data. Did you reported it, and got a response?
As the timeframe of "invalid" data will not be the same for everyone, and there is no easy way to check if the data is invalid I don't see a generic work around.
A possible way could be:
- Add a switch entity "Disable fetching data" in this integration
- In the UpdateCoordinator check for the state of this switch
- Use a schedule to turn on/off the "Disable fetching data" switch.
from homeassistant-fusionsolar.
Related Issues (20)
- All sensors unavailable (Kiosk) HOT 5
- Half of entities are unavailable HOT 4
- Unexpected error fetching FusionSolarOpenAPIDeviceRealKpiType data: 'NoneType' object is not iterable HOT 15
- No more entities provided HOT 63
- User/pass is output to log file. HOT 4
- Always disconnecting HOT 3
- Lifetime energy does not recover after Kiosk max retries. HOT 10
- Energy dashboard showing wrong values HOT 2
- Wrong device_class? HOT 1
- Steps in cumulative quantities. (open api) HOT 1
- Kiosk mode: SyntaxWarning: invalid escape sequence '\?' HOT 2
- Question: have you ever considered using APIs from the web portal? HOT 5
- Error requesting FusionSolarKiosk data HOT 1
- Not in coordinator data HOT 5
- Some numerical sensors do not allow to be used completely in the statistics cards HOT 6
- New entities created when updating kiosk URL HOT 1
- sensor.solar_total_lifetime_energy unknown HOT 6
- Some sensors take previous values at midnight HOT 2
- Not all kiosk sensors are present in Home assistant HOT 2
- Possible to adjust 'Active Power Adjustment'?
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 homeassistant-fusionsolar.