It’s not “simple,” but core is a very sophisticated community created rules engine which can do this.
If you haven’t used custom code before first read the overview faq so you get the concept. But it’s pretty straightforward. Basically you’re going to copy the code from the author and paste it into your own account.
The original FAQ information in this thread refers to the original smartthings architecture, which was in place through the end of 2022 and a little beyond. Custom code was written in the groovy programming language and ran in the smartthings cloud.
As of May 2023, you can no longer add new Groovy DTH‘s or smartapps to your smartthings account. So if you came here because of a link in an old forum thread, or on another site, I’m afraid the Groovy information is no longer usable.
All of this was replaced by a new architecture. Cloud to cloud integrations use the smartthings API. Hub connected devices, mostly Zigbee and zwave, now use “Edge Drivers,” written in the LUA programming language. Here’s the official announcement on those:
The process for using a custom Edge Driver in the new …
If that sounds like something you would like to try, and here is the author thread for core:
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 .
Continuing in the BETA process of CoRE (milestone 1 topic here ), 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 …
You can also get help with core in the peer assistance thread ( A “piston” is what core calls a single rule.)
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.
2 Likes