diff options
Diffstat (limited to 'bin/ipcam_ntp_util.py')
-rwxr-xr-x | bin/ipcam_ntp_util.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/bin/ipcam_ntp_util.py b/bin/ipcam_ntp_util.py index 81f6fe0..077b00c 100755 --- a/bin/ipcam_ntp_util.py +++ b/bin/ipcam_ntp_util.py @@ -1,7 +1,6 @@ #!/usr/bin/env python3 import __py_include -import homekit.camera.hikvision as hikvision -import homekit.camera.alinoname as alinoname +import hikvision, xmeye from enum import Enum, auto from typing import Optional @@ -42,7 +41,7 @@ def process_camera(host: str, elif camera_type.is_ali(): try: - client = alinoname.XMEyeCamera(hostname=host, username=login, password=password) + client = xmeye.XMEyeCamera(hostname=host, username=login, password=password) client.login() if action == Action.GET_NTP: |