Subversion Repositories alarming

Rev

Rev 8 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 8 Rev 10
Line 196... Line 196...
196
                # TODO: Actually, we should call this API "alarm_off" instead of "motion_off", since we also disable a doorbell checker
196
                # TODO: Actually, we should call this API "alarm_off" instead of "motion_off", since we also disable a doorbell checker
197
                print "Motion stop"
197
                print "Motion stop"
198
                if config.enable_motion_detect:
198
                if config.enable_motion_detect:
199
                        os.system(os.path.dirname(os.path.abspath(__file__)) + "/motion/motion_stop_safe")
199
                        os.system(os.path.dirname(os.path.abspath(__file__)) + "/motion/motion_stop_safe")
200
                if config.enable_doorbell_listener:
200
                if config.enable_doorbell_listener:
-
 
201
                        if g_bellListenerProc != None:
201
                        sp.Popen.terminate(g_bellListenerProc)
202
                                sp.Popen.terminate(g_bellListenerProc)
202
 
203
 
203
        self._output(200, '')
204
        self._output(200, '')
204
 
205
 
205
def pvget(ary, key):
206
def pvget(ary, key):