grzegorz914 / homebridge-enphase-envoy

Homebridge plugin for Photovoltaic Energy System manufactured by Enphase. Supported Envoy-IQ, Envoy-S and all peripheral devices.
MIT License
52 stars 9 forks source link

Enphase Plugin Stops Updating After Night Without Restart #161

Open BenouGui opened 2 weeks ago

BenouGui commented 2 weeks ago

Hi,

I'm using the Enphase plugin to send data from my solar panels to MQTT. Everything works well during the day, but after a night of no solar production, the plugin stops updating, and I no longer receive any panel data. To fix this, I need to restart the plugin each morning.

Additionally, it's quite difficult to pinpoint in the logs exactly when the plugin stops updating or goes inactive. This makes troubleshooting more complicated.

Could you please look into this issue? Let me know if you need any logs or further details.

Thank you for your help!

IMG_7129

grzegorz914 commented 2 weeks ago

Try latest beta and let me know

BenouGui commented 2 weeks ago

Thank you for the suggestion!

I installed beta 13 yesterday, but unfortunately, this morning the plugin stopped updating again, and I had to reboot it to get it working. It seems the issue persists.

I've now updated to beta 14 this morning, but I’ll need to wait until tonight to see if it resolves the issue after the usual overnight stoppage.

I've attached two logs:

The first log is from yesterday around 6 PM when everything was working fine until this morning. The second log is from this morning when the plugin stopped updating, followed by the log after I rebooted it. Let me know if there's anything else I should try or provide.

Thanks again for your help! homebridge.log.txt homebridge.log.AfterRestart.txt

grzegorz914 commented 2 weeks ago

beta 14 will try reconnect if error occurs, please let me know tomorrow after test.

BenouGui commented 2 weeks ago

Thank you for the suggestion!

Yesterday, I installed beta 16, but unfortunately, this morning the plugin stopped updating again, and I had to reboot it to get it working. It seems the issue still persists.

I've attached the logs from this morning:

The first part shows when the plugin stopped updating. The second part is from after I rebooted the plugin. Let me know if there's anything else I should try or provide.

Thanks again for your help!

homebridge.log.before.txt homebridge.log.after.txt

grzegorz914 commented 2 weeks ago

Your envoy just doesn’t respond to the request, as You see the plugin trying to connect again without success. May be You set to short fats refresh time.

BenouGui commented 2 weeks ago

Thank you for the response!

I understand that the plugin is trying to connect without success, but I’m wondering why everything works perfectly after I restart the plugin, and I didn’t have this issue before. If the refresh time was too short, wouldn’t the problem persist even after restarting?

I’ll try increasing the refresh time and see if that makes a difference. Let me know if there’s anything else I should check.

Thanks again for your help!

grzegorz914 commented 2 weeks ago

I testing this on my side and is working correct as of beta 16, I will investigate more time for this issue.

BenouGui commented 1 week ago

Just an update:

This morning, with version v9.4.1-beta.47, I didn’t need to reboot the plugin, and everything worked as expected. I’ll continue monitoring, but it looks promising so far.

Thanks again for your help!

grzegorz914 commented 1 week ago

I think latest beta.77 solved the issue, any info from your side.?

BenouGui commented 1 week ago

Yes, with beta 77 everything worked fine, no issues to report. I’ve just updated to beta 78 and will check tomorrow morning to see if everything is still stable.

Thanks for following up!

grzegorz914 commented 5 days ago

v9.4.1 released, I think is fixed finally.

grzegorz914 commented 1 day ago

@BenouGui any info ?

BenouGui commented 20 hours ago

Everything is working well now—no issues to report. Thanks for the support and the updates!