Skip to main content

Library to interact with the local GARDENA smart API.

Project description

Python library for GARDENA smart local API

Enables controlling and monitoring GARDENA smart devices in the local network, without going through the cloud.

Supported Devices

Model Device
18869 Water Control

Installation

pip install gardena-smart-local-api

Using the Library

Have a look at our example code.

You can run the examples from within the repository as follows:

uv sync --group examples
uv run gardena_smart_local_api/examples/valve.py --help

Contributing

Commits

Try to keep commits reviewable, i.e. they should only contain one logical change and generally not be too big.

As we use rebase to integrate pull requests, clean commits matter. Use commands like git commit --amend, git commit --fixup ... and git rebase --interactive ... to rework your commits. Should this be too advanced for you, just push temporary commits and when review is done, run e.g.:

git fetch
git rebase origin/main
git reset origin/main
git commit --all
git push --force-with-lease

For the commit message(s), follow these guidelines. If you are unsure how to formulate your commit messages, look at git log for inspiration.

Linting

uv sync --all-groups
uv run ruff check
uv run ruff format --check
uv run ty check

Running Tests

uv sync --group test
uv run python -m pytest

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

gardena_smart_local_api-0.0.3.tar.gz (32.2 kB view details)

Uploaded Source

Built Distribution

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

gardena_smart_local_api-0.0.3-py3-none-any.whl (30.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: gardena_smart_local_api-0.0.3.tar.gz
  • Upload date:
  • Size: 32.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for gardena_smart_local_api-0.0.3.tar.gz
Algorithm Hash digest
SHA256 756ad02f749b0d1525ce6c2a797d98996e73e98893d23788b78b6d181d220a4e
MD5 d65c06c06a8539471aa58f607c84e32a
BLAKE2b-256 39ca486d8c367be008e368a129f03969473205504f0d31c58ef929b0ec7fdd02

See more details on using hashes here.

Provenance

The following attestation bundles were made for gardena_smart_local_api-0.0.3.tar.gz:

Publisher: publish.yml on cloudless-garden/gardena-smart-local-api

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

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

File metadata

File hashes

Hashes for gardena_smart_local_api-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 e3c2c96c46dc17969a16de526bfef360b026e8f16f035ae28ea7259b267eb910
MD5 b2ccb5b31624c00a0639f8468298008a
BLAKE2b-256 e46d93bdb3eb8e6e4d2db79d2eff2f0e994a8126d4465485221413e18e62bfb9

See more details on using hashes here.

Provenance

The following attestation bundles were made for gardena_smart_local_api-0.0.3-py3-none-any.whl:

Publisher: publish.yml on cloudless-garden/gardena-smart-local-api

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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