Skip to main content

Python module to talk to Vantage InFusion controllers.

Project description

aiovantage

aiovantage is a Python library for interacting with and controlling Vantage InFusion home automation controllers.

Uses a "controller" pattern inspired heavily by the aiohue library.

This open-source, non-commercial library is not affiliated, associated, authorized, endorsed by, or in any way officially connected with Vantage, and is provided for interoperability purposes only.

Example

from aiovantage import Vantage

async with Vantage("192.168.1.2", "username", "password") as vantage:
    async for load in vantage.loads:
        print(f"{load.name} is at {load.level}%")

See the examples folder for more examples.

Features

  • Uses Python asyncio for non-blocking I/O.
  • Exposes "controllers" to make fetching and controlling various objects easy.
  • Uses SSL connections by default, with automatic reconnection.
  • Fetch objects lazily (with async for obj in controller).
  • Alternatively, eager-fetch objects with controller.initialize.

Supported objects types

The following interfaces/controllers are currently supported.

Type Description Controller Examples
Area Rooms, etc vantage.areas Examples
Blind Shades, blinds vantage.blinds Examples
BlindGroups Groups of blinds vantage.blind_groups Examples
Buttons Keypad buttons vantage.buttons Examples
DryContacts Motion sensors, etc vantage.dry_contacts Examples
GMem Vantage variables vantage.gmem Examples
Load Lights, relays, etc vantage.loads Examples
LoadGroup Groups of loads vantage.load_groups Examples
OmniSensor Power, current, etc vantage.omni_sensors Examples
RGBLoad RGB lights vantage.rgb_loads Examples
Stations Keypads, etc vantage.stations Examples
Tasks Vantage tasks vantage.tasks Examples

If you have an object that you expect to show up in one of these controllers, but it is missing, please let me know in an issue.

Installation

pip3 install aiovantage

Project details


Download files

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

Source Distribution

aiovantage-0.2.0.tar.gz (43.0 kB view details)

Uploaded Source

Built Distribution

aiovantage-0.2.0-py3-none-any.whl (63.2 kB view details)

Uploaded Python 3

File details

Details for the file aiovantage-0.2.0.tar.gz.

File metadata

  • Download URL: aiovantage-0.2.0.tar.gz
  • Upload date:
  • Size: 43.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.4

File hashes

Hashes for aiovantage-0.2.0.tar.gz
Algorithm Hash digest
SHA256 027eded721492972e134efa748270c34cd5d60ffa7cdb9a7c9718f632bcf7416
MD5 064aa703ddbdc585286533d1b10ba75a
BLAKE2b-256 aa04a59ac5fa4139df60f55479dc65224182c9d3cb6cff3d87059187e5c54ca8

See more details on using hashes here.

File details

Details for the file aiovantage-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: aiovantage-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 63.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.4

File hashes

Hashes for aiovantage-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 14ac7098b00806bb3737c199a32104a7d5267f6c5f6bf109bbd250841f9624ac
MD5 0c2a4e6c4cd90b72479d2cc68e453222
BLAKE2b-256 12688b28843262a6f3d6ee8d7ad31ac2ba1e2ef4281fdcfdb8f551074f0b865f

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page