Data Source
Multi-dimensional aggregation and analysis of data to support the presentation of the dashboard, including
add
,edit
,undo
,disable
,enable
,details
of platform data
Data source list
Click the Data Source
menu in the Develop Manage
navigation project on the left column. The data source is divided into:
- Device data Source
- Board data Source
- System data Source
- External data Source
Custom Data Sources
Device data source:The data source used by the device page, for the aggregation of single device data, needs to specify the device when designing page preview, and automatically brings in the device when selecting the device to view after published.
Board data source:The data source used by the board page, for the aggregation of organization data
Add
You can click the Add button to slide out the Form
on the right side
- Select template: Copy other device data sources
- Name:The name of the device data source is required and must be unique
- Model:Device model is required and single choice
- Time dimension: Aggregates data from the time dimension. Not required. If not filled, the time is unlimited (data is retained for up to 90 days)
- Time period:Select time range
- Collection period:Period within the selected time range
- Collection start:The start time of data collection within the time period
- Collection interval:The collection interval of The time period for collecting data
- Parameter:can add multiple flags
- Identity: Device operating parameters
- Aggregation function:sum, average, count, max, min, initial value, final value
- Sum:Returns the cumulative value by time dimension
- Count:Returns the number of reports by time dimension
- Max:Returns the maximum value by time dimension
- Min:Returns the minimum value by time dimension
- Initial value:Returns the first value reported by time dimension
- Final value:Returns the last value reported by time dimension
- Description:Not required
For example:
The maximum temperature and minimum humidity of the device on the first floor of the factory within 10 hours starting from 8:00 every day for the past 30 days
Data source operations
Edit
Click the Edit
button in More
to Edit the device Name Model Parameter Description
, the Model Parameter cannot be edit after publishing (refer to Add
)
Details
Click the button Details
to view the data source details
Enable/Disable
Click the Enable/Disable
button in the More
to enable/disable the data source.
Publish/Undo
Click the Publish/Undo
button in More
to enable the data source to be publish/undo.Data can only be used after it is published
System data sources
Click System Data Source
to enter the system data source list. System data sources are some built-in data sources. Users are prohibited from add/edit/delete
External data sources
Get data through the API provided by the third-party system
Note:The security of the three-party interaction is guaranteed by a third party, and the authentication credentials are carried in the URL
Click External Data Source
to enter the external data list. External data sources are mainly used to access third-party data.
Add external data
You can click the Add button to fill in the corresponding content to complete the external data registration
⚠️Note:The security of the three-party interaction is guaranteed by a third party, and the authentication certificate is carried in the URL
- Name: The name of the device data source is required and must be unique
- Request information: The interface URL provided by the third party is required
- Request parameters: You can add multiple interface parameters
Edit external data
Click the edit
button in the More
to edit the device Name Request Information Request Parameter Description
. The Request Information Request Parameter cannot be edit after published.
Enable/Disable
Click the Enable/Disable
button in More
to enable/disable the data source.
Publish/Undo
Click the button Publish/Undo
in More
. Data sources can be publish/undo. Data that is not used by published data app can be undo. Only published data can be used.