Send notification for non-KNX devices #269
-
Hi community, As we know, it is possible to send notifications to the iPhone or other Apple devices when, for example, a window is open for too long. Now I was wondering if it is possible to send notifications when the status of a non-KNX device has changed. To make my example clearer, I will describe my scenario: kind regards. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Since hkknx doesn't have access to other HomeKit accessories, you have to use a workaround to get the behaviour that you want. First you have to create an accessory in hkknx, with holds the state of one of your HomeKit sensor (ex. Eve contact sensor). You can use a switch for that. In hkknx you configure the switch to send the value In HomeKit you create an automation to set the switch to On, when the contact sensor detects that no contact anymore. |
Beta Was this translation helpful? Give feedback.
Since hkknx doesn't have access to other HomeKit accessories, you have to use a workaround to get the behaviour that you want.
First you have to create an accessory in hkknx, with holds the state of one of your HomeKit sensor (ex. Eve contact sensor). You can use a switch for that. In hkknx you configure the switch to send the value
1
or0
to a specific group address (ex. /1/2/3) when the state changes – use the field under Power → Write.In HomeKit you create an automation to set the switch to On, when the contact sensor detects that no contact anymore.
In hkknx you can then create a script, which starts a timer and sends a notification when the value
1
is received from the group address…