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

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 Automatic Home & Garden Pump 19080-20 22538
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
smart SILENO pro 19802-20, 19802-22 488
smart SILENO max 19901-22 488
smart SILENO free 19921-22, 19922-22, 19923-22 488
Flymo UltraLife 970620501, 970620701, 970715101, 970715201 488

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

Licensing Compliance

uv run reuse lint

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.11.tar.gz (104.7 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.11-py3-none-any.whl (75.5 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for gardena_smart_local_api-0.0.11.tar.gz
Algorithm Hash digest
SHA256 476b28720933f757f7fdf4bd1f2082d602a1c94b445436c53264f2e84b60d208
MD5 ee4c38e8e2a8e8c6711a78d42a2b6105
BLAKE2b-256 4a085420da22fa0a84bba99b9b7cef09f38e73ab774ea347407991b3dc93d359

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gardena_smart_local_api-0.0.11-py3-none-any.whl
Algorithm Hash digest
SHA256 eccfa933f735200091523e1ac74e7d1a84fab8551722c6aceff9fafb5fdcd209
MD5 23b9ee5854cad766bef2cb3aede5f602
BLAKE2b-256 29e64ce0081fe46eabb3378569ab34ac528200a8a5cbb2f6bd914247cc2ba405

See more details on using hashes here.

Provenance

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