uiprotect 0.2.2__py3-none-any.whl → 0.3.0__py3-none-any.whl
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.
Potentially problematic release.
This version of uiprotect might be problematic. Click here for more details.
- uiprotect/cli/base.py +1 -1
- {uiprotect-0.2.2.dist-info → uiprotect-0.3.0.dist-info}/METADATA +4 -4
- {uiprotect-0.2.2.dist-info → uiprotect-0.3.0.dist-info}/RECORD +6 -6
- {uiprotect-0.2.2.dist-info → uiprotect-0.3.0.dist-info}/LICENSE +0 -0
- {uiprotect-0.2.2.dist-info → uiprotect-0.3.0.dist-info}/WHEEL +0 -0
- {uiprotect-0.2.2.dist-info → uiprotect-0.3.0.dist-info}/entry_points.txt +0 -0
uiprotect/cli/base.py
CHANGED
|
@@ -208,7 +208,7 @@ def adopt(ctx: typer.Context, name: Optional[str] = typer.Argument(None)) -> Non
|
|
|
208
208
|
Adopts a device.
|
|
209
209
|
|
|
210
210
|
By default, unadopted devices do not show up in the bootstrap. Use
|
|
211
|
-
`
|
|
211
|
+
`uiprotect -u` to show unadopted devices.
|
|
212
212
|
"""
|
|
213
213
|
require_device_id(ctx)
|
|
214
214
|
obj: ProtectAdoptableDeviceModel = ctx.obj.device
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: uiprotect
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.3.0
|
|
4
4
|
Summary: Python API for Unifi Protect (Unofficial)
|
|
5
5
|
Home-page: https://github.com/uilibs/uiprotect
|
|
6
6
|
License: MIT
|
|
@@ -169,7 +169,7 @@ pip install git+https://github.com/uilibs/uiprotect.git#egg=uiprotect
|
|
|
169
169
|
A Docker container is also provided so you do not need to install/manage Python as well. You can add the following to your `.bashrc` or similar.
|
|
170
170
|
|
|
171
171
|
```bash
|
|
172
|
-
function
|
|
172
|
+
function uiprotect() {
|
|
173
173
|
docker run --rm -it \
|
|
174
174
|
-e UFP_USERNAME=YOUR_USERNAME_HERE \
|
|
175
175
|
-e UFP_PASSWORD=YOUR_PASSWORD_HERE \
|
|
@@ -204,8 +204,8 @@ export UFP_PORT=443
|
|
|
204
204
|
# change to false if you do not have a valid HTTPS Certificate for your instance
|
|
205
205
|
export UFP_SSL_VERIFY=True
|
|
206
206
|
|
|
207
|
-
|
|
208
|
-
|
|
207
|
+
uiprotect --help
|
|
208
|
+
uiprotect nvr
|
|
209
209
|
```
|
|
210
210
|
|
|
211
211
|
### Python
|
|
@@ -3,7 +3,7 @@ uiprotect/__main__.py,sha256=T69KE5W4zek6qeNEL8_Fq2DEfBc04SqSuIOJpiW4ydE,471
|
|
|
3
3
|
uiprotect/api.py,sha256=mmAmPBs0Zev_2KWLO_l5QU8pFOsFzuYt-OZMvfV3mq0,65694
|
|
4
4
|
uiprotect/cli/__init__.py,sha256=tmwtYrhM8rjOw8noKD6NALl_2Nu3xIycDuQyEKD5oMk,8832
|
|
5
5
|
uiprotect/cli/backup.py,sha256=Mtjd2f0w7zjIeLkJILKxiBnZJYXypzC9gpyAmBZ8sq0,36746
|
|
6
|
-
uiprotect/cli/base.py,sha256=
|
|
6
|
+
uiprotect/cli/base.py,sha256=IyK_JZbw7C6m8R46iMzfVOs4on5TpedFxaDrYz_v_0g,7623
|
|
7
7
|
uiprotect/cli/cameras.py,sha256=mVLJ5FjZPSbpNXvtd7Yiz17zMDSdLWT0p6Wcaqpt0GQ,16996
|
|
8
8
|
uiprotect/cli/chimes.py,sha256=92kNiZN7FpuCF7CqK9oLPt2jQ96tNhTjP1JcOdJAKhU,5350
|
|
9
9
|
uiprotect/cli/doorlocks.py,sha256=XMftrrK0O0bWZHOuTwg9m4p9U7gC0FzHFb72bSnlUEg,3547
|
|
@@ -30,8 +30,8 @@ uiprotect/test_util/__init__.py,sha256=sSEXu6_pwdYNQSCYtftpX1Dy1S8XYOvhrpECYRxeK
|
|
|
30
30
|
uiprotect/test_util/anonymize.py,sha256=AGYELhDC4BrdK0deI6zh5jFp3SuM_HvAWLeoxFHSiwg,8486
|
|
31
31
|
uiprotect/utils.py,sha256=kGh1DcejItZ0_XEoAQNVZMtU1w9JHIeNSvm3T-llSxs,17841
|
|
32
32
|
uiprotect/websocket.py,sha256=iMTdchymaCgVHsmY1bRbxkcymqt6WQircIHYNxCu178,7289
|
|
33
|
-
uiprotect-0.
|
|
34
|
-
uiprotect-0.
|
|
35
|
-
uiprotect-0.
|
|
36
|
-
uiprotect-0.
|
|
37
|
-
uiprotect-0.
|
|
33
|
+
uiprotect-0.3.0.dist-info/LICENSE,sha256=INx18jhdbVXMEiiBANeKEbrbz57ckgzxk5uutmmcxGk,1111
|
|
34
|
+
uiprotect-0.3.0.dist-info/METADATA,sha256=s5GehHZ_1jmbHUvC7fs3OilwwTg9lGGbbcYX5PdEYRg,10922
|
|
35
|
+
uiprotect-0.3.0.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
|
|
36
|
+
uiprotect-0.3.0.dist-info/entry_points.txt,sha256=J78AUTPrTTxgI3s7SVgrmGqDP7piX2wuuEORzhDdVRA,47
|
|
37
|
+
uiprotect-0.3.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|