Python client for Hidromotic CHI Smart irrigation controllers
Project description
pyhidromotic
Python client for Hidromotic CHI Smart irrigation controllers.
Installation
pip install pyhidromotic
Usage
import asyncio
from pyhidromotic import HidromoticClient
async def main():
# Create client
client = HidromoticClient("192.168.1.100")
# Connect to device
if await client.connect():
# Wait for initial data
await asyncio.sleep(2)
# Get zones
zones = client.get_zones()
print(f"Found {len(zones)} zones")
# Turn on zone 0
await client.set_zone_state(0, True)
# Check auto irrigation status
if client.is_auto_riego_on():
print("Auto irrigation is enabled")
# Disconnect
await client.disconnect()
asyncio.run(main())
Features
- WebSocket-based communication with Hidromotic devices
- Support for CHI Smart and CHI Smart Mini models
- Control irrigation zones and tanks
- Enable/disable automatic irrigation
- Real-time status updates via callbacks
- Automatic reconnection on connection loss
Supported devices
- Hidromotic CHI Smart (12 outputs)
- Hidromotic CHI Smart Mini (6 outputs)
License
GPL-3.0-or-later
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 pyhidromotic-0.1.2.tar.gz.
File metadata
- Download URL: pyhidromotic-0.1.2.tar.gz
- Upload date:
- Size: 22.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0aa382477057313204dd1df5f0e3e9e8139c224e47080ebf1697da4d0b0c64ae
|
|
| MD5 |
6736d67d816f67b1936ee5354fb75a6d
|
|
| BLAKE2b-256 |
76e99622542b4e673d59f4857750ce6feeb1e2611df4dfd456d4054fd1d0d9a9
|
Provenance
The following attestation bundles were made for pyhidromotic-0.1.2.tar.gz:
Publisher:
publish.yml on bulju/pyhidromotic
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pyhidromotic-0.1.2.tar.gz -
Subject digest:
0aa382477057313204dd1df5f0e3e9e8139c224e47080ebf1697da4d0b0c64ae - Sigstore transparency entry: 847334640
- Sigstore integration time:
-
Permalink:
bulju/pyhidromotic@0c210dd6b3c79c8d839a2f6ef40805a387c51405 -
Branch / Tag:
refs/tags/0.1.2 - Owner: https://github.com/bulju
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@0c210dd6b3c79c8d839a2f6ef40805a387c51405 -
Trigger Event:
release
-
Statement type:
File details
Details for the file pyhidromotic-0.1.2-py3-none-any.whl.
File metadata
- Download URL: pyhidromotic-0.1.2-py3-none-any.whl
- Upload date:
- Size: 20.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
55364a5372ecfc09a3a05100731aa6509b83fa6c83cd0d1b3ff19e460525a799
|
|
| MD5 |
febd73d068b1bae9d57d54b413f19994
|
|
| BLAKE2b-256 |
67f6154a6d259e364a74a14b75fa702c124f351d2d79820f6a5f7a6041d60abb
|
Provenance
The following attestation bundles were made for pyhidromotic-0.1.2-py3-none-any.whl:
Publisher:
publish.yml on bulju/pyhidromotic
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pyhidromotic-0.1.2-py3-none-any.whl -
Subject digest:
55364a5372ecfc09a3a05100731aa6509b83fa6c83cd0d1b3ff19e460525a799 - Sigstore transparency entry: 847334678
- Sigstore integration time:
-
Permalink:
bulju/pyhidromotic@0c210dd6b3c79c8d839a2f6ef40805a387c51405 -
Branch / Tag:
refs/tags/0.1.2 - Owner: https://github.com/bulju
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@0c210dd6b3c79c8d839a2f6ef40805a387c51405 -
Trigger Event:
release
-
Statement type: