How to Show DHT11 Data on QIoT Dashboard?

by winniecheng in Circuits > Sensors

1629 Views, 11 Favorites, 0 Comments

How to Show DHT11 Data on QIoT Dashboard?

DHT 11.jpg

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).

Open Your QNAP QIoT Suite Lite

1.jpg

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

Create a New IoT Application

2.jpg

  • 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".

Add Thing

3.jpg

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

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

4.jpg

In "Add Thing Resource"

5.jpg

  • 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".

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

6-1.jpg
6-2.jpg

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

7.jpg

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

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.

8.jpg

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

9.jpg

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

10.jpg

More Information About QNAP QIoT Suite Lite