mirror of
https://github.com/thingsboard/thingsboard-gateway
synced 2025-10-26 22:31:42 +08:00
111 lines
2.1 KiB
YAML
111 lines
2.1 KiB
YAML
thingsboard:
|
|
host: thingsboard.cloud
|
|
port: 1883
|
|
remoteShell: false
|
|
remoteConfiguration: false
|
|
statsSendPeriodInSeconds: 3600
|
|
minPackSendDelayMS: 0
|
|
checkConnectorsConfigurationInSeconds: 60
|
|
handleDeviceRenaming: true
|
|
security:
|
|
accessToken: PUT_YOUR_GW_ACCESS_TOKEN_HERE
|
|
qos: 1
|
|
storage:
|
|
type: memory
|
|
read_records_count: 100
|
|
max_records_count: 100000
|
|
# type: file
|
|
# data_folder_path: ./data/
|
|
# max_file_count: 10
|
|
# max_read_records_count: 10
|
|
# max_records_per_file: 10000
|
|
# type: sqlite
|
|
# data_file_path: ./data/data.db
|
|
# messages_ttl_check_in_hours: 1
|
|
# messages_ttl_in_days: 7
|
|
grpc:
|
|
enabled: false
|
|
serverPort: 9595
|
|
keepaliveTimeMs: 10000
|
|
keepaliveTimeoutMs: 5000
|
|
keepalivePermitWithoutCalls: true
|
|
maxPingsWithoutData: 0
|
|
minTimeBetweenPingsMs: 10000
|
|
minPingIntervalWithoutDataMs: 5000
|
|
connectors:
|
|
-
|
|
name: MQTT Broker Connector
|
|
type: mqtt
|
|
configuration: mqtt.json
|
|
|
|
# -
|
|
# name: Modbus Connector
|
|
# type: modbus
|
|
# configuration: modbus.json
|
|
#
|
|
# -
|
|
# name: Modbus Connector
|
|
# type: modbus
|
|
# configuration: modbus_serial.json
|
|
#
|
|
# -
|
|
# name: OPC-UA Connector
|
|
# type: opcua
|
|
# configuration: opcua.json
|
|
#
|
|
# -
|
|
# name: BLE Connector
|
|
# type: ble
|
|
# configuration: ble.json
|
|
#
|
|
# -
|
|
# name: REQUEST Connector
|
|
# type: request
|
|
# configuration: request.json
|
|
#
|
|
# -
|
|
# name: CAN Connector
|
|
# type: can
|
|
# configuration: can.json
|
|
#
|
|
# -
|
|
# name: BACnet Connector
|
|
# type: bacnet
|
|
# configuration: bacnet.json
|
|
#
|
|
# -
|
|
# name: ODBC Connector
|
|
# type: odbc
|
|
# configuration: odbc.json
|
|
#
|
|
# -
|
|
# name: REST Connector
|
|
# type: rest
|
|
# configuration: rest.json
|
|
#
|
|
# -
|
|
# name: SNMP Connector
|
|
# type: snmp
|
|
# configuration: snmp.json
|
|
#
|
|
# -
|
|
# name: FTP Connector
|
|
# type: ftp
|
|
# configuration: ftp.json
|
|
#
|
|
#
|
|
# ========= Customization ==========
|
|
#
|
|
#
|
|
# -
|
|
# name: Custom Serial Connector
|
|
# type: serial
|
|
# configuration: custom_serial.json
|
|
# class: CustomSerialConnector
|
|
#
|
|
# -
|
|
# name: GRPC Connector 1
|
|
# key: auto
|
|
# type: grpc
|
|
# configuration: grpc_connector_1.json
|