Library to interface with Alphatronics UNii security systems.
Project description
Python library to interface with Alphatronics UNii security systems
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
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file unii-1.0.1.tar.gz.
File metadata
- Download URL: unii-1.0.1.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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
244e2b73ec63f5218caa20e8ed471cb2befd2381b8e2a0451ea538d894fb3f5c
|
|
| MD5 |
15d2cae4f9a9c8883a38ac3dde95bb85
|
|
| BLAKE2b-256 |
183b05dc55b681bafb2e83c269a8e522529eb4e9fe4722886f6428df4d6cb089
|
Provenance
The following attestation bundles were made for unii-1.0.1.tar.gz:
Publisher:
pypi-publish.yml on unii-security/py-unii
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
unii-1.0.1.tar.gz -
Subject digest:
244e2b73ec63f5218caa20e8ed471cb2befd2381b8e2a0451ea538d894fb3f5c - Sigstore transparency entry: 1017920440
- Sigstore integration time:
-
Permalink:
unii-security/py-unii@db39e33bad21a392eccfe3fc4d219e2c5bffd66c -
Branch / Tag:
refs/tags/1.0.1 - Owner: https://github.com/unii-security
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi-publish.yml@db39e33bad21a392eccfe3fc4d219e2c5bffd66c -
Trigger Event:
release
-
Statement type:
File details
Details for the file unii-1.0.1-py3-none-any.whl.
File metadata
- Download URL: unii-1.0.1-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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1b58ba2fc088815dcc6aafd55b95ff29f6b8d77c6fcbe20725fe17cd383fc853
|
|
| MD5 |
4b4cebec445cfcd61ba92f5f12e0c75a
|
|
| BLAKE2b-256 |
b342fdfefaf25ff790e185b3f8dbee6f98b87b5643295a45389a7504be85c4d8
|
Provenance
The following attestation bundles were made for unii-1.0.1-py3-none-any.whl:
Publisher:
pypi-publish.yml on unii-security/py-unii
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
unii-1.0.1-py3-none-any.whl -
Subject digest:
1b58ba2fc088815dcc6aafd55b95ff29f6b8d77c6fcbe20725fe17cd383fc853 - Sigstore transparency entry: 1017920442
- Sigstore integration time:
-
Permalink:
unii-security/py-unii@db39e33bad21a392eccfe3fc4d219e2c5bffd66c -
Branch / Tag:
refs/tags/1.0.1 - Owner: https://github.com/unii-security
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi-publish.yml@db39e33bad21a392eccfe3fc4d219e2c5bffd66c -
Trigger Event:
release
-
Statement type: