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

Reset Yield total and Store yield today ?! #87

Closed
eeprom23 opened this issue Jul 3, 2022 · 6 comments
Closed

Reset Yield total and Store yield today ?! #87

eeprom23 opened this issue Jul 3, 2022 · 6 comments
Labels
invalid This doesn't seem right question Further information is requested

Comments

@eeprom23
Copy link

eeprom23 commented Jul 3, 2022

Hello,
It is possible to reset Yield total ?
is yield today Stored in the esp for Some days ?

@NDS234
Copy link

NDS234 commented Jul 4, 2022

It is possible to reset Yield total ? ---> The value ist stored in the inverter. Can not be reset until today

@eeprom23
Copy link
Author

eeprom23 commented Jul 4, 2022

It is possible to reset Yield total ? ---> The value ist stored in the inverter. Can not be reset until today

It is possible to make a Little history for yield Today Which Save the Last Month?

@thinklerde
Copy link

You need an MQTT server. A database. And something to show that off nicely.

For this I use a RaspberryPI on which ioBroker runs with MQTT, as the database influxDB, and I display this graphically in Grafan. In Grafana you can then display everything possible. Day/Week/Year/ Last 5 minutes/... and much more

grafana

@lumapu
Copy link
Owner

lumapu commented Jul 4, 2022

I think like @thinklerde mentioned. You should do this kind of post processing in an environmet where you have resources to store a lot of data.
My sight to the ESP module is more like a bridge between inverter and your home automatisation.

@lumapu lumapu added invalid This doesn't seem right question Further information is requested labels Jul 4, 2022
@stefan123t
Copy link
Collaborator

@eeprom23, in theory we could store the past 31 daily yields on the ESP (either in memory or on the flash / eeprom). Currently the code does not run stable enought for all of us to really make use of such a feature.

@lumapu, would that be something we would include as a feature in the future, i.e. write the daily yield into a circular buffer / round robin db on the flash mem ? I expect some degradation of the flash mem if we write to the same locations in eeprom daily. We would also need some kind of wear leveling.

@NDS234 you are right, values in the inverter can not (yet) be changed from the DTU.
I have seen something in the Hoymiles code that resets the daily yield UsartNrf_ClearMI_DailyEnergy() and some history UsartNrf_ClearMIReal_HistoryEnergy() as well as the current status and command UsartNrf_ClearNetStatusAndCmd() or the version action and state UsartNrf_ClearVersionActionState(). But they all seem to reset the counters in the DTUs own memory only. Maybe some of the download / update methods may be used in the far future if someone feels daring and adventureous ?

@stefan123t
Copy link
Collaborator

@eeprom23 das YieldTotal kann m.W. nicht überschrieben werden.
Die DTU-Pro überschreibt nur ihr eigenes YieldDaily auf dem SPIFFS der DTU, nicht das im WR!
Daher bitte das Issue als nicht lösbar schließen. Danke.

@lumapu lumapu closed this as not planned Won't fix, can't repro, duplicate, stale Aug 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
invalid This doesn't seem right question Further information is requested
Projects
None yet
Development

No branches or pull requests

5 participants