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

Minor change - Timeout from 60 to 300 for large panel installs #47

Closed
DeFlanko opened this issue Apr 23, 2023 · 0 comments · Fixed by #48
Closed

Minor change - Timeout from 60 to 300 for large panel installs #47

DeFlanko opened this issue Apr 23, 2023 · 0 comments · Fixed by #48

Comments

@DeFlanko
Copy link

When I installed the integration I would never get values -- after rabbit holing in the code I found that in sensor.py (line 147) changing this

from:

 async with async_timeout.timeout(60):

to:

async with async_timeout.timeout(300):

allowed me to then pull in data:

image

image

I attribute this to the possibility of having "48" panels on the SolarEdge monitoring site. When the reality is that I only have "24", but because Solar City/Telsa never went back into the Solar Edge site to clean up the old panel's the script has to cycle though all "48" panel entities, and It looks like the 60 sec time out occurs before it can complete the full page scrape.

Might help others, figured id open a ticket.

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

Successfully merging a pull request may close this issue.

1 participant