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.1b1.tar.gz (46.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

unii-1.0.1b1-py3-none-any.whl (27.6 kB view details)

Uploaded Python 3

File details

Details for the file unii-1.0.1b1.tar.gz.

File metadata

  • Download URL: unii-1.0.1b1.tar.gz
  • Upload date:
  • Size: 46.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for unii-1.0.1b1.tar.gz
Algorithm Hash digest
SHA256 4f0c5a7f28fc576a1456e68d69a1cc854a7b0410c4dbde9a7a4407f74a523bad
MD5 0957e1196fc7f6b9f447d0bb9a652893
BLAKE2b-256 c88a98c5f6f8c26d9835cf4d74f683022eae7c9341c71b648f1d86df9fa6d323

See more details on using hashes here.

Provenance

The following attestation bundles were made for unii-1.0.1b1.tar.gz:

Publisher: pypi-publish.yml on unii-security/py-unii

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file unii-1.0.1b1-py3-none-any.whl.

File metadata

  • Download URL: unii-1.0.1b1-py3-none-any.whl
  • Upload date:
  • Size: 27.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for unii-1.0.1b1-py3-none-any.whl
Algorithm Hash digest
SHA256 a318489f47cf201568b38e49f401b2bd50fa3c40d4b813103fbb7bfc92b13263
MD5 eb37ac037e976a7d6c00211ad01c9253
BLAKE2b-256 1e80ceabdd62295d69e232a950a825a0526f2d0fee781382e3aedcabed8e4330

See more details on using hashes here.

Provenance

The following attestation bundles were made for unii-1.0.1b1-py3-none-any.whl:

Publisher: pypi-publish.yml on unii-security/py-unii

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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