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 integration intermittent Solar production reporting interval #100112

Closed
ggatenby opened this issue Sep 11, 2023 · 19 comments · Fixed by #100288
Closed

Enphase integration intermittent Solar production reporting interval #100112

ggatenby opened this issue Sep 11, 2023 · 19 comments · Fixed by #100288

Comments

@ggatenby
Copy link

ggatenby commented Sep 11, 2023

The problem

Since upgrading to 2023.9.1 from 2023.5.4 I'm experiencing an issue where production is reporting at 14-16 minute intervals, with sporadic 1 minute intervals as well. This is despite the production values being updated in the Envoy UI every 1 minute. With 2023.5.4 the production reporting interval was always 1 minute.

The consumption reporting interval remains unaffected with 2023.9.1 - it's 1 minute the same as it was with 2023.5.4

Please see attached - upgrade took place at 16:12 on September 9th after which there is a significant change on the production graph
ha_enphase

What version of Home Assistant Core has the issue?

core-2023.9.1

What was the last working version of Home Assistant Core?

core-2023.5.4

What type of installation are you running?

Home Assistant OS

Integration causing the issue

Enphase

Link to integration documentation on our website

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

Diagnostics information

config_entry-enphase_envoy-74f914ba7e67c97df6263f8869c49c57.json (1).txt

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

Envoy Part Number
800-00554-r03

Envoy Software Version
D5.0.62 (5e57a9)

Envoy Software Build Date
03 Jun, 2021 2:38 AM

Connected via wired ethernet connection

@home-assistant
Copy link

Hey there @bdraco, @cgarwood, @dgomes, @joostlek, 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.

(message by CodeOwnersMention)


enphase_envoy documentation
enphase_envoy source
(message by IssueLinks)

@aperezva
Copy link

aperezva commented Sep 12, 2023

The shame and taking more tarn 1 minute to update. Uninstalled and installed Enphase dev Working perfectly

@ggatenby
Copy link
Author

ggatenby commented Sep 12, 2023

Thanks for the comment @aperezva , unfortunately I was not so lucky. Re-install did not resolve for me

@aperezva
Copy link

aperezva commented Sep 12, 2023

Thanks for the comment @aperezva , unfortunately I was not so lucky. Re-install did not resolve for me

@ggatenby I didn´t reinstall the same integration, I installed Enphase DEV from HACS as an alternative , and it s working fine. After 2023.09 I migrated to official one, but suffering this issues , I have come back to Enphase DEV integration that works perfectly in this moment.

I hope this point help you

@dangelsun
Copy link

Thanks for the comment aperezva , unfortunately I was not so lucky. Re-install did not resolve for me

Hello @ggatenby ,
I am having the same issue, same Enphase Software Version; Re-install did not work; and I never tried the HACS version/workaround; same 15min refreshes, sometimes a 1min refresh in between as well.
My http://192.168.en.voy/production.json provides continuous information...
I have always used the Standard Integration from HA; worked perfectly until 2023.9.1 (I was previously on 2023.8.4); I am upset about myself that I didn't further/extendedly test in my "test infrastructure" prior updating... my gut was telling me to test as I saw this "major" improvement; should have listened. ;)

@dgomes
Copy link
Contributor

dgomes commented Sep 12, 2023

To get a solution to this issue, would it be possible for you to run some python code (from the base library (https://github.com/pyenphase/pyenphase) that would provides us valuable information for debugging ?

I'm available on discord with the same handle

@ggatenby
Copy link
Author

Hi @dgomes I have spent a bit of time analysing the data returned from the Envoy at http://envoy.local/production.json and it appears the the wNow value from the inverters is being used to provide production values into HA and it is only updated every ~15 minutes. On the other hand the wNow value from the eim appears to update every 1 minute.

Have attached production.json

production.json.txt

@ggatenby
Copy link
Author

@bdraco not sure that using /api/v1/production is going to resolve because it appears just like inverters, "wattsNow" is only refreshed every 15 minutes as well. Also not sure what the data represents because the values are different to anything available from http://envoy.local/production.json

@bdraco
Copy link
Member

bdraco commented Sep 13, 2023

@bdraco not sure that using /api/v1/production is going to resolve because it appears just like inverters, "wattsNow" is only refreshed every 15 minutes as well. Also not sure what the data represents because the values are different to anything available from http://envoy.local/production.json

Agreed. We left it as draft since it didn't solve the issue. I'll close it now that we have a second confirmation

@bdraco

This comment was marked as outdated.

@bdraco
Copy link
Member

bdraco commented Sep 13, 2023

nevermind, I see it above. Getting too tired here

@bdraco
Copy link
Member

bdraco commented Sep 13, 2023

`
"type": "eim",
"activeCount": 1,

`

@bdraco
Copy link
Member

bdraco commented Sep 13, 2023

pyenphase/pyenphase#91 should fix it

@bdraco
Copy link
Member

bdraco commented Sep 13, 2023

My 4.x system has

"type": "eim",
"activeCount": 0,

So I get the slow updates no matter which one it picks

@ggatenby If you run the fixture collector and send the zip file we can add your system to the test suite so we don't regress this in a future update

https://github.com/pyenphase/pyenphase/blob/main/devtools/fixture_collector.py

@MisterX-RC
Copy link

I’m having the same problem as discribed above. My production updates every 15 or so minutes.

An I reading correctly that the issue has been found and will be resolved with the next update?

@ggatenby
Copy link
Author

@MisterX-RC, appears it may depend on the Envoy firmware version - if you had 1 minute updates prior to core-2023.9.1 then it's probable it's the same issue I have that @bdraco committed a fix into pyenphase for a few hours ago

pyenphase/pyenphase#91

@aperezva
Copy link

Please could you confirm that problem is solved in the new 2023.9.2 ha core version?

Or we must to wait to implement it in the next version?

@bdraco
Copy link
Member

bdraco commented Sep 13, 2023

2023.9.3.. in ~10 days

@bdraco
Copy link
Member

bdraco commented Sep 13, 2023

If you want it now you can install as a custom component and delete when 2023.9.3 is out

cd /config
curl -o- -sSL https://gist.githubusercontent.com/bdraco/43f8043cb04b9838383fd71353e99b18/raw/core_integration_pr | bash /dev/stdin -d enphase_envoy -p 100288

@github-actions github-actions bot locked and limited conversation to collaborators Oct 13, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.