briancmpbll / home_assistant_custom_envoy

171 stars 76 forks source link

All Entities stopped reporting since Friday #155

Closed asinla closed 5 months ago

asinla commented 10 months ago

All entities are currently showing "Unavailable". Since roughly this Tuesday the current power production entitiy has been spotty. Often appears unavailable for a while then comes back. Then of Friday it showed unavailable and now every entitiy is unavailable.

On the Enlighten webpage and app everything is reporting correctly.

I have updated HA to latest version. The DEV integration is up to date. I have tried reloading the integration many times. Nothing works.

Thanks.

-A Envoy Entities Firmware

catsmanac commented 10 months ago

Hi @asinla, that's not nice indeed.

catsmanac commented 9 months ago

@asinla, did you get this resolved?

Mariushome commented 9 months ago

I have almost the same problem only my inverters are showing 0w... plz help the rest is gone. I happent after an update. I tride to go back to the previous version but i dont know how

catsmanac commented 9 months ago

What update triggered this? Can you enable debug log and/or diagnostic download as described above?

catsmanac commented 9 months ago

@Mariushome, to go back to previous version of the integration, see below.

If your inverters show 0 it suggests there is some communication with the Envoy, or I'd expect they would show unavailable too. So before downgrading inspect the HA log file (config/home-assistant.log) or use the debug enable/disable to download the log file to your computer.

To re-install any version, open HACS and go to the Integrations page in HACS. In there click the Enphase Envoy (Dev) Integration. That will open the readme of the Enphase Envoy. IN the right hand top click the 3 vertical dot menu button and select redownload from the menu.

Use the pulldown of select version to pick a version to download. After download restart Home Assistant. afbeelding

Mariushome commented 9 months ago

Thanks a lot i am going to try this...

sdwhwk commented 9 months ago

I’ve noticed this recently too. How recently, I can’t remember if it was before I updated or after, but I did roll back to 0.0.17, but it didn’t take hold after the reset, (still showed 0.0.19) and they still showed unavailable. Now I did notice from the logs it comes up every so often, but goes down. It’s up time is about 5min and the down looked like an average of 17min. I’ll post the debug logs if needed, but you mentioned changing the intervals. Based on the times I gave you, what would you suggest?

edit: I think I found A solution. Give me a day and I’ll report back.

edit 2: My idea only temporarily worked. Once I started working in HA adding new integrations and devices (and creating a new dashboard), it broke again.

What temporarily worked was going into Settings, Devices & services, Enphase Envoy (DEV), clicked on the 3 dots, and clicked delete. Then I restarted HA and on reboot it discovered it again. I entered the setup information and at first the initialization failed. All I did was go to the 3 dots again and click reload. And voila, started working. Again temporarily. It is either coincidence or not that once I started doing stuff in HA that it rebroke. For a few hours it was working fine after remove/readd.

From standard log:

October 11, 2023

Was connected 10:22:48 AM - 22 seconds ago Became unavailable 10:17:08 AM - 6 minutes ago Was connected 10:15:14 AM - 8 minutes ago Became unavailable 10:13:43 AM - 9 minutes ago Was connected 10:11:48 AM - 11 minutes ago Became unavailable 10:10:20 AM - 13 minutes ago Was connected 10:08:25 AM - 15 minutes ago Became unavailable 10:06:48 AM - 16 minutes ago Was connected 9:00:27 AM - 1 hour ago Became unavailable 8:55:21 AM - 1 hour ago Was connected 8:53:27 AM - 1 hour ago Became unavailable 8:47:51 AM - 2 hours ago Was connected 8:46:22 AM - 2 hours ago Became unavailable 8:45:02 AM - 2 hours ago Was connected 8:43:07 AM - 2 hours ago Became unavailable 8:41:29 AM - 2 hours ago Was connected 8:39:34 AM - 2 hours ago Became unavailable 8:34:01 AM - 2 hours ago Was connected 8:32:07 AM - 2 hours ago Became unavailable 8:30:35 AM - 2 hours ago Became unavailable 8:07:38 AM - 2 hours ago Became unavailable 7:55:25 AM - 2 hours ago Was connected 7:53:31 AM - 2 hours ago Became unavailable 7:52:03 AM - 3 hours ago Was connected 7:50:08 AM - 3 hours ago Became unavailable 7:48:29 AM - 3 hours ago Was connected 7:46:34 AM - 3 hours ago Became unavailable 7:45:04 AM - 3 hours ago Was connected 7:24:34 AM - 3 hours ago Became unavailable 7:21:09 AM - 3 hours ago Was connected 5:26:12 AM - 5 hours ago

As you can see, from 5:26 to 7:21 it was up steadily. Then after got wonky. I did do a few restarts to see if it would hold and it did in that two hours.

catsmanac commented 5 months ago

178 reports same, closing this one