A client to interact with the Jablotron API to control Jablotron alarm systems
Project description
JablotronPy
Due to popular request, work has started on a Jablotron client for Python that will be used to write a Jablotron plugin for Home Assistant. It will also be used in a simple gui that will help people setup their Homebridge config.
Installation
The package is published to PyPi, to install it run the following command:
pip install jablotronpy
Usage
Below is an example of authenticating and getting all sections.
import os
from jablotronpy.jablotronpy import Jablotron
j = Jablotron(username=os.environ["JABLOTRON_USER"],
password=os.environ["JABLOTRON_PASS"],
pin_code=os.environ["JABLOTRON_PIN"])
service_id = j.get_services()[0]["service-id"]
print(j.get_sections(service_id=service_id)["sections"])
Methods
The following methods are available:
- control_component
- control_programmable_gate
- control_section
- get_keyboard_segments
- get_programmable_gates
- get_sections
- get_service_history
- get_services
- get_session_id
- get_thermo_devices
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
jablotronpy-0.6.1.tar.gz
(6.1 kB
view hashes)
Built Distribution
Close
Hashes for JablotronPy-0.6.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 976ecf117a801e915c933d2bdeb100758bdb0d8dcdd48c5d8b0bd5e0cc3bbf59 |
|
MD5 | 15ed59fa5b9c8428fb1599b09da0a680 |
|
BLAKE2b-256 | 35c59c0aff42490a87069e186d7a4bf27d0bb543a7b25980f2d6c8980f0e569d |