apologies in advance in case the question is too stupid. In the target state I am aiming to have a full blown doorbell/camera solution via HAOS and Homekit.
But for now, first step I am already struggling is how to send a simple notification to the Apple devices in my home via the Homekit integration. Other stuff like switching buttons, heating and blinds work like a charm. But notifications I apparently am too dump for?!
Does anyone have a minimal working example how to to this? I would be super grateful!
I believe you need the Apple TV integration installed to be able to send notices to the iPods, and the Mobile integration to send notices to the phones.
The Wyoming/Piper integrations can be used for text to speech (audio announcements), as does the Nabu Casa Cloud subscription.
If you need more than you can set up in an automation, there are several interesting notification blueprints to check out.
Hmm, neither Homekit nor Apple TV are listed as integrations that support notifications. I wonder if possible at all, even though one finds few reports where people claim to have done something similar.
Anyone here who actually has it working and can share the config / Yaml?
Are you talking about the notifications from HomeKit itself? Those are as a result of accessories changing state, e.g. motion detected by a camera, a doorbell that rang or a security feature that changed state. To see those, you have to enable HomeKit notifications on the device and they must be part of your home. Then you need to expose the right entities to HomeKit from HA.
Ok, let me maybe explain a little better what I want to achieve:
I have connected HA to the KNX EIB installation in my house and made switches, blinds, heating and the likes accessible in HA via the KNX integration and subsequently in Apple Home via the homekit integration. This all works nicely.
Now, I want to „build“ a doorbell. This basically will be an old normal bell button linked to a KNX sensor that recognizes the button push and sends a message to the EIB. Based on that message in HA, I want to trigger a notification on all the Apple devices in my family, that someone has rang the doorbell. In a later step, I also want to in addition link a camera next to the door to the notification. But thats V2 and I would already be happy with the simple version without camera.
Based on what you wrote, is it right that I need to make the bell button press a sensor in HA, pass that on to homekit and configure the notification directly in Apple Home? Just for clarity: I dont want to use the Companion App for this. The app is not installed on all family devices.
I send TTS to my Sonos and/or iPod mini’s with the integrations mentioned. I’m no guru, and I get by well enough with cautious trial and error. You may well be years ahead of my potential here - but here’s one automation using a TTS notice.
alias: HA STARTUP
description: Minor settings at boot up
triggers:
- trigger: homeassistant
event: start
conditions: []
actions:
- action: tts.speak
metadata: {}
data:
cache: true
media_player_entity_id: media_player.densonos
message: Excuse me. . . Home Assistant has finished starting up.
target:
entity_id:
- tts.home_assistant_cloud
- action: tts.speak
metadata: {}
data:
cache: true
media_player_entity_id: media_player.garagesonos
message: Excuse me. . . Home Assistant has finished starting up.
target:
entity_id:
- tts.home_assistant_cloud
mode: single
I also use an HA Helper Button to trigger an automation or script in HA, but send the button to HK to the automation using Siri. (Not familiar with Knx at all)
From what I know, you cannot configure custom. notifications in HomeKit. You can enable only built-in ones. For example, HomeKit has support for when a camera detects motion, when a cover is opened or closed, a lock was locked or unlocked, or your alarm was armed or disarmed. For the camera, you need to create a link between your camera and the motion detection entity in the HomeKit bridge configuration.
Here is what you get when you go to your home’s settings in iOS when navigating into a specific person’s settings and a device.