berezhinskiy / ecoflow_exporter

Prometheus exporter for EcoFlow portable power stations
GNU General Public License v3.0
256 stars 45 forks source link

Historical data #71

Open DenTsym opened 3 months ago

DenTsym commented 3 months ago

Hi, Yaroslav, many thanks for possibility to monitor all Ecoflow metrics. Everything works good with my Delta Pro. The only issue, I do not see historical data before I start using exporter. I have started use it yesterday, and can see all metrics from that spot. But there is no any data before(

Jexly0x commented 3 months ago

image Check this.

Jexly0x commented 3 months ago

Your past data will be visible if both exporter and ecoflow were enabled at the time. If something was not enabled - the exporter did not record the information.

tess1o commented 2 months ago

This and any other ecoflow exporter cannot get data from the past. The exporter reads the metrics from your devices in real time and sends them to Prometheus. So you can't get old data for the period of time before you started the exporter.

If you stop the exporter for some time you'll also lose metrics for the time when the exporter is stopped.

Ecoflow doesn't provide any API to fetch historical data. Either they just don't want to implement such API or they don't store such data on their servers.