XKNX - A KNX library written in Python
ConnectionConfig.individual_address
is set and a Keyring is given ConnectionType.AUTOMATIC
will try to connect to the host of this address. If not found (in keyfile or discovery) it will raise.ConnectionType.AUTOMATIC
is used and a Keyring is configured.ConnectionConfig.individual_address
is set.xknx.task_registry.background()
can now be used to create background tasks.str | os.PathLike
for Keyring path. Previously only str
._load_keyring
to sync_load_keyring
to make it public e.g. when it should be used from an executor.codespell
and flake8-print
.destination_address
in Telegram
init is no longer optional.timestamp
attribute in Telegram
is removed.xknx.secure.ip_secure
to xknx.secure.security_primitives
.bytes
from BaseAddress.to_knx()
instead of tuple[int, int]
. This is used in IndividualAddress
and GroupAddress
.BaseAddress.from_knx()
to instantiate from bytes
, remove instantiation form tuple[int, int]
.APCI.from_knx()
and removed APCI.resolve_apci()
.CEMIFrame
, CEMIFlags
and CEMIMessageCode
to xknx.cemi package.CEMIFrame.telegram
setter in favour of init_from_telegram()
staticmethod; convert from_knx()
and from_knx_data_link_layer()
to staticmethods returning a CEMIFrame.CEMIFrame
constructor.CEMIFrame
instead of Telegram
in KNXIPInterface.cooldown
option to allow rate-limiting of sent telegrams.respond_to_read
option.task.done()
to TaskRegistry tasks.KNXIPFrame.from_knx()
staticmethod.xknx.cemi
for incoming and outgoing CEMIFrames.own_address
from XKNX
class. ConnectionConfig
individual_address
can be used to set a source address for routing instead.
If set for a secure tunnelling connection, a tunnel with this IA will be read from the knxkeys file.multicast_group
and multicast_port
ConnectionConfig
parameters.secure
argument as been replaced by secure_tunnelling
and secure_routing
arguments. When multiple methods are True
a gateway is matched if one of them is supported. Non-secure methods don't match if secure is required for that gateway.InterfaceWithUserIdNotFound
and InvalidSignature
errors in favor of InvalidSecureConfiguration
.load_key_ring
to load_keyring
and make it a coroutine.This is our 100th release 🎉
latency
from a .knxkeys keyring files Backbone
tag.multicast_group
from a .knxkeys keyring files MulticastAddress
tag (Routing).