Notification Sounds

Adding a custom sound to a notification allows you to easily identify the notification without even looking at your device. Home Assistant for iOS comes with some notification sounds pre-installed but you can also upload your own.

Here is an example notification that uses one of the pre-installed sounds.

Custom push notification sounds

The app allows you to use your own custom sounds in push notifications. The sounds must be formatted following [Apple’s requirements][sound-requirements]. You set the filename of the sound in the notification payload. To add sounds:

Connect the device to a PC or Mac running the latest version of iTunes.

Go to the device in iTunes.

Select “Apps” on the left sidebar.

Scroll down until you see the section labeled “File Sharing”.

Select Home Assistant.

Drag and drop properly formatted sounds.

Click Sync in the lower right.

Once sync is complete, disconnect the device from the computer.

On your iOS device, open the Home Assistant app.

Go to Settings -> Notification Settings.

Select “Import sounds from iTunes”.

Assuming that you correctly formatted the sounds they are now available to use in push notifications.

Notes:

Please note that due to a bug in iOS 10 you may need to restart your entire device before notification sounds can be played. This should hopefully be fixed by Apple soon.

Uploading a file with the same name as an existing one will overwrite the original.

You can view what sounds are installed on each device by inspecting the ios.conf file in your configuration directory. They are listed in the pushSounds array.