Skip to main content

A client to interact with the Jablotron API to control Jablotron alarm systems

Project description

PyPI version

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


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.4.tar.gz (6.2 kB view details)

Uploaded Source

Built Distribution

JablotronPy-0.6.4-py3-none-any.whl (6.2 kB view details)

Uploaded Python 3

File details

Details for the file jablotronpy-0.6.4.tar.gz.

File metadata

  • Download URL: jablotronpy-0.6.4.tar.gz
  • Upload date:
  • Size: 6.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.20

File hashes

Hashes for jablotronpy-0.6.4.tar.gz
Algorithm Hash digest
SHA256 17b7e1291aa65d3a4f909733e3b3ac511514ee19030ffd5dabe5e404e6bd3cbf
MD5 94f719db3434f98e257f870fcc1b2c0c
BLAKE2b-256 273f1a8f6e2e822d1459f86b5899f53588a514e27d543805805e9fe47c1acaac

See more details on using hashes here.

File details

Details for the file JablotronPy-0.6.4-py3-none-any.whl.

File metadata

  • Download URL: JablotronPy-0.6.4-py3-none-any.whl
  • Upload date:
  • Size: 6.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.20

File hashes

Hashes for JablotronPy-0.6.4-py3-none-any.whl
Algorithm Hash digest
SHA256 6b292a09e8b7aa556c9954ebcfbfa039bb58d17e4328684266b351b1b0a8e2ef
MD5 be3b36e87d14e75df1a563ef599877e3
BLAKE2b-256 0da35b6ec2d06be0747313dbe536cdbe54f573efe0971975e88464182df41388

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page