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 fuel level monitoring, in this template you can see the location of the tank, fuel capacity, temperature etc. and supports alarm settings. It has two levels of dashboards as shown below.
- First Level - Overview for all tanks:This dashboard displays information about all tanks, including location, temperature, fuel level and alarm messages.
- second Level - Sensor Level: This dashboard displays specific information about individual tanks.
2.Import Solution Template
2.1 Get the json files
where to get:https://github.com/ThingsEye-io/te-platform/tree/main/Solution%20Template/Water%20metering
what files to get:Download the three json files with the suffixes dashboard, deviceprofile, and rulechain.
2.2 Import rulechain/deviceprofile/dashboard
- You will need to download and import the appropriate files
- In this solution, there are 3 rulechains, all of which need to be downloaded and imported
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
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.
5.Check to see if the device is displaying properly on the dashboard
- Note: The dashboard will display properly only if our device has the key values battery, fuelLevel, fuelHeight, temperature .