Skip to main content

Intro

Push notifications can open a specific screen in the Zendo app when tapped. For example, a notification about your doorbell can open its live stream directly so you can see who’s there.

Set up

Before you start, make sure you have push notifications set up. If push notifications are already configured, open the Zendo iOS/Android app, tap > Settings > Property > Push Notifications and tap Refresh Settings to make sure Home Assistant has the latest list of available destinations.

List available destinations

To see which destinations are available, call the list_deep_link_destinations service.
  1. Go to Developer Tools > Services in Home Assistant.
  2. Select Zendo: List deep link destinations.
  3. Click Call Service.
  4. The response panel shows the available destinations.

Response format


Send a notification that opens a destination

Use the zendo.send_notification service with the deep_link_destination field set to the id of the destination you want to open.
Opening a destination from a notification bypasses Family Sharing (Access Control). The receiver can view and control the accessory even if they wouldn’t normally have access. Make sure you’re sending the notification to the right person.

Example: doorbell notification

A doorbell press is the ideal use case - the notification tells you someone is at the door, and tapping it opens the doorbell camera stream so you can see who it is.
When the doorbell is pressed, both people receive a time-sensitive notification. Tapping it opens the Zendo app directly to the doorbell camera’s live stream.

Without a destination

The deep_link_destination field is optional. Omitting it sends a normal notification that opens the default notification view when tapped.

What happens when a destination can’t be found

The notification always arrives, even if the destination can’t be resolved. The destination is best-effort.