Integrate KNX binary sensor and use it in an automation

Hi all,

I’ve tried to integrate a knx binary sensor to an automation to trigger a live camera popup on the dashboard.

First of all, I don’t receive any state change from the binary sensor and I don’t know why.
I’ve tried lot of variants, whoch I found in other discussions here at the forum. But nothing worked so far.

this is my current code in the knx yaml file

  binary_sensor:
    - name: "Türglocke Taster" 
      state_address: 5/3/0
      sync_state: false
      context_timeout: 1.0
      ignore_internal_state: False

I’m think, therre is something wrong with my binary sensor integration, but I don’t know what.

System: HA 2023.10.5 running in a Docker Container

Thanks for your help.

state_address: "5/3/0"
The group address is a string, not a number

Hi :wave:!

Remove this.

If your doorbell only sends 1 (on - off, but only 1 when pressed), you can use reset_after: 1.
Or just use an event or a Knx interface device trigger. https://youtu.be/O3p3dISvTtI
Also consider updating to the latest HA version.

Hello,
Dujith, farmio,
Thanks for your help, appreciate it. Both worked for me.

The KNX interface dvice trigger is very easy to use. Didn’t know that such functionality exists.

And yes, I need to update to the latest HA version. :slight_smile:

1 Like