pyControl4 1.1.2__tar.gz → 1.2.1__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.
- {pyControl4-1.1.2 → pycontrol4-1.2.1}/PKG-INFO +2 -2
- {pyControl4-1.1.2 → pycontrol4-1.2.1}/pyControl4/account.py +1 -0
- {pyControl4-1.1.2 → pycontrol4-1.2.1}/pyControl4/alarm.py +1 -0
- {pyControl4-1.1.2 → pycontrol4-1.2.1}/pyControl4/blind.py +0 -1
- {pyControl4-1.1.2 → pycontrol4-1.2.1}/pyControl4/director.py +2 -1
- {pyControl4-1.1.2 → pycontrol4-1.2.1}/pyControl4/error_handling.py +1 -0
- {pyControl4-1.1.2 → pycontrol4-1.2.1}/pyControl4/light.py +0 -1
- {pyControl4-1.1.2 → pycontrol4-1.2.1}/pyControl4/relay.py +0 -1
- {pyControl4-1.1.2 → pycontrol4-1.2.1}/pyControl4/room.py +0 -1
- {pyControl4-1.1.2 → pycontrol4-1.2.1}/pyControl4/websocket.py +2 -1
- {pyControl4-1.1.2 → pycontrol4-1.2.1}/pyControl4.egg-info/PKG-INFO +2 -2
- {pyControl4-1.1.2 → pycontrol4-1.2.1}/pyControl4.egg-info/requires.txt +1 -1
- {pyControl4-1.1.2 → pycontrol4-1.2.1}/setup.py +5 -5
- {pyControl4-1.1.2 → pycontrol4-1.2.1}/LICENSE +0 -0
- {pyControl4-1.1.2 → pycontrol4-1.2.1}/README.md +0 -0
- {pyControl4-1.1.2 → pycontrol4-1.2.1}/pyControl4/__init__.py +0 -0
- {pyControl4-1.1.2 → pycontrol4-1.2.1}/pyControl4.egg-info/SOURCES.txt +0 -0
- {pyControl4-1.1.2 → pycontrol4-1.2.1}/pyControl4.egg-info/dependency_links.txt +0 -0
- {pyControl4-1.1.2 → pycontrol4-1.2.1}/pyControl4.egg-info/top_level.txt +0 -0
- {pyControl4-1.1.2 → pycontrol4-1.2.1}/setup.cfg +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: pyControl4
|
|
3
|
-
Version: 1.1
|
|
3
|
+
Version: 1.2.1
|
|
4
4
|
Summary: Python 3 asyncio package for interacting with Control4 systems
|
|
5
5
|
Home-page: https://github.com/lawtancool/pyControl4
|
|
6
6
|
Author: lawtancool
|
|
@@ -13,7 +13,7 @@ Description-Content-Type: text/markdown
|
|
|
13
13
|
License-File: LICENSE
|
|
14
14
|
Requires-Dist: aiohttp
|
|
15
15
|
Requires-Dist: xmltodict
|
|
16
|
-
Requires-Dist: python-socketio
|
|
16
|
+
Requires-Dist: python-socketio-v4
|
|
17
17
|
Requires-Dist: websocket-client
|
|
18
18
|
|
|
19
19
|
# pyControl4
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"""Handles communication with a Control4 Director, and provides functions for
|
|
2
2
|
getting details about items on the Director.
|
|
3
3
|
"""
|
|
4
|
+
|
|
4
5
|
import aiohttp
|
|
5
6
|
import async_timeout
|
|
6
7
|
import json
|
|
@@ -133,7 +134,7 @@ class C4Director:
|
|
|
133
134
|
`item_id` - The Control4 item ID.
|
|
134
135
|
"""
|
|
135
136
|
return await self.sendPostRequest(
|
|
136
|
-
"/api/v1/items/{}/commands".format(item_id), "GET_SETUP",
|
|
137
|
+
"/api/v1/items/{}/commands".format(item_id), "GET_SETUP", {}, False
|
|
137
138
|
)
|
|
138
139
|
|
|
139
140
|
async def getItemVariables(self, item_id):
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
"""Handles Websocket connections to a Control4 Director, allowing for real-time updates using callbacks."""
|
|
2
|
+
|
|
2
3
|
import aiohttp
|
|
3
4
|
import async_timeout
|
|
4
|
-
import socketio
|
|
5
|
+
import socketio_v4 as socketio
|
|
5
6
|
import logging
|
|
6
7
|
|
|
7
8
|
from .error_handling import checkResponseForError
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: pyControl4
|
|
3
|
-
Version: 1.1
|
|
3
|
+
Version: 1.2.1
|
|
4
4
|
Summary: Python 3 asyncio package for interacting with Control4 systems
|
|
5
5
|
Home-page: https://github.com/lawtancool/pyControl4
|
|
6
6
|
Author: lawtancool
|
|
@@ -13,7 +13,7 @@ Description-Content-Type: text/markdown
|
|
|
13
13
|
License-File: LICENSE
|
|
14
14
|
Requires-Dist: aiohttp
|
|
15
15
|
Requires-Dist: xmltodict
|
|
16
|
-
Requires-Dist: python-socketio
|
|
16
|
+
Requires-Dist: python-socketio-v4
|
|
17
17
|
Requires-Dist: websocket-client
|
|
18
18
|
|
|
19
19
|
# pyControl4
|
|
@@ -5,7 +5,7 @@ with open("README.md", "r") as fh:
|
|
|
5
5
|
|
|
6
6
|
setuptools.setup(
|
|
7
7
|
name="pyControl4", # Replace with your own username
|
|
8
|
-
version="1.1
|
|
8
|
+
version="1.2.1",
|
|
9
9
|
author="lawtancool",
|
|
10
10
|
author_email="contact@lawrencetan.ca",
|
|
11
11
|
description="Python 3 asyncio package for interacting with Control4 systems",
|
|
@@ -20,9 +20,9 @@ setuptools.setup(
|
|
|
20
20
|
],
|
|
21
21
|
python_requires=">=3.6",
|
|
22
22
|
install_requires=[
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
23
|
+
"aiohttp",
|
|
24
|
+
"xmltodict",
|
|
25
|
+
"python-socketio-v4",
|
|
26
|
+
"websocket-client",
|
|
27
27
|
],
|
|
28
28
|
)
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|