Files
fishery-back/intc-modules/intc-iot/src/main/resources/application.yml

37 lines
1.3 KiB
YAML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 阿里云生活物联网平台(飞燕平台)配置
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
# 飞燕平台项目IDProject 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