vincentwolsink / home_assistant_enphase_envoy_installer

This is a HACS custom integration for Enphase Envoys with firmware version 7 and up.
Apache License 2.0
54 stars 10 forks source link

[BUG] dead disconnection #48

Closed jerome6994 closed 10 months ago

jerome6994 commented 11 months ago

Good morning I just installed the integration on Home Assistant and great job for the community bravo. On the other hand, it seems that at times there are disconnections because at times my entities are inaccessible and my templates in error then it comes back without doing anything, then it starts again like this all day! Is there a setting to be made in particular to make it communicate more fluidly? is there a way to have if short disconnection the previous info in retain at least? If disconnection is abnormally long ok to have an unknown value for example

I have this : image

after that : image

or that image

vincentwolsink commented 11 months ago

Hi! Do you maybe have both an IPv4 and IPv6 address assigned to your Envoy?

Yellimur commented 11 months ago

Hi,

Here exactly the same problem. After update of Enphase in HACS and restart no connect with Envoy anymore.

jerome6994 commented 11 months ago

Hi! Do you maybe have both an IPv4 and IPv6 address assigned to your Envoy?

Good evening I don't know how to say certain IPV4 but IPV6 normally no I haven't done anything for it. I have a UDM-Pro router in DMZ but then the IPV6 I don't think I have activated it

Edit : On my test HA I was able to pass the repo: https://github.com/briancmpbll/home_assistant_custom_envoy

This one doesn't want to show me my installation in weird HA the same configuration fields though https://github.com/jrutski/home_assistant_envoy_d7_fw

and your integration presents regular disconnections! it's a shame because it is complete especially on micro-inverters

I just learned on HACF.fr that a person had had problems when 2 different HAs are connected to enphase!

The ideal would be a single complete integration integrated by HA :slightly_smiling_face: the result of your work to all

vincentwolsink commented 11 months ago

Indeed, you cannot have multiple active sessions to the Envoy. Can you maybe share your debug logs of the integration?

jerome6994 commented 11 months ago

Hello

I cut my test HA to do the observation today but it still works weird at the moment I started the debug logs we will wait a moment to have information

image

image

Question on the sidelines of your superb integration: Why didn't you do PR to make the official HA integration evolve?

vincentwolsink commented 11 months ago

The reason for not doing a PR to the official HA is twofold:

  1. This integration started out as an installer account only. It did not support non-installer accounts. Which will impact a lot of users of the current official integration. Also it doesn't support the D5 firmware, which the official integration does.
  2. Since this integration is still in heavy development, I do not want to be bound to the HA release cycle and have to wait to release fixes and/or improvements.
jerome6994 commented 11 months ago

OK I understand But I just saw one thing too is that the integration only supports installer accounts and not owner accounts only.

But my account is not an installer so can the disconnections come from there?

vincentwolsink commented 11 months ago

The integration nowadays supports Installer, DIY and owner accounts. When using with an owner account there is less information available, and please make sure to check the owner account option during setup or via the configuration button afterwards, to prevent useless data lookups.

jerome6994 commented 11 months ago

I had not checked the box circled in red

image

vincentwolsink commented 11 months ago

Looking at your screenshots you seem to have a DIY account and you should not tick that box. If the issue is not fixed yet, can you please share your debug logs?

jerome6994 commented 11 months ago

Good evening Thanks for your feedback.

So I waited a bit but on Friday I moved on to another less rich but stable integration while waiting for yours to evolve, I hope in the right direction for me.

My installation was done by a company. I didn't do anything myself!

Then I have two size concerns! I don't know where to find the integration logs! I've never needed to watch this kind of thing so I want to have the process. Then, are there still traces due to the change of integration? Then I can also come back to your integration, let it run for a few days and send you fresh traces.

I handed in the integration tonight

jerome6994 commented 11 months ago

it still picks up even though I did not check the box as requested image journal.txt

It's chaos image

jerome6994 commented 11 months ago

Hello Today's update is worse for me! I no longer have a connection to enphase at all

bes-r commented 11 months ago

The beta version 0.3.1 will fix your connection issue.

vincentwolsink commented 10 months ago

This issue seems stale. Closing it for now. Please reopen if you still encounter problems.

jerome6994 commented 10 months ago

Hello Vincent I'm back from vacation and I just put the integration back today. For the moment no disconnection The fix seems ok, I don't know what it came from but great job

Before the break another integration and after the break your integration after 2:00 p.m. image