Skip to main content

Package for accessing nodejs-poolController

Project description

poolcontrolpy

Package for accessing nodejs-poolController for use with a planned Home Assistant integration.

Installation

$ pip install poolcontrolpy

Usage

Configure pool controller and confirm successful connection.

import asyncio
import aiohttp

from poolcontrolpy.poolcontrolpy import Controller


async def checkconnection():

    async with aiohttp.ClientSession() as client:
        controller = Controller(client, "10.0.20.13", 4200)
        return await controller.checkconnect()

resp = asyncio.run(checkconnection())
print(resp)

Note: This example uses 'asyncio.run' so it cannot be called when another asyncio event loop is running in the same thread.

Contributing

Interested in contributing? Check out the contributing guidelines. Please note that this project is released with a Code of Conduct. By contributing to this project, you agree to abide by its terms.

License

poolcontrolpy was created by Kevin Robinson. It is licensed under the terms of the MIT license.

Credits

poolcontrolpy was created with cookiecutter and the py-pkgs-cookiecutter template.

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

poolcontrolpy-0.2.16.tar.gz (3.9 kB view hashes)

Uploaded Source

Built Distribution

poolcontrolpy-0.2.16-py3-none-any.whl (4.6 kB view hashes)

Uploaded Python 3

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