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).
  • In "IoT Applications", click "Add IoT applications"

  • In "Create a New IoT application":

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

  • In "Add Thing":

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

  • Click the "Thing Resources" button, and enter "Thing Resource".

  • In "Add Thing Resource":

        1.  Enter a name for the resource \(in this example: "myTemperature"\).    
        2. Enter a resourceID.  \(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\).    
        3. Click "Add".
    

  • Click "Connect to device", and "in Thing Information" choose "MQTT", click "Next", and click "download JSON file".

  • In the "Rule" window to set the "MQTT Message":

         1. Click "MQTT Message   
         2.  In"Uncheck "Use custom topic"   
         3. Choose the Thing "Thingname"  
         4. Click "Add", and choose "myTemperature" in "Resources"  
         5.  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.

  • Return to the Rule tab, and connect the MQTT Message In and Dashboard.

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

results matching ""

    No results matching ""