send all timelapse commands at once
This commit is contained in:
parent
fb7f77b3a8
commit
20e1d696a0
1 changed files with 1 additions and 1 deletions
|
@ -62,7 +62,7 @@ class CameraWorker(object):
|
||||||
|
|
||||||
def start_timelapse(self, interval=300):
|
def start_timelapse(self, interval=300):
|
||||||
if self.status == CameraStatus.IDLE:
|
if self.status == CameraStatus.IDLE:
|
||||||
self.send_cmd('tv {}'.format(str(interval)))
|
self.send_cmd('tv {} \n tl 1'.format(str(interval)))
|
||||||
self.send_cmd('tl 1')
|
self.send_cmd('tl 1')
|
||||||
self.status = CameraStatus.TIMELAPSE
|
self.status = CameraStatus.TIMELAPSE
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue