Enhance the KNX capabilities of Tasmota to offer more flexibility and features. #22071
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description: Enhance the KNX capabilities of Tasmota to offer more flexibility and features.
Summary of Changes
1. Add New KnxTx Functions
2. Extend the Number of KNX User-Defined Slots
By default, only 5 RX and TX slots are available to users. I’ve extended this to 9 slots.
Use Case Example:
I use an eWeLink Zigbee Gateway connected to 3 SNZB Temperature and Humidity sensors. I’ve configured Tasmota to send temperature/humidity KNX values on ZbReceived values using rules. Extending the number of slots allows me to use up to 4 such devices.
Rule Example Configuration:
Add Compilation Flag to Select DPT9 Instead of DPT14 for Temperature/Humidity Sensors
Most older KNX equipment uses DPT 9 (16-bit float) for communication objects for Temperature / Humidity instead of DPT 14 (32-bit float). The compilation flag
KNX_USE_DPT9
allows users to select DPT 9 for sending and receiving temperature and humidity data.Checklist:
NOTE: The code change must pass CI tests. Your PR cannot be merged unless tests pass