To enroll a Thing Device to your Linux gateway, perform the following steps:

In this example, we enroll a temperature sensor device.


You must have created a Thing device template.


  1. Log in to your gateway and change the directory to /opt/vmware/liota/data/packages.
  2. To enroll the Thing device, run:
    python3 liotad/ enroll-device <ThingTemplateName> <NameOfThingDevice> 
    python3 liotad/ enroll-device LightBulbTemplate LightBulb001
  3. Alternatively, you can enroll a Thing device using the file:
    1. Navigate to the Packages folder and open the device package in a text editor.
    2. Replace the deviceName with your device name.
      deviceName = "TemperatureSensor001"
    3. Replace TemperatureSensorTemplate with your device template name.
      d = PulseConnectedDevice(device_name, "TemperatureSensor", self.iotcc_edge_system.reg_entity_id)
    4. Save and close the file.
    5. Navigate to cd /opt/vmware/liota/data/package and run:
      python3 temperature_sensor


The Thing device is enrolled and connected to your Liota Linux gateway.

What to do next

Run commands on your enrolled Thing device.