mirror of
https://github.com/bahmcloud/HA-KNX-Bridge.git
synced 2026-04-06 14:31:13 +00:00
Add switch port support
This commit is contained in:
@@ -5,6 +5,7 @@ add "Ports" that bind an HA entity to KNX addresses for state updates and comman
|
||||
|
||||
Current minimal scope:
|
||||
- Binary Sensor port (state -> KNX)
|
||||
- Switch port (KNX -> HA commands, HA state -> KNX)
|
||||
- Cover port (KNX -> HA commands, HA state -> KNX)
|
||||
|
||||
## Requirements
|
||||
@@ -37,6 +38,11 @@ Current minimal scope:
|
||||
If a group address is left empty, it is ignored.
|
||||
Group address format must be `X/Y/Z` (0-31/0-7/0-255) or `X/Y` (0-31/0-2047).
|
||||
|
||||
### Switch Port
|
||||
- `entity_id`: the HA switch to control/monitor.
|
||||
- `command_address` (DPT 1): KNX group address for on/off commands.
|
||||
- `state_address` (DPT 1): KNX group address that receives HA on/off state.
|
||||
|
||||
## Notes
|
||||
- For DPT 1.008 (Up/Down), the bridge treats `0 = Up/Open` and `1 = Down/Close`.
|
||||
- For DPT 5.001, values are interpreted as 0-100 percent where 0 = closed and 100 = open.
|
||||
@@ -47,6 +53,6 @@ Group address format must be `X/Y/Z` (0-31/0-7/0-255) or `X/Y` (0-31/0-2047).
|
||||
- Advanced DPT mapping options and inversion settings.
|
||||
|
||||
## Versioning and Releases
|
||||
- Current version: 0.0.2
|
||||
- Current version: 0.0.3
|
||||
- `CHANGELOG.md` lists versions with the newest entries at the top.
|
||||
- Release creation is manual and only done when explicitly requested.
|
||||
|
||||
Reference in New Issue
Block a user