core icon indicating copy to clipboard operation
core copied to clipboard

Enphase integration no longer working

Open mruizdia opened this issue 2 years ago • 13 comments

The problem

Seems that Enphase envoy has added as an authentication method a Token that need to be downloaded from their page time to time, this token is not part of the integration configuration where it only request IP, User and Password. for this reason, the integration is not connecting. This was happening in the stable version and I´ve included in my homeassistant the beta versions as well to check if this has been identified, but it still fails.

What version of Home Assistant Core has the issue?

2023.2.0b2

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant OS

Integration causing the issue

Enphase envoy

Link to integration documentation on our website

https://rc.home-assistant.io/integrations/enphase_envoy

Diagnostics information

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

No response

mruizdia avatar Jan 27 '23 10:01 mruizdia

Hey there @gtdiehl, mind taking a look at this issue as it has been labeled with an integration (enphase_envoy) you are listed as a code owner for? Thanks!

Code owner commands

Code owners of enphase_envoy can trigger bot actions by commenting:

  • @home-assistant close Closes the issue.
  • @home-assistant rename Awesome new title Change the title of the issue.
  • @home-assistant reopen Reopen the issue.
  • @home-assistant unassign enphase_envoy Removes the current integration label and assignees on the issue, add the integration domain after the command.

(message by CodeOwnersMention)


enphase_envoy documentation enphase_envoy source (message by IssueLinks)

home-assistant[bot] avatar Jan 27 '23 10:01 home-assistant[bot]

Hi All, I got my envoy 2 weeks ago and I was super interested in the idea of integrating it to my Home assistant as well, but I found out the same error. If I can do something for testing let me know.

image

image

mruizdia avatar Jan 27 '23 10:01 mruizdia

I'm running 2023.2.0b4 and the Envoy integration works fine. However I didn't not remove it and try to set it up again.

Envoy firmware: D5.055 (Envoy-S-Standard-EU)

Marcel030nl avatar Jan 29 '23 21:01 Marcel030nl

Hi, thanks for the answer, my envoy firmware is D7.0.88.

I think the problem is that with this firmware, envoy is requesting a tocken when you connect to it via https://envoy.local/ and that token need to be generated via other website.

[cid:f1cf327f-1858-4780-86b9-0e5d71d0c27c]

I´m using the integration and when i enter the device and password, it just say that "failed to connect"

[cid:302efae9-2b86-4587-ac33-49b2eb8c999c]

I´m stuck there since I got the devices 🙁


From: Marcel030nl @.> Sent: Sunday, January 29, 2023 10:28 PM To: home-assistant/core @.> Cc: mruizdia @.>; Author @.> Subject: Re: [home-assistant/core] Enphase integration no longer working (Issue #86781)

I'm running 2023.2.0b4 and the Envoy integration works fine. However I didn't not remove it and try to set it up again.

Envoy firmware: D5.055 (Envoy-S-Standard-EU)

— Reply to this email directly, view it on GitHubhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fhome-assistant%2Fcore%2Fissues%2F86781%23issuecomment-1407774379&data=05%7C01%7C%7C933574313e13462e457a08db023fb958%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638106244938937844%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=VnoJMqOXe9Dt5jpV0YuOCsYDEQKUag3dwGW3nbOWmKo%3D&reserved=0, or unsubscribehttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAJSKGNBAW3KMC7EAFNCOIATWU3OGXANCNFSM6AAAAAAUIQP3MI&data=05%7C01%7C%7C933574313e13462e457a08db023fb958%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638106244938937844%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=tnMdbbQDnzCd5gxMv4PaL0rGVeJzx9yXwLH7Ej%2BtJYQ%3D&reserved=0. You are receiving this because you authored the thread.Message ID: @.***>

mruizdia avatar Jan 30 '23 07:01 mruizdia

I can image your stuck. For me it's downtime waiting to happen when my firmware is upgraded. I got from the documentation that they improved security: The security infrastructure for accessing IQ Gateways using local APIs has been upgraded. The system now uses a token-based authentication mechanism to allow access for local data instead of a username/password combination. Read more about the local data access security [here](https://store-d9.enphase.com/download/techbrief-iq-gateway-access-using-token-en-us)

From the documentation https://store-d9.enphase.com/download/iq-gateway-access-using-token-tech-brief?_ga=2.113532679.1078583988.1675064715-1295548014.1675064715 based on curl it doesn't seems that complicated however with the -H option.

Marcel030nl avatar Jan 30 '23 07:01 Marcel030nl

Thanks, I saw that documentation before, but I´m not that savy 🙁.

I´ve been reading as well this post: Enphase Envoy - Current state of things - Third party integrations - Home Assistant Community (home-assistant.io)https://community.home-assistant.io/t/enphase-envoy-current-state-of-things/443829/7.

I´ll be following the steps to see if it works for me as well. [https://community-assets.home-assistant.io/optimized/4X/7/2/3/723a7874de82034da8d48fe6f786dca624946883_2_1024x757.png]https://community.home-assistant.io/t/enphase-envoy-current-state-of-things/443829/7 Enphase Envoy - Current state of things - Home Assistant Communityhttps://community.home-assistant.io/t/enphase-envoy-current-state-of-things/443829/7 Sorry for such a n00b question, but I just got my Envoy online the other day and started looking into things. In all your long post about the current state (which I highly appreciate), I noticed that you never mention the actual Enphase API documented here: The Enlighten Systems API Is that not a good solution for what we’re trying to do with HA? community.home-assistant.io


From: Marcel030nl @.> Sent: Monday, January 30, 2023 8:49 AM To: home-assistant/core @.> Cc: mruizdia @.>; Author @.> Subject: Re: [home-assistant/core] Enphase integration no longer working (Issue #86781)

I can image your stuck. For me it's downtime waiting to happen when my firmware is upgraded. I got from the documentation that they improved security: The security infrastructure for accessing IQ Gateways using local APIs has been upgraded. The system now uses a token-based authentication mechanism to allow access for local data instead of a username/password combination. Read more about the local data access security here

From the documentation https://store-d9.enphase.com/download/iq-gateway-access-using-token-tech-brief?_ga=2.113532679.1078583988.1675064715-1295548014.1675064715https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fstore-d9.enphase.com%2Fdownload%2Fiq-gateway-access-using-token-tech-brief%3F_ga%3D2.113532679.1078583988.1675064715-1295548014.1675064715&data=05%7C01%7C%7C4e990c2699bd4e69261e08db02968545%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638106617740100379%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=%2Bx9guYGZHlwJfL2q2q%2FqE1ytrw1zCuTJSdTlFsshEkA%3D&reserved=0 based on curl it doesn't seems that complicated however with the -H option.

— Reply to this email directly, view it on GitHubhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fhome-assistant%2Fcore%2Fissues%2F86781%23issuecomment-1408133822&data=05%7C01%7C%7C4e990c2699bd4e69261e08db02968545%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638106617740100379%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=V2nCmTz3DJ6nbIIL7MdMyR%2BK0ntmHrRc%2BciHUNcT66U%3D&reserved=0, or unsubscribehttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAJSKGNHTD4H3J37TCO563TLWU5XAVANCNFSM6AAAAAAUIQP3MI&data=05%7C01%7C%7C4e990c2699bd4e69261e08db02968545%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638106617740100379%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=wP0d7UY8kGEsbIpntoMft4UER1r2tCKFx6zVQiJ0HIQ%3D&reserved=0. You are receiving this because you authored the thread.Message ID: @.***>

mruizdia avatar Jan 30 '23 08:01 mruizdia

Mine is borked as well - was working great until recently.

25chiltonpde avatar Jan 31 '23 02:01 25chiltonpde

Same issue. Super stoked to connect it; just got my system activated this morning and nothing works. I assume it's this new token change or something. Any change of a HomeAssistant resolution?

derekcentrico avatar Jan 31 '23 16:01 derekcentrico

Let's follow this thread: https://community.home-assistant.io/t/enphase-envoy-current-state-of-things/443829/65

Marcel030nl avatar Jan 31 '23 16:01 Marcel030nl

Good idea, I´ve been reading it, and I managed to install the Integration via HACS, after restarting HomeAssistant I got it working, but at the moment to enter the credentials it doesn´t work yet. I´ve tested several things so far... and keep trying combinations during some free time 🙁


From: Marcel030nl @.> Sent: Tuesday, January 31, 2023 5:58 PM To: home-assistant/core @.> Cc: mruizdia @.>; Author @.> Subject: Re: [home-assistant/core] Enphase integration no longer working (Issue #86781)

Let's follow this thread: https://community.home-assistant.io/t/enphase-envoy-current-state-of-things/443829/65https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fcommunity.home-assistant.io%2Ft%2Fenphase-envoy-current-state-of-things%2F443829%2F65&data=05%7C01%7C%7C2c0df7209e2f4c5244f808db03ac6454%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638107811177368721%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=SxG5KkQL4ftN420170ObPnGuvkyLYmzf0iX0M%2Bt6etU%3D&reserved=0

— Reply to this email directly, view it on GitHubhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fhome-assistant%2Fcore%2Fissues%2F86781%23issuecomment-1410741458&data=05%7C01%7C%7C2c0df7209e2f4c5244f808db03ac6454%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638107811177368721%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=3fHqQc0a0tP0jP29oMlD3Tv4KdY%2F81UMeENK5F8XvxY%3D&reserved=0, or unsubscribehttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAJSKGNHL24IXQGWZESJXWN3WVFADVANCNFSM6AAAAAAUIQP3MI&data=05%7C01%7C%7C2c0df7209e2f4c5244f808db03ac6454%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638107811177368721%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=L9gT45EYet7QqIQWVPudbHQG6AjW3vHBmSaik1P3LvI%3D&reserved=0. You are receiving this because you authored the thread.Message ID: @.***>

mruizdia avatar Feb 01 '23 16:02 mruizdia

Stuck here as well.

In the logfile i see the following error:

ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self signed certificate (_ssl.c:997)

gr00tie avatar Feb 02 '23 09:02 gr00tie

Hey!!! I managed to get it to work

Using the Enphase Envoy (DEV) integration:

I´ve used Host* = Device IP Address username = my enlighten user = my mail Password = my enlighten password Checkbox "Use Enlighten" selected

Let´s play now!!!

[cid:a44d3d88-a9d0-42ee-9966-15574108aad4]


From: gr00tie @.> Sent: Thursday, February 2, 2023 10:28 AM To: home-assistant/core @.> Cc: mruizdia @.>; Author @.> Subject: Re: [home-assistant/core] Enphase integration no longer working (Issue #86781)

Stuck here as well.

In the logfile i see the following error:

ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self signed certificate (_ssl.c:997)

— Reply to this email directly, view it on GitHubhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fhome-assistant%2Fcore%2Fissues%2F86781%23issuecomment-1413410324&data=05%7C01%7C%7Cc28d6adfb3034c5f59d708db04ffd636%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638109269095269527%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=xs3nStLV38%2FLMQ1zA6D77HAXmInoLPhpnXvHRuPX8T4%3D&reserved=0, or unsubscribehttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAJSKGNBMGONLJJOBQ6HMNPTWVN43TANCNFSM6AAAAAAUIQP3MI&data=05%7C01%7C%7Cc28d6adfb3034c5f59d708db04ffd636%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638109269095269527%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=MoWrimripgXs4WsXOCH5S8d3A%2B2NVPmq%2BgBaa70kEuI%3D&reserved=0. You are receiving this because you authored the thread.Message ID: @.***>

mruizdia avatar Feb 02 '23 18:02 mruizdia

Anyone get consumption working using these third-party workarounds?

I get:

Last reset missing

The following entities have state class ‘measurement’ but ‘last_reset’ is missing:

sensor.envoy_202240181134_today_s_energy_consumption

derekcentrico avatar Feb 06 '23 16:02 derekcentrico

Hi, Mine is working, and I didn't do anything special about it to get it to work

[Image.png]

Sent from Outlook for iOShttps://aka.ms/o0ukef


From: Derek Gordon @.> Sent: Monday, February 6, 2023 5:43:19 PM To: home-assistant/core @.> Cc: mruizdia @.>; Author @.> Subject: Re: [home-assistant/core] Enphase integration no longer working (Issue #86781)

Anyone get consumption working using these third-party workarounds?

I get:

Last reset missing

The following entities have state class ‘measurement’ but ‘last_reset’ is missing:

sensor.envoy_202240181134_today_s_energy_consumption

— Reply to this email directly, view it on GitHubhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fhome-assistant%2Fcore%2Fissues%2F86781%23issuecomment-1419389664&data=05%7C01%7C%7C2b9895f8f3b64ff4a0a808db08614198%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638112986033634328%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=gaabzW9Y0sVLZnAvp5Fo%2FEU%2FT0y0uGHw9%2B4BpdKR8xQ%3D&reserved=0, or unsubscribehttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAJSKGNDRWRYPIJPKKAM5SQDWWES2PANCNFSM6AAAAAAUIQP3MI&data=05%7C01%7C%7C2b9895f8f3b64ff4a0a808db08614198%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638112986033634328%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=kGzxMXduDm%2BiDFr8G1ddpnARxySM4BTMOq3llxAj25A%3D&reserved=0. You are receiving this because you authored the thread.Message ID: @.***>

mruizdia avatar Feb 06 '23 18:02 mruizdia

Which workaround did you employ? I went DEV.

On Mon, Feb 6, 2023, 1:24 PM mruizdia @.***> wrote:

Hi, Mine is working, and I didn't do anything special about it to get it to work

[Image.png]

Sent from Outlook for iOShttps://aka.ms/o0ukef


From: Derek Gordon @.> Sent: Monday, February 6, 2023 5:43:19 PM To: home-assistant/core @.> Cc: mruizdia @.>; Author @.> Subject: Re: [home-assistant/core] Enphase integration no longer working (Issue #86781)

Anyone get consumption working using these third-party workarounds?

I get:

Last reset missing

The following entities have state class ‘measurement’ but ‘last_reset’ is missing:

sensor.envoy_202240181134_today_s_energy_consumption

— Reply to this email directly, view it on GitHub< https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fhome-assistant%2Fcore%2Fissues%2F86781%23issuecomment-1419389664&data=05%7C01%7C%7C2b9895f8f3b64ff4a0a808db08614198%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638112986033634328%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=gaabzW9Y0sVLZnAvp5Fo%2FEU%2FT0y0uGHw9%2B4BpdKR8xQ%3D&reserved=0>, or unsubscribe< https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAJSKGNDRWRYPIJPKKAM5SQDWWES2PANCNFSM6AAAAAAUIQP3MI&data=05%7C01%7C%7C2b9895f8f3b64ff4a0a808db08614198%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638112986033634328%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=kGzxMXduDm%2BiDFr8G1ddpnARxySM4BTMOq3llxAj25A%3D&reserved=0

. You are receiving this because you authored the thread.Message ID: @.***>

— Reply to this email directly, view it on GitHub https://github.com/home-assistant/core/issues/86781#issuecomment-1419552722, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAOXG3RQSYLHVDUP6RQT6VLWWE6XTANCNFSM6AAAAAAUIQP3MI . You are receiving this because you commented.Message ID: @.***>

derekcentrico avatar Feb 06 '23 18:02 derekcentrico

Ohh, I keep trying until doing the following, it just connected and since then it’s recording the Today’s energy production with no issues.

Hey!!! I managed to get it to work

Using the Enphase Envoy (DEV) integration:

I´ve used Host* = Device IP Address username = my enlighten user = my mail Password = my enlighten password Checkbox "Use Enlighten" selected

Let´s play now!!!

[Image]

Sent from Outlook for iOShttps://aka.ms/o0ukef


From: Derek Gordon @.> Sent: Monday, February 6, 2023 7:27:58 PM To: home-assistant/core @.> Cc: mruizdia @.>; Author @.> Subject: Re: [home-assistant/core] Enphase integration no longer working (Issue #86781)

Which workaround did you employ? I went DEV.

On Mon, Feb 6, 2023, 1:24 PM mruizdia @.***> wrote:

Hi, Mine is working, and I didn't do anything special about it to get it to work

[Image.png]

Sent from Outlook for iOShttps://aka.ms/o0ukef


From: Derek Gordon @.> Sent: Monday, February 6, 2023 5:43:19 PM To: home-assistant/core @.> Cc: mruizdia @.>; Author @.> Subject: Re: [home-assistant/core] Enphase integration no longer working (Issue #86781)

Anyone get consumption working using these third-party workarounds?

I get:

Last reset missing

The following entities have state class ‘measurement’ but ‘last_reset’ is missing:

sensor.envoy_202240181134_today_s_energy_consumption

— Reply to this email directly, view it on GitHub< https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fhome-assistant%2Fcore%2Fissues%2F86781%23issuecomment-1419389664&data=05%7C01%7C%7C2b9895f8f3b64ff4a0a808db08614198%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638112986033634328%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=gaabzW9Y0sVLZnAvp5Fo%2FEU%2FT0y0uGHw9%2B4BpdKR8xQ%3D&reserved=0>, or unsubscribe< https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAJSKGNDRWRYPIJPKKAM5SQDWWES2PANCNFSM6AAAAAAUIQP3MI&data=05%7C01%7C%7C2b9895f8f3b64ff4a0a808db08614198%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638112986033634328%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=kGzxMXduDm%2BiDFr8G1ddpnARxySM4BTMOq3llxAj25A%3D&reserved=0

. You are receiving this because you authored the thread.Message ID: @.***>

— Reply to this email directly, view it on GitHub https://github.com/home-assistant/core/issues/86781#issuecomment-1419552722, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAOXG3RQSYLHVDUP6RQT6VLWWE6XTANCNFSM6AAAAAAUIQP3MI . You are receiving this because you commented.Message ID: @.***>

— Reply to this email directly, view it on GitHubhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fhome-assistant%2Fcore%2Fissues%2F86781%23issuecomment-1419556418&data=05%7C01%7C%7C362d5f4cafee43bd96dc08db086fdf97%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638113048801888532%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=33toxtrjcELcRn66yIH8f43qFoVt998BXILnm5ozgJ4%3D&reserved=0, or unsubscribehttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAJSKGNAV4OK6WDANIV5AWZDWWE7C5ANCNFSM6AAAAAAUIQP3MI&data=05%7C01%7C%7C362d5f4cafee43bd96dc08db086fdf97%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638113048801888532%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=Ep1VJBLGaTEGa6a%2BKJtrHVR6ET7cJpnQshGhWjKRfhA%3D&reserved=0. You are receiving this because you authored the thread.Message ID: @.***>

mruizdia avatar Feb 06 '23 19:02 mruizdia

Yeah so this works for me except for consumption. That's broke with this person's DEV fork.

derekcentrico avatar Feb 06 '23 20:02 derekcentrico

Mine was working fine until I upgraded to 2023.2.5 earlier today. I deleted the integration and re-added it because there is no way to reconfigure. I tried u/n: envoy pw: blank and checked "use enlighten" - got "Failed to Connect". Then I tried my enphase username and password and checked "use enlighten" and got "Unexpected error" SCR-20230216-fft

rjnca avatar Feb 16 '23 19:02 rjnca

Hi, I have the same problem, unexpected error appears.

How have you solved it? The shipy firmware is D7.0.88

Logger: homeassistant.components.enphase_envoy.config_flow Source: components/enphase_envoy/config_flow.py:42 Integration: Enphase Envoy (documentation, issues) First occurred: 19:21:37 (35 occurrences) Last logged: 21:06:40

Unexpected exception Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/components/enphase_envoy/config_flow.py", line 150, in async_step_user envoy_reader = await validate_input(self.hass, user_input) File "/usr/src/homeassistant/homeassistant/components/enphase_envoy/config_flow.py", line 42, in validate_input await envoy_reader.getData() File "/usr/local/lib/python3.10/site-packages/envoy_reader/envoy_reader.py", line 136, in getData await self.detect_model() File "/usr/local/lib/python3.10/site-packages/envoy_reader/envoy_reader.py", line 166, in detect_model await self.get_serial_number() File "/usr/local/lib/python3.10/site-packages/envoy_reader/envoy_reader.py", line 218, in get_serial_number full_serial = await self.get_full_serial_number() File "/usr/local/lib/python3.10/site-packages/envoy_reader/envoy_reader.py", line 228, in get_full_serial_number response = await self._async_fetch_with_retry( File "/usr/local/lib/python3.10/site-packages/envoy_reader/envoy_reader.py", line 128, in _async_fetch_with_retry return await client.get(url, timeout=30, **kwargs) File "/usr/local/lib/python3.10/site-packages/httpx/_client.py", line 1757, in get return await self.request( File "/usr/local/lib/python3.10/site-packages/httpx/_client.py", line 1533, in request return await self.send(request, auth=auth, follow_redirects=follow_redirects) File "/usr/local/lib/python3.10/site-packages/httpx/_client.py", line 1620, in send response = await self._send_handling_auth( File "/usr/local/lib/python3.10/site-packages/httpx/_client.py", line 1648, in _send_handling_auth response = await self._send_handling_redirects( File "/usr/local/lib/python3.10/site-packages/httpx/_client.py", line 1685, in _send_handling_redirects response = await self._send_single_request(request) File "/usr/local/lib/python3.10/site-packages/httpx/_client.py", line 1722, in _send_single_request response = await transport.handle_async_request(request) File "/usr/local/lib/python3.10/site-packages/httpx/_transports/default.py", line 353, in handle_async_request resp = await self._pool.handle_async_request(req) File "/usr/local/lib/python3.10/site-packages/httpcore/_async/connection_pool.py", line 253, in handle_async_request raise exc File "/usr/local/lib/python3.10/site-packages/httpcore/_async/connection_pool.py", line 237, in handle_async_request response = await connection.handle_async_request(request) File "/usr/local/lib/python3.10/site-packages/httpcore/_async/connection.py", line 86, in handle_async_request raise exc File "/usr/local/lib/python3.10/site-packages/httpcore/_async/connection.py", line 63, in handle_async_request stream = await self._connect(request) File "/usr/local/lib/python3.10/site-packages/httpcore/_async/connection.py", line 150, in _connect stream = await stream.start_tls(**kwargs) File "/usr/local/lib/python3.10/site-packages/httpcore/backends/asyncio.py", line 78, in start_tls raise exc File "/usr/local/lib/python3.10/site-packages/httpcore/backends/asyncio.py", line 69, in start_tls ssl_stream = await anyio.streams.tls.TLSStream.wrap( File "/usr/local/lib/python3.10/site-packages/anyio/streams/tls.py", line 122, in wrap await wrapper._call_sslobject_method(ssl_object.do_handshake) File "/usr/local/lib/python3.10/site-packages/anyio/streams/tls.py", line 130, in _call_sslobject_method result = func(*args) File "/usr/local/lib/python3.10/ssl.py", line 975, in do_handshake self._sslobj.do_handshake() ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self signed certificate (_ssl.c:997)

image

jfhmolina avatar Feb 22 '23 20:02 jfhmolina

How did you install the DEV version ? Via hacs or HA ? @mruizdia

mruizdia

djansen1987 avatar Mar 06 '23 21:03 djansen1987

Hi, yes, I´ve that one installed.


From: Daniel @.> Sent: Monday, March 6, 2023 10:13 PM To: home-assistant/core @.> Cc: mruizdia @.>; Mention @.> Subject: Re: [home-assistant/core] Enphase integration no longer working (Issue #86781)

How did you install the DEV version ? Via hacs or HA ? @mruizdiahttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fmruizdia&data=05%7C01%7C%7C74137a131c304c5689d108db1e87b080%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638137340574305848%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=ZJ4G2F8Ze85Ksmqo2NdUfZWh7uZ5SyIow%2BLLEfrwOlM%3D&reserved=0

mruizdia

— Reply to this email directly, view it on GitHubhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fhome-assistant%2Fcore%2Fissues%2F86781%23issuecomment-1457011435&data=05%7C01%7C%7C74137a131c304c5689d108db1e87b080%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638137340574305848%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=qVm%2BzuHa6UaG9DNkKgie%2B0%2BZsCbMe0jcLFke6dpTYb8%3D&reserved=0, or unsubscribehttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAJSKGNA2WFKI74JWJBSY5YDW2ZHRBANCNFSM6AAAAAAUIQP3MI&data=05%7C01%7C%7C74137a131c304c5689d108db1e87b080%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638137340574305848%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=3OFlKomZUo1YXbvOPX47r%2BLoQyZxH0OM7iaWXOq2BM8%3D&reserved=0. You are receiving this because you were mentioned.Message ID: @.***>

mruizdia avatar Mar 07 '23 07:03 mruizdia

I really really want to try the Enphase Envoy DEV workaround. Just installed HACS. Clicked on HACS > Integrations > Explore & Download repositories > Search: 'Enphase' and 'Envoy', but no results. What am I doing wrong??

Okay, just found the solution myself: Add custom thru the three dots: "https://github.com/jrutski/home_assistant_envoy_d7_fw"

JustDen1234 avatar Mar 13 '23 16:03 JustDen1234

Hi, After 2 weeks, ifound issue; version firmware : D7.0.88

Emphase Envoy (DEV)

I´ve used Host = Device IP Address username = my enlighten user = my mail Password = my enlighten password Serial number = ALL numbers (and not just the last 6) Checkbox "Use Enlighten" selected

stouf13 avatar Apr 15 '23 23:04 stouf13

The Enphase integration is no longer working on my HA instance as well. The integration is not able to authenticate with Enphase. See screenshot:

Screenshot 2023-06-19 172538 .

ikeurb avatar Jun 20 '23 00:06 ikeurb

The Enphase integration is no longer working on my HA instance as well. The integration is not able to authenticate with Enphase. See screenshot:

Screenshot 2023-06-19 172538 .

you have proberbly upgrade the firmware of your gateway? The firmware from7.xx does not work anymore with the current intergration of HA.

I switched to HACS custom component of: https://github.com/gtdiehl

djansen1987 avatar Jun 20 '23 07:06 djansen1987

Do you know what the latest version of firmware is for Enphase? Looking at the Enphase forums the software updates are automatically pushed by Enphase. Mine is version 7.3On Jun 20, 2023, at 12:59 AM, Daniel @.***> wrote:

The Enphase integration is no longer working on my HA instance as well. The integration is not able to authenticate with Enphase. See screenshot: .

you have proberbly upgrade the firmware of your gateway? The firmware from7.xx does not work anymore with the current intergration of HA.

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: @.***>

ikeurb avatar Jun 20 '23 14:06 ikeurb

See this post for more info

https://github.com/home-assistant/core/issues/88983

djansen1987 avatar Jun 20 '23 16:06 djansen1987