roleoroleo / yi-hack-MStar.gdrive

Google drive loader for yi smart ip camera (MStar based)
MIT License
25 stars 6 forks source link

please help me #1

Open DiOutdoor opened 3 years ago

DiOutdoor commented 3 years ago

Screenshot_4

What I have to do

roleoroleo commented 3 years ago

Check if the clock of the cam is ok.

roleoroleo commented 3 years ago

curl not found is strange. Check if you have the curl binary in the /tmp/sd/yi-hack/gdrive/ folder. If it's not present check the "Step-by-step instruction for installing xiaomi_gdrive".

denven commented 3 years ago
/tmp/sd/yi-hack/bin # find / -name curl
/tmp/sd/yi-hack/gdrive/bin/curl
/tmp/sd/yi-hack/bin/curl

/tmp/sd/yi-hack/bin # ls -lh /tmp/sd/yi-hack/gdrive/bin/curl 
-rwx------    1 root     0         283.5K Nov 29 23:21 /tmp/sd/yi-hack/gdrive/bin/curl
/tmp/sd/yi-hack/bin # ls -lh /tmp/sd/yi-hack/bin/curl 
-rwx------    1 root     0         283.5K Nov 29 23:26 /tmp/sd/yi-hack/bin/curl

Maybe your issue is because the curl version in gdrive directory is not compitable with ash shell, as when I download the curl into my local machine, the curl in gdrive directory cannot run;

V0.3.8 contains curl tool, it's the same version with the one in the gdrive directory; I think it's already fixed.

roleoroleo commented 3 years ago

I don't remember curl tool in v0.3.8 curl binary in /tmp/sd/yi-hack/bin/ folder is installed by GDriveConf when you run the first configuration. The binary is the same as the one in the /tmp/sd/yi-hack/gdrive/bin folder.

denven commented 3 years ago

I don't remember curl tool in v0.3.8 curl binary in /tmp/sd/yi-hack/bin/ folder is installed by GDriveConf when you run the first configuration. The binary is the same as the one in the /tmp/sd/yi-hack/gdrive/bin folder.

You are right, from the GDrive.conf

gdrive_bin_dir="/tmp/sd/yi-hack/bin/"
....
cp ${gdrive_dir}bin/* ${gdrive_bin_dir}
harmoant commented 3 years ago

Hello. I have the same issue as @DiOutdoor:

/tmp/sd/yi-hack/gdrive/GDriveConf: line 213: /tmp/sd/yi-hack/bin/./curl: not found grep: /tmp/sd/yi-hack/gdrive/conf/response: No such file or directory grep: /tmp/sd/yi-hack/gdrive/conf/response: No such file or directory Your code was expired or it is not correct. Please refresh a link in your browser and enter a new valid code:

Is the problem the version of the camera: Model year 2020, YI Home camera 3, 1080P, 9FUS, firmware 8.3.0*