Skip to main content

Interact with and control Vantage InFusion home automation 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
AnemoSensor Wind speed sensors vantage.anemo_sensors 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
LightSensor Light sensors vantage.light_sensors 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
Temperature Temperature sensors vantage.temperature_sensors 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.4.0.tar.gz (42.7 kB view details)

Uploaded Source

Built Distribution

aiovantage-0.4.0-py3-none-any.whl (72.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: aiovantage-0.4.0.tar.gz
  • Upload date:
  • Size: 42.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-httpx/0.24.1

File hashes

Hashes for aiovantage-0.4.0.tar.gz
Algorithm Hash digest
SHA256 63a803a415d8761fa99e9f1fdc2cbd77d551bd63ad119f5184c3f89936d63533
MD5 c051277d651938863067d2a497807989
BLAKE2b-256 ba68742c5cad3fb071c502c54bc5e071069271dc20e38c84553e5c49e3f4e870

See more details on using hashes here.

File details

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

File metadata

  • Download URL: aiovantage-0.4.0-py3-none-any.whl
  • Upload date:
  • Size: 72.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-httpx/0.24.1

File hashes

Hashes for aiovantage-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 aef6356a596af594600852e5ca43ff360b178d439eee3be40614302bc34f92b0
MD5 59cab699d446e43745bde41b3fa040ab
BLAKE2b-256 bfc7aa0bcf8d5e529978becbbde9f1f080bdcef252166d35b3208d761ae04d31

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