[ Yi Home 1080p ] No recording being made - v0.3.0 - v0.3.2
Same as issue: https://github.com/alienatedsec/yi-hack-v5/issues/2
- Updated to 0.3.0
- Formatted the SDcard with the Yi app.
- Recordings are being made while the cloud functionality was still on.
- After turning off the cloud functionality (and turning on recording without cloud), no recordings are being made.
- Enabling
watch_processenabled recording.
Thanks for testing @Shourai
Has the watch_process enabled cloud?
Unfortunately I think it does.
After enabling watch_process it also enabled p2p_tnp.
Furthermore the cloudAPI is connecting to https://api.eu.xiaoyi.com/v4/ipc/on_line
Furthermore the
cloudAPIis connecting tohttps://api.eu.xiaoyi.com/v4/ipc/on_line
@Shourai this could be fixed in another way. Something for the next release
Oh I meant that watch_process also enables cloudAPI which then connects to xiaoyi.
Doesn't happen when the cloud setting has been disabled though.
So watch_process seems to enable something that allows recording.
Or is it just necessary to have cloud enabled?
I renamed the files /home/app/cloud, /home/app/cloudAPI and /home/app/cloudAPI_real and then started watch_process again. Then the records are available and no connections are made to the cloud.
@murphymorph renamed to what?
I booted the cam with the cloud activated. Then rename it to /home/app/cloud.bak to keep a backup. Then the video are saved and no connection to the cloud is made.
But I recognized that it doesn't work after a reboot. :/
I started to implement fake cloudAPI. With my Yi Outdoor it is working so far. The videos will be saved and no connections to the cloud are made (as far as I have seen). The script returns fake responses from the cloud.
Cloud anyone test the script?
Replace /home/app/cloudAPI_real with the attached one and the name "cloudAPI_real". At the moment the cloud feature have to enabled.
@murphymorph thanks. I will commit and test soon.
Replace /home/app/cloudAPI_real with the attached one and the name "cloudAPI_real". At the moment the cloud feature have to enabled.
@murphymorph I will try to incorporate your change to update this code, so if the no cloud settings, it would run your code. I think its better, and it would not require changing cloudAPI_real
There is also a way to create /etc/hosts file and any calls to yi cloud host would be redirected to 127.0.0.1
What are your thoughts?
As far as I have seen all calls to the cloud are made through the cloudAPI. So I don't think there is a need for /etc/hosts.
As far as I have seen all calls to the cloud are made through the cloudAPI. So I don't think there is a need for
/etc/hosts.
Calls are going through cloudAPI but if you block the domain at the host level (camera), it will not connect but still record(?)
I just need time to test but it is challenging at the moment
If you block the domains at host level with /etc/hosts, the camera doesn't store the videos (at least in my case). cloud keeps calling cloudAPI, but nothing more happens.
Any news on that issue ?
Not at the moment - another build is likely to fix it
Hi thanks for your work. I am still not able to record video to SD with having cloud disabled. V0.3.2 Outdoor Cam
Hi @Rushmed that would be correct. Pull request #50 should fix it but there were more important issues to fix with 0.3.2.
Thanks for your patience
Still watching this issue, my 27US is also crashing overnight but havent determined reason.
Is this project still in alive? Just curious. I have 2 yi outdoor 1080p 9CUS cams that won't record unless the cloud is enabled. I've read through the comments on a possible solution, but I'm not sure where to start. Any insight would be much appreciated.
@papagdog
https://github.com/alienatedsec/yi-hack-v5/issues/88#issuecomment-1088595542
Try to have a look here #164 It worked for me.
fixed with 0.3.5 - please upgrade to 0.3.6