Enphase Envoy - Current state of things

Interesting.

So, only need to change the serial number in the python script?

If that’s the case, it’s really bad security.

Only for v5 firmware, for v7 this is not possible anymore…

1 Like

Anyone else having issues with HA being unable to connect to the envoy for about a minute every once in a while? It’s spitting out this error: ‘Timeout fetching envoy Envoy SERIAL# data’

You can see the gaps in the graph because of this. Everytime it lasts almost exactly 1 minute but when it happens appears to be random.

Edit: It also causes it to spit out an error for the template sensors:

* TemplateError('ValueError: Template error: int got invalid input 'unavailable' when rendering template '{{ [0, states('sensor.envoy_current_power_consumption') | int - states('sensor.envoy_current_power_production') | int ] | max }}' but no default was specified') while processing template 'Template<template=({{ [0, states('sensor.envoy_current_power_consumption') | int - states('sensor.envoy_current_power_production') | int ] | max }}) renders=182>' for attribute '_attr_native_value' in entity 'sensor.grid_import_power'
* TemplateError('ValueError: Template error: int got invalid input 'unavailable' when rendering template '{{ [0, states('sensor.envoy_current_power_production') | int - states('sensor.envoy_current_power_consumption') | int ] | max }}' but no default was specified') while processing template 'Template<template=({{ [0, states('sensor.envoy_current_power_production') | int - states('sensor.envoy_current_power_consumption') | int ] | max }}) renders=180>' for attribute '_attr_native_value' in entity 'sensor.grid_export_power'

I had frequent disconnects when connected through wifi (although i had a good quality wifi). Since i switched to ethernet no more disconnects. Maybe something to try?

1 Like

Already connected via ethernet. As a general rule in my house if it has an ethernet port it gets hardwired.

Is this easy to do? To switch from WiFi to ethernet. My gateway also quite often couldn’t connect while there was no problem with WiFi.

I know how to connect the cable, but I don’t know how to reconfigure the gateway from WiFi to ethernet.

Never done it myself. I did need to know the installer login to get to this page.
The default dhcp config should work anyway

http://envoy.local/home#network/ethernet

1 Like

To my surprise, I could open that page without installer password:

http://envoy-ip-address/home#network/ethernet

That link was just opened, it doesn’t ask any credentials!

And got this result below. It has the setting of yours. It seems by default it uses DHCP. So, if I attach an ethernet network cable, that would work. The question is, do I need to disable the WiFi setting? Or, probably it can use both and prioritize ethernet?

No one has any other ideas about what could be causing this?

I read somewhere there are issues with newer FW versions; perhaps that’s what causes your troubles? D07 requires a token. Otherwise no clue.

I’m using the newer posixx hacs integration now because of that but it has been a few months. I’ve seen this issue before but it worked it’s self out after a few days. It’s back now since I updated HA.

I did read something somewhere about ipv6 maybe causing an issue so I’ve disabled that in HA to see if it stops, unfortunately it made no difference.

I have the same issue of sometimes missing data, I guess it’s caused by the controller. You can work around it by creating a template sensor which keeps the previous reading if the current is unavailable. With HACS integration I don’t think I miss any data.

Has anyone changed the IP address of the gateway?

Do you need to reinstall the integration?

I don’t see a way to change the gateway IP address in the Home Assistant.

You can’t edit it in the UI (sadly) but you can edit the underlying json file and that works fine. I belive it’s in the hidden storage folder which you can access through smb or other means.

1 Like

In case anyone want to change from WiFi to ethernet, here what I did:

Follow this guide from Enphase:
Reconnecting your Envoy S or IQ Gateway using manual Wi-Fi setup - Support | Enphase

Then go to WiFi setting, write down the IP address being used.

Then “forget” it (this will remove the WiFi configuration).

Go back, go to the ethernet configuration.

Click use static IP and use the same IP address as the IP address used by the WiFi

Attach UTP cable and connect the gateway to your home network.

And that’s it.

This integration will still work fine. I didn’t do anything else.

Probably also smart to add this ip address as a dhcp reservation in your router so it won’t get assigned to another device.

What I did was to add the wired connection without removing the wifi config and then made the ethernet the main/active connection. This way the wifi will be the backup connection if the ethernet were to have any problems.

Yes, I reserved the IP address for the gateway.

And I didn’t know that it is possible to have multiple connections. Is the setting of “the main/active” connection clearly shown in the GUI? I don’t recall I have seen it, but I didn’t inspect every menu items btw.

I don’t see it now but i saw it when switching over IIRC. When i connected ethernet that connection became enabled and then i switched it over as the active interface in the web interface. My ethernet is now listed as “active” and Wifi still has a valid configuration so it can become active if need be.

1 Like

Did you manage to find a way? Perhaps a curl command?

Hi,
I just woke up this morning and I got a firmware update overnight, from version D5xxxx to D7.6.175. I didn’t ask for it.
I’m here trying to reconfigure everything, starting with the official integration that now doesn’t get anything.

1 Like