-
Notifications
You must be signed in to change notification settings - Fork 9
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 301 redirect for API #3
Comments
What firmware version do you have? |
My firmware is So far I've added:
Still stumped on:
|
Interesting, I wonder if that is a newer or older firmware compared to
|
My Span panel installation is from March 2022. I feel like the API on my device is newer, as accessing
My model is |
Fix issue #3 from updated API, add Energy tab support
I tried installing this integration but it looks like they changed the API location?
Traceback (most recent call last):
File "/config/custom_components/span_panel/init.py", line 53, in async_update_data
await span_panel.spaces.getData()
File "/config/custom_components/span_panel/span_panel.py", line 231, in getData
results.raise_for_status()
File "/usr/local/lib/python3.10/site-packages/httpx/_models.py", line 736, in raise_for_status
raise HTTPStatusError(message, request=request, response=self)
httpx.HTTPStatusError: Redirect response '301 Moved Permanently' for url 'http://192.168.0.170/api/v1/spaces'
For more information check: https://httpstatuses.com/301
The text was updated successfully, but these errors were encountered: