Say hi to your new Sensor Gateway

Here are helpful bits of information about your new Sensor Gateway (Developer Edition). In this section, you log in to your Gateway, set up network settings including WiFi and connect this device to the Sensor Gateway device instance "001" from the Developer Console.


Device Features

  • Device: Intel NUC NUC5CPYH
  • OS: Ubuntu 18.04

Setting up Sensor Gateway

ONE | Log in to the Gateway

Before powering up the gateway, connect a keyboard and monitor to the device. When it boots up, you will be prompted for a username and password. Your credentials are as follows:

Gateway Credentials

Your username is ubuntu.

Your password is the string pasted on the back of the Gateway.

A different password is set for each Sensor Gateway. We recommend you change the password after logging in. If you cannot log in, please contact us and we will help.

TWO | Set up network settings

Create a configuration file for the Gateway. You can refer here for examples. (The network interface name of this device is: EtherNet: enp3s0, WiFi: wlp2s0.) Make any settings according to your network environment. You may name the file any name. The following is a sample configuration when WiFi / DHCP is enabled.

Sample network-configuration.yaml for Sensor Gateway

  version: 2
  renderer: networkd
      dhcp4: yes
        addresses: [ ]
          password: "ssid-password"

Save this file in /etc/netplan/[NETWORK_SETTINGS].yaml in the gateway. For your convenience, you can create this file and use a USB drive to copy this file.

Rename the USB to "MODE". The USB drive automounts to /media/MODE when inserted into the USB connector in the Gateway.

THREE | Apply and confirm configured network settings

Once the configuartion file is placed under /etc/netplan/. Apply the settings using the following command:

$ sudo netplan apply

You can check the settings by pinging an external website:

$ ping

If successful, you will receive a response.

FOUR | Link the Sensor Gateway to the Developer Console

We now associate the Sensor Gateway to the device instance created in the Developer Console previously. Create a file in the following format and save the file name as "initialgateway" on the USB drive. The USB must be named "MODE". This is required to link the Sensor Gateway to SC Eval. In the file, add the following information:

initialgateway file

DEVICE_ID=[ Device ID obtained in the Developer Console ]
DEVICE_API_KEY=[ API Key obtained in the Developer Console ]

The USB drive automounts to /media/MODE when inserted into the USB connector in the Gateway. Insert the USB drive into the device and execute the following command:

$ setup-gateway

If you proceed according to the output, the Sensor Gateway is now in the state of "Claim Mode". "Claim Mode" lasts 300 seconds. This means you now have 300 seconds to enter the gateway's Claim Code to SC Eval. The instructions continue in the next section.

DONE | Your Sensor Gateway is set up and ready to be connected to the SC Eval application. Let's finish up this guide and start collecting data in the final step, STEP 4: Collect Data.