Giter VIP home page Giter VIP logo

Comments (8)

eeprom23 avatar eeprom23 commented on August 15, 2024 2

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.

ottelo9 avatar ottelo9 commented on August 15, 2024 2

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.

tbnobody avatar tbnobody commented on August 15, 2024 1

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.

ericlangel avatar ericlangel commented on August 15, 2024 1

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.

stefan123t avatar stefan123t commented on August 15, 2024 1

@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.

andy5macht avatar andy5macht commented on August 15, 2024

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.

glucosum avatar glucosum commented on August 15, 2024

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.

dontbyte avatar dontbyte commented on August 15, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.