magico13 / ha-emporia-vue

Home Assistant Integration for Emporia Vue Energy Monitor
MIT License
488 stars 66 forks source link

The 1MIN sensor goes offline every now and then #232

Open cooltings opened 12 months ago

cooltings commented 12 months ago
image

Every now and then live sensor goes offline. I can still see it in emporia app.

PYehl73 commented 12 months ago

Happens constantly for me as well!

sdwhwk commented 11 months ago

One way to try is restarting the integration. It is not a foolproof method, but sometimes it works (although I’ve restarted mine three times already and the Mins are still unavailable).

cooltings commented 11 months ago

Yes I do reload the integration and this works but only temporarily as 2days or weeks later it will show unavailable again

sdwhwk commented 11 months ago

That’s been pretty much my experience, also.

Some are still online where others are not: IMG_0409

patrickaubertdelaruee commented 11 months ago

Same for me. Reload integration works for a day or two.

shawnhaywood commented 11 months ago

Reloaded the integration today and noticed the same "unavailable" message for a 1M entity. HA says, "This entity is no longer being provided by the emporia_vue integration. If the entity is no longer in use, delete it in settings.". Sure hope this gets resolved. Like others, I have this occur frequently, but when I reload it usually fixes itself.

sdwhwk commented 11 months ago

It is an annoyance, but the automation shared earlier seems to be a good temporary fix. I forgot how long I have it checked (less that what was stated to use) but I only ran into the issue once since then.

sekonicpr commented 11 months ago

Reloaded the integration today and noticed the same "unavailable" message for a 1M entity. HA says, "This entity is no longer being provided by the emporia_vue integration. If the entity is no longer in use, delete it in settings.". Sure hope this gets resolved. Like others, I have this occur frequently, but when I reload it usually fixes itself.

Has the same issue, I reloaded the integration, reset HA and router and it still has an unavailable error.

shawnhaywood commented 11 months ago

Checked my dashboard on the emporia site, looks like the "second" and "minute" data isn't reporting on there either.

metcalfa29 commented 11 months ago

Checked my dashboard on the emporia site, looks like the "second" and "minute" data isn't reporting on there either.

Glad im not the only one experiencing this issue. My seconds and minutes stopped reporting about an hour or so ago as well.

sdwhwk commented 11 months ago

I just noticed that too. Checked my devices to see if they were still connected to the WiFi just to make sure and they were. So this might be on Emporia’s end.

CrazyCoder commented 11 months ago

Looks like backend issue, according to the logs I see:

2023-11-19 00:00:12.313 ERROR (MainThread) [custom_components.emporia_vue] Error communicating with Emporia API: 500 Server Error: Internal Server Error for url: https://api.emporiaenergy.com/AppAPI?apiMethod=getDeviceListUsages&deviceGids=...

Data has been unavailable for several hours today:

image

kocsenc commented 11 months ago

Same thing as @CrazyCoder , I see no data reported as of around 2PM Nov28 PST.

image

CrazyCoder commented 11 months ago

They claim it's resolved:

We apologize for the inconvenience this weekend. We can confirm that service has been restored. We appreciate your feedback and patience.

JAudi23 commented 11 months ago

Confirmed for now, I had to restart HA and all entities are active again. I tried just reloading the Integration however the MIN entities that were unavailable did not come back until I restarted HA.

CrazyCoder commented 11 months ago

Too late, switched to the local esphome firmware, no more cloud dependency.

image

image

JAudi23 commented 11 months ago

Do you have a link to good instructions to complete the migration over to ESPHome? I've been tempted, but hesitant.

CrazyCoder commented 11 months ago

@JAudi23 See https://community.home-assistant.io/t/emporia-vue-utility-connect/378347/1 and https://github.com/jrouvier/esphome-emporia-vue-utility.