[RELEASE] WyzeHub - Wyze Device Integration (minimal cam support)

Recently noticed that various WYZE lights were not turning on or of properly. Then outside lights started failing to turn on about every other day. App responsible for outside light shows no errors.

Looked at WyzeHub log and found that box was being overwhelmed with failed requests to refresh the token with Wyze. Tried everything to make it work including, rebooting hub, stopping and starting app, changing password on Wyze.com, which then caused errors to turn into 403 forbidden errors in the log.

I ultimately deleted and reinstalled WyzeHub and gave it the login credentials and still all I see are 403 errors in log, and app shows and error if I attempt to view devices. So, most of my lighting automation is dead.

I've found no mentions of this issue on here or on the Wyze support area, and searched but found no means to report it to them, as it seems to be a problem on their end. (when changing my password, it refused new one, though it met all restrictions except possible use of my name in it, which it didn't have. Eventually found one it would accept, so something may be wrong on their end}.

Any thoughts or help would be appreciated!!!

Error samples:

Current state of errors:

app:2292026-03-16 10:52:07.492 PM

error

[WyzeHub] Login Failed with Exception: groovyx.net.http.HttpResponseException: status code: 403, reason phrase: Forbidden

app:2292026-03-16 10:52:07.165 PM

info

[WyzeHub] Authenticating User...

app:2292026-03-16 10:51:38.274 PM

error

java.lang.Exception: No Auth Tokens. Reauthenticate. on line 946 (method pageSelectDevices)

app:2292026-03-16 10:51:31.715 PM

error

java.lang.Exception: No Auth Tokens. Reauthenticate. on line 946 (method pageSelectDeviceGroups)

app:2292026-03-16 10:34:40.001 PM

error

[WyzeHub] Login Failed with Exception: groovyx.net.http.HttpResponseException: status code: 403, reason phrase: Forbidden

app:2292026-03-16 10:34:39.756 PM

info

[WyzeHub] Authenticating User...

app:2292026-03-16 10:34:07.886 PM

error

java.lang.Exception: No Auth Tokens. Reauthenticate. on line 946 (method pageSelectDeviceGroups)

app:2292026-03-16 10:30:50.784 PM

error

java.lang.Exception: No Auth Tokens. Reauthenticate. on line 946 (method pageSelectDeviceGroups)

app:2292026-03-16 10:30:41.192 PM

error

[WyzeHub] Login Failed with Exception: groovyx.net.http.HttpResponseException: status code: 403, reason phrase: Forbidden

app:2292026-03-16 10:30:40.935 PM

info

[WyzeHub] Authenticating User...

app:2292026-03-16 10:25:45.091 PM

error

[WyzeHub] Login Failed with Exception: groovyx.net.http.HttpResponseException: status code: 403, reason phrase: Forbidden

app:2292026-03-16 10:25:45.010 PM

info

[WyzeHub] Authenticating User...

app:2292026-03-16 10:24:58.041 PM

error

[WyzeHub] Login Failed with Exception: groovyx.net.http.HttpResponseException: status code: 403, reason phrase: Forbidden

app:2292026-03-16 10:24:57.965 PM

info

[WyzeHub] Authenticating User...

app:229

Original error state:

app:332026-03-16 10:23:02.010 PM

error

java.lang.Exception: No Auth Tokens. Reauthenticate. on line 946 (method deviceEventsCallback)

app:332026-03-16 10:23:01.996 PM

debug

[WyzeHub] apiPost()

app:332026-03-16 10:23:01.937 PM

debug

[WyzeHub] refreshAccessToken()

app:332026-03-16 10:23:01.935 PM

debug

[WyzeHub] {"code":"2001","msg":"access token is error","traceId":"80354c0205e2a82589ed492de8d763b7","data":{}}

app:332026-03-16 10:23:01.934 PM

error

[WyzeHub] Access Token Invalid. Attempting to refresh token.

app:332026-03-16 10:23:01.932 PM

debug

[WyzeHub] validateApiResponse()

app:332026-03-16 10:23:01.930 PM

debug

[WyzeHub] deviceEventsCallback() for device 7C78B27D615D

app:332026-03-16 10:23:01.859 PM

debug

[WyzeHub] asyncapiPost()

app:332026-03-16 10:23:01.772 PM

debug

[WyzeHub] [mac:7C78B27D615D, model:WLPA19C, actionList:[[pid:P1507, pvalue:FF9900]]]

app:332026-03-16 10:23:01.770 PM

debug

[WyzeHub] apiRunActionList()

app:332026-03-16 10:23:01.765 PM

debug

[WyzeHub] [F1] Setting color to HEX FF9900

app:332026-03-16 10:23:01.758 PM

info

[WyzeHub] [F1] setColor() Pressed

app:332026-03-16 10:22:59.541 PM

error

java.lang.Exception: No Auth Tokens. Reauthenticate. on line 946 (method deviceEventsCallback)

app:332026-03-16 10:22:59.527 PM

debug

[WyzeHub] apiPost()

app:332026-03-16 10:22:59.467 PM

debug

[WyzeHub] refreshAccessToken()

app:332026-03-16 10:22:59.466 PM

debug

[WyzeHub] {"code":"2001","msg":"access token is error","traceId":"fba0261848e1ba0fdc4cdbd74c6dbd0c","data":{}}

app:332026-03-16 10:22:59.464 PM

error

[WyzeHub] Access Token Invalid. Attempting to refresh token.

app:332026-03-16 10:22:59.462 PM

debug

[WyzeHub] validateApiResponse()