alarmdecoder 1.13.13
pip install alarmdecoder
Released:
Python interface for the AlarmDecoder (AD2) family of alarm devices which includes the AD2USB, AD2SERIAL and AD2PI.
Navigation
Unverified details
These details have not been verified by PyPIProject links
Meta
- License: MIT License (MIT)
- Author: Nu Tech Software Solutions, Inc.
- Tags alarmdecoder, alarm, decoder, ad2, ad2usb, ad2serial, ad2pi, security, ademco, dsc, nutech
Classifiers
- Development Status
- License
- Programming Language
- Topic
Project description
Summary
This Python library aims to provide a consistent interface for the AlarmDecoder product line. (AD2USB, AD2SERIAL and AD2PI). This also includes devices that have been exposed via ser2sock, which supports encryption via SSL/TLS.
Installation
AlarmDecoder can be installed through pip:
pip install alarmdecoder
or from source:
python setup.py install
Note: python-setuptools is required for installation.
Requirements
Required:
An AlarmDecoder device
Python 2.7
pyserial >= 2.7
Optional:
Documentation
API documentation can be found at readthedocs.
Examples
A basic example is included below. Please see the examples directory for more.:
import time from alarmdecoder import AlarmDecoder from alarmdecoder.devices import SerialDevice def main(): """ Example application that prints messages from the panel to the terminal. """ try: # Retrieve the first USB device device = AlarmDecoder(SerialDevice(interface='/dev/ttyUSB0')) # Set up an event handler and open the device device.on_message += handle_message with device.open(baudrate=115200): while True: time.sleep(1) except Exception as ex: print ('Exception:', ex) def handle_message(sender, message): """ Handles message events from the AlarmDecoder. """ print sender, message.raw if __name__ == '__main__': main()
Project details
Unverified details
These details have not been verified by PyPIProject links
Meta
- License: MIT License (MIT)
- Author: Nu Tech Software Solutions, Inc.
- Tags alarmdecoder, alarm, decoder, ad2, ad2usb, ad2serial, ad2pi, security, ademco, dsc, nutech
Classifiers
- Development Status
- License
- Programming Language
- Topic
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
File details
Details for the file alarmdecoder-1.13.13.tar.gz
.
File metadata
- Download URL: alarmdecoder-1.13.13.tar.gz
- Upload date:
- Size: 314.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 393664a8bbe6e6a0fc809e64eddb0b30a9c9f757bbf6e4fe68fd7d91342d1187 |
|
MD5 | 3d8346e10295828efc026c60516d183f |
|
BLAKE2b-256 | 5affbc39df7840427c2bd3600a2a2042ac07fb1846cce56aa07cd51433d14369 |
File details
Details for the file alarmdecoder-1.13.13-py3-none-any.whl
.
File metadata
- Download URL: alarmdecoder-1.13.13-py3-none-any.whl
- Upload date:
- Size: 48.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | addb22a7474cb74c2c010f89ed7c0b43f11a832dab34a611b5de11d755d50be5 |
|
MD5 | a157635a32e56c7ee7f12ee1834dc826 |
|
BLAKE2b-256 | 37941ea49bba7a00888262f349d40803af92e4bcf28b55778140ca56a1f8d691 |