Comments (8)
Das hatte ich mir auch schon überlegt. Jedoch wird man sich dadurch schneller das Eeprom kaputt schreiben als einem lieb ist. Man könnte sich vorstellen diese Werte im RAM zu speichern. Hier gehen sie bei einem Power Cycle verloren. Aber bei einer retention Time von 7 Tagen ist hier sowieso keine Aussagekräftige Statistik möglich. Für alles Andere ist dann sowieso ein MQTT Broker mit nachgelagerter InfluxDB oder TimescaleDB empfehlenswert.
Im RAM wäre auch ok, wobei ja einmal am Abend langen würde die Werte zu schreiben !
Es geht ja nur darum das man sich die letzten Tage mal anschauen kann !
from opendtu.
Die Google Chart API könnte da helfen. Nutzt z.B. Tasmota. Tasmota speichert jeden Abend 1x die Daten in den Flash, somit sollte das Wearing überschaubar sein.
Als Beispiel wie es aussehen könnte:
https://ottelo.jimdofree.com/stromz%C3%A4hler-auslesen/ (Bild oben)
from opendtu.
Das hatte ich mir auch schon überlegt. Jedoch wird man sich dadurch schneller das Eeprom kaputt schreiben als einem lieb ist. Man könnte sich vorstellen diese Werte im RAM zu speichern. Hier gehen sie bei einem Power Cycle verloren. Aber bei einer retention Time von 7 Tagen ist hier sowieso keine Aussagekräftige Statistik möglich. Für alles Andere ist dann sowieso ein MQTT Broker mit nachgelagerter InfluxDB oder TimescaleDB empfehlenswert.
from opendtu.
Der "EEPROM" im ESP32 ist nur emuliert. Alle Daten werden im Flash Speicher abgelegt mit Wear-Leveling.
Eine Langzeitgrafik wäre wirklich super. Alternativ kann man die Daten in Filesystem als Datei speichern. Dann hat die Weboberfläche eventuell leichter Zugriff?
Interessant wäre:
- yieldtoday über mehrere Wochen (insgesamt 365 Tage?)
- eingespeiste Leistung über 24 Std (bzw über den Tag)
from opendtu.
@eeprom23 did you check the project / fork OpenDTU-Database ?
It uses the Flash-Filesystem on the ESP32 to store some of the values and displays them in a graph.
We do not know for sure how long the ESP32 can sustain such writes to the flash.
It may be better to attach an SD Card module and use that for storage.
from opendtu.
Eine Darstellung der Leistung im Tagesverlauf und/oder Energieproduktion in den letzten Tagen würde mich auch intressieren.
Dies per MQTT / Homeassistant zu realisieren vermag leider nicht jeder.
Das wäre aus meiner Sicht ein sehr großer Mehrwert für das Projekt.
from opendtu.
I know it's not exactly what you meant, but if you solve the problem by saving on the SD card connected to our ESP32?
Personally, I'm not satisfied with the MQTT data.
Ich weiß, es ist nicht genau das, was Sie meinten, aber wenn Sie das Problem lösen, indem Sie auf der mit unserem ESP32 verbundenen SD-Karte speichern? Ich persönlich bin mit den MQTT-Daten nicht zufrieden.
from opendtu.
I know it's not exactly what you meant, but if you solve the problem by saving on the SD card connected to our ESP32?
Related: #176
from opendtu.
Related Issues (20)
- Meldungen stimmen nicht überein! HOT 3
- Mit aktivierten MQTT Verbindungsprobleme zu den Wechelrichtern HOT 2
- Random Total Yield Reduce
- [Request] Communicate "firmware update available" through MQTT / allow firmware update through HomeAssistant
- HMS-800-2T-LV not connecting to OpenDTU Fusion HOT 7
- Crash during connection attempt to MQTT broker in Azure Event Grid HOT 3
- Firmware Update v24.6.29 stucks at 100% upload HOT 2
- Missing yieldday and yieldtotal on phase 1 HOT 2
- Min WIFI signal strength HOT 1
- DTU Polling Intervall Increases with more Connected Inverters HOT 1
- smart micro solar lose conection to openDTU 3 or 4 times a day HOT 4
- Faulty Sketch size reported in Info Web page HOT 5
- Lost connection to hms-1600-4t / frequency hopping HOT 27
- not possible to change the ip address HOT 11
- no return from manual ip configuration to dhcp HOT 1
- Interrupt received with CMT2300A HOT 2
- HMS-800-2T HOT 14
- /api/livedata/status -> too many decimal places via web query HOT 2
- [Request] Add support for TSUN TSOL_MS2000 inverter HOT 3
- "HMS-400BM" recognized as "HMS-500-1T v2" HOT 10
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 opendtu.