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.4.tar.gz (34.5 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.4-py3-none-any.whl (34.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: gardena_smart_local_api-0.0.4.tar.gz
  • Upload date:
  • Size: 34.5 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.4.tar.gz
Algorithm Hash digest
SHA256 0aab443c7e5d98e2903bf154a7419ddf841806068fa7633319befb87389649a0
MD5 fd792b4054401234231edc726c8e55ce
BLAKE2b-256 683b998764e1ed89e5149c447a3baf75122281aa386ecd43bca2db90cf9c7fbf

See more details on using hashes here.

Provenance

The following attestation bundles were made for gardena_smart_local_api-0.0.4.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.4-py3-none-any.whl.

File metadata

File hashes

Hashes for gardena_smart_local_api-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 c05b896930a7d1a20762e476e7178b559586cbafdcd51f3c21485f8390dccd00
MD5 df1f83577b99dfda52a47583d3929207
BLAKE2b-256 ec090d2535b8696daba20c08f07a98da9ca8d33c06d2b54927ee51a90c80c11a

See more details on using hashes here.

Provenance

The following attestation bundles were made for gardena_smart_local_api-0.0.4-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