Im seeing the same thingā¦ The first few months I ran this it was instant, however now I am seeing delays of minutes some time, which makes the feature pointlessā¦
That along with the fact that old snapshot were sent through in the notification now means I have removed it.
Thank you!
Maybe this should be mentioned in the documentation (first message). It also took a while for me to find out about the subtle difference between ānotificationā and āpersistent notificationā.
We could assume that people are aware of the difference or add 1 line explaining the different behavior.
Hey, did you ever get yours to work? Iām quite new to this HA and MQTT stuff and Iām not sure what Iām suppose to do with your config and command.
EDIT: I figured it out. I had dig through your profile to find your post. Hereās my setup if anyoneās curiousā¦
For configuration.yaml, I have something like:
binary_sensor:
- platform: mqtt
name: "Front Porch Cam" # i.e. Name of camera
state_topic: "motion/FrontPorch" # i.e. Name of topic
payload_on: "ON"
payload_off: "OFF"
device_class: "motion"
In my motionEye camera settings, I have a Run a Command like:
Then, I checked my config in Server Controls and did a server restart just for kicks. Afterward, I went back to this blueprint and created an automation like so:
Can we have something similar setup for Android phone too? The current blueprints does send the notification with snapshot for Android phone but it was silent and in the background. I know we can send HA notifications to Android with ttl:0 and priority: high settings to trigger the sound, but Iām not sure how to do it in this blueprint.
This really applies to any Home Assistant notification, but when I click on the notification, it will open Home Assistant and delete the notification (iOS).
Is there anyway to change this behavior so that I donāt loose the notification?
Do you have any other app notifications that behave like this? AFAIK, the actual behaviour you describe is controlled by iOS. What would be the point of a notification that doesnāt clear when reacted to (honestly curious)?
True, but what is the purpose of a notification which disappears before seeing the content. Curious whether there any notification type which requires you to explicitly remove the notification.
Maybe we are talking about slightly different things. Are you talking about notification banners? Those can be set as temporary or persistent (but still clears when tapped). Otherwise, it ends up in your notification centre. Regardless, one can tap and hold a notification to see it in full before just tapping it. Still, this has to do with iOS and Iām pretty sure thereās nothing HA can do about it. The only alternatives I can think of is to adjust this blueprint to also set an HA internal persistent notification, send an IM or email.
Yes, you are correct, I am talking about the notification banners and even though they can be set as temporary or persitant, as you rightfully notice, they clear when tapped.
I do understand this has to do with iOS and I assume that iOS makes the assumption, that the notification is available in Home Assistant. When you tap the notification, it opens Home Assistant, but Home Assistant just opens its current page. It might be nice if Home Assistant would open the Notification page (you could send a persitent notification at the same time), or if the notification passes anything to Home Assistant, for Home Assistant to take an action based that information.