A library to gather information from ETS project files used for KNX
Project description
(X)KNX Project
Extracts KNX projects and parses the underlying XML.
This project aims to provide a library that can be used to extract and parse KNX project files and read out useful information including the group addresses, devices and their descriptions and possibly more.
Note: The specified KNX project file will be extracted to /tmp during the process. Once parsing is done all files will be deleted from /tmp again.
Documentation
Currently, xknxproject supports extracting (password protected) ETS5 and ETS6 files and can obtain the following information from your project:
- Areas, Lines, Devices and their individual address
- CommunicationObjectInstance references for their devices (GA assignments)
- Group Addresses and their DPT type if set
Installation:
pip install xknxproject
Usage:
from xknxproject import KNXProj
def main():
"""Extract and parse a KNX project file."""
knxproj: KNXProj = KNXProj("path/to/your/file.knxproj", "optional_password")
areas, group_addresses = knxproj.parse()
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
Hashes for xknxproject-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9e081929cbc452566a7d60a76792a318ee9a263ea3c31466ca96667553d7b789 |
|
MD5 | 277d030993a2cd9605f980defa0bb550 |
|
BLAKE2b-256 | 39991ea991c9e2432f6f37e619b8ac4497cf51dcf011ed36731461c34aa366fc |