Temperature & Humidity
Table of Contents:
- 1. About this demo
- 2.Import Solution Template
- 3.Connecting devices to thingseye
- 4.Change the deviceproflie of device
- 5.Check to see if the device is displaying properly on the dashboard
1. About this demo
This template is a display template for all temperature and humidity sensors, in this template you can see the data detected by your temperature and humidity sensors as well as their location, etc., and support alarm settings. It has Two Level DashBoard as decribe below.
- First Level - Overview for all devices: This dashboard displays information about all the devices, their location and their alarms.
- second Level - Sensor Level: This dashboard shows the temperature and humidity of a single device and its location, in this interface you can also set the temperature and humidity alarm threshold and its location.
2.Import Solution Template
2.1 Get the json files
where to get:https://github.com/ThingsEye-io/te-platform/tree/main/Solution%20Template/Temperature%20%26%20Humidity
what files to get:Download the three json files with the suffixes dashboard, deviceprofile, and rulechain.
2.2 Import rulechain/deviceprofile/dashboard
2.2.1 Import rulechain
Firstly, we need to import the rule chain. The rule chain tells platform how we should handel the uplink and downlink for this device.
Open rule chains, click on the "+" in the upper right corner,
select "import rule chain", and then drag the downloaded JSON file with the suffix "_rule_chain" into the text box
2.2.2 Import deviceprofile
At this step, we need to import the device profile first, as shown in the figure.
First, we need to open the device profiles, click on the "+" in the upper right corner, select "import device profile",
and then select the file with the suffix "_device_defiles" that we have already downloaded. Drag it into the text box.
2.2.3 Import dashboard
Firstly, we need to open the dashboard module,
click on the "+" in the upper right corner, select "import dashboard",
then we shoud drag the downloaded _dashboard file into the text box.
3.Connecting devices to thingseye
Click the link below to connect the server to the platform:
https://wiki.thingseye.io/xwiki/bin/view/Main/How%20to%20connect%20my%20devices%20to%20ThingsEye%3
Note: The dashboard will display properly only if our device has the key values temperature and humidity.
4.Change the deviceproflie of device
When our import is complete, we need to replace the deviceprofile of the device we want to show with our newly imported deviceprofile.