Visualising the Data

Visualising the Data

Now that you have onboarded your raspberry pi and have started sending data about the temperature and humidity measured by the DHT22 sensor we can now store the data and visualize it as a graph in the Zoho IOT application.

Viewing the received message

We need to view the messages sent by the raspberry pi in the Zoho IOT application and identify the parsing for temperature and humidity.

To view the messages,
  1. Access the End Application.
  2. Click Devices > Devices in the left pane.



  3. Click on My RPi (device created for this recipe). This will open the device's information page.



    <change screenshot with connected>
  4. Select the Messages tab.



  5. Toggle to Live Messages.



  6. Click Start Listening.



    <Include screenshot with received messages>
The messages sent by the raspberry pi device will now be displayed. From the received messages, the parsing key can be identified as temperature and humidity.
Note: click Stop Listening after receiving a few messages to proceed with the setup.

Adding a Datapoint

Now with the parsing keys identified, we can now import datapoints for temperature and humidity.

To import datapoints,
  1. Click on Actions > Datapoint Configurations.



  2. Click Add Datapoint.



  3. Select Import from Datapoint Group and click Proceed.



  4. Click Add New Datapoint Group.



  5. Select Import From Gallery and click Import.



  6. Select Environmental Monitoring and click Import.



  7. Scroll down and select Temperature and Humidity and click Import.

 
The datapoints will now be imported to the My RPi device and the Gateway model. The imported datapoints have the same parsing as sent by the raspberry pi.


Note: Close the form by clicking the X icon at the top right corner.

Creating a Dashboard and Widget

With the datapoints added to the device data will be parsed from the received messages. Using the datapoints, we can create a chart widget in the overview dashboard to view the temperature and humidity data.

To create a widget in the overview dashboard,
  1. Click the Overview tab.



  2. Click the Edit icon in the overview dashboard. This will open the Dashboard builder.



  3. Hover over the Total Messages Received - Today widget and click the vertical ellipsis icon that appears.



  4. Click Delete in the context menu.



  5. Click Delete in the Widget Delete Alert. The widget will now be deleted.



  6. Select Charts in the left pane.



  7. Select Line Chart and click Proceed.



  8. Toggle to Realtime.



  9. Provide a Widget Title. For this illustration, the name Home Temperature and Humidity is provided.
  10. Select Temperature in the Y1 datapoint filed.



  11. Click the Plus icon and select Humidity in the Y2 field.



  12. Click Create. A widget will now be added to the deleted section.



  13. Click Cancel, and the Dashboard will now be saved.



    <include screeshot with data in overview dashboard>

With the data now sent from the Raspberry Pi, the value parsed by the data point the realtime temperature and humidity of your room will be displayed in the widget.

See Also
Soil moisture monitoring and management