feat: 新功能开发,监测历史记录。微信和物联网平台,模块搭建。
This commit is contained in:
36
intc-modules/intc-iot/src/main/resources/application.yml
Normal file
36
intc-modules/intc-iot/src/main/resources/application.yml
Normal file
@@ -0,0 +1,36 @@
|
||||
# 阿里云生活物联网平台(飞燕平台)配置
|
||||
aliyun:
|
||||
living-iot:
|
||||
# 阿里云 AccessKey ID(必填)
|
||||
access-key-id: LTAI5txxxxxxxxxxxxxxxxxx
|
||||
# 阿里云 AccessKey Secret(必填)
|
||||
access-key-secret: your_access_key_secret_here_32_chars
|
||||
# 地域节点(必填,如:cn-shanghai)
|
||||
region-id: cn-shanghai
|
||||
# 飞燕平台项目ID(Project ID,必填)
|
||||
project-id: a1xxxxxx
|
||||
# App Key(必填)
|
||||
app-key: your_app_key_here
|
||||
# App Secret(必填)
|
||||
app-secret: your_app_secret_here_32_characters
|
||||
# 品类Key(选填)
|
||||
category-key:
|
||||
|
||||
# MQTT 配置(可选)
|
||||
mqtt:
|
||||
# MQTT Broker 地址(格式:ssl://实例ID.iot-as-mqtt.cn-shanghai.aliyuncs.com:1883)
|
||||
broker-url: ssl://a1xxxxxx.iot-as-mqtt.cn-shanghai.aliyuncs.com:1883
|
||||
# 客户端ID(格式:{ClientID}|securemode=2,signmethod=hmacsha1|)
|
||||
client-id: your_client_id|securemode=2,signmethod=hmacsha1|
|
||||
# 用户名(设备名称&产品Key)
|
||||
username: DeviceName&ProductKey
|
||||
# 密码(通过MQTT密码工具生成)
|
||||
password: your_mqtt_password_here
|
||||
# 连接超时时间(秒)
|
||||
connection-timeout: 30
|
||||
# 保活时间(秒)
|
||||
keep-alive-interval: 60
|
||||
# 自动重连
|
||||
auto-reconnect: true
|
||||
# 清除会话
|
||||
clean-session: true
|
||||
Reference in New Issue
Block a user