Status
pyhdpowerview
Python3 interface implementation for Powerview Hub
Notes
This is for use with Home-Assistant
Usage
from pyhdpowerview import PowerView
# Connect via IP
pv = PowerView('192.168.1.50')
# Return an array of shade Id objects
shades = pv.get_shades()
# Return shade object
shade = pv.get_shade(shade_id)
# Return attributes of shade
print(shade.id)
print(shade.name)
print(shade.position) # Position represented 0 (close) to 100 (open)
print(shade.battery_level) # Battery level %
# Update shade position
pv.get_status(shade_id)
# Close shade
pv.close_shade(shade_id)
# Open Shade
pv.open_shade(shade_id)
# Stop shade in motion
pv.stop_shade(shade_id)
# Set shade to specific position (0 - 100)
pv.set_shade_position(shade_id, 55)
Metadata
Release files for pyhdpowerview 0.0.8
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pyhdpowerview-0.0.8.tar.gz | 3.3 kB | Without provenance | Details for pyhdpowerview-0.0.8.tar.gz |
Release files / pyhdpowerview-0.0.8.tar.gz
| Download URL | pyhdpowerview-0.0.8.tar.gz |
|---|---|
| Size | 3.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
05d36165f4f02d0d1ac22ce91379d3a7156b2eb8d832233d81ce70ea9ac8bffe
|
|
BLAKE2b-256 checksum How to use checksums |
7d42a8cabfef6249d82faea01bf3b4d6b3b3332bec17c8f76aa949b1cf64ccc3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.2 requests-toolbelt/0.9.1 tqdm/4.40.0 CPython/3.6.9
|
Security for pyhdpowerview 0.0.8
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.