Just create a second focus that’s on a schedule for that time window and disables notifications for the camera app.
Apple
Welcome
to the largest Apple community on Lemmy. This is the place where we talk about everything Apple, from iOS to the exciting upcoming Apple Vision Pro. Feel free to join the discussion!
Rules:
- No NSFW Content
- No Hate Speech or Personal Attacks
- No Ads / Spamming
Self promotion is only allowed in the pinned monthly thread
Communities of Interest:
Apple Hardware
Apple TV
Apple Watch
iPad
iPhone
Mac
Vintage Apple
Apple Software
iOS
iPadOS
macOS
tvOS
watchOS
Shortcuts
Xcode
Community banner courtesy of u/Antsomnia.
This sounds like a winner to me
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.
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!
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! :)
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?
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.
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!