KNX event reading problem

Hi everyone, I’m having trouble configuring an events:all node to read a message sent by a KNX button.
I tried it with an HA automation and it works perfectly.
This is the automation code:

alias: testknx
description: ""
triggers:
  - trigger: knx.telegram
    destination: 1/3/15
    group_value_read: false
    outgoing: false
conditions: []
actions:
  - action: input_boolean.toggle
    metadata: {}
    data: {}
    target:
      entity_id: input_boolean.test7
mode: single

This is the configuration I use on Node Red:


but I can’t receive anything.

where am I going wrong?
thanks for your help

I don’t know Nodered, but knx.telegram is a trigger, not an event… I guess this doesn’t work here.
There is knx_event - maybe this is what you are looking for. See knx integration documentation for how to set it up.

Try using knx_event for the event type with no event data. Connect it to a debug node set to complete message object.

I also tried knx_event, but I still can’t get it to work. Maybe I’m using the wrong “event data” code? I tried both “destination” and “address”

Anyway, I can’t get knx_event to work in Home Assistant automation either.

I don’t use this integration myself, however reading the documentation suggests that the integration only submits events to the Home Assistant event bus, if it is configured to do so.

https://www.home-assistant.io/integrations/knx/#events

The inference is that, if you don’t configure for events, there will be no events.

knx:
  event:
    - address:
        - "1/3/15"

This is only a guess, but adding the above in the config may cause the integration to add events matching the address given. You can see in the documentation further details on how to add additional information to each event.

As suggested, start with the basics and a debug node set for the complete message, and work from there.

Might work…

Leave the event data blank for now. Only use event type. Event data has to be exact. Knx_event will let all knx events through.

Once you find the event you are looking for, we can narrow it down to that 1 event type.

This is the solution!
First add the event to the yaml configuration, then configure nodered with knx_event.
Thanks a lot!