The project offers distribution files for the ThingsBoard Gateway Management Extension v1.0, designed to streamline gateway configuration and connector management using a modular, component-based approach.
- Download the necessary files from this repository.
- In ThingsBoard, upload the
gateway-management-extension.js
file as a resource with the following details:- Type: JS Module
- Title: Gateway
- Resource File: Upload the downloaded
gateway-management-extension.js
file.
- After uploading, open the resource details and copy the resource ID.
- Upload or update the following files in the Widget Library:
- Gateway Configuration:
gateway_configuration.json
- Gateway Configuration for Single Device:
gateway_configuration__single_device_.json
- Gateway Connectors:
gateway_connectors.json
- Gateway Custom Statistics:
gateway_custom_statistics.json
- Gateway General Chart Statistics:
gateway_general_chart_statistics.json
- Gateway General Configuration:
gateway_general_configuration.json
- Gateway Logs:
gateway_logs.json
- Service RPC:
service_rpc.json
- Gateway Configuration:
- Upload or update the Gateways Dashboard using the
gateways_dashboard.json
dashboard file.
- Replace
"${RESOURCE:gateway-management-extension.js}"
with the actual resource ID in your widget JSON files:
{
"url": {
"entityType": "TB_RESOURCE",
"id": "${RESOURCE:gateway-management-extension.js}",
"isModule": true
}
}
- Update the Gateways Dashboard (
gateways_dashboard.json
- dashboard file) to replace${RESOURCE:gateway-management-extension.js}
instances with the actual resource ID in the"customResources"
.