Cloud IoT Core type trigger
    • PDF

    Cloud IoT Core type trigger

    • PDF

    Article Summary

    Available in Classic

    You can create Cloud IoT Core type triggers in the NAVER Cloud Platform console's Cloud Functions > Trigger. Cloud IoT Core is a service provided by NAVER Cloud Platform that allows you to conveniently and securely collect a variety of data generated by connected devices, and then process them in real time. IoT devices that are securely connected to the cloud can send a large amount of data easily and quickly. The data transmitted is processed in real time according to user-defined rules. It may easily be linked with various NAVER Cloud Platform services as required by the user.

    Note

    Additional fees apply when you request subscription to Cloud IoT Core. For an introduction on Cloud IoT Core and more details about pricing plans, refer to the Service > Internet of Things > Cloud IoT Core menu in the NAVER Cloud Platform portal.

    Refer to Running action or trigger and Trigger for how to run and monitor triggers that have been created.

    Create triggers

    To create a Cloud IoT Core type trigger, you should click and select Cloud IoT Core as a trigger type, and set up the trigger's basic information and Cloud IoT Core connection information.

    Set up connection information

    Setting up connections for Cloud IoT Core type triggers is done in the console's Cloud IoT Core connection information.

    compute-15-3-401.png

    • Add Cloud IoT Core rules using the connection information for Cloud IoT Core to complete settings for the connection information. Multiple rules can be connected. Once connected, the events that occurred in Cloud IoT Core will execute the connected trigger.
    • Click the [Create IoT Core rule] button to go to the Cloud IoT Core console and create a new rule. To learn how to create the rules, refer to Cloud IoT Core Guide.
      cloudfunctions-cloudiotcore-vpc_02_ko
    Note

    Select Cloud Functions as the action type when you create rules from Cloud IoT Core on the NAVER Cloud Platform console to connect it to an existing trigger or to a new trigger by creating one.

    Events delivered to trigger

    When an event occurs by rules created in Cloud IoT Core, the event's information will be delivered to the Cloud IoT Core type trigger. The delivered event can be used as a parameter in action code connected to the Cloud IoT Core trigger, enabling a wide range of applications. The following is the process where an event is delivered to a Cloud IoT Core type trigger.

    cloudfunctions-cloudiotcore-vpc_03

    The following is example code where the delivered event is used as a parameter in action code connected to a Cloud IoT Core trigger.

    // nodejs:8
    
    function main(params) {
    
      let temp = params.temp;
      console.log("temp : %f", temp)
    
      return params;
    }
    

    Was this article helpful?

    Changing your password will log you out immediately. Use the new password to log back in.
    First name must have atleast 2 characters. Numbers and special characters are not allowed.
    Last name must have atleast 1 characters. Numbers and special characters are not allowed.
    Enter a valid email
    Enter a valid password
    Your profile has been successfully updated.