SC311 Custom Profile Template

This topic describes how to create a custom Profile template for SC311.

Background information

A Profile template contains both Basic Settings and Advanced Settings. Basic settings can edited with the visual interface provided by Milesight Development Platform, while the advanced settings can ONLY be edited in JSON format.

Follow the workflow below to create and apply a custom Profile template:

  1. Create a custom Profile template on Milesight Development Platform.
  2. Configure the basic settings with the visual interface.
  3. Configure the advanced settings in the JSON format.
  4. Save and apply the custom Profile template accordingly.

Step 1. Create a custom Profile template

  1. Log in to Milesight Development Platform.
  2. On the top bar, click Resource, then select the My Config tab.

  3. Click Add.
  4. In the Basic Configuration section, configure the basic information:

    1. In the Config Template Name field, specify a name to help you identify this template.
    2. In the Select Product Config Template field, search and select SC311_Profile_Template.
    3. In the Config Template Version drop-down list, select the version of the Profile template.

Step 2. Configure the connecting platform

  1. Select the Generic Configuration tab.
  2. In the Device Management Connections section, decide whether to connect the device to Milesight platform for remote management and configuration.
    Connect the device to Milesight Development Platform
    Retain the default settings.

    Connect the device to Milesight DeviceHub
    1. In the Connecting Platforms field, select DeviceHub 2.0.
    2. In the Milesight DeviceHub Server Address field, enter the server address of the Milesight DeviceHub.
    Do NOT connect to Milesight platform
    Uncheck the Platform Connection.

Step 3. Configure the system settings

  1. Select the Basic Configuration tab, then go to the System section.

  2. In the Device Name field, specify a name to help you identify this device.
  3. In the Time Zone drop-down list, select the desired time zone for this device.
  4. In the Daylight Saving Time field, decide whether to enable Daylight Saving Time (DST) for this device.
    • Disable: Disable DST for this device.
    • Auto: Enable DST for this device.
  5. In the Time Synchronize Mode section, specify the time synchronization mode.
    • Manual: Manually synchronize the device's time.
    • Auto: Synchronize the device's time across a network using the Network Time Protocol first. If failed, synchronize the time with GPS.
  6. In the SSH field, decide whether to enable SSH service for this device.
  7. In the Wake Up Method section, specify the method to wake up the device from sleep mode.
  8. In the GPS field, decide whether to enable GPS feature.
  9. In the Reset Button filed, decide whether to enable the button to reset device to factory default.
  10. In the Data Report Takeover field, decide whether to enable to report data to Milesight Development Platform.

Step 4. Configure the Image settings

  1. Go to the Image Configuration section to configure image settings.

    Setting Description
    Brightness

    Adjust the Brightness of the scene.

    Contrast Adjust the color and light contrast.
    Saturation Adjust the Saturation of the image. Higher Saturation makes colors appear more "pure" while lower one appears more “wash-out”.
    Sharpness Adjust the Sharpness of image. Higher Sharpness sharps the pixel boundary and makes the image looks “more clear”.
    2D DNR Adjust the noise reduction level.
    Capture Object Choose the object's motion state for capture, such as selecting ‘Static’ for plants and ‘Motion"’for animals.
    Day/Night Switch Mode Night: Shown in live view based on Night Mode settings.

    Day: Shown in live view based on Day Mode settings.

    Auto: Shown in live view based on environment, set the sensitivity value for switching Day Mode to Night Mode, or Night Mode to Day Mode.

    Schedule: Switch day and night according to the configured schedule.

    IR LED Level Adjust the strength of the IR LED, the range is from 0 to 100.
    Image Timestamp OSD Display timestamp OSD on the image.
    Image Dev. Name OSD Display device name OSD on the image.

Step 5. Configure Capture settings

  1. Go to the Capture Management section, specify the work mode of the device.

    The device supports 2 work modes:

    Setting Description
    Full Function Capture Support all capture methods, wake-up feature, heartbeat test mode and remote configuration.
    Low Power Timed Capture Only support Timed Capture and Debug Capture and does not support wake-up feature and remote configuration.
  2. In the Capture Management section, configure the capture parameters.
    Setting Description
    Image Resolution Select the resolution of the captured images.
    Image Type

    Select the captured image type.

    Full Image: It will capture the full image when an object is detected.

    Cropping Region: The captured image will be cropped according to your settings when an object is detected.

    Trigger Disable Time Period Set the time period to disable the trigger capture. One device can set 10 time periods at most.
    Indicator Light Decide whether to enable to turn on the indicator light when the capture is triggered.
    PIR & Radar Trigger Capture Decide whether to enable PIR or Radar to detect the movement to trigger the capture.

    Mode: set the trigger source as PIR, Radar or Auto.

    Algorithm Validation: when enabled, only images recognized as people or vehicles will be captured.

    Trigger Minimum Interval: set the minimum interval to trigger the capture.

    Alarm in Trigger Decide whether to trigger the capture when the digital input receive a low level signal.
    Noise Trigger Capture Decide whether to trigger the capture when the noise reaches the set threshold values.

    Continuous Trigger Interval: When the noise remain within the triggered threshold range, snapshots will be taken at the set intervals.

    Temperature Trigger Capture Decide whether to trigger the capture when the temperature reaches the set threshold values.

    Continuous Trigger Interval: When the temperature remain within the triggered threshold range, snapshots will be taken at the set intervals.

    Continuous Capture Decide whether to enable continuous capture, and set the capture interval.
    Timed Capture Decide whether to enable to capture according to the preset time.
    Debug Capture Decide whether to capture the images once the device wakes up, including power wake-up and button wake-up.
    Snapshots Upload Mode Timing In this mode, it will upload the captured images at the interval you set.

    Upload Frequency: et the upload frequency to Once a Day or Twice a Day.

    Upload Time: Set the time to upload the snapshots every day according to the set frequency.

    Note: The timing mode can work normally only when the SD card is inserted.
    Immediately In this mode, the captured images will only be uploaded when the device detects an object and triggers the capture.

Step 6. Configure the Interface settings

  1. In the Interface Configuration section, configure the interface settings.

    Setting Description
    Digital Output Conditions When the object is captured or noise/temperature reaches the threshold value, the digital output status will change to Open.

Step 7. Configure the Network settings

  1. In the Cellular section, configure the cellular settings.

    Setting Description
    APN

    Specify the Access Point Name for cellular dial-up connection provided by local ISP. Please contact cellular operator or search for the Internet to get it.

    Username

    Specify the username for cellular dial-up connection provided by local ISP.

    Password Specify the password for cellular dial-up connection provided by local ISP.
    PIN Code Specify a 4-8 characters PIN code to unlock the SIM.
    Authentication Type

    Select the Authentication Type. None, PAP, CHAP, PAP and CHAP are optional.

    Network Type

    Select from “Auto”, “4G Only”, and “3G Only”.

    Ping Detection

    Enable or disable to send ICMP packet to determine whether the Internet connection is still available or not.

    IP Address

    The device will send ICMP packet to this server address to determine whether the Internet connection is still available or not.

    MTU

    The number of times the device will retry sending a ping request until determining that the connection has failed. (Unit: s)

    Billing Day Select the date for clearing the data each month, and the system will clear the data on the date you set each month.
  2. In the Enable WLAN section, configure the WLAN AP settings for local web access and configuration.

    Setting Description
    Radio Type

    Select the radio type for Wi-Fi connection.

    Bandwidth Select the bandwidth for Wi-Fi connection.
    Channel Select the channel for Wi-Fi connection.
    Encryption Mode Select the encryption mode for Wi-Fi connection.

Step 8. Save the custom Profile template

  1. On the left-bottom of the page, click Save.
  2. Apply the custom Profile template according to the operation method.
    • Web page: Select the Profile template when adding devices.
    • API: Do as follow:
      1. In the Operation column, click to download the Profile in JSON.

      2. Include the entire JSON in the API request of Add a Device.