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

Queries cause crash after a few days #5

Open
jcalbert opened this issue Nov 13, 2020 · 1 comment
Open

Queries cause crash after a few days #5

jcalbert opened this issue Nov 13, 2020 · 1 comment

Comments

@jcalbert
Copy link
Owner

Not well documented yet, but after a long time / large number of queries, Legacy Eagle device stops responding, gives blinking status light

@toddsay
Copy link

toddsay commented Apr 24, 2021

I'm not certain if this is the same issue I've been discussing here https://community.home-assistant.io/t/custom-component-rainforest-eagle-200-local-meter-reader/110656/94, but if so, I have a pull request which may help #8. Basically, in my experience the legacy Eagle stops responding after a few hours or days, returning a 503 error with text "Timeout waiting for response".

Through trial-and-error I discovered that it is possible to get things running again by sending the get_historical_data request to the cgi_manager endpoint (as used by the web interface). After sending this request and waiting several seconds, the requests used by this client will typically begin working again. This PR automates that workaround process.

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

No branches or pull requests

2 participants