Skip to main content

xAAL devices for KNX bus

Project description

xaal.knx

This package contains a xAAL gateway for KNX BUS.

Software

The datapoint mapping (dpts.py) come from the Smarthome.py software : https://mknx.github.io/smarthome/plugins/knx.html (GPLv3.0)

Install

You can use both pip, with pip install xaal.knx or setup.py

You can test the package with : python setup.py develop (or install) –user

To run the gateway: - edit your config file (~/.xaal/xaal.knx.ini) - launch python -m xaal.knx

run :

If you use an USB (serial) port, you can use knxd to forward commands between serial & multicast.

to build knxd : git clone https://github.com/knxd/knxd.git ./configure –enable-usb –prefix=/opt/knxd –disable-systemd

sudo knxd -t 1023 -e 0.0.1 -E 0.0.2:8 -i -R -S -b usb:

This configuration doesn’t work out of the box. For an unknow reason, knxd doesn’t forward knx frame to serial port. Please read this bug report (fix)

https://github.com/knxd/knxd/issues/340

Supported datapoints

You must use one of this in the configuration file.

DPT

Data

Type

Values

1

1 bit

bool

True | False

2

2 bit

list

[0, 0] - [1, 1]

3

4 bit

list

[0, 0] - [1, 7]

4.002

8 bit

str

1 character (8859_1) e.g. ‘c’

5

8 bit

num

0 - 255

5.001

8 bit

num

0 - 100

6

8 bit

num

-128 - 127

7

2 byte

num

0 - 65535

8

2 byte

num

-32768 - 32767

9

2 byte

num

-671088,64 - 670760,96

10

3 byte

foo

datetime.time

11

3 byte

foo

datetime.date

12

4 byte

num

0 - 4294967295

13

4 byte

num

-2147483648 - 2147483647

14

4 byte

num

4-Octet Float Value IEEE 754

16

14 byte

str

14 characters (ASCII)

16.001

14 byte

str

14 characters (8859_1)

17

8 bit

num

Scene: 0 - 63

20

8 bit

num

HVAC: 0 - 255

24

var

str

ulimited string (8859_1)

232

3 byte

list

RGB: [0, 0, 0] - [255, 255, 255]

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

xaal_knx-0.2.1.tar.gz (10.7 kB view details)

Uploaded Source

Built Distribution

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

xaal_knx-0.2.1-py3-none-any.whl (10.5 kB view details)

Uploaded Python 3

File details

Details for the file xaal_knx-0.2.1.tar.gz.

File metadata

  • Download URL: xaal_knx-0.2.1.tar.gz
  • Upload date:
  • Size: 10.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.11

File hashes

Hashes for xaal_knx-0.2.1.tar.gz
Algorithm Hash digest
SHA256 db1403810a2fe1d3e2cf5fceab42dc059bae055dab69847da1268afc8ad56077
MD5 1ab547b1ac3c93c2bdd0fc49296d9a1e
BLAKE2b-256 f8ade8924803b2334bd294e59f041fea94fb3a3fde3a9b41ff43effed0b0c8d5

See more details on using hashes here.

File details

Details for the file xaal_knx-0.2.1-py3-none-any.whl.

File metadata

  • Download URL: xaal_knx-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 10.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.11

File hashes

Hashes for xaal_knx-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 ac6ae203685b018bfc15853f5fd6ebf0ef46005568a38ffe9fe0b63207f9d50c
MD5 addc6194191ff99c28929043c1e8320a
BLAKE2b-256 b2a002cd2c0fc9b48600b843c0c09601de7494e6908a336cd6fd6446b73a2e6b

See more details on using hashes here.

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