App for this now, if you don’t know much about this app and your home kit user you’re, definitely not going to want to miss this one let’s go yo what’s up guys. If this is your first time here, welcome, my name is shane, and this channel is all about building an easy, smart home using apple’s homekit platform with new videos published every sunday right here. Today’S video is brought to you by trend micro i’ve been using their premium security suite to protect all of my devices against malware viruses, ransomware and other threats. You can use this for up to 10 devices. It also turns any public hotspot into a secure, wi. Fi connection with the vpn, and you also get other great tools like identity theft, protection, parental controls and even 24 7 emergency assistance. This suite offers multi device protection and will help keep you and your family’s digital life safe and secure, no matter where you go or what you do check out. The link in the description for 10 off your purchase of the premium security suite and big thanks to trend micro for sponsoring this video and supporting the channel. So what really inspired this video is a question that i’ve gotten a number of times, and that is how can i get a notification if my door has been left open for a certain period of time within home kit? Now you can, of course, get regular notifications in home kit every time a sensor like your door sensor is opened, but that’s not really what we want.

We only want notifications if that door is left open for a while a certain you know number of minutes. So today, i’m going to show you how to do that, and even more with the push cut app now. That said, if you aren’t aware of the push cut app already, it is a very powerful app in a nutshell. It allows you to create these smart notifications that work with home kit, shortcuts and other automations, and you can even do some pretty advanced stuff with this app like create an automation server for your shortcuts, which i did actually cover. In a past, video i’ll put a link to that below it’s sort of a more advanced process that does require a dedicated, always on ios device to run so we’re, not going to get into all that today, today, we’re just going to keep it simple we’re going To create a custom notification that we’ll see every time our front door is open for longer than two minutes. When we get the notification, we’ll then be presented with a few options. One call a wife, maybe i’m, not home, and i know she is you know i can call her and ask her. You know what’s going on with that open door or our second option would just be to open the home app. That way, i can check my cameras, make sure the dog hasn’t gotten outside or even start an intercom to everyone in the house to tell them hey, who left the front door open, hey, who left the front door open, sound, good, okay, let’s jump in i’m gon Na be using my ipad to show you how to do this.

Of course you can do this on your iphone. In fact, i usually use my iphone when i’m doing stuff, like this all right so, like i said, we’re going to be using the push cuts app before we do this, though we’re going to need to create a couple of shortcuts, so remember those options that we’re Going to be presented with in the notification like to call the wife or to uh open the home app, those are actually going to be shortcuts that we’re going to run so you can run any shortcut within your notification, but first we need to create those. I do have these shortcuts already created, so i have a folder here. Called push cut and export for push cut is something i will mention in just a second, but you can see here. I’Ve got two shortcuts, one call caroline and the other one called open home app. So this simply is just one action. Call the wife and this one right here, just the open, app um action and we’re going to be opening the home app so that’s, literally all that does so once you have your shortcuts created that you want to be able to use within this notification, you’re good To go so now we can go back to the push cuts, app and we’re going to go ahead and build this notification. Real quick! So to do this here’s our notifications, now just a real, quick, rundown, i’m again, not going to show you everything you can do here in the push cut out, but quick run down notifications.

This is where you build your notifications, the triggers, so you can create triggers here like location based and time based and stuff like that, to run any of these notifications that you create automation, server. This here is kind of what i was mentioning earlier, and then you have your account information over here. So we’re just going to kind of live over here on the notifications today, so let’s create a new notification. We’Re going to call this let’s do front door. Open enabled is okay, so notification. This is going to be kind of the headline, so we’re going to say the front door was left open. Okay, then the prompt here is going to say what do you want to do all right? Then. We have some other options down here, but we can test real, quick, see what this looks like there. You can see the front door was left open. What do you want to do so far? So good now, let’s simply add those actions. Okay. So this is pretty basic. Now you can do a lot of things here. You can get really creative and do some again really powerful, incredible things here. So this action right here, i’m just going to say, call wife and it’s going to be a shortcut. So again you can do lots of things you can trigger your home kit, scenes and stuff. So you can like have a notification occur at a certain time of day or whatever, and have all your home kit scenes right there within your notification and you can tap there so really fun cool stuff.

Here i can’t wait to see some of the ideas that you guys have, but we’re just going to run shortcuts here. What you have to do to get your shortcuts in here. This is that export to push cut shortcut. You saw earlier so the first time you run this you’re going to have to import your shortcuts okay and to do that it’s going to have you download and install that shortcut. So what it’s going to do is going to take you to the shortcuts, app and you’re going to be asked to install this export for push cut shortcut? Okay, when you run that it’s just going to import everything into the push cut app once you’ve done that once you’ll see, obviously all my shortcuts here, you can tap the update shortcut button right here, which is you see it jumped in there, and it just ran That shortcut really quick. So now all my shortcuts are visible here: okay, so i’m. Just looking for that call, caroline shortcut! Okay, keep notification, so you can, when turned on this action, will leave the notification in notification consider center until dismissed by another action or the dismiss button. So you can turn that on. If you want i’m going to leave that off, okay and that’s, it that’s all, we need to do there so that’s one action, i’m going to add another action. And again we want a shortcut. This one’s going to be called open, home, app and let’s do got to choose that shortcut, open the home, app okay and that’s, pretty much it now we can test it.

Let’S see what it looks like the front door was left open. What do you want to do when i tap it you’ll see here we have our options, we can call the wife, we can open the home app. Now i can go ahead and test it and um let’s do open home app boom opens up the home app. I can then go check my cameras, you know see what’s going on. I can start an intercom that’s, really it for what you need to set up, but you can do some more things here. You can create a default action, so this like, if you tap the notification directly it’ll run that action you can change. The sound here create different sounds for this, which is neat and you can add an image. So i like this, you can search. You know online. Look for whatever images you want, you can kind of import stuff here. This is one that i’ve imported already, so you can import your own images right here. This is just a little alert image that i found online tap. Add now check this out. When i run this, your front door was left open. What do you want to do check out? It’S got that little alert icon. You can tap on it. What do you want to do again? Customize these, however, you want i’m just going to dismiss and that’s really all you need to do to set up the notification part.

Okay. Now we need to create the automation part that will have this run when the door was left open for two minutes. Okay, so we’ll just tap add done now. We need to go back into the shortcuts app okay. Now you can create your automations in the shortcuts app or the home app there’s, actually a little bug on the apple side, when you’re trying to do this in the home app it’s, not a push cut issue, it’s a bug i found with the apple when you’re. Just trying to test your automation when you’re building this within the home app, so i would recommend, go ahead and using the shortcuts app just go to the automation, tab here and i’m, just going to create a new home automation. So again you can do home automations in the home app or in the shortcuts app i’m going to do the shortcuts app and i’m going to tap a sensor, detect something and i’m going to look for my front door sensor choose next when the front door opens Choose next and i’m going to scroll all the way down and you’re. Looking for this right here, convert to shortcut that’s what we need? Okay! So now we can kind of build out this automation. What happens when that front door opens okay, so i’m gon na close this or i’m gon na? Remove that one choose add action uh, so right now this is running as soon as the door opens.

We need it to wait for two minutes right. Then we want it to run and tell us that the door is still open so to do that. We’Re, just gon na look for the weight action. Okay, we’re going to add this here, we’re going to put this on up to 120 seconds. So that is our two minute mark now we need to see if that door is still open. So to do that let’s do an if statement and tap this, and you can actually select a home accessory right here, we’re going to look for that same front door. Let’S see where our front door, if the front contact sensor is open, then we’re going to show our notification so it’s going to wait 120 seconds 2 minutes and then, if that front door is open, so we need to look for a url right here. I’M gon na move this on up in there. So if so, if the front door is open, we’re gon na get this url. So now i need to go back to push cuts, let’s tap on our notification right here that we created and we need to copy url. So i’m gon na hit this and i’m gon na copy url. Okay. Now we can go back into our automation and we’re going to paste our url right here now we need to look for git url get contents of url right. There drag it up here. It automatically pulled in that url from the previous action and that’s it.

Otherwise. So if the door is closed, we don’t need to do anything, so you can actually add a nothing action if you want sometimes i’ll do this just to make it good, nice and complete. Now we can test it from here, so it’s going to wait 120 seconds and then it’s going to run that you can see right here. I don’t know if you can see that on screen, but it’s kind of going through this timer i’m going to turn this down to five seconds just for demonstration purposes and the front door is not open. So it’s not gon na run that i need to go open my front door, so we can check to see if this works. Okay, so my front door is open. Now, let’s give this a test five seconds, all right invalid url, so let’s check this again. I think i copied the wrong thing copy you. Oh i copied the curl. You want to copy url, so that’s. What i did there so let’s go back in here. Paste and let’s. Try it again wait in five seconds. Ah, there you go since our front door is open. You can see it ran that successfully. Here is our notification tap that front door is left open, let’s, see open home app boom. There we go, we can check our cameras, intercom do whatever we want there and really that’s it. As you can see, it’s done. Everything works, fine i’m going to go ahead and move this back to 120 seconds, and this does work.

I’Ve tested this out, and i will caution you if you use the weight action, do test it out a lot before you kind of settle on things, because i have run into issues when i use the weight action for too long, sometimes it’ll time out. Two minutes is fine. I’Ve done five minutes, i believe four or five minutes was okay, but after too long you might run into some issues with that. So definitely test that out a good bit to make sure you’re still getting those notifications and everything’s working as you’d expect but that’s it. We are done with this automation. I guess i better go shut my front door before the dog gets out, so there you go. This is just a small glimpse of what’s really possible when you start tapping into the power of this push, cut app, get creative and try to find some ways that you know you can make your smart home set up, and maybe your life better by using this Type of automation, and if you do come up with some cool ideas, please do share that down in the comments below, so we can all kind of benefit and learn from each other. If you have any questions about any of this drop that below and i’ll do my best to get back to you, i want to send a quick shout out and thank you to all of our channel members for supporting this channel financially when you don’t have to You guys are really awesome and i’m just so grateful to have the support of so many great people and if you haven’t joined yet, and you also want to support the channel that way you can join for about five bucks a month.

Get access to member only perks like behind the scenes. We have a members, only discord community and early access to new videos before anyone else, and thank you guys so much just for watching today subscribe hit the bell icon. If you haven’t already for new home kit videos every sunday right here, give this video a thumbs up. If you liked it again, my name is shane and we’ll.

https://www.youtube.com/watch?v=cUbXnCSZJq0