Skip to main content

AioPvApi

A python asyncio API for PowerView blinds. Written for Home-Assistant. Adding features as I go...

Have a look at the examples folder for some guidance how to use it.

Links

Changelog

v1.6.19

  • Add endpoints and handle 423 response
  • Remove loop as argument

v2.0.0

  • Add support for all known shade types
  • Fallback to shade recognition based on capability
  • Clamping to prevent MIN_POSITION or MAX_POSITION being exceeded
  • Code refactoring

v2.0.1

  • Invert type 3 & 4 to match api documentation from hunter douglas
  • Add type 10

v2.0.2

  • Bug Fix to handle shades with unexpected json responses

v2.0.3

  • Add Type 26, 27 & 28 - Skyline Panels
  • Force capability 1 for Type 44 - Twist
  • Align class name standard

v2.0.4

  • Add Type 10 - SkyLift
  • Handle calls to update shade position during maintenance
  • Raise error directly on hub calls instead of logger

v3.0.0

  • Major overhaul to incorporate gateway version 3 API. Version can be automatically detected or manually specified.
  • UserData class is deprecated and replaced with Hub.
  • ShadePosition class now replaces the raw json management of shades in support of cross generational management.
  • Schedules / Automations are now supported by the API
  • New get_objecttype methods available to returned structured data objects for consistent management

v3.0.1

  • Raw hub data updates made via defined function (request_raw_data, request_home_data, request_raw_firware, detect_api_version)
  • Parse Gen 3 hub name based on serial + mac
  • Find API version based on firmware revision
  • Remove async_timeout and move to asyncio

v3.0.2

  • Add type 19 (Provenance Woven Wood)
  • Fix Positioning for ShadeVerticalTiltAnywhere + ShadeTiltOnly (Mid only)
  • Fix logging regression on initial setup
  • Fixes for ShadeVerticalTiltAnywhere + ShadeTiltOnly
  • Fix tests
  • Remove unneeded declerations
  • Fix shade position reporting for v2 shades
  • Handle empty hub data being returned

v3.1.0

  • General docstring updates
  • Handle kwargs in websessions for management of timeout internally
  • Update error handling in tools
  • Handle empty values and zeros better
  • Add type 53 (Sonnette) and yype 95 (Aura Illuminated, Roller). Note: Type 95 do not support light control
  • Handle PowerType 11 + 12. Both are fixed and cannot be edited

Metadata

Release files for aiopvapi 3.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for aiopvapi 3.1.0
File Interpreter ABI Platform
aiopvapi-3.1.0-py2.py3-none-any.whl Python 2, Python 3 none any Details

Release files / aiopvapi-3.1.0-py2.py3-none-any.whl

Download URL aiopvapi-3.1.0-py2.py3-none-any.whl
Size 36.0 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
42261a04785ab3c79d427299f930db22c7a646017933323c08834b952a64a56c
BLAKE2b-256 checksum
How to use checksums
4431e90d9f1e296bee3f6ce28a294a0b19a76eff163bd845762402bfffcffc4f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.0

Release history Release notifications | RSS feed

3.4.1

2 release files

3.4.0

2 release files

3.3.0

2 release files

3.2.1

2 release files

3.2.0

2 release files

3.1.1

1 release file

This release

3.1.0 This release

1 release file

3.0.2

1 release file

3.0.1

1 release file

3.0.0

1 release file

2.0.4

2 release files

2.0.3

2 release files

2.0.2

2 release files

2.0.1

2 release files

2.0.0

2 release files

1.6.19

1 release file

1.6.16

1 release file

1.6.15

2 release files

1.6.13

2 release files

1.6.12

2 release files

1.6.11

2 release files

1.6.9

2 release files

1.6.8

1 release file

1.6.7

2 release files

1.6.6

2 release files

1.6.5

2 release files

1.6.4

2 release files

1.6.3

2 release files

1.6.2

2 release files

1.6.1

2 release files

1.6.0

1 release file

1.5.9

3 release files

1.5.8

1 release file

1.5.7

1 release file

1.5.6

1 release file

1.5.4

1 release file

1.5.3

1 release file

1.5.2

1 release file

1.5.1

1 release file

1.5

1 release file

1.4

1 release file

1.2

1 release file

1.1

1 release file

1.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page