homebridge-knx icon indicating copy to clipboard operation
homebridge-knx copied to clipboard

New Option for "Listen" group addresses to opt-out of "Response" type telegrams

Open snowdd1 opened this issue 8 years ago • 4 comments

In case you want to trigger an action with the Listen address, you probably do not want to trigger it upon responses coming from answers to Read type telegrams, especially if the READ telegram was sent by another bus client, and not homebridge-knx.

snowdd1 avatar Jan 11 '17 09:01 snowdd1

Does anybody want to have that?

snowdd1 avatar Feb 14 '17 14:02 snowdd1

If you want to trigger an action you do a write to a GA. What's an example use case for triggering based on read telegrams?

matevzg avatar Feb 15 '17 07:02 matevzg

Sorry, I might have expressed unclearly:
Not the Read Telegram is the trigger, but the Answer Telegram. Example: My GIRA homeserver sends a READ every X minutes to my gas boiler to get the current temperature of the floor heating water. The answer of the boiler is an ANSWER telegram, that is processed in homebridge-knx just as an WRITE telegram. (See here)

I was just thinking about cases in which you want an action based on WRITE but not on ANSWER.

I could think of a door contact that is polled regularly by an alarm device (READ --> ANSWER) to check for tampering and such, and that is actually sending an active WRITE on status changes.

snowdd1 avatar Feb 15 '17 08:02 snowdd1

I get it now. And yes, for completeness sake, replies (answers) should definitely be handled differently than direct status change writes.

In case of HomeKit automations this situation would screw up any automation that is based on accessory control - i.e. 'do this, when this happens' - if answers are treated the same as writes.

matevzg avatar Feb 15 '17 08:02 matevzg