Skip to main content

Python API for interacting with Hydrawise sprinkler controllers.

Project description

pydrawise

Python 3 library for interacting with Hydrawise sprinkler controllers.

Note that this project has no official relationship with Hydrawise or Hunter. Use at your own risk.

Usage

import asyncio

from pydrawise import Auth, Hydrawise


async def main():
    # Create a Hydrawise object and authenticate with your credentials.
    h = Hydrawise(Auth("username", "password"))

    # List the controllers attached to your account.
    controllers = await h.get_controllers()

    # List the zones controlled by the first controller.
    zones = await controllers[0].get_zones()
    
    # Start the first zone.
    await zones[0].start()


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

pydrawise-2023.5.0.tar.gz (27.9 kB view details)

Uploaded Source

Built Distribution

pydrawise-2023.5.0-py3-none-any.whl (12.5 kB view details)

Uploaded Python 3

File details

Details for the file pydrawise-2023.5.0.tar.gz.

File metadata

  • Download URL: pydrawise-2023.5.0.tar.gz
  • Upload date:
  • Size: 27.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.3

File hashes

Hashes for pydrawise-2023.5.0.tar.gz
Algorithm Hash digest
SHA256 d33e54341ba572b58341535a28450dfbe7c8dd1d98fb8aa2286600df76549173
MD5 6fb4e91cb639959380027943f2087ce9
BLAKE2b-256 ccea2e0780bf50671491816b16f5732f509deef0df3e6b3caeb2137adf00cb2b

See more details on using hashes here.

File details

Details for the file pydrawise-2023.5.0-py3-none-any.whl.

File metadata

  • Download URL: pydrawise-2023.5.0-py3-none-any.whl
  • Upload date:
  • Size: 12.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.3

File hashes

Hashes for pydrawise-2023.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ff6c662219399b80318579587feaf235c93e7124dce3878b722007c3c72cb33f
MD5 d5993c294e1e79ec652232ef4c30dddd
BLAKE2b-256 cb5e422b026f3d34923209b406ef85d29f43917ed50f198bce5877b545db406f

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