python-omnilogic-local 0.20.4__tar.gz → 0.20.6__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {python_omnilogic_local-0.20.4 → python_omnilogic_local-0.20.6}/PKG-INFO +1 -1
- python_omnilogic_local-0.20.6/pyomnilogic_local/__init__.py +56 -0
- {python_omnilogic_local-0.20.4 → python_omnilogic_local-0.20.6}/pyomnilogic_local/omnilogic.py +3 -2
- {python_omnilogic_local-0.20.4 → python_omnilogic_local-0.20.6}/pyproject.toml +1 -1
- python_omnilogic_local-0.20.4/pyomnilogic_local/__init__.py +0 -22
- {python_omnilogic_local-0.20.4 → python_omnilogic_local-0.20.6}/LICENSE +0 -0
- {python_omnilogic_local-0.20.4 → python_omnilogic_local-0.20.6}/README.md +0 -0
- {python_omnilogic_local-0.20.4 → python_omnilogic_local-0.20.6}/pyomnilogic_local/_base.py +0 -0
- {python_omnilogic_local-0.20.4 → python_omnilogic_local-0.20.6}/pyomnilogic_local/api/__init__.py +0 -0
- {python_omnilogic_local-0.20.4 → python_omnilogic_local-0.20.6}/pyomnilogic_local/api/api.py +0 -0
- {python_omnilogic_local-0.20.4 → python_omnilogic_local-0.20.6}/pyomnilogic_local/api/constants.py +0 -0
- {python_omnilogic_local-0.20.4 → python_omnilogic_local-0.20.6}/pyomnilogic_local/api/exceptions.py +0 -0
- {python_omnilogic_local-0.20.4 → python_omnilogic_local-0.20.6}/pyomnilogic_local/api/protocol.py +0 -0
- {python_omnilogic_local-0.20.4 → python_omnilogic_local-0.20.6}/pyomnilogic_local/backyard.py +0 -0
- {python_omnilogic_local-0.20.4 → python_omnilogic_local-0.20.6}/pyomnilogic_local/bow.py +0 -0
- {python_omnilogic_local-0.20.4 → python_omnilogic_local-0.20.6}/pyomnilogic_local/chlorinator.py +0 -0
- {python_omnilogic_local-0.20.4 → python_omnilogic_local-0.20.6}/pyomnilogic_local/chlorinator_equip.py +0 -0
- {python_omnilogic_local-0.20.4 → python_omnilogic_local-0.20.6}/pyomnilogic_local/cli/__init__.py +0 -0
- {python_omnilogic_local-0.20.4 → python_omnilogic_local-0.20.6}/pyomnilogic_local/cli/cli.py +0 -0
- {python_omnilogic_local-0.20.4 → python_omnilogic_local-0.20.6}/pyomnilogic_local/cli/debug/__init__.py +0 -0
- {python_omnilogic_local-0.20.4 → python_omnilogic_local-0.20.6}/pyomnilogic_local/cli/debug/commands.py +0 -0
- {python_omnilogic_local-0.20.4 → python_omnilogic_local-0.20.6}/pyomnilogic_local/cli/get/__init__.py +0 -0
- {python_omnilogic_local-0.20.4 → python_omnilogic_local-0.20.6}/pyomnilogic_local/cli/get/backyard.py +0 -0
- {python_omnilogic_local-0.20.4 → python_omnilogic_local-0.20.6}/pyomnilogic_local/cli/get/bows.py +0 -0
- {python_omnilogic_local-0.20.4 → python_omnilogic_local-0.20.6}/pyomnilogic_local/cli/get/chlorinators.py +0 -0
- {python_omnilogic_local-0.20.4 → python_omnilogic_local-0.20.6}/pyomnilogic_local/cli/get/commands.py +0 -0
- {python_omnilogic_local-0.20.4 → python_omnilogic_local-0.20.6}/pyomnilogic_local/cli/get/csads.py +0 -0
- {python_omnilogic_local-0.20.4 → python_omnilogic_local-0.20.6}/pyomnilogic_local/cli/get/filters.py +0 -0
- {python_omnilogic_local-0.20.4 → python_omnilogic_local-0.20.6}/pyomnilogic_local/cli/get/groups.py +0 -0
- {python_omnilogic_local-0.20.4 → python_omnilogic_local-0.20.6}/pyomnilogic_local/cli/get/heaters.py +0 -0
- {python_omnilogic_local-0.20.4 → python_omnilogic_local-0.20.6}/pyomnilogic_local/cli/get/lights.py +0 -0
- {python_omnilogic_local-0.20.4 → python_omnilogic_local-0.20.6}/pyomnilogic_local/cli/get/pumps.py +0 -0
- {python_omnilogic_local-0.20.4 → python_omnilogic_local-0.20.6}/pyomnilogic_local/cli/get/relays.py +0 -0
- {python_omnilogic_local-0.20.4 → python_omnilogic_local-0.20.6}/pyomnilogic_local/cli/get/schedules.py +0 -0
- {python_omnilogic_local-0.20.4 → python_omnilogic_local-0.20.6}/pyomnilogic_local/cli/get/sensors.py +0 -0
- {python_omnilogic_local-0.20.4 → python_omnilogic_local-0.20.6}/pyomnilogic_local/cli/get/valves.py +0 -0
- {python_omnilogic_local-0.20.4 → python_omnilogic_local-0.20.6}/pyomnilogic_local/cli/pcap_utils.py +0 -0
- {python_omnilogic_local-0.20.4 → python_omnilogic_local-0.20.6}/pyomnilogic_local/cli/utils.py +0 -0
- {python_omnilogic_local-0.20.4 → python_omnilogic_local-0.20.6}/pyomnilogic_local/collections.py +0 -0
- {python_omnilogic_local-0.20.4 → python_omnilogic_local-0.20.6}/pyomnilogic_local/colorlogiclight.py +0 -0
- {python_omnilogic_local-0.20.4 → python_omnilogic_local-0.20.6}/pyomnilogic_local/csad.py +0 -0
- {python_omnilogic_local-0.20.4 → python_omnilogic_local-0.20.6}/pyomnilogic_local/csad_equip.py +0 -0
- {python_omnilogic_local-0.20.4 → python_omnilogic_local-0.20.6}/pyomnilogic_local/decorators.py +0 -0
- {python_omnilogic_local-0.20.4 → python_omnilogic_local-0.20.6}/pyomnilogic_local/filter.py +0 -0
- {python_omnilogic_local-0.20.4 → python_omnilogic_local-0.20.6}/pyomnilogic_local/groups.py +0 -0
- {python_omnilogic_local-0.20.4 → python_omnilogic_local-0.20.6}/pyomnilogic_local/heater.py +0 -0
- {python_omnilogic_local-0.20.4 → python_omnilogic_local-0.20.6}/pyomnilogic_local/heater_equip.py +0 -0
- {python_omnilogic_local-0.20.4 → python_omnilogic_local-0.20.6}/pyomnilogic_local/models/__init__.py +0 -0
- {python_omnilogic_local-0.20.4 → python_omnilogic_local-0.20.6}/pyomnilogic_local/models/const.py +0 -0
- {python_omnilogic_local-0.20.4 → python_omnilogic_local-0.20.6}/pyomnilogic_local/models/exceptions.py +0 -0
- {python_omnilogic_local-0.20.4 → python_omnilogic_local-0.20.6}/pyomnilogic_local/models/filter_diagnostics.py +0 -0
- {python_omnilogic_local-0.20.4 → python_omnilogic_local-0.20.6}/pyomnilogic_local/models/leadmessage.py +0 -0
- {python_omnilogic_local-0.20.4 → python_omnilogic_local-0.20.6}/pyomnilogic_local/models/mspconfig.py +0 -0
- {python_omnilogic_local-0.20.4 → python_omnilogic_local-0.20.6}/pyomnilogic_local/models/telemetry.py +0 -0
- {python_omnilogic_local-0.20.4 → python_omnilogic_local-0.20.6}/pyomnilogic_local/omnitypes.py +0 -0
- {python_omnilogic_local-0.20.4 → python_omnilogic_local-0.20.6}/pyomnilogic_local/pump.py +0 -0
- {python_omnilogic_local-0.20.4 → python_omnilogic_local-0.20.6}/pyomnilogic_local/py.typed +0 -0
- {python_omnilogic_local-0.20.4 → python_omnilogic_local-0.20.6}/pyomnilogic_local/relay.py +0 -0
- {python_omnilogic_local-0.20.4 → python_omnilogic_local-0.20.6}/pyomnilogic_local/schedule.py +0 -0
- {python_omnilogic_local-0.20.4 → python_omnilogic_local-0.20.6}/pyomnilogic_local/sensor.py +0 -0
- {python_omnilogic_local-0.20.4 → python_omnilogic_local-0.20.6}/pyomnilogic_local/system.py +0 -0
- {python_omnilogic_local-0.20.4 → python_omnilogic_local-0.20.6}/pyomnilogic_local/util.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: python-omnilogic-local
|
|
3
|
-
Version: 0.20.
|
|
3
|
+
Version: 0.20.6
|
|
4
4
|
Summary: A library for local control of Hayward OmniHub/OmniLogic pool controllers using their local API
|
|
5
5
|
Author: Chris Jowett, djtimca, garionphx
|
|
6
6
|
Author-email: Chris Jowett <421501+cryptk@users.noreply.github.com>
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
"""PyOmniLogic-Local: A Python library for interacting with Hayward OmniLogic Local API."""
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
|
|
5
|
+
from ._base import OmniEquipment
|
|
6
|
+
from .backyard import Backyard
|
|
7
|
+
from .bow import Bow
|
|
8
|
+
from .chlorinator import Chlorinator
|
|
9
|
+
from .chlorinator_equip import ChlorinatorEquipment
|
|
10
|
+
from .collections import EffectsCollection, LightEffectsCollection
|
|
11
|
+
from .colorlogiclight import ColorLogicLight
|
|
12
|
+
from .csad import CSAD
|
|
13
|
+
from .csad_equip import CSADEquipment
|
|
14
|
+
from .filter import Filter
|
|
15
|
+
from .groups import Group
|
|
16
|
+
from .heater import Heater
|
|
17
|
+
from .heater_equip import HeaterEquipment
|
|
18
|
+
from .omnilogic import OmniLogic
|
|
19
|
+
from .pump import Pump
|
|
20
|
+
from .relay import Relay
|
|
21
|
+
from .schedule import Schedule
|
|
22
|
+
from .sensor import Sensor
|
|
23
|
+
from .system import System
|
|
24
|
+
from .util import (
|
|
25
|
+
OmniConnectionError,
|
|
26
|
+
OmniEquipmentNotInitializedError,
|
|
27
|
+
OmniEquipmentNotReadyError,
|
|
28
|
+
OmniLogicLocalError,
|
|
29
|
+
)
|
|
30
|
+
|
|
31
|
+
__all__ = [
|
|
32
|
+
"CSAD",
|
|
33
|
+
"Backyard",
|
|
34
|
+
"Bow",
|
|
35
|
+
"CSADEquipment",
|
|
36
|
+
"Chlorinator",
|
|
37
|
+
"ChlorinatorEquipment",
|
|
38
|
+
"ColorLogicLight",
|
|
39
|
+
"EffectsCollection",
|
|
40
|
+
"Filter",
|
|
41
|
+
"Group",
|
|
42
|
+
"Heater",
|
|
43
|
+
"HeaterEquipment",
|
|
44
|
+
"LightEffectsCollection",
|
|
45
|
+
"OmniConnectionError",
|
|
46
|
+
"OmniEquipment",
|
|
47
|
+
"OmniEquipmentNotInitializedError",
|
|
48
|
+
"OmniEquipmentNotReadyError",
|
|
49
|
+
"OmniLogic",
|
|
50
|
+
"OmniLogicLocalError",
|
|
51
|
+
"Pump",
|
|
52
|
+
"Relay",
|
|
53
|
+
"Schedule",
|
|
54
|
+
"Sensor",
|
|
55
|
+
"System",
|
|
56
|
+
]
|
{python_omnilogic_local-0.20.4 → python_omnilogic_local-0.20.6}/pyomnilogic_local/omnilogic.py
RENAMED
|
@@ -6,6 +6,7 @@ import time
|
|
|
6
6
|
from typing import TYPE_CHECKING, Any
|
|
7
7
|
|
|
8
8
|
from pyomnilogic_local.api import OmniLogicAPI
|
|
9
|
+
from pyomnilogic_local.api.constants import DEFAULT_RESPONSE_TIMEOUT
|
|
9
10
|
from pyomnilogic_local.backyard import Backyard
|
|
10
11
|
from pyomnilogic_local.collections import EquipmentDict
|
|
11
12
|
from pyomnilogic_local.groups import Group
|
|
@@ -50,11 +51,11 @@ class OmniLogic:
|
|
|
50
51
|
_min_mspversion: str = "R05"
|
|
51
52
|
_warned_mspversion: bool = False
|
|
52
53
|
|
|
53
|
-
def __init__(self, host: str, port: int = 10444) -> None:
|
|
54
|
+
def __init__(self, host: str, port: int = 10444, timeout: float = DEFAULT_RESPONSE_TIMEOUT) -> None:
|
|
54
55
|
self.host = host
|
|
55
56
|
self.port = port
|
|
56
57
|
|
|
57
|
-
self._api = OmniLogicAPI(host, port)
|
|
58
|
+
self._api = OmniLogicAPI(host, port, timeout)
|
|
58
59
|
self._refresh_lock = asyncio.Lock()
|
|
59
60
|
|
|
60
61
|
def __repr__(self) -> str:
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
"""PyOmniLogic-Local: A Python library for interacting with Hayward OmniLogic Local API."""
|
|
2
|
-
|
|
3
|
-
from __future__ import annotations
|
|
4
|
-
|
|
5
|
-
from .collections import EffectsCollection, LightEffectsCollection
|
|
6
|
-
from .omnilogic import OmniLogic
|
|
7
|
-
from .util import (
|
|
8
|
-
OmniConnectionError,
|
|
9
|
-
OmniEquipmentNotInitializedError,
|
|
10
|
-
OmniEquipmentNotReadyError,
|
|
11
|
-
OmniLogicLocalError,
|
|
12
|
-
)
|
|
13
|
-
|
|
14
|
-
__all__ = [
|
|
15
|
-
"EffectsCollection",
|
|
16
|
-
"LightEffectsCollection",
|
|
17
|
-
"OmniConnectionError",
|
|
18
|
-
"OmniEquipmentNotInitializedError",
|
|
19
|
-
"OmniEquipmentNotReadyError",
|
|
20
|
-
"OmniLogic",
|
|
21
|
-
"OmniLogicLocalError",
|
|
22
|
-
]
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{python_omnilogic_local-0.20.4 → python_omnilogic_local-0.20.6}/pyomnilogic_local/api/__init__.py
RENAMED
|
File without changes
|
{python_omnilogic_local-0.20.4 → python_omnilogic_local-0.20.6}/pyomnilogic_local/api/api.py
RENAMED
|
File without changes
|
{python_omnilogic_local-0.20.4 → python_omnilogic_local-0.20.6}/pyomnilogic_local/api/constants.py
RENAMED
|
File without changes
|
{python_omnilogic_local-0.20.4 → python_omnilogic_local-0.20.6}/pyomnilogic_local/api/exceptions.py
RENAMED
|
File without changes
|
{python_omnilogic_local-0.20.4 → python_omnilogic_local-0.20.6}/pyomnilogic_local/api/protocol.py
RENAMED
|
File without changes
|
{python_omnilogic_local-0.20.4 → python_omnilogic_local-0.20.6}/pyomnilogic_local/backyard.py
RENAMED
|
File without changes
|
|
File without changes
|
{python_omnilogic_local-0.20.4 → python_omnilogic_local-0.20.6}/pyomnilogic_local/chlorinator.py
RENAMED
|
File without changes
|
|
File without changes
|
{python_omnilogic_local-0.20.4 → python_omnilogic_local-0.20.6}/pyomnilogic_local/cli/__init__.py
RENAMED
|
File without changes
|
{python_omnilogic_local-0.20.4 → python_omnilogic_local-0.20.6}/pyomnilogic_local/cli/cli.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{python_omnilogic_local-0.20.4 → python_omnilogic_local-0.20.6}/pyomnilogic_local/cli/get/bows.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{python_omnilogic_local-0.20.4 → python_omnilogic_local-0.20.6}/pyomnilogic_local/cli/get/csads.py
RENAMED
|
File without changes
|
{python_omnilogic_local-0.20.4 → python_omnilogic_local-0.20.6}/pyomnilogic_local/cli/get/filters.py
RENAMED
|
File without changes
|
{python_omnilogic_local-0.20.4 → python_omnilogic_local-0.20.6}/pyomnilogic_local/cli/get/groups.py
RENAMED
|
File without changes
|
{python_omnilogic_local-0.20.4 → python_omnilogic_local-0.20.6}/pyomnilogic_local/cli/get/heaters.py
RENAMED
|
File without changes
|
{python_omnilogic_local-0.20.4 → python_omnilogic_local-0.20.6}/pyomnilogic_local/cli/get/lights.py
RENAMED
|
File without changes
|
{python_omnilogic_local-0.20.4 → python_omnilogic_local-0.20.6}/pyomnilogic_local/cli/get/pumps.py
RENAMED
|
File without changes
|
{python_omnilogic_local-0.20.4 → python_omnilogic_local-0.20.6}/pyomnilogic_local/cli/get/relays.py
RENAMED
|
File without changes
|
|
File without changes
|
{python_omnilogic_local-0.20.4 → python_omnilogic_local-0.20.6}/pyomnilogic_local/cli/get/sensors.py
RENAMED
|
File without changes
|
{python_omnilogic_local-0.20.4 → python_omnilogic_local-0.20.6}/pyomnilogic_local/cli/get/valves.py
RENAMED
|
File without changes
|
{python_omnilogic_local-0.20.4 → python_omnilogic_local-0.20.6}/pyomnilogic_local/cli/pcap_utils.py
RENAMED
|
File without changes
|
{python_omnilogic_local-0.20.4 → python_omnilogic_local-0.20.6}/pyomnilogic_local/cli/utils.py
RENAMED
|
File without changes
|
{python_omnilogic_local-0.20.4 → python_omnilogic_local-0.20.6}/pyomnilogic_local/collections.py
RENAMED
|
File without changes
|
{python_omnilogic_local-0.20.4 → python_omnilogic_local-0.20.6}/pyomnilogic_local/colorlogiclight.py
RENAMED
|
File without changes
|
|
File without changes
|
{python_omnilogic_local-0.20.4 → python_omnilogic_local-0.20.6}/pyomnilogic_local/csad_equip.py
RENAMED
|
File without changes
|
{python_omnilogic_local-0.20.4 → python_omnilogic_local-0.20.6}/pyomnilogic_local/decorators.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{python_omnilogic_local-0.20.4 → python_omnilogic_local-0.20.6}/pyomnilogic_local/heater_equip.py
RENAMED
|
File without changes
|
{python_omnilogic_local-0.20.4 → python_omnilogic_local-0.20.6}/pyomnilogic_local/models/__init__.py
RENAMED
|
File without changes
|
{python_omnilogic_local-0.20.4 → python_omnilogic_local-0.20.6}/pyomnilogic_local/models/const.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{python_omnilogic_local-0.20.4 → python_omnilogic_local-0.20.6}/pyomnilogic_local/omnitypes.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{python_omnilogic_local-0.20.4 → python_omnilogic_local-0.20.6}/pyomnilogic_local/schedule.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|