Skip to main content

Library to interface with Alphatronics UNii security systems.

Project description

Python library to interface with Alphatronics UNii security systems

logo

Introduction

The UNii is a modular intrusion and access control system that is designed, developed and manufactured by Alphatronics, the Netherlands. This innovative solution is distributed and supported via the professional (security) installer and wholesalers.

This library is still in beta and subject to change. We're looking forward to your feedback.

Features

  • Status inputs (clear, open, tamper, masking)
  • Status sections (armed, disarmed, alarm)
  • Connection status UNii panel

Extra features (arming/disarming, (un)bypassing, outputs and event handling) are added shortly.

Hardware

Tested with the UNii 32, 128 and 512. No additional UNii license needed.

It is recommended to use the latest possible firmware on your UNii to unlock the full potential of the UNii and this integration.

Configuring the UNii

In the UNii API configuration the following options need to be set:

  • Type: Basic encryption
  • Transmission: TCP
  • Input update interval: 0s to have to fastest input response type. (Only for firmware version 2.17.x and above)
  • API version: UNii.

Shared Key

The UNii uses an encrypted connection with Home Assistant. The shared key has to be entered in the UNii (API settings) by the installer. Without installer access to the UNii end-users are NOT able to enter this key. Contact your installer if applicable.

Installation

You can install the Python UNii library using the Python package manager PIP:

pip3 install unii

unii CLI

You can use the Python UNii library directly from the command line to read status updates using the following syntax:

python3 -m unii <host> <port> <key>

Troubleshooting

You can add the --debug flag to the CLI command to get a more details on what's going on. Like so:

python3 -m unii <host> <port> <key> --debug

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

unii-1.0.0.tar.gz (46.6 kB view details)

Uploaded Source

Built Distribution

unii-1.0.0-py3-none-any.whl (27.5 kB view details)

Uploaded Python 3

File details

Details for the file unii-1.0.0.tar.gz.

File metadata

  • Download URL: unii-1.0.0.tar.gz
  • Upload date:
  • Size: 46.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.19

File hashes

Hashes for unii-1.0.0.tar.gz
Algorithm Hash digest
SHA256 00c93a53faa3bd959c2abcfdf104f859877909af2902691690edf557f55a5906
MD5 d9068e8b7bfe122c1245845c07c8ea97
BLAKE2b-256 d8a32f21927c45830f48ea87e3d232f4ecea15e28e1c3c4f526e237159ac1741

See more details on using hashes here.

File details

Details for the file unii-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: unii-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 27.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.19

File hashes

Hashes for unii-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 fa80007fd44a36e6fe13054288b577f384550aba20be552886591b9fe65c9feb
MD5 94ec3bf4f686f2086478e98fbf0982f6
BLAKE2b-256 2c8cab8c10a10f3edb820cf16c887774490de5dc0b5709cf889b79d0af681c65

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