1、在tb_gateway.yaml开启modbus连接器
2、配置modbus.json
2.1、配置文件示例
{ "master": { "slaves": [ { "host": "127.0.0.1", "port": 5021, "type": "tcp", "method": "socket", "timeout": 35, "byteOrder": "LITTLE", "wordOrder": "LITTLE", "retries": true, "retryOnEmpty": true, "retryOnInvalid": true, "pollPeriod": 5000, "unitId": 1, "deviceName": "Temperature_Sensor_1", "deviceType": "sensors", "sendDataOnlyOnChange": false, "connectAttemptTimeMs": 5000, "connect