misenhower / homebridge-wyze-connected-home

Wyze Connected Home plugin for Homebridge
MIT License
70 stars 52 forks source link

app_id undefined error - Failure to pull in any Wyze Devices #17

Open ccruise13 opened 4 years ago

ccruise13 commented 4 years ago

I am current running homebridge Version 1.2.3 and plugin homebridge-wyze-connected-home v0.5.1. I also have MF2A enabled within my configuration. Upon startup I see the following in my logs:

` [9/23/2020, 10:00:23 PM] [Wyze-Smart-Home] Initializing WyzeConnectedHome platform...

...

[9/23/2020, 10:00:40 PM] [Wyze-Smart-Home] Error getting devices: TypeError: Cannot read property 'app_id' of undefined`

The app_id error is found multiple times as the plugin attempts to "run" within my logs. I don't see any indication that MF2A is not working but am open to suggestions.

Thanks.

rwolfe5420 commented 4 years ago

I had the same issues as you. I was able to resolve by changing my MF2A to google authenticator in the wyze app. Once it did this and used one of the codes from google authenticator it logged in and pulled all my wyze devices.

ccruise13 commented 4 years ago

I had the same issues as you. I was able to resolve by changing my MF2A to google authenticator in the wyze app. Once it did this and used one of the codes from google authenticator it logged in and pulled all my wyze devices.

Thank you for the advice! I was able to swap over to using an authenticator app and this did resolve my problem!

rwolfe5420 commented 4 years ago

No problem! Glad it worked for you!