ThingsBoard IoT Gateway 配置

ディレクトリ構造

デーモンのインストールについては、次のデフォルトのディレクトリ構造を参照してください。

/etc/thingsboard-gateway/config                   - 配置目录
    tb_gateway.yaml                               - Gateway的主配置文件.
    logs.conf                                     - 日志配置文件
    modbus.json                                   - Modbus 连接器配置.
    mqtt.json                                     - MQTT 连接器配置.
    ble.json                                      - BLE 连接器配置.
    opcua.json                                    - OPC-UA 连接器配置.
    request.json                                  - Request 连接器配置.
    can.json                                      - CAN 连接器配置.
    ...

/var/lib/thingsboard_gateway/extensions           - 自定义连接器,转换器目录
    modbus                                        - Modbus 自定义连接器,转换器目录.
    mqtt                                          - MQTT 自定义连接器,转换器目录.
        __init__.py                               - 默认Python包文件,需要正确导入
        custom_uplink_mqtt_converter.py   

おすすめ

転載: blog.csdn.net/github_35631540/article/details/131422553