shadow-1 / yi-hack-v3

Alternative Firmware for Xiaomi Cameras based on Hi3518e Chipset
GNU General Public License v3.0
1.15k stars 152 forks source link

Is there a way to disable the camera temporally? #229

Open t0ny-peng opened 5 years ago

t0ny-peng commented 5 years ago

I'd like to use Yi Dome as a safety camera of my bedroom, but don't want to take any risk of my private videos being leaked(you'll never know if there's a guy behind Yi camera server watching the video). So I just turn off the camera right after I get home. This is an annoying and repetitive work that can easily be forgotten.

I'm using Home Assistant and it provides a very good at home/left home detection. Is there any command that can temporally disable the camera when HA detects that I'm home, and then re-enable it after I leave? Any command that can be run from SSH would work.

Thanks.

itayavra commented 5 years ago

Not sure about that, but you can achieve this regardless of this firmware by connecting the camera to a sonoff switch and setting the switch to turn off when you get home and on when you leave