-
Notifications
You must be signed in to change notification settings - Fork 75
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to connect #81
Comments
What version of the integration are you using? Your screenshot shows an older gui explanation text. @briancmpbll V0.010 has below information text referring to the D7.0.0 software, provided you use english language. And what firmware does your envoy have? "For newer models, enter username Is there any information in the log file? |
Thanks for your reply, My Envoy is: IQ Gateway Software Version 7.3.120 |
Log shows this: `This error originated from a custom integration. Logger: custom_components.enphase_envoy.config_flow Unexpected exception |
Ok you have the correct one. Your firmware is above 7.0. In the configuration screen: Host is ip of the envoy. Username and password are the enphase website username and password. Envoy serial number is what it states. Check the box 'Use Enlighten' to have it go out and connect to enlighten website to get a token to access the envoy locally when hitting the submit button. That token is a very long string of characters but you don't see it. |
It seems as if it can't connect successfully to enphase website to obtain the token needed. Have you tried getting a token manually to confirm enphase website knows your serial number? Go here: https://entrez.enphaseenergy.com/ |
Thank you for your assistance. |
Wow...on the 5th try using all the same information...it finally worked!!!! |
Looks like just what I want but I am a total NOOB (3 days in) for Home Assistant. I understand somewhat the file editor etc. but if you would be so kind as to guide me a bit here I would be very appreciative of your time. |
As a first step you need take control of the windows. By default HA just inserts all entities into the Overview Home window. By taking control of it you can build your own windows by inserting these cards. |
Yes...I have done that already. Looks like I have to edit my configuration.yaml file, then create the graph card. Looks like I need a sensor and entity??? |
The entities are your envoy entities. There's current watts for each convertor. Then there envoy lifetime production in wh, last 7 day production in wh and todays production in wh. Use the envoy lifetime production in the energy dashboard. |
👍 No time wasted, I was solid a sleep here in Europe while you were having fun. Search for home assistant on youtube, there's some good stuff there showing what you can do with home assistant. As for this issue you reported the conclusion is that it took multiple attempts before first token was successfully obtained. That has been reported in various other places as well. Not sure if enphase website has some throttle or if it is just running at capacity. The code itself retrieving the token is missing error handling and errors with unexpected error and the section in the log that you found. It needs a second test detecting no token was returned and just tell the user to try again. |
Hi, for some reason the authentication stopped working (was working well up till today), and curious where do I go to update the credentials or IP address of my envoy in Home assistant? I couldn't find a config button or file to modify. Thanks! |
To update delete the envoy integration from the Settings / Integrations window. Restart HA and then in Integrations window configure it again. All data is kept and will show again once it's configured. |
Reporting back, that worked great.
…On Mon, May 22, 2023 at 12:51 AM Arie Catsman ***@***.***> wrote:
To update delete the envoy integration from the Settings / Integrations
window. Restart HA and then in Integrations window configure it again. All
data is kept and will show again once it's configured.
—
Reply to this email directly, view it on GitHub
<#81 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACGL45Y4K6SRENCBYS37523XHMLJVANCNFSM6AAAAAAYFLXW2M>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
…s what do you put in the unlabeled boxes? briancmpbll#73 and Unable to connect briancmpbll#81
I'm experiencing a very similar issue to this. I keep getting an "Unexpected Error" when trying to sign in. Everything is updated to current versions, I tried removing and reinstalling the HACS integration, but no help. Enphase Envoy (DEV): 0.0.10 Any ideas what is going on? Thanks! Log details: Logger: custom_components.enphase_envoy.config_flow Unexpected exception During handling of the above exception, another exception occurred: Traceback (most recent call last): |
The issue is the detected IPv6 address of the Envoy. See the Invalid Port Issue. HA doesn't work well with IPv6. To get it going you need to get it to using an IPv4 address.
|
I have the error unable to setup, is this a known error? 2023-06-14 17:35:52.811 DEBUG (MainThread) [custom_components.enphase_envoy.envoy_reader] HTTP GET Attempt #1: http://192.168.30.215/api/v1/production: Header:None 301 Moved Permanentlyopenresty/1.17.8.1 |
Was it working before or is this a new installation? What firmware are you using in the Envoy? |
It connects on HTTP and Envoy tells to go to HTTPS by using the 301 status code. |
It is a new installation, I tried the other custom integration (Enphase Envoy Installer) and that seems to work fine. |
This one has the logic to use https as well. That gets enabled when you check the 'use enlighten' option in the configuration screen. |
Thanks for the hint. The integration's text suggested to enter the username envoy, but you need to enter your Enlighten account credentials (email). |
Do you think there is an adavance to try this integration again or it is fine to leave it with the other integration? |
If it's providing what you need there's little need. There are a couple of envoy custom integrations that are based on same origin and pretty well compatible and even have code exchanged between them in the past (as I don't know which you are using I can't tell if yours is one of these). Only question if it is maintained when home assistant requires it to be changed in the future. |
I have tried all versions of data to get the Enphase Envoy (DEV) to connect, but to no success. I have the proper host (IP address), my username, password, and the full serial number. Have also tried both envoy and installer with blank passwords, nothing is letting me connect. Can someone offer me assistance?

The text was updated successfully, but these errors were encountered: