ARTIK Cloud Rules: Make Your Devices Work Together

ARTIK Cloud can start talking to your devices in seconds, generate insights from all these devices, and send them commands. You can design ARTIK Cloud to do things like detect fire and temperature. In this post, we’ll show you how to use one of its most powerful features: Rules. In just a handful of clicks, you can quickly and intuitively define Rules that trigger device Actions based on ARTIK Cloud messages. 



Say you have a Withings smart scalePhilips Hue lights and SmartSense Motion sensor from SmartThings all connected to ARTIK Cloud. Want these devices to start working together now?

With Rules, the SmartSense Motion sensor can turn on the Hue lights. The lights can send you an email when they’re left on overnight. And the Withings scale can set your lights to gray when your weight goes up (and hopefully discourage you from overeating!). True interoperability is a handful of clicks away:


Below is your official Rules tour, so go ahead and log into My ARTIK Cloud, where you will find the Rules feature.



What’s in a Rule

If you haven’t yet defined any Rules, you will see this:

SAMI Rules

Let’s change that. Click through to create a new Rule. Everything that goes into your Rule is contained on this page. In the IF pane, you can bring up a list of all your devices connected to ARTIK Cloud.


Select one of these devices to begin your Rule—I’ll use the SmartThings motion sensor—and you will see a list of all the fields defined in its Manifest.

SAMI Rules device fields

Let’s append the device name with the “motion” field. The next dialog will have the choices “is equal to” and “is not equal to”, which indicates that the value should be a string such as “moving”.

(Other data fields might bring up other options, like so:)

SAMI Rules device fields conditionals

For the THEN pane I’ll use a SmartThings On/Off Button Tile. The motion sensor can then send an “on” state when its motion field equals “moving”.

SAMI Rules THEN device

Note that the Rule description is automatically written as you build the Rule. Once you are finished defining it, all that’s left is to name your Rule.

SAMI Rules device fields

Why stop there?

Clicking “Save Rule” brings you to your newly populated Rules page, which lists your Rules and when they were created and last run. Above each Rule are buttons that allow you to do things like edit, test and deactivate your Rule. The Clone option is useful for assembling a set of complementary Rules:


This opens a duplicate of the Rule that you may then modify into a new Rule. Here I’ve quickly written a Rule that sends an “off” state when the motion sensor is not “moving”.



This is all it takes to turn your various devices into a responsive network of sensors. With Rules, a lot is already possible using the standard fields and Actions available in ARTIK Cloud. Open the windows if a smoke detector is triggered, or play music that complements the hues of your smart lights. If you already own a number of smart devices, Rules can give your home an instant IQ boost.

What Rules do you want to write? Write us a tweet, and check back soon as we update the feature!

Looking to connect many devices to the cloud and build innovative IoT solutions? Click here to get started for free.