All Products
Search
Document Center

:Add an IP camera device

Last Updated:Aug 04, 2023

This topic describes how to add and connect an IP camera to IoT Platform.

Procedure

  1. Log on to the LinkVisual console.

  2. In the upper-left corner of the LinkVisual console, select the instance that you want to manage from the drop-down list.

  3. In the left-side navigation pane, click Devices.

  4. On the Devices page, click Add Device.

  5. Configure the required parameters and click OK. The following table describes the parameters.

    Parameter

    Description

    Product Type

    Select Camera.

    Product

    Select the IP camera product that you created. The IP camera device that you want to add inherits the features and properties of the product.

    DeviceName

    Specify the name of the IP camera device that you want to add. The name must be unique within the product. The name must be 4 to 32 characters in length and can contain letters, digits, hyphens (-), underscores (_), at signs (@), periods (.), and colons (:).

    Note

    You can leave this parameter empty. If you do not configure this parameter, IoT Platform generates a globally unique identifier (GUID) that is used as the DeviceName.

    Alias

    The alias of the device. The alias must be 4 to 64 characters in length and can contain letters, digits, and underscores (_).

    Note

    You can leave this parameter empty.

You can also add the IP camera device to the IP camera product in the IoT Platform console. For more information, see Create a device.

Result

After you add the IP camera device, you can log on to the IoT Platform console to view and copy the information about the device certificate. A device certificate consists of the ProductKey, DeviceName, and DeviceSecret. The device certificate is an important identity credential that is used by the device to communicate with IoT Platform. We recommend that you keep the device certificate properly.

Parameter

Description

ProductKey

The ProductKey of the product to which the device belongs. The ProductKey is the GUID that is issued by IoT Platform to the product.

DeviceName

The DeviceName of the device, which is the unique identifier of the device within the product. A combination of the DeviceName and ProductKey is used as the device identifier. IoT Platform authenticates the device and communicates with the device based on the device identifier.

DeviceSecret

The DeviceSecret of the device, which is issued by IoT Platform for device authentication and encryption. The DeviceSecret must be used in combination with the DeviceName.

What to do next

To connect an IP camera device to IoT Platform, you must develop a device SDK and integrate the SDK into the device.

  1. After you add an IP camera device, the device is in the Inactive state. To activate the device, you must integrate Link SDK into the device and connect the device to IoT Platform. For more information, see the Link SDK documentation. 设备未激活

  2. After you activate the device, integrate LinkVisual SDK into the device. Then, you can use the API operations that are provided by LinkVisual. For more information, see Device-side development.