Introduction: How to Show DHT11 Data on QIoT Dashboard?

Picture of How to Show DHT11 Data on QIoT Dashboard?

The DHT11 is a basic, ultra low-cost digital temperature and humidity sensor. This tutorial will show how to display - DHT11 data on QIoT Dashboard (using a Seeeduino with W5500 Ethernet Shield).

Step 1: Open Your QNAP QIoT Suite Lite

Picture of Open Your QNAP QIoT Suite Lite

  • In "IoT Applications" → "Add IoT applications"

Step 2: Create a New IoT Application

Picture of Create a New IoT Application

  • Enter a name for your IoT Application.
  • The Rule name and Dashboard name will be automatically generated based on the IoT Application Name.
  • Click "Create".

Step 3: Add Thing

Picture of Add Thing

  • Enter a name for the Thing (in this sample: "Thingname").
  • "Custom" in "Thing Category".
  • Click "Add".

Step 4: Click the "Thing Resources"button, and Enter "Thing Resource".

Picture of Click the "Thing Resources"button, and Enter "Thing Resource".

Step 5: In "Add Thing Resource"

Picture of In "Add Thing Resource"

  • Enter a name for the resource (in this example: "myTemperature").
  • Enter a resource ID.
  • (The resource ID is 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).
  • Click "Add".

Step 6: Click "Connect to Device", and "in Thing Information" Choose "MQTT", Click "Next", and Click "download JSON File".

Picture of Click "Connect to Device", and "in Thing Information" Choose "MQTT", Click "Next", and Click "download JSON File".

Step 7: In the "Rule" Window to Set the "MQTT Message"

Picture of In the "Rule" Window to Set the "MQTT Message"

  • Click "MQTT Message
  • In"Uncheck "Use custom topic"
  • Choose the Thing "Thingname".
  • Click "Add", and choose "myTemperature" in "Resources".
  • Click "Done", and "Save".

Step 8: After Setting the Rule, Open the Arduino and the JSON File, and Then Copy the Code (username, ClientId, Host, Password, and Topic) Into Arduino, Respectively. After Copying, Upload the File.

Picture of After Setting the Rule, Open the Arduino and the JSON File, and Then Copy the Code (username, ClientId, Host, Password, and Topic) Into Arduino, Respectively. After Copying, Upload the File.

Step 9: Return to the Rule Tab, and Connect the MQTT Message in and Dashboard.

Picture of Return to the Rule Tab, and Connect the MQTT Message in and Dashboard.

Step 10: In the Dashboard Tab, You Could See a Sample Temperature.

Picture of In the Dashboard Tab, You Could See a Sample Temperature.

Step 11: More Information About QNAP QIoT Suite Lite

Comments

Swansong (author)2017-11-02

Neat, thanks for sharing :)

About This Instructable

70views

7favorites

More by winniecheng:Connect Raspberry Pi to QNAP NAS Via QIoT Suite LiteHow to Show DHT11 Data on QIoT Dashboard?Connect Arduino Yun to QNAP NAS Via QIoT Suite Lite
Add instructable to: