Yeah, I actually got it working already with Tasker calling the Url. Thanks. Regarding IFTTT, I read that it has some trigger delay anyway so that would not be nice.
Much thanks for this app gentlemen, CoRE is the best rule engine i saw on any smarthome controller out there. Invaluable when testing device handlers.
Hopefully someone can give me some suggestions. I want to get CoRE to turn off a set of lights if two motion sensors both havenât been triggered within 15 minutes. Iâve simplified the logic to only look at the motion sensors but I potentially want to make the conditions more complex but this needs to work first.
In this configuration it appears to work until the Stays fire, if you look in the âBUT IFâ section they both count down (different count downs) however once the first stay gets to 0 it fires and evaluates true but as soon as the second one evaluates the first stay is no longer evaluated true and goes false. The screen shot is after both stays have completed.
Hopefully this makes sense, Iâm not sure whether this is by design or a bug. Given the Kitchen sensor is still inactive I want the âWhen Trueâ condition to fire.
Avoid using two triggers (full circle) in same condition, try using âwas inactiveâ instead, test if it works for your application.
I would do a Basic Piston with the following rule
If âAllâ (pick the motion sensors) âStaysâ inactive for 15 minutes
Then using (pick the lights) Turn Off
I know it seems too simple but the âstaysâ is a trigger that will constantly evaluate the âIfââŠSo if all motion sensors stays inactiveâŠ(once true) thenâŠ
Using two triggers will yield a false state majority of the time so be careful there. The wiki explains this well.
http://thingsthataresmart.wiki/index.php?title=CoRE
Thanks I think you are right about keeping it simple. There is one problem the âStaysâ trigger does not seem to allow ALL evaluations, it automatically changes to ANY when selected. This wonât work for me because if either are triggered I donât want the lights to switch off.
The wiki links explains what it is going on so thanks for that, Iâll have a play with a few more combinations.
Aww you are right! Try âWasâ inactive or âWas Notâ active for at least 15 minutes. Never knew that the above was not an option.
Either of these should workâŠ
I have a similar question.
I try to setup the following and it worked sometimes in the past. But currently not.
I have a door contact at the backyard door and I want to switch of the HVAC after the door is open for 5 minutes. I set up the following piston but unfortunately it fires at once every time I open the door. No idea whatâs going wrong. The status or the simulation gives back a false status, but the HVAC switched off immediately if I open the door. I tried it with âdoor stays open for at leastâ or âdoor was open for at least 5 minâ.
Any ideas?
Should be just âStaysâ open for âXâ minutes.
Everyone wants to use âstaysâ when there really is a much simpler way to do thisâŠ
Pay attention to the but if⊠If there is motion on any sensor the lights stay on. All have to be off for 3 minutes⊠If any of them trigger again in that time, the timer resets⊠And there is only one timer.
The fewer timers required, the better!
Thatâs why I do mine like this⊠Work great
New to CoRE here, where do I find this Logic Test screen? As in how do I navigate through CoRE to it, Iâve been poking away at everything possible in my one piston trying to locate that screen!
Do you mean the dashboard?
If so, it is at the top when you open CoRE.
You need to go into the ide and select the app.
Then enable OAuth first for it to work.
Hi, Iâm new to the community. Sorry if this is the wrong thread for this question. I have core up and running (pretty awesome by the way. I love how I can customize everything!). Iâve just installed nest manager 4.3.1. Iâm trying to get core to change my nest presence or thermostat from away to home. Away is easy, there is a setting specifically for away. Iâm trying to set up a âvacation modeâ that would include setting the thermostat to away. But when I turn it off of vacation mode, I canât seem to find a way to switch the thermostat mode. There is no âhomeâ setting like there is an âawayâ setting. Iâve tried changing modes, changing presence, and changing to present. Nothing seems to work. Any ideas on how I could use a piston for this automation? Iâve tried searching through all the forums. Some people mention this capability, but do not specify how to do it. Iâve seen some posts say that it may not be possible, as this function depnds on the presence sensor (motion) in the nest thermostat itself. Any thoughts? Thanks in advance.
Nevermind about the above post. I got a reply from the developer of nest manager.
For those who were struggling with the same thing, You can automate the away and home modes of the thermostat through the nest manager app itself.
Hi all,
I am trying to use CoRe with Zooz 4-1 luminance sensor to control lights. Any details how what is the luminance range to be used? On another application, i am able to use 0-100% as shown by the DH tile and it works. I am trying for âIf Illummance level is < 15%â, condition. But for CoRe, what ever number I give, CoRe determines it is true (0 - 100000). Any idea what I am doing wrong?
Hoping someone can help, I seem to be having trouble getting CoRE to turn off devices that do not accurately show the correct âstateâ in SmartThings, does anyone know how to force something OFF/ON regardless of what the state says?
Here are some more details, I have a device handler that controls Insteon devices (a ton of two-wire dimmers), itâs essentially a bridge. It flawlessly turns lights on/off via SmartThings. However, the state is not reported to SmartThings accurately, IE: If I manually hit a switch, it does not show as âon/offâ in SmartThings.
After finding some of my CoRE routines unreliable, Iâve figured out that CoRE will ONLY turn something OFF if it thinks itâs ON. I cannot find a way for the life of me to force CoRE to turn something off. The good news is, Iâve found that the Smart Light app DOES force things off no matter what the state is. That said, I really want to be able to use the power of CoRE.
Thoughts? Suggestions? Really appreciate the help.
Disable optimizations on those Pistons.