Ok, those components are examples for implementations where the energy values are calculated from power. Implementation is here: openems/io.openems.edge.kaco.blueplanet.hybrid10/src/io/openems/edge/kaco/blueplanet/hybrid10/ess/KacoBlueplanetHybrid10EssImpl.java at develop · OpenEMS/openems · GitHub using the CalculateEnergyFromPower
class.
The implementation works in such a way, that is uses a local timedata service to store the channel values before restarting. I have not tested this with a local InfluxDB, but only with RRD4j, but in principle this should have worked also.
I suggest you try configuring a local RRD4j timedata service. Start OpenEMS Edge with the openems.data.dir
parameter, because this is where RRD4j stores its databases:
java -jar -Dopenems.data.dir=/var/lib/openems/ -Dfelix.cm.dir=/etc/openems.d/ openems.jar
After a while stop the system and start it again. The values should not anymore be reset to zero.
–
Another question out of curiosity: to be able to use these Components, you need an identkey
by KACO/Katek. Have you been able to get one from them or how did you get the implementation to connect successfully?
(see discussions here (KACO Wechselrichter verbinden - #7 by stefan.feilmeier) and Pull-Request (Implement KACO Blueplanet Hybrid 10 by sfeilmeier · Pull Request #1966 · OpenEMS/openems · GitHub))
Regards,
Stefan