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
| Device | Article Number | Model (EAN suffix) |
|---|---|---|
| smart Sensor | 19030-20 | 18845 |
| smart Sensor II | 19040-20 | 19040 |
| smart Water Control | 19031-20 | 18869 |
| smart Water Control | 19033-20 | 2812 |
| smart Dual Water Control | 19034-20 | 2814 |
| smart Pipeline Water Control | 19050-20 | 2826 |
| smart Irrigation Control | 19032-20 | 31653 |
| smart Irrigation Control | 19035-20 | 469 |
| smart Power Adapter | 19095-20 | 35279 |
| smart SILENO | 19060-20, 19060-60 | 6146 |
| smart SILENO+ | 19061-20, 19061-60, 19064-60, 19065-60 | 6146 |
| smart SILENO city | 19066-20, 19069-20 | 29694 |
| smart SILENO life | 19113-20, 19114-20, 19115-20 | 29694 |
| smart SILENO city (with LONA) | 19602-66, 19603-60, 19605-60 | 53988 |
| smart SILENO life (with LONA) | 19701-60, 19702-60, 19703-66, 19704-60 | 53988 |
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/irrigation.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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file gardena_smart_local_api-0.0.7.tar.gz.
File metadata
- Download URL: gardena_smart_local_api-0.0.7.tar.gz
- Upload date:
- Size: 49.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
df7819d15d3a063cb7816d4e7c61852cddd0b91d18377d170c97a1291ba29b8d
|
|
| MD5 |
1b81d672304c9dca5b12d1d1fda02888
|
|
| BLAKE2b-256 |
71b23be5b3b9500eb47b3e62c2107afa8d9ef4defe0f2f4d73bc89c0728ac07f
|
Provenance
The following attestation bundles were made for gardena_smart_local_api-0.0.7.tar.gz:
Publisher:
publish.yml on cloudless-garden/gardena-smart-local-api
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
gardena_smart_local_api-0.0.7.tar.gz -
Subject digest:
df7819d15d3a063cb7816d4e7c61852cddd0b91d18377d170c97a1291ba29b8d - Sigstore transparency entry: 1272285963
- Sigstore integration time:
-
Permalink:
cloudless-garden/gardena-smart-local-api@707562ad7cdb068b82bcd74f2e53f7d79483582e -
Branch / Tag:
refs/tags/v0.0.7 - Owner: https://github.com/cloudless-garden
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@707562ad7cdb068b82bcd74f2e53f7d79483582e -
Trigger Event:
push
-
Statement type:
File details
Details for the file gardena_smart_local_api-0.0.7-py3-none-any.whl.
File metadata
- Download URL: gardena_smart_local_api-0.0.7-py3-none-any.whl
- Upload date:
- Size: 64.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9ee2abb73533c850599fe7781fcce19aa6ae99a29559a954a608007ec07c1afb
|
|
| MD5 |
f761bddd0c8f35788d902a265aa3ba21
|
|
| BLAKE2b-256 |
62cc61842c5ab86e45833cff9e85d0134db4eecf0989dd7a235f105eef94db42
|
Provenance
The following attestation bundles were made for gardena_smart_local_api-0.0.7-py3-none-any.whl:
Publisher:
publish.yml on cloudless-garden/gardena-smart-local-api
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
gardena_smart_local_api-0.0.7-py3-none-any.whl -
Subject digest:
9ee2abb73533c850599fe7781fcce19aa6ae99a29559a954a608007ec07c1afb - Sigstore transparency entry: 1272286031
- Sigstore integration time:
-
Permalink:
cloudless-garden/gardena-smart-local-api@707562ad7cdb068b82bcd74f2e53f7d79483582e -
Branch / Tag:
refs/tags/v0.0.7 - Owner: https://github.com/cloudless-garden
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@707562ad7cdb068b82bcd74f2e53f7d79483582e -
Trigger Event:
push
-
Statement type: