roleoroleo/yi-hack-Allwinner.gdrive

Unlink google drive accunt

xerezcd opened this issue · 6 comments

Hi guys!
I'm having some issues with my 3 yi cams (with 1.8 yihack firmware).
Once I install gdrive mode, the cam works properly (it upload videos to gdrive).
But what i notice is that every 10-12 days +- (not exactlly) the cam lose the link between cam and gdrive.
And i have to start the process again...

:(

Is this still an issue?

Is this still an issue?

Yes :'(

I'm sorry, but I'm unable to solve this problem.
I just ported the code from here:
https://github.com/porunov/xiaomi_gdrive
And my knowledge of gdrive is very poor.

@xerezcd can you post your log/GDriveUploader.log?

Ok. I'll configure again and I'll post when I have the same issue.

If I understand the code correctly, the token is only refreshed when there's something new to upload and/or something to clean up.

Might this be the issue? When your "disconnect" happens, did you have any videos that needed uploading?

@roleoroleo this might be fixed by periodically refreshing the token even if nothing happens.