Skip to content
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

Enphase Envoy not fetching all sites in account resulting in partial info #117282

Closed
jmwhite5 opened this issue May 12, 2024 · 6 comments
Closed

Comments

@jmwhite5
Copy link
Contributor

The problem

I added new solar panels this year and Enphase created a separate "Site" because they cannot merge the older solar panel inverters with the new ones. So when the Home Assistant Enphase integration logs into my account without specifying which "Site", it defaults to the oldest site and doesn't retrieve all the inverters. Could the integration either fetch ALL the Sites by default (would not impact most users but would benefit users like me) ? Alternatively, allow user to specify which site to fetch and I could add 2 Enphase instances.

What version of Home Assistant Core has the issue?

core-2024.5.3

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://www.home-assistant.io/integrations/enphase_envoy/

Diagnostics information

Screenshot 2024-05-11 at 19 00 29 Screenshot 2024-05-11 at 19 01 06

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

No response

@home-assistant
Copy link

Hey there @bdraco, @cgarwood, @dgomes, @joostlek, @catsmanac, 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 Renames 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.
  • @home-assistant add-label needs-more-information Add a label (needs-more-information, problem in dependency, problem in custom component) to the issue.
  • @home-assistant remove-label needs-more-information Remove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.

(message by CodeOwnersMention)


enphase_envoy documentation
enphase_envoy source
(message by IssueLinks)

@catsmanac
Copy link
Contributor

catsmanac commented May 12, 2024

Hi @jmwhite5, so same username/password and 2 site-id? And each site has an Envoy? And only 1 Envoy works in HA?

Currently we are not aware how to specify a site-id in the protocol to obtain the token. It's not described in the Enphase document that describes how to get a token programmatically. Won't mean it can't be done, just that we don't know how yet.

Is splitting in 2 username/password sets, one for each site-id is an workaround as Enlighten isn't providing overall values anyway?

@jmwhite5
Copy link
Contributor Author

jmwhite5 commented May 12, 2024 via email

@catsmanac
Copy link
Contributor

So in HA you had the 2015 Envoy configured and working. Then you added the 2024 on with its own IP, using same username and password also used for the 2015 one.

But the new one is not showing data in HA. Is there any errors in the log file? Does the second Envoy get initialized or does it just keeps on trying? Can you enable debug on the 2024 Envoy or does the debug option not yet show? Are both envoy showing information and a download diagnostic button?

afbeelding

We're not using that API V2 or V4 as that is the Enlighten Cloud API. What we're using is the Enlighten login as described in IQ Gateway Local API or UI Access using Token-TEB-00060.1.0-EN-2023-08-14.pdf and it has no description of specifying site id.

This can mean 2 things, it's needed and not documented, or username and envoy serial number is sufficient for it.

If both Envoy have a download diagnostic button then can you post the files that download when using the button here?

If you can't enable debug on the 2024 Envoy, add below to the configuration.yaml file:

logger:
  default: warning
  logs:
    homeassistant.components.enphase_envoy: debug
    pyenphase: debug
    httpx: debug
    httpcore: debug

and restart HA. Let it run for some time to see if it reports on the 2024 Envoy an d if so upload the log file here. And remove the setting from the configuration file again followed by HA restart.

@jmwhite5
Copy link
Contributor Author

jmwhite5 commented May 13, 2024 via email

@jmwhite5
Copy link
Contributor Author

The current implementation works for my scenario. No additional work required.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants