This page is also available in the other languages: English Deutsch

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.

Doorbell
Now
The front doorbell just rang.

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.

In order to cover the costs of operating the messaging service, a subscription must be taken out to use it. However, this service is available free of charge during the beta phase. You will be informed in advance as soon as the beta phase is over.

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

In Safari on iOS, only web apps can receive notifications. You can turn the hkknx web interface into a web app by adding the page to the home screen.

How ​​do you register Apple devices?

The following steps can be used to register an Apple device to receive notifications.

  1. Install the Configurator app on the Apple device
  2. On the Apple device, open the web interface of the HomeKit Bridge for KNX and go to SettingsNotifications.
  3. 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.


On This Page
© Matthias Hochgatterer – MastodonGithubRésumé