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

Add code to download history #11

Open
jhoult opened this issue Jun 10, 2021 · 1 comment
Open

Add code to download history #11

jhoult opened this issue Jun 10, 2021 · 1 comment
Labels
enhancement New feature or request

Comments

@jhoult
Copy link

jhoult commented Jun 10, 2021

The website lets you download the history for the past week at /xxl_history/$thermosat_id/daily_history.json or the histor for the last month at /xxl_history/$thermosat_id/daily_history.json

It also supports a csv:
https://www.mynexia.com/xxl_history/$thermostat_id/monthly_history.csv
https://www.mynexia.com/xxl_history/$thermostat_id/daily_history.csv

@jhoult
Copy link
Author

jhoult commented Jun 11, 2021

when you try to use nexia.home._get_url it causes a redirect loop. Nexia responds with a 302 redirect to the CDR you ask for constantly, which causes the library to log back in, then try again, which then gives you another 302, and does it over and over.

@bdraco bdraco added the enhancement New feature or request label May 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants