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

v3.4.1

  • Correct erroneous naming in function naming
  • Handle empty responses from gen 1 hubs
  • Handle scenemembers api endpoint case sensitive
  • Update automation primary key to eventid

v3.4.0

  • BREAKING CHANGE: Update SceneMembers api to use Scene ID as index over Shade ID
  • Patch bad logging of errornous warning message
  • Update scene tests to use fixtures

v3.3.0

  • Limit battery max to 100%
  • Move co-ordinator of shades from HA to API Core
  • Remove shade limiter causing issues with tilt shades

v3.2.1

  • Add type 57 (Carole Roman Shades)

v3.2.0

  • Bug fix for gen1 shades with bad data
  • Fix bad close position on tilt shades
  • Add hub registration capability
  • Revert gen 1/2 shades to previous power type mapping
  • Add retry logic to battery status requests

v3.1.2

  • Add type 72 (Silhoutte)

v3.1.1

  • Fix missed timeout blocks and handle in websession

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 type 95 (Aura Illuminated, Roller). Note: Type 95 do not support light control
  • Handle PowerType 11 + 12. Both are fixed and cannot be edited

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.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.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

v2.0.4

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

v2.0.3

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

v2.0.2

  • Bug Fix to handle shades with unexpected json responses

v2.0.1

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

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

v1.6.19

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

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

aiopvapi-3.4.1.tar.gz (41.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

aiopvapi-3.4.1-py3-none-any.whl (39.4 kB view details)

Uploaded Python 3

File details

Details for the file aiopvapi-3.4.1.tar.gz.

File metadata

  • Download URL: aiopvapi-3.4.1.tar.gz
  • Upload date:
  • Size: 41.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.14

File hashes

Hashes for aiopvapi-3.4.1.tar.gz
Algorithm Hash digest
SHA256 b2b07a67cf4eac5e4f7cccb554c4d9b014306b18d10417bf9eece6b669d51cc6
MD5 ca8a09e36493510a586b00c72c0adca1
BLAKE2b-256 3b853215fc9059061e959f8b284e388e98bbd253b12255f5b39a7a4905fa3e69

See more details on using hashes here.

File details

Details for the file aiopvapi-3.4.1-py3-none-any.whl.

File metadata

  • Download URL: aiopvapi-3.4.1-py3-none-any.whl
  • Upload date:
  • Size: 39.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.14

File hashes

Hashes for aiopvapi-3.4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 72e4b188d0f45246de3c32e286023231303bb381ee8a491d3e6b9572d85c4055
MD5 449fcefdddd9484469a61ecf3e3e2a3c
BLAKE2b-256 e5977dbc0eaa6889744f9ff8d1bb868cb6909921ca662d1fe168be15d0db46c3

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

3.4.1 This release

2 files

3.4.0

2 files

3.3.0

2 files

3.2.1

2 files

3.2.0

2 files

3.1.1

1 file

3.1.0

1 file

3.0.2

1 file

3.0.1

1 file

3.0.0

1 file

2.0.4

2 files

2.0.3

2 files

2.0.2

2 files

2.0.1

2 files

2.0.0

2 files

1.6.19

1 file

1.6.16

1 file

1.6.15

2 files

1.6.14

2 files

1.6.13

2 files

1.6.12

2 files

1.6.11

2 files

1.6.10

2 files

1.6.9

2 files

1.6.8

1 file

1.6.7

2 files

1.6.6

2 files

1.6.5

2 files

1.6.4

2 files

1.6.3

2 files

1.6.2

2 files

1.6.1

2 files

1.6.0

1 file

1.5.9

3 files

1.5.8

1 file

1.5.7

1 file

1.5.6

1 file

1.5.4

1 file

1.5.3

1 file

1.5.2

1 file

1.5.1

1 file

1.5

1 file

1.4

1 file

1.2

1 file

1.1

1 file

1.0

1 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