Skip to main content

Unofficial Rademacher HomePilot API wrapper

Project description

pyhomepilot

Python package for communicating with the Rademacher HomePilot API.

Disclaimer

HomePilot is a trademark of the Rademacher company. Rademacher is not affiliated with the author or this project in any way.

Installation

Use the package manager pip to install pyhomepilot.

pip install pyhomepilot

Usage

import asyncio
import aiohttp

from pyhomepilot import HomePilotAPI
from pyhomepilot.auth import Auth


async def main():
    async with aiohttp.ClientSession() as session:
        auth = Auth(session, "http://192.168.1.10", "password-if-configured")
        # only if a password is configured
        await auth.async_login()
        
        api = HomePilotAPI(auth)

        devices = await api.async_get_all_devices()
        print([device.name for device in devices])
        

asyncio.run(main())

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

License

MIT

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

pyhomepilot-0.0.3.tar.gz (5.0 kB view details)

Uploaded Source

Built Distribution

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

pyhomepilot-0.0.3-py3-none-any.whl (7.4 kB view details)

Uploaded Python 3

File details

Details for the file pyhomepilot-0.0.3.tar.gz.

File metadata

  • Download URL: pyhomepilot-0.0.3.tar.gz
  • Upload date:
  • Size: 5.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.9.5

File hashes

Hashes for pyhomepilot-0.0.3.tar.gz
Algorithm Hash digest
SHA256 91392d3bcc5807892a2e043a8cb3addba19f7514db186bd5f48854410718ff96
MD5 23ea32f870f987d4f51395593a5fc1f2
BLAKE2b-256 755d87fbcaf29e3a5fa8fa43641d40cc7965cd6441c6fd61beba1c290f9f634e

See more details on using hashes here.

File details

Details for the file pyhomepilot-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: pyhomepilot-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 7.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.9.5

File hashes

Hashes for pyhomepilot-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 db33e862177e48c2c17bb029ef618aa4beaea2275cf2c11246fb99ce4bb5839b
MD5 a20d60f5840ce9debc7dc0e92b0552b5
BLAKE2b-256 56ce9eb2dd239e8a32c1b3b6d1b7c36243049bfe9489636b7e5ddb85e0077de2

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