First, thank you for this amazing automation! I was able to get mobile device notifications set up for smart detections and have HA notify my devices with static images and GIFs. Excellent work!
Since doing so, I’ve found that each Person Detected notification sends three alerts per detection to my Android devices, all within seconds of each other. It was great confirmation that the automation works and helped me understand the behaviour under the hood, but now the constant sounds and buzzing are annoying.
It appears that each notification is replaced by a more informative notification as it is updated with a static image, and then a GIF once the recording is complete and loaded. Or it could be three separate notifications that clear the previous one out - that would explain three alerts too.
Either way, I want the automation to only alert/buzz one time per smart detection and am stuck on how to achieve it with this blueprint.
Currently my thoughts are:
- Explore the Alert Once functionality native to HA notifications. If the behaviour works as I think it might, then adding Alert Once functionality could be the most elegant solution. It does however assume that notifications are being updated and not replaced - and to me, the alert behaviour suggests each notification is being replaced by the next. Also since it appears that every new smart detection notification erases the last one, this might mean that I only get notified by the next notification after clearing the previous one, which could cause more problems than it solves. Regardless, the blueprint would need changes to achieve this.
- Break out each sequential notification for the same instance - initial detection, then image update, and then GIF/video - into their own notification channels somehow. Then, set individual alert preferences either as sensible defaults in the blueprint/automation itself or on each device directly. This feels more like a quick and dirty solution but I’m not sure how to achieve this yet.
I’m confident enough to have a crack at forking the blueprint and trying some stuff out, but this will take me many hours because I’m relatively new to HA and not comfortable with the syntax and behaviours yet.
Before I dig too far, has anyone else experienced the same issue? Is there a simpler solution than what I’m considering?
Thanks all for reading!