Status
pypowerview
Python3 interface implementation for Powerview Hub
Notes
This is for use with Home-Assistant
Usage
from pypowerview import PowerView
# Connect via IP
pv = PowerView('192.168.1.50')
# Return an array of shade objects
shades = pv.get_shades()
# Return first shade in array
shade = shades[0]
# Return attributes of shade
print(shade.id)
print(shade.name)
print(shade.position) # Position represented 0 (close) to 100 (open)
# Update shade position
pv.get_status(shade)
# Close shade
pv.close_shade(shade)
# Open Shade
pv.open_shade(shade)
# Stop shade in motion
pv.stop_shade(shade)
# Set shade to specific position (0 - 100)
pv.set_shade_position(shade, 55)
Metadata
Release files for pypowerview 0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pypowerview-0.2.tar.gz | 3.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pypowerview-0.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 6.4 kB
Release files / pypowerview-0.2.tar.gz
| Download URL | pypowerview-0.2.tar.gz |
|---|---|
| Size | 3.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
68826f79ed90b057e4528d37a5c6aa944b4cf777c17e446c0da97d788c041527
|
|
BLAKE2b-256 checksum How to use checksums |
7915d1f64e05acbb0e469fb503d3475280ab46076040ca8a46fcf19bf875a9b9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.5
|
Release files / pypowerview-0.2-py3-none-any.whl
| Download URL | pypowerview-0.2-py3-none-any.whl |
|---|---|
| Size | 3.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1a6b1c6e5af50675274c4a2a2f16dc8336f7bbbc275c8ed5889b5e3b34d2b242
|
|
BLAKE2b-256 checksum How to use checksums |
7da813db066b7a9a8b0ae4f68229a1200119aecd2394d7f2c4dd4042a47e7278
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.5
|