[APP][Pro] Enphase Controller

@bramtops @Steven_Bareman Are you also running another Enphase app? Can you send me a Diagnostic Report?

No, i delete the other one (zonnepanelen). My report is: 6d1ff28f-54d1-44d1-aa9f-59240439db5f

Thanks, I’ve looked it over. It’s basically the same though
 suddenly the Envoy is throwing 401 (unauthorized) responses on requests that should actually work.

Wait
 did you gain controller-access through exactly the way as described in the opening post? Or do you have a self-installer kind of account? @Mike1233 Same question for you.

What happens if you try to re-authenticate the Enphase Gateway device in Homey? Please send a Diagnostic Report if it then doesn’t work as expected.

I have a company account (always have). I can try to make a new fake company account.

i remove the gateway from homey and reconect it with the same account details, but now i am a home owner and not a installer any more. :man_shrugging:t3: also automatic discovery of serialnumber and IP was not working anymore. See report 3b40108b-1ae7-4afc-b799-ed9eb22e105d

Right, I see what’s going on now. With combined accounts like yours the enphase api is giving owner-level access, not installer/maintainer. To get around that we need the backup login method (basically scraping/faking a web login). That backup login method was not working anymore, causing you to lose controller access, which triggered the 401 errors and subsequent device offline and other errors.

The IP and serial autodiscovery is very wacky indeed. I’ll see if i can find what I’m doing wrong.

@bramtops it was not my report. I did not sent anything.
I also use another app on the same Homey somthat may cause the issue. I will first stop that app and try it again. I will do that tomorrow i think and see what will happen.
Thanks for reply.
I let you know.
I have a “onderhouds-/installateurs rol”.

New test-version is available here: Enphase Controller | Homey

It adds individual inverter/panel monitoring, and has some fixes to the authentication flows.
@Steven_Bareman @Mike1233 Could you guys check to see if this fixes your problem?

Thanks for the test version.
I did not test it, yet.
Just want to let you know that i stopped the Enphase app yesterday evening, installed your version, used the installer credentials and waited till this morning. Now it is working. So 1 Enphase device with 2 app was not working on 1 homey, for me.

Hi Bram,

I created the installer account, the app on Homey Pro (Early 2023), and this app does see the Evoy Gateway (non metered). However: a button to turn off/on the solar panels is’nt available.

Any suggestions on this?

I have installed the new test version and added the Envoy to Homey again. Unfortunately, I still only get the System Owner role and not the Installer.

I also noticed that when adding the device, the detected IP address is not displayed. Instead, what appears to be a long MAC address is shown.

@GJ_B @Steven_Bareman Enphase is currently having some authentication issues on their end. If you used the correct login it should self heal once enphase fixes their stuff. (Or there’s a new bug in my app but lets wait a bit :sweat_smile:) You guys have separate owner/maintainer accounts, or the dual-use single diy/installer account?

Thats the ipv6 address. If it connects its fine. Dit it get the SN correct?

Today the app was working ok. Updated to the test version and was still working.
Tried to turn Enphase off, it took about 1:20 minutes to go to 0.
Turned it on, after 6 minutes nothing happend, refreshed the screen, it was already producing power again for 4 minutes.
So turning on took also, i think, 1 or 2 minutes.
So, 2 Enphase apps on 1 Homey is to much.
But on another Homey (2019) there is the app Zonnepanelen active and that is working fine.
Tried a while a go to install the app Zonnepanelen on both Homey’s, the other one is a 2023, that was not working.
So now on the 2019 the app Zonnepanelen and on the 2023 the app Enphase Controller is no problem.

For info: installing the Enphase Controller app while the Enphase app was active, the app found the serial and IP adres automatic, with the Enphase app disabled i had to enter the serialnumber and IP adres manually. The two boxes were empty.

Yes, SN was correct! :slightly_smiling_face:

I will wait a couple of days off Enphase fix the problem. And yes, i have multiple accounts

Thanks @Mike1233 and @Steven_Bareman, your feedback is highly appreciated. I can only test the app with my own specific configuration and I completely rely on others to test the various other setups.

That shouldn’t happen. Updates should be pushed realtime. Interesting.

That should not be related. The detection works on the gateway pushing information on your network. Anyone else ‘listening’ shouldn’t affect that


Kind request though (for you and other users):

It’s incredibly hard to diagnose technical hickups just from messages on a forum alone. If you do run into something weird, a bug or just unexpected behavior, please send an app Diagnostic Report and put a few keywords of what was wrong in the description (I can see what is happening, but not what you’re expecting). Also, please do it within 10 minutes of observing said behavior so I receive the full verbose logging of the app. It will help tremendously, thanks!

I just pushed 1.3.2 to the test-branche with some small features/fixes.

I’m leaving the authentication/controller-access stuff alone for now for when Enphase has fixed their login issues.

I have installed version 1.3.2. I am now able to install both the Gateway and the inverter components.

It is nice that all inverters are seen together as 1 device, instead of many separate devices. All my inverters have been assigned a sequence number from 1 to 24. In the Android Enlighten app, when I click on an inverter, I can see the inverter’s serial number, but no sequence number. How can I relate the sequence number in the Enphase Controller app to the physical inverter on the roof? A serial number instead of a sequence number in the Enphase Controller app would help.

As a system owner, I see all the data (that is correct). My gateway is metered without CT coils. In the app, this is indicated as “Metered Gateway: No”. It is a metered gateway, but it cannot measure. I don’t know if this nuance is important.

The message “No new devices found” (correct message) is displayed very vaguely.

The serial number is rather large and would mess up the UI - and they’re not really relevant unless there’s a problem. There’s 2 easy ways to get the connection between the 2 though:

  • Any alert triggered wil give both the inverter serial as wel as the index number.
  • The inverters are also sorted by serial number before assigning the index number. So if you sort the inverters by serial number (you can in a browser in the Maintainer view), they will align with the order used in Enphase Controller.

Yep, thats intentional. A “metered gateway without the coils” is functionally equivalent to a “Standard Gateway”: it will accept on/off commands, but PEL commands are ignored and measurements are delayed.

I’ll do a UI polishing round in an upcoming version.
Thanks for chiming in!

What can be the reason when i get the message at logon:

“Both Enphase Cloud Token acquisition paths fails. Please verify credentials and network connection”

The app find the correct serial number and IP address. And using the same mail address and password as in the Enphase App. What can i do different to get access?

Enphase is having some ongoing authentication issues (although not everybody seems to be affected – I’m not). But you can double check the used credentials just to be sure.

If you suspect a bug in the app itself:

Ik heb de diagnostic rapport aangemaakt: 86FCD90E

Inloggen werkte dus niet, ook niet met de juiste wachtwoord.

Dat is een Homey diagnostic report, alleen Athom-medewerkers kunnen deze bekijken. Het diagnostic report dat @bramtops bedoelt is een App Diagnostics report, deze zijn aan te maken bij Meer->Apps->Enphase controller->Settings (rechtsboven)->Maak diagnostic report

Ohh
verkeerde dus
nu net weer geprobeerd in te loggen en het werkt nu wel
vreemd, probeer dit al een paar dagen te doen. Nu zit ik er wel in.