Client to interact with Jablotron Cloud API to control Jablotron alarm systems
Project description
JablotronPy
Jablotron Cloud API client written in Python that allows you to retrieve data from Jablotron systems as well as control them.
Installation
The package is published to PyPi, to install it run the following command:
pip install jablotronpy
Usage
This is an example of initializing a client and getting all sections from the first available service:
import os
from jablotronpy.jablotronpy import Jablotron
# Initialize client and perform login
client = Jablotron(
username=os.environ["JABLOTRON_USER"],
password=os.environ["JABLOTRON_PASS"],
pin_code=os.environ["JABLOTRON_PIN"]
)
client.perform_login()
# Get service and its sections
service_id = client.get_services()[0]["service-id"]
sections = client.get_sections(service_id=service_id)
print(sections)
Methods
The client offers a variation of data, here is a table of the methods and data it returns:
| Method | Description |
|---|---|
| perform_login | Performs initial login to Jablotron Cloud API |
| get_services | Returns list of available services for specified Jablotron Cloud account |
| get_service_information | Returns additional information about specified service |
| get_sections | Returns available sections for specified service |
| get_thermo_devices | Returns list of available thermo devices for specified service |
| get_keyboard_segments | Returns list of available keyboards and their segments for specified service |
| get_programmable_gates | Returns available programmable gates and their states for specified service |
| get_service_history | Returns list of historical events for specified service |
| control_section | Sets specified section of specified service to desired state |
| control_programmable_gate | Sets specified programmable gate of specified service to desired state |
Project details
Release history Release notifications | RSS feed
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 jablotronpy-0.7.3.tar.gz.
File metadata
- Download URL: jablotronpy-0.7.3.tar.gz
- Upload date:
- Size: 9.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f6db0d22675502f89e8dce5973331990625fa973705c35ca1f0f0e554d755e06
|
|
| MD5 |
d9a314da4ec49fef9b6d5f244a319af4
|
|
| BLAKE2b-256 |
2fd2b9f27610e322d76ecea02c0101375e6d78b4b33648fdfd30cad5b6c5ce3a
|
File details
Details for the file jablotronpy-0.7.3-py3-none-any.whl.
File metadata
- Download URL: jablotronpy-0.7.3-py3-none-any.whl
- Upload date:
- Size: 9.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7d9aa3f0025f3fc55f2776b14d90d40cff3ebf7d6ed84a3bf3808bff0e278feb
|
|
| MD5 |
26d351af3ab263009a3d31b68e988963
|
|
| BLAKE2b-256 |
d0d491b12305c4537213abc99f7c24faada106149a386e6edc20edf4b4fabdd3
|