berezhinskiy / ecoflow_exporter

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

Device offline half of the time, nothing changed #64

Open bass63 opened 4 months ago

bass63 commented 4 months ago

After 11 of June device half of the time the device is offline and the graphs are full of gaps

IMG_0160

Was working fine for a month before. Restarting the docker fixed everything for one day and then the problem came back and now it’s like that all of the time, reboot doesn’t help. Here are the logs

ecoflow_exporter.csv

prometheus.csv

Can someone help? Is this a EcoFlow server problem? EcoFlow official app works fine.

pontostroy commented 4 months ago

Try code from this MR https://github.com/berezhinskiy/ecoflow_exporter/pull/57/files It has updated mqtt libs

bass63 commented 4 months ago

Thanks! But I’m not a coder, merely an experienced user, so I can’t compile. Is there a new docker version or some archive with files I could replace inside a container?

scamianbas commented 4 months ago

Hi, the gaps are wifi/internet connection drops IMHO

bass63 commented 4 months ago

Hi, the gaps are wifi/internet connection drops IMHO

Nope, the unit is right next to router, the internet is fine, I’m streaming video from Plex server at the same time

online commented 4 months ago

I have the same issue 😕

johsk commented 4 months ago

I also have the same issue.

I am getting these outputs in the logs: ecoflow_exporter | 2024-07-18 20:43:39,945 INFO Message queue is empty. Assuming that the device is offline

i tried the above mentioned PR, but did not improve. i also tried to prolong the scrape intervall to 60s global: scrape_interval: 60s # Set the scrape interval to every 10 seconds. Default is every 1 minute. scrape_timeout: 60s evaluation_interval: 60s # Evaluate rules every 10 seconds. The default is every 1 minute.

not solved so far

Bildschirmfoto 2024-07-18 um 22 45 48
bass63 commented 3 months ago

Well, the problem has gone for me for last 20 hours, without me doing anything to this setup. I did install a homeassistant docker and it also reads EcoFlow Cloud info and maybe it keeps a connection alive? Or maybe it was server problems all the time. Anyway, I’ll keep updating this thread for a few days to see if the problem went away completely

KulykDmytro commented 3 months ago

i beleive same here: #67

bass63 commented 3 months ago

Well, the problem has gone for me for last 20 hours, without me doing anything to this setup. I did install a homeassistant docker and it also reads EcoFlow Cloud info and maybe it keeps a connection alive? Or maybe it was server problems all the time. Anyway, I’ll keep updating this thread for a few days to see if the problem went away completely

Nope, that lasted less than a day. Now we know from numerous other posts that it is a widespread problem with API access, hope someone will fix it