Found it, worked, thanks!
Good stuff. I did exactly tye same thing and was pointed in the right direction. 
That is why I remembered!!!
bumped below
I’m not sure which “Comparison” to use. There is:
- is inside range (round circle) - where you cannot select “for at least 20 minutes”
- stays inside range (solid circle) - here you can select “for at least 20 minutes”
@ady624, can you help with the difference between these 2?
And is there a difference if they need a trigger to start the counter and another trigger after 20 minutes to “count” that the 20 minutes has past?
Appreciate the suggestion, I am just sucking wind on this one…any further details you can provide? Here’s what I’ve got:
- Set up a piston that says “capture forecast to global store” from Accuweather, then wait 5min
- Trying to set up a piston that can see that forecast and take action on data in it, that’s where I’m stuck
Ah thanks. Issue is I wanted to use that with routine director as a switch won’t appear I believe.
Has anyone else used a custom virtual presence device type that works with core? It will make the setup far cleaner if I can have it update a presence device type.
I think I have this piston down, but maybe someone can optimize it if possible.
I want specific Sonos speakers to tell me when door locks are unlocked. If both my wife and I are awake then I want all four of my speakers to announce and ST send a push notification. But if one of us is in bed then I want to exclude the bedroom sonos. My thought is typically one of us is in bed by 9:30, and whenever the second person is in bed ST mode is then set to night, so I just need to isolate the time period after bed time but before night mode. Will this And-If piston always work?
Perfect. Thanks. Everything you recommended works perfectly. I had to remove the SmartThings Lighting Automation that was causing issues issues. All in all it is doing exactly what I want. Thanks for your help
I was loooking at Maker Channel and IFTTT the other day but wasn’t sure what I would use it for. Could you provide details on how to set this up so I can learn how this works? Sorry, I know I am a pain but really trying to learn how this all works.
Fire up IFTTT and start a new recipe:
name it speak, or something simple you’ll remember, you’ll put this in CoRE
if SMS (make sure it has your phone number setup)
Send IFTTT any SMS from {your number}
then Maker
Action Make a web request
URL: https://graph.api.smartthings.com/api/token/{your token}/smartapps/installations/{your core install}/ifttt/speak
Method: Post
Content Type: application/json
Body: {“message”:{{Message}}}
Save that.
Do a new piston:

Make sure under the If Trigger you select "Import event data on true.
That’s it, send a text to IFTTT’s number that they gave you in the setup of the recipe, and whatever you send comes out of whatever devices you’ve setup in the Piston.
Get your URL from the dashboard for CoRE.
i have also found that core doens’t update the simulated presence sensor (stock one) as a THEN output.
Did you find another presence device type that works at all?
No problem, I’m glad it’s working out for you.
Ok, so – we’ve just gotten this all set up, and have CoRE running several pistons, and all is fantastic, with one exception. There are two of us, and both of us want to have access to the same CoRE, but whenever I try to add a piston, “You are not authorized to perform the requested operation” comes up, and I’m not able to create my own stuff. I’ve tried restarting the app, my phone, logging out and back in, uninstalling and reinstalling the app, and resetting the security tokens, but
I’m still unable to add anything (I can, however, edit previously existing pistons).
Any thoughts here would be hugely appreciated!
I think you have to use “stays inside range” if you want to use for at least 20 minutes, and the counter starts when the condition (Lux between 100-400) meets.
Have you tried playing with Universal Virtual Device Type (uDTH)? You can use a virtual switch on/off as input and output present/not present.
Make sure to access CoRE from with the SmartApps menu and not from the Marketplace.
That’s how I’ve been getting in - in fact since he published CoRE it doesn’t even show up on MyApps in the marketplace. I can only see it in the Automation > SmartApps menu. I just can’t add any pistons.
Hmm and you’re able to edit existing pistons. Did you have to readd those pistons after you uninstalled/reinstalled the CoRE app?
Is there documentation somewhere that goes over the basics for CoRE? ex: the logic behind the various piston modes, how often the software evaluates all pistons, etc.
Look here…http://thingsthataresmart.wiki/index.php?title=CoRE
And this is also of interest…http://thingsthataresmart.wiki/index.php?title=CoREsamples
