diff options
author | Evgeny Zinoviev <me@ch1p.io> | 2024-02-25 23:07:46 +0300 |
---|---|---|
committer | Evgeny Zinoviev <me@ch1p.io> | 2024-02-25 23:07:46 +0300 |
commit | c4f87ddad4058c0f331446fdfd8d762b8fc26c18 (patch) | |
tree | 4c64e4b685670939c6401b4bdfdbeb6e4ed6a9fd /bin/ipcam_ntp_util.py | |
parent | d43ca74063d8d931325c4498b02f40bb03e9e104 (diff) |
homekit: move hikvision and xmeye api stuff out of homekit package
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: |