Hi everyone,
I am relatively new to HA and just connected an existing KNX system which has a very limited number of devices (rollershutter and the ventilation system).
I would like to connect the ventilation system first assuming it’s the easiest one.
Monitoring ON/OFF triggered from a KNX wall switch shows:
This is exactly what a switch entity sends when turning it “on”.
This however sends a 1byte payload with value 1. payload: 1 would send DPT 1 style (1 bit) - so just a number, not a list.
I can’t say why the switch didn’t work for you, but your button solution should send exactly the same. If you try the switch again, have a look at the group monitor to see what is going on.
Edit: have seen your monitor picture above. There are telegrams coming from 0.1.2 - not Shute what device this is, but it’s possible that the individual addresses you are using there might cause problems (unless this a KnxIP device), or you need to account for filter tables in your couplers.
but this does not send a bit (0 / 1), but 0x00 / 0x01
Without this the button obviously defaults to a length of 1 - which I assume is the same default for the switch.
So I guess, I would need this parameter for the switch, which is not available yet.
Yes, this is a wall switch I have used to find out the ventilation’s address.
Exactly. I edited the post above to make that clearer.
Just use a regular switch - like your first example:
…
If you want to do it via a template for other reasons see
In yaml [] marks a list. So payload: [0] is a list with 1 item with value 0.
whereas payload: 0 is just the number 0
A plain number is sent as 1bit payload (in knx payloads up to 6bit are encoded differently, therefore we need to distinguish).
EDIT:
You are right - thank you so much.
True / false is accepted and switches the ventilation.
Somehow, this was not the case in the beginning (possibly still wrong adress).
Thank you very much for pointing me in the right direction!