Connect Raspberry Pi to QNAP NAS – Lesson 2

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

  • QIoT Suite Lite can be installed from the App Center.


  • Launch and log in QIoT Suite Lite. The default username and password is “admin”.

qiot_index

 

part B:Create a new IoT application

IoT Applications are a combination of Things, Rules, and Dashboards. 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.

Rules make it possible to build IoT applications that gather, process, analyze and act on data generated by connected devices. Rules can apply to data from one or many devices, and it can take one or many actions in parallel.

Dashboards turn your data into analytics and reports that provide real-time insights.

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 “Quick Setup Wizard” to start quick setup wizard. After you read the QIoT Suite Lite introduction in pop window, 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:
    • Enter a name for your device (e.g., raspberrypi) and provide the device information (such as serial number and manufacturer) in Add attribute.
    • If your device is already supported by QIoT (Arduino Yun,Raspberry Pi, Edison, and Linkit 7688 (Duo)), choose a pre-defined Thing Type.
    • Click Add to add the device.auto_deploy_add_raspberry_pi
  • Enter the IP address, User Name, and Password of your device and click the Connect icon. QIoT Suite Lite will check the connection with the device. After the connection is verified, click Next.auto_deploy_connect
  • In “Resources” step,Click “Add Resource”.

add_resource

  • After click “Add Resource”,In “Add Thing Resource” pop window:
    • Enter the name and ID for the sensor in Resource Name and Resource ID. Please note that the 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.

auto_deploy_add_resource_info

  • In “API Keys” step,
    • If you want to embed QIoT dashboard widgets into web pages or access QIoT APIs from third-party applications, go to the API Keys tab and click “Generate New API Key“. Click “Done“.

auto_deploy_done

  • Your IoT application will now be created. Node.js sample codes and related files (certificate, resource information) will be uploaded to the specified path on your device.

audo_deploy_success

  • A sample dashboard will be created.

auto_deploy_dashboard

  • Go to the Rule tab to define the flow or rules on how to process the data sent from the device, and how to present in a dashboard.

auto_deploy_nored

Please visit QNAP github for QIoT Suite Lite sample code

QNAP-Github

Related posts

23 thoughts on “Connect Raspberry Pi to QNAP NAS – Lesson 2

  1. kevin

    Hi, I am unable to find the QIoT suite software in QNAP’s App center. Did I miss something?

    1. Cheng Anderson

      Current support x86 model with 4G RAM, which model you use ?

      1. RedDog

        Any assistance on my issues below?

  2. RedDog

    You might want to add a note to the effect that you have to have Container Station installed and running for QIOT Lite to install. Otherwise the install will fail. I fought this for 2 hours before I realized my container station was stopped.

    1. Cheng Anderson

      Could you provide your model and QTS version ? we will check this issue, thanks for your feedback !

      1. RedDog

        TS-251A running the latest QTS 4.3.3 . Sorry for the delay. I have not messed with it since my post. I will try again and see if it is fixed.

  3. RedDog

    The default login admin admin does not work, nor does my user account with admin privileges. One note is that my QTS admin user account is disabled for security reasons. Is there a reason why I cannot log into or manage the QIOT app from my local network? Please note as well, I do not see anywhere within QTS where I can manage QIOT, it doesn’t even show up in container station. I look forward to your feedback.

    1. Cheng Anderson

      for the admin account, the password is same as the real admin password; admin admin is default and suggest to modify by yourself

      1. RedDog

        Ok, so my default admin account is disabled since I cannot delete or rename the admin account. I created a new account with admin privileges, which is the account I tried.

        So if I understand you correctly, I can only use the default admin account with QIOT? That is a security issue that my company cannot allow. Can you please tell me when you plan on allowing created user accounts with admin privileges to login to QIOT?

        Or is there a way to create a new user under QIOT and then disable the admin account again?

        1. Cheng Anderson

          You can create account in QIoT Suite Lite, but admin is same as NAS admin, so that can’t disable it

  4. RedDog

    In addition to the above comment, I have kept up with my ban list to remove the local ip when my login attempts fail. So that is not the issue.

  5. Saami

    I was not able to find it either (TS-453 Pro). I waited for the 4.3 firmware to be released for my QNAP (was done in mid April) but even then could not find QIoT app (even in beta apps list). But today I got the marketing release update email from QNAP – “May 2, 2017 – QNAP® Systems, Inc. today released the innovative QIoT Suite Lite Beta, QNAP’s private IoT cloud platform.” I went to see if the QIoT is now available and it is indeed. Finally. !!! I now have to get home and try it out. From remote connection at work I was not able to login with the admin or personal login credentials on the logon page. Hopefully I will work from home.

    1. Saami

      Here is an update.
      I tried to connect to my QNAP’s QIoT page from work via the WAN (with port 8743 -TCP port on router opened to WAN side from QNAP Router UPnP config interface). I get the login page but the login does not work. The page never moves forward from the login screen. It does not even say login failed. I went home and tried on the LAN side (same ports) and it worked. I will have to try opening up the UDP port along with the TCP. From QNAP Router UPnP interface it won’t allow me to do pass both UDP and TCP on the port. But I am pretty sure that the router’s forwarding rules allows TCP, UDP or Both. I shall have to try that later from home.
      In any case, I could get into QIoT from home so that was great. I shall play with it some more on the weekend.

  6. uranus

    I have installed the QIoT suite software in QNAP’s App center.
    I try to launch the QIoT suite software.
    It open a new web browser page but get refuse connection message.

  7. Jason

    I have installed Qiot Suite but when I start it, all I see is a blank tab in my browser …

    1. Cheng Anderson

      Which browser you use ? currently our beta release only support Chrome !

      1. Jason

        Chrome or safari – neither works!

        1. Cheng Anderson

          Chrome !!

          for next release will support more browser

    2. Cheng Anderson

      You use Chrome ?

  8. sgroup

    Hi Cheng, my QIoT Suite is up and running. But I’m not able to connect my Raspberry Pi 3 as a Thing (in the way you described it). It always sais “Connect failed, please check username and password.” I saw that there were not entries for network on the administration view. Where can I configure the network for the QIoT app?

    1. Cheng Anderson

      Could you share your configuration ? we have upgrade QIoT recently, please provide your version ?

  9. So, I’ve gotten to the point where the RPi should be talking to QIoT, but instead, i get an error message.
    “something wrong with mqtt service, err reason: Error: connect EHOSTUNREACH 192.168.1.37:28883”
    Now the funny part is that QIoT is on 192.168.1.24, not 37 and I have no idea how to change that…

    1. Jeffrey Chang

      Please select “Settings” in left panel, then go to “Administrative Settings”. In “QIoT Server Network Configurations:” session, if there is a red “Update IP Address” button, please click it. Then you should re-start quick setup wizard to create your IoT application.

Leave a Reply