Send Push Notifications
Notifications are messages sent to an Apple device to keep users up to date on current and relevant events. For example, a notification can be sent when the doorbell has been pressed.
Which devices can receive notifications?
Notifications can be received from a browser (via web push) or from an iOS device (via the Configurator app).
When sending a notification, you can specify which devices should receive the notification. This makes it easy to send notifications only to certain people or devices.
How are notifications sent?
Notifications are sent in scripts using the SendNotification function.
1var hkknx = import("hkknx")
2hkknx.SendNotification("Doorbell", "The front doorbell just rang.")
The message is forwarded to the Apple Push Notification Service (APNS) via a specially developed notification service. An internet connection is therefore required to send messages.
How do you register a browser?
A browser is registered in the web interface via Settings → Notifications → Register this browser.
The browser must support the Push API. Reference
How do you register Apple devices?
The following steps can be used to register an Apple device to receive notifications.
- Install the Configurator app on the Apple device
- On the Apple device, open the web interface of the HomeKit Bridge for KNX and go to Settings → Notifications.
- Tap on Register with Configurator app and open the Configurator app
After successful registration, a registration confirmation appears. The device is now displayed in the list of registered devices. If necessary, the device can still be renamed.