pyvesync 2.1.12__tar.gz → 2.1.14__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.
- {pyvesync-2.1.12/src/pyvesync.egg-info → pyvesync-2.1.14}/PKG-INFO +28 -9
- {pyvesync-2.1.12 → pyvesync-2.1.14}/README.md +22 -6
- {pyvesync-2.1.12 → pyvesync-2.1.14}/setup.cfg +1 -0
- {pyvesync-2.1.12 → pyvesync-2.1.14}/setup.py +6 -3
- pyvesync-2.1.14/src/pyvesync/helpers.py +854 -0
- {pyvesync-2.1.12 → pyvesync-2.1.14}/src/pyvesync/vesync.py +43 -19
- pyvesync-2.1.14/src/pyvesync/vesyncbasedevice.py +202 -0
- {pyvesync-2.1.12 → pyvesync-2.1.14}/src/pyvesync/vesyncbulb.py +471 -223
- {pyvesync-2.1.12 → pyvesync-2.1.14}/src/pyvesync/vesyncfan.py +450 -155
- {pyvesync-2.1.12 → pyvesync-2.1.14}/src/pyvesync/vesynckitchen.py +1 -1
- {pyvesync-2.1.12 → pyvesync-2.1.14}/src/pyvesync/vesyncswitch.py +35 -2
- {pyvesync-2.1.12 → pyvesync-2.1.14/src/pyvesync.egg-info}/PKG-INFO +28 -9
- {pyvesync-2.1.12 → pyvesync-2.1.14}/src/pyvesync.egg-info/requires.txt +1 -1
- pyvesync-2.1.12/src/pyvesync/helpers.py +0 -602
- pyvesync-2.1.12/src/pyvesync/vesyncbasedevice.py +0 -136
- {pyvesync-2.1.12 → pyvesync-2.1.14}/LICENSE +0 -0
- {pyvesync-2.1.12 → pyvesync-2.1.14}/MANIFEST.in +0 -0
- {pyvesync-2.1.12 → pyvesync-2.1.14}/requirements.txt +0 -0
- {pyvesync-2.1.12 → pyvesync-2.1.14}/src/pyvesync/__init__.py +0 -0
- {pyvesync-2.1.12 → pyvesync-2.1.14}/src/pyvesync/vesyncoutlet.py +0 -0
- {pyvesync-2.1.12 → pyvesync-2.1.14}/src/pyvesync.egg-info/SOURCES.txt +0 -0
- {pyvesync-2.1.12 → pyvesync-2.1.14}/src/pyvesync.egg-info/dependency_links.txt +0 -0
- {pyvesync-2.1.12 → pyvesync-2.1.14}/src/pyvesync.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: pyvesync
|
|
3
|
-
Version: 2.1.
|
|
3
|
+
Version: 2.1.14
|
|
4
4
|
Summary: pyvesync is a library to manage Etekcity Devices, Cosori Air Fryers and Levoit Air Purifiers run on the VeSync app.
|
|
5
5
|
Home-page: https://github.com/webdjoe/pyvesync
|
|
6
6
|
Author: Mark Perdue, Joe Trabulsy
|
|
@@ -11,7 +11,10 @@ Classifier: License :: OSI Approved :: MIT License
|
|
|
11
11
|
Classifier: Intended Audience :: Developers
|
|
12
12
|
Classifier: Intended Audience :: End Users/Desktop
|
|
13
13
|
Classifier: Natural Language :: English
|
|
14
|
-
Classifier: Programming Language :: Python :: 3.
|
|
14
|
+
Classifier: Programming Language :: Python :: 3.9
|
|
15
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
16
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
17
|
+
Classifier: Topic :: Home Automation
|
|
15
18
|
Requires-Python: >=3.9
|
|
16
19
|
Description-Content-Type: text/markdown
|
|
17
20
|
License-File: LICENSE
|
|
@@ -19,7 +22,7 @@ Requires-Dist: requests>=2.20.0
|
|
|
19
22
|
Provides-Extra: dev
|
|
20
23
|
Requires-Dist: pytest; extra == "dev"
|
|
21
24
|
Requires-Dist: pytest-cov; extra == "dev"
|
|
22
|
-
Requires-Dist:
|
|
25
|
+
Requires-Dist: pyyaml; extra == "dev"
|
|
23
26
|
Requires-Dist: tox; extra == "dev"
|
|
24
27
|
|
|
25
28
|
# pyvesync [](https://pypi.python.org/pypi/pyvesync) [](https://dev.azure.com/webdjoe/pyvesync/_build/latest?definitionId=4&branchName=master) [](https://github.com/Naereen/badges/) [](https://pypi.python.org/pypi/ansicolortags/) <!-- omit in toc -->
|
|
@@ -94,8 +97,12 @@ Install the latest version from pip:
|
|
|
94
97
|
pip install pyvesync
|
|
95
98
|
```
|
|
96
99
|
|
|
100
|
+
<!--SUPPORTED DEVICES START-->
|
|
101
|
+
|
|
97
102
|
## Supported Devices
|
|
98
103
|
|
|
104
|
+
<!--SUPPORTED OUTLETS START-->
|
|
105
|
+
|
|
99
106
|
### Etekcity Outlets
|
|
100
107
|
|
|
101
108
|
1. Voltson Smart WiFi Outlet- Round (7A model ESW01-USA)
|
|
@@ -104,11 +111,17 @@ pip install pyvesync
|
|
|
104
111
|
4. Voltson Smart WiFi Outlet - Rectangle (15A model ESW15-USA)
|
|
105
112
|
5. Two Plug Outdoor Outlet (ESO15-TB) (Each plug is a separate `VeSyncOutlet` object, energy readings are for both plugs combined)
|
|
106
113
|
|
|
114
|
+
<!--SUPPORTED OUTLETS END-->
|
|
115
|
+
|
|
116
|
+
<!--SUPPORTED SWITCHES START-->
|
|
117
|
+
|
|
107
118
|
### Wall Switches
|
|
108
119
|
|
|
109
120
|
1. Etekcity Smart WiFi Light Switch (model ESWL01)
|
|
110
121
|
2. Etekcity Wifi Dimmer Switch (ESD16)
|
|
111
122
|
|
|
123
|
+
<!--SUPPORTED SWITCHES END-->
|
|
124
|
+
|
|
112
125
|
### Levoit Air Purifiers
|
|
113
126
|
|
|
114
127
|
1. LV-PUR131S
|
|
@@ -127,21 +140,27 @@ pip install pyvesync
|
|
|
127
140
|
|
|
128
141
|
### Valceno Bulbs
|
|
129
142
|
|
|
130
|
-
1. Multicolor Bulb (XYD0001)
|
|
143
|
+
1. Valceno Multicolor Bulb (XYD0001)
|
|
131
144
|
|
|
132
145
|
### Levoit Humidifiers
|
|
133
146
|
|
|
134
147
|
1. Dual 200S
|
|
135
148
|
2. Classic 300S
|
|
136
|
-
3.
|
|
137
|
-
4.
|
|
138
|
-
5. OasisMist
|
|
139
|
-
6. OasisMist
|
|
149
|
+
3. LV600S
|
|
150
|
+
4. OasisMist 450S
|
|
151
|
+
5. OasisMist 600S
|
|
152
|
+
6. OasisMist 1000S
|
|
140
153
|
|
|
141
|
-
Cosori Air Fryer
|
|
154
|
+
### Cosori Air Fryer
|
|
142
155
|
|
|
143
156
|
1. Cosori 3.7 and 5.8 Quart Air Fryer
|
|
144
157
|
|
|
158
|
+
### Fans
|
|
159
|
+
|
|
160
|
+
1. 42 in. Tower Fan
|
|
161
|
+
|
|
162
|
+
<!--SUPPORTED DEVICES END-->
|
|
163
|
+
|
|
145
164
|
## Usage
|
|
146
165
|
|
|
147
166
|
To start with the module:
|
|
@@ -70,8 +70,12 @@ Install the latest version from pip:
|
|
|
70
70
|
pip install pyvesync
|
|
71
71
|
```
|
|
72
72
|
|
|
73
|
+
<!--SUPPORTED DEVICES START-->
|
|
74
|
+
|
|
73
75
|
## Supported Devices
|
|
74
76
|
|
|
77
|
+
<!--SUPPORTED OUTLETS START-->
|
|
78
|
+
|
|
75
79
|
### Etekcity Outlets
|
|
76
80
|
|
|
77
81
|
1. Voltson Smart WiFi Outlet- Round (7A model ESW01-USA)
|
|
@@ -80,11 +84,17 @@ pip install pyvesync
|
|
|
80
84
|
4. Voltson Smart WiFi Outlet - Rectangle (15A model ESW15-USA)
|
|
81
85
|
5. Two Plug Outdoor Outlet (ESO15-TB) (Each plug is a separate `VeSyncOutlet` object, energy readings are for both plugs combined)
|
|
82
86
|
|
|
87
|
+
<!--SUPPORTED OUTLETS END-->
|
|
88
|
+
|
|
89
|
+
<!--SUPPORTED SWITCHES START-->
|
|
90
|
+
|
|
83
91
|
### Wall Switches
|
|
84
92
|
|
|
85
93
|
1. Etekcity Smart WiFi Light Switch (model ESWL01)
|
|
86
94
|
2. Etekcity Wifi Dimmer Switch (ESD16)
|
|
87
95
|
|
|
96
|
+
<!--SUPPORTED SWITCHES END-->
|
|
97
|
+
|
|
88
98
|
### Levoit Air Purifiers
|
|
89
99
|
|
|
90
100
|
1. LV-PUR131S
|
|
@@ -103,21 +113,27 @@ pip install pyvesync
|
|
|
103
113
|
|
|
104
114
|
### Valceno Bulbs
|
|
105
115
|
|
|
106
|
-
1. Multicolor Bulb (XYD0001)
|
|
116
|
+
1. Valceno Multicolor Bulb (XYD0001)
|
|
107
117
|
|
|
108
118
|
### Levoit Humidifiers
|
|
109
119
|
|
|
110
120
|
1. Dual 200S
|
|
111
121
|
2. Classic 300S
|
|
112
|
-
3.
|
|
113
|
-
4.
|
|
114
|
-
5. OasisMist
|
|
115
|
-
6. OasisMist
|
|
122
|
+
3. LV600S
|
|
123
|
+
4. OasisMist 450S
|
|
124
|
+
5. OasisMist 600S
|
|
125
|
+
6. OasisMist 1000S
|
|
116
126
|
|
|
117
|
-
Cosori Air Fryer
|
|
127
|
+
### Cosori Air Fryer
|
|
118
128
|
|
|
119
129
|
1. Cosori 3.7 and 5.8 Quart Air Fryer
|
|
120
130
|
|
|
131
|
+
### Fans
|
|
132
|
+
|
|
133
|
+
1. 42 in. Tower Fan
|
|
134
|
+
|
|
135
|
+
<!--SUPPORTED DEVICES END-->
|
|
136
|
+
|
|
121
137
|
## Usage
|
|
122
138
|
|
|
123
139
|
To start with the module:
|
|
@@ -10,7 +10,7 @@ with open(path.join(this_directory, 'README.md'), encoding='utf-8') as f:
|
|
|
10
10
|
|
|
11
11
|
setup(
|
|
12
12
|
name='pyvesync',
|
|
13
|
-
version='2.1.
|
|
13
|
+
version='2.1.14',
|
|
14
14
|
description='pyvesync is a library to manage Etekcity\
|
|
15
15
|
Devices, Cosori Air Fryers and Levoit Air \
|
|
16
16
|
Purifiers run on the VeSync app.',
|
|
@@ -25,14 +25,17 @@ setup(
|
|
|
25
25
|
'Intended Audience :: Developers',
|
|
26
26
|
'Intended Audience :: End Users/Desktop',
|
|
27
27
|
'Natural Language :: English',
|
|
28
|
-
'Programming Language :: Python :: 3.
|
|
28
|
+
'Programming Language :: Python :: 3.9',
|
|
29
|
+
'Programming Language :: Python :: 3.10',
|
|
30
|
+
'Programming Language :: Python :: 3.11',
|
|
31
|
+
'Topic :: Home Automation',
|
|
29
32
|
],
|
|
30
33
|
keywords=['iot', 'vesync', 'levoit', 'etekcity', 'cosori', 'valceno'],
|
|
31
34
|
packages=find_packages('src', exclude=['tests', 'test*']),
|
|
32
35
|
package_dir={'': 'src'},
|
|
33
36
|
install_requires=['requests>=2.20.0'],
|
|
34
37
|
extras_require={
|
|
35
|
-
'dev': ['pytest', 'pytest-cov', '
|
|
38
|
+
'dev': ['pytest', 'pytest-cov', 'pyyaml', 'tox']
|
|
36
39
|
},
|
|
37
40
|
python_requires='>=3.9',
|
|
38
41
|
)
|