Add reboot method to SkyIPCam7xx control script

This commit is contained in:
Isaac Connor 2020-07-23 11:54:19 -04:00
parent 09d02e94d9
commit 89007227b6
1 changed files with 7 additions and 0 deletions

View File

@ -82,6 +82,13 @@ sub sendCmd {
return $result;
}
sub reboot {
my $self = shift;
Debug('Camera Rebot');
my $cmd = '/admin/reboot.cgi?type=0';
$self->sendCmd($cmd);
}
sub reset {
my $self = shift;
Debug('Camera Reset');