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.1.tar.gz (5.5 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.1-py3-none-any.whl (7.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pyhomepilot-0.0.1.tar.gz
  • Upload date:
  • Size: 5.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.9.1

File hashes

Hashes for pyhomepilot-0.0.1.tar.gz
Algorithm Hash digest
SHA256 85287487213eace2564ec66cfce9701cef63cb7a2ae3c7470256bb94f0fd6c2b
MD5 42eeecf2d2b60307f84b00944ee71d71
BLAKE2b-256 092a622d5c8057a360fa0fcd20109b543e7b7296e6c64d13528bbf0cdab41c3b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyhomepilot-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 7.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.9.1

File hashes

Hashes for pyhomepilot-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 63a4324069634f19ede8440a8b020dd3dbf137825fd63cb0db4515e9cbf87fbe
MD5 1de0dd148a31d9366f26ca130552f70e
BLAKE2b-256 35d854a61191a4ec6415300490387c621a98f37262595730e3e1071bfbecbeeb

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