Lesson 2 Install QIoT Suite Lite


In Lesson 1 you already setup your device. In this lesson, you provision your QNAP QIoT Suite Lite software, and create your first device in QIoT Suite Lite.

There are two parts

A Install QIoT Suite Lite

B Create a new IoT application

Part A :Install QIoT Suite Lite



  • Go to QNAP App Center and download QIoT Suite Lite sofeware.





  • Launch and log in QIoT Suite Lite software. Use Nas admin and password to login.



qiot_index



Part B:Create a new IoT application


IoT Application is a combination of multiple Things, Rule, and Dashboard. We recommend that you first create a “Things” in IoT Application. This IoT Application allows you to keep a record of all of the devices that are connected to your NAS.


The Rule makes it possible to build IoT applications that gather, process, analyze and act on data generated by connected devices based on business rules you define. A rule can apply to data from one or many devices, and it can take one or many actions in parallel.


With Dashboard, you can turn your data processing efforts into analytics and reports that provide real-time insights into your business.


All these elements provide user a complete IoT Application environment.





  • If this is your first time to use QIoT Suite Lite, QIoT Suite Lite provides a wizard to help you quick setup a IoT application.

  • Click on QIoT Quick Setup. After you read the QIoT Suite Lite introduction, click Next button. 


index

1




  • Create a New IoT application

    • Enter IoT Application name, e.g., app_1.

    • Rule name and Dashboard name will be generated automatically based on the name of IoT Application you fill in.

    • Click “Next” to complete create a new IoT application




auto_deploy_2

  • Click "+Add" to add this application’s device.


add_thing




  • After click “+Add”,In “Add Thing” pop window:

    • Set device’s name (e.g., arduino).

    • QIot Suite Lite now support Arduino Yun,Raspberry Pi,and Edison ,so you can select "QIoT Supported" thing category and select "Thing Type" is "Raspberry Pi"

    • (optional) add attribute to device’s detail information (e.g., its serial number, manufacturer, and more).

    • Click "Add" to add the device to complete create a device.
      add_thing



  • Please provide IP address, User Name, and Password of your device, then click "Connect" .After waiting test connection between your device and QIot Suite Lite success, you could click "Next" to next step.

    arduino_connect

  • In “Resources” step,Click "Add Resource".


arduino_add_resource




  • After click “Add Resource”,In “Add Thing Resource” pop window:

    • Set resource’s name (e.g., temperature).

    • Set resource’s id.Resource id will be used to create a topic in the QIoT broker.This ID should be unique for the device and no duplicates should be allowed for the same device

    • And set another optional attribute.




arduino_add_resource_info




  • In "API Keys "step,

    • If you would like to embed QIoT dashboard widgets into your web pages or access QIoT APIs from third party applications.You could click "generate new API Key" to create API key or click "done" start deploy sample code to your device.




auto_deploy_done

  • For a while, sample codes and related files (certificate, resource information) have been upload to the specified path on your device.


success




  • Your IoT application already created successfully .You could click "Go to Dashboard" to your application page.

  • Select "Dashboard" tab , you could see a sample dashboard is created.


auto_deploy_dashboard




  • Select "Rule" tab, you could to define the flow or rule about how to process the data sent from the device, and how to present in dashboard.


auto_deploy_nored




Please visit QNAP github for QIoT Suite Lite sample code


"QNAP-Github"

arrow
arrow
    全站熱搜

    tttt 發表在 痞客邦 留言(2) 人氣()