I have been dealing with this many weeks and I finally found what is causing this. When I do an unlink (onDisconnect), sometimes 1/5 of the times, the home app does not refresh and so it lets you unlink again when it is already unlinked.
The problem comes here, when users unlink twice and they do a link (onSync) again, they get all their devices correctly but they get an error message saying they did not find devices due to an error.
This error message says: No devices were found in your account. You may need to set up these devices with first. If you have already set up devices, they may not be available due to temporary error. Please wait few minutes and try again.
This makes no sense since sometimes I get this error and sometimes not, and I do always recieve devices and return it as response to OnSync
Hello community and developers!
I have been dealing with this many weeks and I finally found what is causing this. When I do an unlink (onDisconnect), sometimes 1/5 of the times, the home app does not refresh and so it lets you unlink again when it is already unlinked.
The problem comes here, when users unlink twice and they do a link (onSync) again, they get all their devices correctly but they get an error message saying they did not find devices due to an error.
This error message says: No devices were found in your account. You may need to set up these devices with first. If you have already set up devices, they may not be available due to temporary error. Please wait few minutes and try again.
This makes no sense since sometimes I get this error and sometimes not, and I do always recieve devices and return it as response to OnSync
Thanks!