1.使用MQTTBox通过网关请求ThingsBoard自动创建设备,详见压缩包MQTTBox自动接入设备步骤.docx。 2.使用python脚本自动创建设备,详见压缩包mqtt_gateway.py。