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 | |
parent | d43ca74063d8d931325c4498b02f40bb03e9e104 (diff) |
homekit: move hikvision and xmeye api stuff out of homekit package
-rwxr-xr-x | bin/ipcam_ntp_util.py | 5 | ||||
-rw-r--r-- | include/py/hikvision/__init__.py (renamed from include/py/homekit/camera/hikvision/__init__.py) | 0 | ||||
-rw-r--r-- | include/py/hikvision/isapi.py (renamed from include/py/homekit/camera/hikvision/isapi.py) | 0 | ||||
-rw-r--r-- | include/py/hikvision/util.py (renamed from include/py/homekit/camera/hikvision/util.py) | 0 | ||||
-rw-r--r-- | include/py/xmeye/HorrificallyBrokenPasswordFunction.py (renamed from include/py/homekit/camera/alinoname/HorrificallyBrokenPasswordFunction.py) | 0 | ||||
-rw-r--r-- | include/py/xmeye/__init__.py (renamed from include/py/homekit/camera/alinoname/__init__.py) | 0 | ||||
-rwxr-xr-x | include/py/xmeye/nwipcam.py (renamed from include/py/homekit/camera/alinoname/nwipcam.py) | 0 |
7 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: diff --git a/include/py/homekit/camera/hikvision/__init__.py b/include/py/hikvision/__init__.py index 72d6ae3..72d6ae3 100644 --- a/include/py/homekit/camera/hikvision/__init__.py +++ b/include/py/hikvision/__init__.py diff --git a/include/py/homekit/camera/hikvision/isapi.py b/include/py/hikvision/isapi.py index 6cc34f8..6cc34f8 100644 --- a/include/py/homekit/camera/hikvision/isapi.py +++ b/include/py/hikvision/isapi.py diff --git a/include/py/homekit/camera/hikvision/util.py b/include/py/hikvision/util.py index 581c6ea..581c6ea 100644 --- a/include/py/homekit/camera/hikvision/util.py +++ b/include/py/hikvision/util.py diff --git a/include/py/homekit/camera/alinoname/HorrificallyBrokenPasswordFunction.py b/include/py/xmeye/HorrificallyBrokenPasswordFunction.py index 9423382..9423382 100644 --- a/include/py/homekit/camera/alinoname/HorrificallyBrokenPasswordFunction.py +++ b/include/py/xmeye/HorrificallyBrokenPasswordFunction.py diff --git a/include/py/homekit/camera/alinoname/__init__.py b/include/py/xmeye/__init__.py index bce9919..bce9919 100644 --- a/include/py/homekit/camera/alinoname/__init__.py +++ b/include/py/xmeye/__init__.py diff --git a/include/py/homekit/camera/alinoname/nwipcam.py b/include/py/xmeye/nwipcam.py index e54ec62..e54ec62 100755 --- a/include/py/homekit/camera/alinoname/nwipcam.py +++ b/include/py/xmeye/nwipcam.py |