# Help Needed: Logic for A or B or C

**URL:** <https://community.smartthings.com/t/help-needed-logic-for-a-or-b-or-c/57716>\
**Category:** Automation Ideas\
**Created:** [September 17, 2016, 3:03pm UTC](https://community.smartthings.com/t/help-needed-logic-for-a-or-b-or-c/57716 "2016-09-17T15:03:46Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![JDRoberts](https://yyz2.discourse-cdn.com/smartthings/user_avatar/community.smartthings.com/jdroberts/32/56577_2.png) [@JDRoberts](https://community.smartthings.com/u/JDRoberts)\
**Post date:** [September 17, 2016, 3:23pm UTC](https://community.smartthings.com/t/help-needed-logic-for-a-or-b-or-c/57716/2 "2016-09-17T15:23:42Z")

</div>

As you probably noticed, the officially included features don’t handle multiple OR’s.

The alternative is a very popular community created rules engine called CORE. It’s very powerful, and you can do all kinds of things with it, including a set up like the one that you describe.

Because it’s custom code, you have to use the author’s code and “Publish” it to your own account. After that, you will be able to access it from the SmartThings mobile app and you can set up individual rules, which core calls “pistons.”

Here’s the thread with the information about core

> [@\[OBSOLETE: \[BETA MILESTONE 2\] CoRE (Community's own Rules Engine)](https://community.smartthings.com/t/beta-milestone-2-core-communitys-own-rules-engine/54795):
>
> UPDATE 1/12/2017: CoRE is now in the process of being heavily streamlined (reference to @bamarayne) into a web controllable app. There will be no updates to this version of CoRE other than critical updates. An update will be posted here when the new SE (Streamlined Edition LOL) version is available for the public. We’re close to hitting alpha stage. UPDATE 9/28/2016: CoRE has moved on to Release Candidate. Please kindly follow us [here](https://community.smartthings.com/t/release-candidate-core-communitys-own-rule-engine/57972). Continuing in the BETA process of CoRE (milestone 1 topic [here](https://community.smartthings.com/t/beta-milestone-1-core-communitys-own-rules-engine/48189)), we’ve now moved to BETA MILESTONE 2. This is all about crushing those bugs and speeding up those pistons you’re having trouble with. While absolutely necessary additions will occur here and there, adding features is NOT the main focus of M2. WARNING: As mentioned before, this SmartApp is in …

And another thread where community members provide Assistance to set up individual pistons.

> [@CoRE - Get peer assistance here with setting up Pistons](https://community.smartthings.com/t/core-get-peer-assistance-here-with-setting-up-pistons/50187):
>
> Welcome to the CoRE Logic Thread. Here you will find many community members that are more than willing to help you with the Logic and Programming of your Pistons. \*\*There will be another thread for “How are you using CoRE?” and “How are you using the CoRE/AskAlexa integration?”. So, this is the place to ask your questions and the place to get the answers.

It might be possible to also do this with the official features but it would be a really complicated set up to keep track of and Core is going to be the most straightforward, easiest method once you get past the initial installation. 🕶

---

_[View the full topic](https://community.smartthings.com/t/help-needed-logic-for-a-or-b-or-c/57716)._
