Update to V0.123.9: pv 1 power outdated / Aktualisierung MQTT alle 2s #11815
-
Ich habe gestern auf von V0.119 auf V0.123 ein update durchgeführt. Klappt soweit bis auf 2 Ungereimtheiten.
Ich habe auch versucht das topic fronius/pv auf retained zu setzen. Hat aber auch nix geholfen. meine .yaml dazu: sorry, ich weiß nicht, warum das nicht untereinander formatiert wird. Bekomme es mit code nicht hin.
|
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 12 replies
-
Du hast timeout 30s konfiguriert (sogar 2x- was Quatsch ist). Kommen die Updates denn so oft? Ins Logfile hast Du sicher schon geschaut? |
Beta Was this translation helpful? Give feedback.
-
@andig Danke für die Antwort, welche mir aber leider nicht weiterhilft. Vermutlich habe ich auch schlecht kommunizert, denn es ist klar, dass kein neuer Wert beim MQTT-Broker ankommt, weil ich vor dem abschicken prüfe, ob sich der Wert geändert hat (warum soll ich den Broker - insbesonder in der Nacht - mit ständig gleichen Werten zumüllen). Ich dachte, dass RETAINED das Problem löst, indem dann z.B. evcc den letzten verfügbaren Wert erhält. Offensichtlich ist dies aber nicht der Fall!? Was also schlägst Du als Lösung vor? Ständig Werte an den Broker senden, auch wenn diese gleich sind, damit evcc stets einen "neuen" Wert erhält? Oder das timeout weiter erhöhen? Wie hoch geht das? Bis 18*60=1080 min? Oder gleich für 24h. Mein Fronius meldet z.B. "outdated", wenn nach 24h kein PV-Ertrag war. Oder gibt es noch was anderes? Wie sieht es mit meiner 2. Frage aus: Aktualisierung MQTT alle 2s? Ist das normal? Vielen Dank. Denke, über die Punkte könnten auch andere stolpern und dann hier die Lösung nachlesen. |
Beta Was this translation helpful? Give feedback.
-
Hallo, ich ärgere mich auch seit längeren mit der Fehlermeldung herum. Habe alle möglichen mqtt einstellungen ausprobiert aber bin da erfolglos geblieben. Interessanterweise ist die Fehlermeldung nur da, wenn evcc als Systemdienst (sudo systemctl start evcc) auf meinen Raspberry läuft. Wenn ich evcc nur mit "evcc" laufen lasse ist die Fehlermeldung weg obwohl im logfile genau das gleiche steht: Logfile meters:
|
Beta Was this translation helpful? Give feedback.
-
Die hier vorgeschlagenen Änderungen (größeres Timeout, Nullwerte über MQTT senden) führen alle dazu, dass der eigentliche Mechanismus zum Erkennen, dass PV keine Daten liefert, ausgehebelt wird. Wäre es nicht besser, wenn im EVCC beim ersten Timeout der Status der PV auf "fehlerhaft" wechselt und wenn wieder Daten kommen, der Status wieder auf "normal"? So dass nur die Statusübergänge geloggt werden und nicht jedes mal alle paar Sekunden der Status geloggt wird. Dann könnte man das in der Anzeige auch entsprechend hervorheben, dass aktuell keine PV-Daten vorliegen und die Logs werden nicht mehr geflutet. |
Beta Was this translation helpful? Give feedback.
-
Kurze Info hier, wie ich es bei mir jetzt gelöst habe. Ich habe ein kleines Tool https://github.com/micw/homedatabroker am Start, welches Daten von A nach B schaufelt und konvertiert. Bei Weitem nicht so flexibel wie ein Node Red, aber auf Zähler-Anwendungsfälle zugeschnitten. Das pollt die modbus Inverter alle 10s und subscribed die Daten von OpenDTU und aggregiert alles in ein "pv total", welches alle 5s published wird. Für alle Inputs habe ich ein Timeout angegeben, ab dem die auf Null gehen. Dadurch wird EVCC nun immer aller 5s mit PV-Daten gefüttert, auch wenn die Inverter nicht arbeiten. |
Beta Was this translation helpful? Give feedback.
Retained ist kein neuer Wert. Deine Config sagt, dass alle 30s ein neuer Wert kommen muss. Den Konflikt musst Du lösen.