have 18 Velux window blinds (inside in and outside windows) that I would like to control through KNX push buttons mounted on the wall in each correspondingly named room. Right now they are configured through the velux controller and all work in home assistant.
velux blinds are named: cover.<room-name >-< inside | outside >
Buttons in KNX are defined in ETS as blind control element (short press/: up/down + long press: start/stop with the appropriate knx datatypes)
expose is for HA ā Knx, not the other way around. So you could expose the covers status if you want.
To control a HA entity from Knx, create an automation using knx_event and map destination addresses to entities and payloads to service calls. See KNX - Home Assistant
Ad 2: a Knx cover entity is for controlling Knx covers from HA, not controlling HA covers from Knx.
Ad 3: Search the templates documentation for choose.
Invalid config for [knx]: type 'DPT 1.003' is not a valid DPT identifier for DPTBase. for dictionary value @ data['knx']['event'][0]['type']. Got 'DPT 1.003'. (See ?, line ?).
interestingly enough if I use DPT 9.001 the config validates.
Ultimately I just need the DPT to show up as a switch. Any pointers on what to set for the DPT type in the event definition?
Use the raw payload data for DPT 1, 2, 3. Itās an integer. For DPT 1 it will be just 0 or 1. There is no need to decode that further.
DPT 9 validates since that is a valid decoder (see list of sensor types in documentation). It will raise an error on runtime (when receiving telegrams) as the payload length doesnāt fit DPT 9.
Did you manage to to get this working in the end? Iām trying to do the same thing with 2 Velux MML solar blinds. I have them working in Home Assistant trough the integration and the Velux KLF200 gateway. I donāt want to spend 4 KNX actuator ports on this but still would like to use the knx buttons in the room to open and close. Was thinking longs press to fully close, short press to open. My idea was to use 2 binary switch group addresses for that (long and short press) and link them to the serivce calls in home assistant with an automation.
Iām able to control my HA blinds via KNX buttons, thanky @farmio
Now I want to send the ācurrent_positionā of the blinds to KNX, so to display the position on a KNX display.
For example the attributes of one cover look like this.