Best way to automatically silence notifications at a specific time frame while already in Focus
from scytale@lemm.ee to apple_enthusiast@lemmy.world on 04 Oct 14:23
https://lemm.ee/post/44021183

This needs to be explained a bit, so here’s my problem:

What is the most practical way to disable notifications from an app on a scheduled time duration while Focus is already in use? Schedule it in Health? Create a shortcut/automation?

#apple_enthusiast

threaded - newest

xxd@discuss.tchncs.de on 04 Oct 15:35 next collapse

I don’t believe a shortcut will let you disable/silence these notifications through settings, at least I found nothing to do this. Unless your security camera app has shortcut integration to do this. You could use a shortcut to cut your phones internet, although that would also stop other (emergency) notifications from reaching you, so likely not what you’re looking for.

You could add a “quiet sleep” focus and either use a shortcut (kind of like ‘run at 7:30, if focus is sleep, set focus to quiet sleep’) or just directly schedule it for 7:30 with the focus schedule. This might mean that your health app thinks you always wake up at 7:30 (not entirely sure if that is how it works), but when disabling the “quiet sleep” focus, you could then just log another health sample through shortcuts (as in ‘run if quiet sleep turned off, log health sample asleep from 7:30 to now’) and you’d get the same data.

I have had a lot of focuses, some that do almost the same thing but had to be split into different names just to make some scripting work. Splitting your sleep phases might be an option for you too.

scytale@lemm.ee on 04 Oct 16:17 collapse

Setting multiple focuses sounds like a simple way to do it. I’ll have to script only the 30 minute period because I can’t automate the Sleep focus due to going to bed at different times in the evening (so I want to keep it manual). Thanks!

xxd@discuss.tchncs.de on 04 Oct 17:08 collapse

I’m glad that suggestion would work for you! Yes, you’d only need to script the transition from sleep to quiet sleep at 7:30, that should do the trick. Maybe you’d want to switch the to focuses, as in having a ‘light sleep’ where you get notified by your cameras, and the switching to the normal ‘sleep’ focus at 7:30, because usually when I turn off the sleep focus, I have a weather forecast on the lockscreen, and this might not work if you turn off the ‘deep sleep’ focus instead. But you’ll figure something out! :)

stooth64@lemmy.world on 04 Oct 15:37 next collapse

Is this a HomeKit camera or are you using third party software? HomeKit allows for defining zones for activity detection (so you could exclude an area) and only sending activity during certain times. If you don’t use HomeKit, maybe your camera software has a similar setting.

scytale@lemm.ee on 04 Oct 16:12 collapse

It’s a 3rd party app. It does allow me to set activity zones, but as mentioned, I actually want to monitor that area. I just don’t want it to alert me for a specific 30 minute period in the morning. But yeah, I’ll see if I can customize the schedule of that specific camera on the app to stop alerts only for that specific time. Thanks!

Reverendender@sh.itjust.works on 04 Oct 16:10 next collapse

I’m honestly not clear on why this isn’t working. Can you share some screenshots, and/or go into more detail of your setup?

Romkslrqusz@lemm.ee on 04 Oct 17:59 collapse

Just create a second focus that’s on a schedule for that time window and disables notifications for the camera app.

Reverendender@sh.itjust.works on 05 Oct 08:03 collapse

This sounds like a winner to me