Skip to main content

Asynchronous Python client for the Hager TJA470 Intercom API

Project description

aiotja470_intercom

Asynchronous Python client for the Hager TJA470 Intercom API. This package is designed to be integrated into Home Assistant.

Installation

pip install aiotja470_intercom

Usage

import asyncio
from aiotja470_intercom import TJA470IntercomClient, AiohttpRunner

async def main():
    runner = AiohttpRunner()
    client = TJA470IntercomClient(
        host="192.168.1.100",
        username="user",
        password="password",
        runner=runner
    )

    try:
        # Check manifest
        await client.get_manifest()

        # Get free devices for pairing
        devices = await client.get_free_devices()
        print(devices)

        # Retrieve provisioning config
        config = await client.get_provisioning("your-uuid")
        print(config)

    finally:
        await runner.close()

if __name__ == "__main__":
    asyncio.run(main())

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

aiotja470_intercom-0.1.0.tar.gz (8.2 kB view details)

Uploaded Source

Built Distribution

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

aiotja470_intercom-0.1.0-py3-none-any.whl (8.6 kB view details)

Uploaded Python 3

File details

Details for the file aiotja470_intercom-0.1.0.tar.gz.

File metadata

  • Download URL: aiotja470_intercom-0.1.0.tar.gz
  • Upload date:
  • Size: 8.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.4

File hashes

Hashes for aiotja470_intercom-0.1.0.tar.gz
Algorithm Hash digest
SHA256 8091f3efd1db946ed33c50e7232b45aacfdef954476f5625814e60e9c406f1dc
MD5 17b0bb8de529f18b3c68a5963123f720
BLAKE2b-256 d6f692052ffb370ed1ff9135b75cb48c2beaa99afdaa038607eda57d2fb1d21c

See more details on using hashes here.

File details

Details for the file aiotja470_intercom-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for aiotja470_intercom-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 dadf398096b762a6bd98a698750fc4adc6cbadf2d3e37d4a00b1f720e7fbe854
MD5 e3c5b5c83fb1583fc6c1eac3bbf53f8e
BLAKE2b-256 5661ed36500354527da3373e47e8012fe9cb8ad66a4d15da95e3187a4f1c1eea

See more details on using hashes here.

Supported by

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