Filter results by

SmartThings Projects on ARTIK 05X

You can create SmartThings projects that run on the ARTIK 053/055 module as a "directly connected device" – one that communicates directly with SmartThings Cloud.

This article expands on detailed reference information provided by the following resources.


Developing SmartThings A05x projects requires installation of the Tizen Studio for RT on your development PC. Currently, only the Linux-based version supports A05X modules.

Set up Linux development environment

The full Tizen RT source development environment is required; a procedure is not available using the ARTIK IDE/SDK at this time.

If you haven't already done so, follow the Linux setup guide to install the Linux development environment and cross-compilation toolchain for ARTIK 05x devices. Make sure you can build an image and flash it successfully to your A05X board.

We will assume you are using VirtualBox so we will be making reference to that environment throughout this article.

We used Ubuntu 18.05 for this procedure (we had problems using 16.04 with Docker).

Install Docker CE

Here you'll operate from within the Linux environment.

  1. Open a FireFox Web browser.

  2. Open this ARTIK Web article in the browser and continue from there – you will find it convenient for downloading.

  3. Open a Terminal window so that you can make Linux command line entries.

  4. Follow the instructions to install Docker and Docker CE.

  5. Follow the post-install instructions to run as a user other than root.

Install OpenJDK

JDK 7 or later is required. If you don't have it installed, you'll want to install Java 8 from Zulu Embedded for enhanced performance.

  1. Attach the repository.

    sudo apt-key adv --keyserver hkp:// --recv-keys 0xB1998361219BD9C9

    sudo apt-add-repository 'deb stable main'

    sudo apt update

  2. Install according to the instructions.

    sudo apt install zulu-8

You can now check that the installation works as expected.

java -version

openjdk version "1.8.0_192"
OpenJDK Runtime Environment (Zulu (build 1.8.0_192-b01)
OpenJDK 64-Bit Server VM (Zulu (build 25.192-b01, mixed mode)

Install Tizen RT Studio

Here you'll continue to operate from within the Linux environment.

  1. From FireFox, go to the Tizen Studio downloads page.

  2. Under "Select OS", make sure Ubuntu is shown. If Windows is shown, you will not see an RT IDE installer option.

  3. Click on the Tizen Studio 3.0 with RT IDE installer, 64-bit installation package for Ubuntu.

  4. Back in the Terminal window, go to the Downloads directory (usually /home/(your_name)/Downloads)
  5. Enter sudo chmod 777 RT_Tizen and hit {Tab} to autocomplete, to make the file executable.
  6. Enter ./RT_Tizen {Tab} to execute the installer.
  7. Follow the setup guide to install it on your development machine.

Develop SmartThings Tizen RT Projects

For your SmartThings – Tizen RT development activities, you'll use the Tizen RT Studio.

  1. From your VirtualBox Linux environment, search Applications for "RT" and run the Tizen RT Studio application.

  2. Launch from the default workspace, or that of your choice.

Clone project from GitHub

Start from the many example projects provided in the GitHub repo. You only have to do this part once.

  1. Select File – New and start a TizenRT Project from Git.

  2. Select "Clone URI" and click Next.
  3. Copy and paste the URI shown and click Next.


  4. Select the master branch and click Next.

  5. Accept the local directory name or change it if you prefer and click Next. The cloning will begin.

  6. Don't hit Finish yet! Check the box to use SmartThings functionality, then click Next.

  7. Fill in the required information. Here, you'll need your company vendor ID and Manufacturer Name.

    ST Device model configuration
    – Select Samsung Lamp in the Default tab
    – Enter Setup id – start with 001 for now
    – Fill the Vendor Id (e.g. testvid)
    – Fill the Manufacturer Name(=MNID) (e.g. fAHC)
    and click Finish.

The project is opened and code provided under the path "apps/examples/st_things"

Select your board

Click the arrow next to the build icon on the toolbar. » Select Board

Select artik053, o53s, o55s with Build Options as st_things

Build the project

Click the Build icon on the toolbar.


Connecting ARTIK 05x to SmartThings

Configure WiFi on ARTIK055s

Restart 055s, and configure Wi-Fi by following the Manually Set Up Wi-Fi section.

Configure device time

From TASH, configure your date to make sure it matches UTC time. This step is required; otherwise, the server certificate cannot be verified.

TASH >> date –s Aug 12 12:00:05 2018

Alternatively, you can configure NTP settings programmatically. Refer to main.c in the MQTT article for an implementation reference.

Test integration

From TASH, you should be able to see your Tizen RT application.

Last updated on: