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

feat: use sessionId cookie to have access to some endpoints #7

Merged
merged 8 commits into from
Jul 26, 2023
Merged

Conversation

dgomes
Copy link
Collaborator

@dgomes dgomes commented May 28, 2023

src/pyenphase/auth.py Outdated Show resolved Hide resolved
src/pyenphase/envoy.py Outdated Show resolved Hide resolved
@bdraco bdraco changed the title Use sessionId cookie to have access to some endpoints feat: use sessionId cookie to have access to some endpoints May 28, 2023
src/pyenphase/envoy.py Outdated Show resolved Hide resolved
src/pyenphase/auth.py Outdated Show resolved Hide resolved
@dgomes
Copy link
Collaborator Author

dgomes commented May 28, 2023

Not perfect, but a step forward

Pending:

  • sometimes the envoy return a 500 and retries are necessary (suggestions on aux lib for that?)

@bdraco
Copy link
Member

bdraco commented May 29, 2023

Not perfect, but a step forward

Pending:

  • sometimes the envoy return a 500 and retries are necessary (suggestions on aux lib for that?)

If its a simple 500 that raises you could make a decorator to retry on 500s

@cgarwood cgarwood merged commit 09a1a8a into main Jul 26, 2023
4 of 5 checks passed
@cgarwood cgarwood deleted the work branch July 26, 2023 14:28
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 this pull request may close these issues.

None yet

3 participants