Skip to main content

BLE client for Solem BL-IP irrigation controllers

Project description

solem-blip-ble

Python library for the Solem BL-IP Bluetooth irrigation controller.

Protocol sources

Layer Source
Commands (turn on/off, sprinkle, stop, commit) pcman75/solem-blip-reverse-engineering — GATT write 108b0002-..., frame 3105 … + 3b00
Status polling (notify, seq 0x02, station, remaining time) Live testing on BL-IP hardware; see docs/ble_protocol.md

Turn-off-for-N-days is capped at 15 days per the pcman75 documentation.

Install

pip install solem-blip-ble
# or from GitHub:
pip install "solem-blip-ble @ git+https://github.com/beelzetron/solem-blip-ble.git@main"
# or editable for development:
pip install -e ".[dev]"

CI/CD

  • CI: GitHub Actions runs tests (Python 3.11–3.13) and verifies the package builds on every push/PR to main.
  • CD: Creating a GitHub Release publishes the package to PyPI via trusted publishing.

Configure PyPI trusted publishing for this repository: PyPI project → Publishing → Add GitHub Actions publisher (beelzetron/solem-blip-ble, workflow publish.yml, environment pypi).

Usage

from solem_blip_ble import SolemClient, SolemConnectionError

client = SolemClient("AA:BB:CC:DD:EE:FF", bluetooth_timeout=15)
await client.connect()
status = await client.get_status()
await client.sprinkle_station_x_for_y_minutes(1, 5)
await client.stop_manual_sprinkle()

Documentation

Full BLE protocol notes: docs/ble_protocol.md

Home Assistant

Used by the Solem BL-IP Home Assistant integration.

Credits

Thanks to pcman75 for the original Solem BL-IP command reverse engineering.

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

solem_blip_ble-0.1.6.tar.gz (8.8 kB view details)

Uploaded Source

Built Distribution

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

solem_blip_ble-0.1.6-py3-none-any.whl (8.5 kB view details)

Uploaded Python 3

File details

Details for the file solem_blip_ble-0.1.6.tar.gz.

File metadata

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

File hashes

Hashes for solem_blip_ble-0.1.6.tar.gz
Algorithm Hash digest
SHA256 d53583b7cb893ebe3e45d620cdeab3524e595d70afd3355564c20eaded6a0d46
MD5 12bef6d7a2c7d0e14c3a874ae57a2e34
BLAKE2b-256 e6185425ee424905d91c418dc05f1a16be43691b0ffcfbbe3660e2a50679489c

See more details on using hashes here.

Provenance

The following attestation bundles were made for solem_blip_ble-0.1.6.tar.gz:

Publisher: publish.yml on beelzetron/solem-blip-ble

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

File details

Details for the file solem_blip_ble-0.1.6-py3-none-any.whl.

File metadata

  • Download URL: solem_blip_ble-0.1.6-py3-none-any.whl
  • Upload date:
  • Size: 8.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for solem_blip_ble-0.1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 45225af9322613cedd8492b930b9fb5c9dd3887d8dc22d419797f06206b116e5
MD5 81d87fa196c9c2cf556ea4fe54be4dfb
BLAKE2b-256 884f770175170578ac36a4a2e328a68bd63fcd6e2a80d0733e264497ef2c36b2

See more details on using hashes here.

Provenance

The following attestation bundles were made for solem_blip_ble-0.1.6-py3-none-any.whl:

Publisher: publish.yml on beelzetron/solem-blip-ble

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