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

Refresh/access tokens changing on Wyze end breaks streams/webui #1208

Closed
2 tasks
mgrimace opened this issue May 16, 2024 · 3 comments
Closed
2 tasks

Refresh/access tokens changing on Wyze end breaks streams/webui #1208

mgrimace opened this issue May 16, 2024 · 3 comments

Comments

@mgrimace
Copy link

Describe the bug

It appears at least from my end that the access/refresh token provided via https://my.wyze.com and visiting https://services.wyze.com/api/v2/santa/refresh?tag=webview is changing/rotating today with no specific action taken on my part. When the token changes, it breaks access to feeds and DWB UI is unreachable. I have a API ID+KEY, but it does seem that the cameras require the access token now as well to work properly. Inputting the fresh key fixes the issue until it rotates.

As far as I know I'm not doing anything that would regenerate or rotate the refresh tokens.

Environment (if applicable)

  • Affected Camera(s):
  • Affected Camera Firmware:
  • Affected Bridge Version:
  • Bridge type:
    • [ x ] Docker Compose/Docker Run
    • Home Assistant
    • Other
@mrlt8
Copy link
Owner

mrlt8 commented May 17, 2024

Please use the API Key/ID if you have them, as that is the officially approved method for authenticating with Wyze.

The token-based method is primarily for testing or if you haven't generated an API Key/ID yet.

@mgrimace
Copy link
Author

Please use the API Key/ID if you have them, as that is the officially approved method for authenticating with Wyze.

The token-based method is primarily for testing or if you haven't generated an API Key/ID yet.

Makes sense.

Testing: when I remove the access/refresh token and only use API Key/ID on 2.9.1, then I get frequent camera disconnects (original doorbell + v1 floodlight), which makes the video lag/disconnect in Scrypted+Homekit. I tried adding ON_DEMAND=false but no change. Temporary workaround is back to 2.6.0.

@mrlt8
Copy link
Owner

mrlt8 commented May 17, 2024

That's a known issue. some potential fixes for that in the dev branch currently under testing.

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