From 0805b4d0accd82f8c73d0c92dcd070bc023d958e Mon Sep 17 00:00:00 2001 From: Fritz SMH Date: Tue, 4 Oct 2016 21:43:27 +0200 Subject: [PATCH] Add informations to remove the hack. See https://github.com/fritz-smh/yi-hack/issues/86 --- README.md | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/README.md b/README.md index 440b8e3..60dc079 100644 --- a/README.md +++ b/README.md @@ -152,6 +152,26 @@ I want more ! Some scripts are provided in the **sd/test/scripts** folder. Please read the **README.md** file in this folder for more informations. +Uninstall the hack +================== + +First, remove the SD card. But keep in mind that the timeout sound has been altered. + +If you want the timeout sound back: +Edit equip_test.sh to look like this: + + #!/bin/sh + ###################################################### + # Xiaomi Yi hack restore + ###################################################### + + ### Rename back the timeout sound file ... + [ -f /home/timeout.g726.OFF ] && mv /home/timeout.g726.OFF /home/timeout.g726 + + sync + +Then reboot the camera so the script runs. After remove the stuff from sd card and you are all original. + How it works ? ============== @@ -186,3 +206,5 @@ check_motion.sh Script that runs from equip_test.sh and tell us if a new video was created in the last minute (a video file is created in case of motion detection). If a file is found, it adds the name of the file to the section GET /motion on the http server. + +