How to add KNX motion sensor to send instant message to HA if there is a movement ? what data type to use ? how to set that the update time should be instant and not 1 minute as in the examples in the help ?
so far i have it like this in configuration.yaml, but it’s all wrong and the sensor doesn’t work.
So i made some assumptions: The sensor in question will send a 1 or 0 and not text. And you will not have to read it each second. It will trigger and update then.
The “ ” are not the correct quotes to use in yaml. You will need to use double or single quotes ' ' or " "
what data type to use
That is something you should know tbh when dealing with KNX.
No, only in specific cases will need to actively read. In this case You’ll want to know when the sensor detects movement and when not, those will be send by the KNX device.
If it sends an on or off then the binary_sensor: will suffice, its in the name.
This sensor type will be binairy by default and you will not need to specify an type.
Do the sensors you created in the config show up as entities?
If you listen to the KNX bus do you see those addresses in the monitor? And it should also show what type it is.
Its DPT 1.001, so its going to be binary (anything DTP 1.XXX will be binary)
And it seems to register just fine.
But how are you going to use it? In an automation as a trigger or just on the desktop as a status?