Milomolly
(Migt moggy)
November 2, 2017, 10:38am
#1
I need an app which will notify me if , after a certain time, my presence sensor is still present.
I can only find apps which will do things at the point it ARRIVEs after a certain time, which won’t work for me as the presence sensor will already been present. I need an app that v looks at its state.
Can anyone help?
Cobra
(Andy - United Kingdom)
November 2, 2017, 12:31pm
#2
It depends on what you need the established presence for…
Do you want to run something only if someone is present?
I have an app which I’m developing for all things presence.
Have a look here…
Presence Central
I created this SmartApp for my own use but thought I’d share it in case anyone else finds it useful.
I have been testing it for a while and it seems to work fairly consistently.
The reason I wrote this is because I had lots of separate apps controlling different presence actions.
I just wanted to bring everything together in on Parent/Child app
First of all I have to credit Brian Gudauskas (@bridaus -Reliable Presence) & Eric Roberts (@baldeagle072 - Everyone’s Presence) for stealing some of their code for multiple presence sensor determinations.
Without their great work this app would not have been possible to create.
This is a Parent/Child app to control presence sensor actions. Once installed you can setup any number of ‘child’ apps.
You need to install & publis…
Maybe I can add something if this doesn’t work for you in its current state
1 Like
Milomolly
(Migt moggy)
November 2, 2017, 1:24pm
#3
ok so essentially
I have a presence sensor attached to my work pass.I want a smart app that operates like this:
If
The sensor is at home
The day is Monday- Thursday
The time is after 8.30am
Then
Send me a text or push notification saying 'you forgot your workpass!'
OR
Sound a notification on Sonos saying ‘you forgot your workpass’
Cobra
(Andy - United Kingdom)
November 2, 2017, 1:48pm
#4
hmmm…
This shouldn’t be too difficult
Except… ‘The time is after 8.30am’
We need to set a trigger for the app to run… (Normally the trigger is arrival/departure)
So we could do… The time is 8.31am (or any time)
And check for the presence then.
I’m working on a different update at the moment but will try and get to this to see if I can work something out for you
Cobra
(Andy - United Kingdom)
November 2, 2017, 4:20pm
#5
@Milomolly
Ok…
I have included a new input to Presence Central…
‘Check for Presence At A Certain time’
You can configure a time to check, which presence sensor to check for.
Then you can configure an action… send a sms/push… speak a message…
You can use all the outputs that are already there…
I’ll upload to GitHub now…
Milomolly
(Migt moggy)
November 4, 2017, 2:49pm
#6
Hi Cobra,
Thanks. I’m a UK user. I’ve just managed to integrate smartthings and github (i thinK!) for the first time.
How do i get your smarttapp up and running - sorry for the newbyish question, but i’ve never done this before.
Cobra
(Andy - United Kingdom)
November 4, 2017, 3:39pm
#7
I’m in the UK too
Have a look at this info here… this should help…
So you’re new to SmartThings, you asked a question, and someone suggested “custom code” as an answer.
Or you were browsing the forums, and you found something that sounded like it would be perfect for what you wanted, but again, “uses custom code.”
What does that mean, how hard is it to do, and what’s the difference between a “SmartApp” and a “Device Type Handler”?
(Note: the official terminology has changed a couple of times. “device type handler,” “device handler,” “DTH,” and “device type” all mean the same thing, and you will find all these terms used in the forums.)
SECTION I: SMARTAPPS AND DEVICE HANDLERS: WHAT THEY ARE
SmartAPPS: Tiny Programs to decide what a specific device should do when, or to collect the information from a specific device
SmartApps, including the various f…
Once you have got your head around this then there are two ‘smartapps’ to install
The ‘Parent’ and the ‘Child’
Let me know if you get stuck