aiopvapi


Nameaiopvapi JSON
Version 3.1.1 PyPI version JSON
download
home_pagehttps://github.com/sander76/aio-powerview-api
SummaryPowerview blinds API wrapper
upload_time2024-03-22 22:28:07
maintainerNone
docs_urlNone
authorSander Teunissen
requires_python>=3.5.0
licenseMIT
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            
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
-----
- https://home-assistant.io/
- https://www.hunterdouglas.com/operating-systems/powerview-motorization

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

**v3.1.1**
- Fix missed timeout blocks and handle in websession

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/sander76/aio-powerview-api",
    "name": "aiopvapi",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.5.0",
    "maintainer_email": null,
    "keywords": null,
    "author": "Sander Teunissen",
    "author_email": null,
    "download_url": null,
    "platform": null,
    "description": "\r\nAioPvApi\r\n========\r\n\r\nA python asyncio API for PowerView blinds.\r\nWritten for Home-Assistant. Adding features as I go...\r\n\r\nHave a look at the examples folder for some guidance how to use it.\r\n\r\nLinks\r\n-----\r\n- https://home-assistant.io/\r\n- https://www.hunterdouglas.com/operating-systems/powerview-motorization\r\n\r\nChangelog\r\n---------\r\n\r\n**v1.6.19**\r\n\r\n- Add endpoints and handle 423 response\r\n- Remove loop as argument\r\n\r\n**v2.0.0**\r\n\r\n- Add support for all known shade types\r\n- Fallback to shade recognition based on capability\r\n- Clamping to prevent MIN_POSITION or MAX_POSITION being exceeded\r\n- Code refactoring\r\n\r\n**v2.0.1**\r\n\r\n- Invert type 3 & 4 to match api documentation from hunter douglas\r\n- Add type 10\r\n\r\n**v2.0.2**\r\n\r\n- Bug Fix to handle shades with unexpected json responses\r\n\r\n**v2.0.3**\r\n\r\n- Add Type 26, 27 & 28 - Skyline Panels\r\n- Force capability 1 for Type 44 - Twist\r\n- Align class name standard\r\n\r\n**v2.0.4**\r\n\r\n- Add Type 10 - SkyLift\r\n- Handle calls to update shade position during maintenance\r\n- Raise error directly on hub calls instead of logger\r\n\r\n**v3.0.0**\r\n\r\n- Major overhaul to incorporate gateway version 3 API.  Version can be automatically detected or manually specified.\r\n- UserData class is deprecated and replaced with Hub.\r\n- ShadePosition class now replaces the raw json management of shades in support of cross generational management.\r\n- Schedules / Automations are now supported by the API\r\n- New get_*objecttype* methods available to returned structured data objects for consistent management\r\n\r\n**v3.0.1**\r\n\r\n- Raw hub data updates made via defined function (`request_raw_data`, `request_home_data`, `request_raw_firware`, `detect_api_version`)\r\n- Parse Gen 3 hub name based on serial + mac\r\n- Find API version based on firmware revision\r\n- Remove async_timeout and move to asyncio\r\n\r\n**v3.0.2**\r\n\r\n- Add type 19 (Provenance Woven Wood)\r\n- Fix Positioning for ShadeVerticalTiltAnywhere + ShadeTiltOnly (Mid only)  \r\n- Fix logging regression on initial setup\r\n- Fixes for ShadeVerticalTiltAnywhere + ShadeTiltOnly\r\n- Fix tests\r\n- Remove unneeded declerations\r\n- Fix shade position reporting for v2 shades\r\n- Handle empty hub data being returned\r\n\r\n**v3.1.0**\r\n- General docstring updates\r\n- Handle kwargs in websessions for management of timeout internally\r\n- Update error handling in tools\r\n- Handle empty values and zeros better\r\n- Add type 53 (Sonnette) and yype 95 (Aura Illuminated, Roller). Note: *Type 95 do not support light control*\r\n- Handle PowerType 11 + 12. Both are fixed and cannot be edited\r\n\r\n**v3.1.1**\r\n- Fix missed timeout blocks and handle in websession\r\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Powerview blinds API wrapper",
    "version": "3.1.1",
    "project_urls": {
        "Homepage": "https://github.com/sander76/aio-powerview-api"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "5a186d0f4ed896baad9f8c6285e4cd57b5bdccc4b60d6f14ea3e410273cf6838",
                "md5": "e7f71a40cfcb612d6e9dec536e55b5aa",
                "sha256": "641d48d0a3d62d52d418ed0bce91e3e8b662136df6d07929e589c2956a61da63"
            },
            "downloads": -1,
            "filename": "aiopvapi-3.1.1-py2.py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "e7f71a40cfcb612d6e9dec536e55b5aa",
            "packagetype": "bdist_wheel",
            "python_version": "py2.py3",
            "requires_python": ">=3.5.0",
            "size": 36038,
            "upload_time": "2024-03-22T22:28:07",
            "upload_time_iso_8601": "2024-03-22T22:28:07.036171Z",
            "url": "https://files.pythonhosted.org/packages/5a/18/6d0f4ed896baad9f8c6285e4cd57b5bdccc4b60d6f14ea3e410273cf6838/aiopvapi-3.1.1-py2.py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-03-22 22:28:07",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "sander76",
    "github_project": "aio-powerview-api",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "aiopvapi"
}
        
Elapsed time: 0.22415s