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

Getting bad request (400 error) when trying to pull 1 second data #89

Closed
tspielman-cee opened this issue Sep 4, 2024 · 2 comments
Closed

Comments

@tspielman-cee
Copy link

This is with get_chart_usage. URL looks correct as far as I can tell:

https://api.emporiaenergy.com/AppAPI?apiMethod=getChartUsage&deviceGid=108036&channel=1&start=2024-09-04T05:00:00Z&end=2024-09-04T16:59:00Z&scale=1S&energyUnit=KilowattHours

One minute data worked fine. Is one second data not available or no longer working?

@tspielman-cee
Copy link
Author

Checked some of the closed issues and did some experimenting. Looks like you can only pull an hour or so of one second data at a time.

@tspielman-cee
Copy link
Author

Thanks for providing this package. It's tremendously helpful. Think I can close the issue.

@magico13 magico13 closed this as completed Sep 9, 2024
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