How to show DHT11 data on QIoT Dashboard?

QIoT technology to allow you to explore potential IoT business opportunities.
Smart home/Smart building/Smart City/
Post Reply
SunnyYou
New here
Posts: 9
Joined: Mon Jun 25, 2018 4:16 pm

How to show DHT11 data on QIoT Dashboard?

Post by SunnyYou » Mon Jun 25, 2018 5:22 pm

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

1. "IoT Applications" → "Add IoT applications"
dht11-qiot_02.jpg


2. In "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".
dht11-qiot_03.png


3. "Add Thing":
    Enter a name for the Thing (in this sample: "Thingname").
    "Custom" in "Thing Category".
    Click "Add".
dht11-qiot_04.jpg


4. Click the "Thing Resources"button, and enter "Thing Resource".
dht11-qiot_05.jpg


5. 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".
dht11-qiot_06.jpg


6. Click "Connect to device", and "in Thing Information" choose "MQTT", click "Next", and click "download JSON file".
dht11-qiot_07.jpg

dht11-qiot_08.jpg


7. 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".
dht11-qiot_09.jpg


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.
dht11-qiot_10.jpg


9. Return to the Rule tab, and connect the MQTT Message In and Dashboard.
dht11-qiot_11.png


10. In the Dashboard tab, you could see a sample temperature.

For more tutorial, visit this link https://www.qnap.com/en/how-to/tutorial/article/how-to-show-dht11-data-on-qiot-dashboard :)
You do not have the required permissions to view the files attached to this post.

eddio
New here
Posts: 4
Joined: Sun Jun 30, 2013 7:07 pm

Re: How to show DHT11 data on QIoT Dashboard?

Post by eddio » Tue Jun 26, 2018 11:39 pm

Can You please to publish code for Arduino side of this project?


Post Reply

Return to “QIoT”