add mqtt and device test

This commit is contained in:
HycJack
2026-04-26 20:07:41 +08:00
parent 7c12ca59dd
commit 389f6c4040
22 changed files with 742 additions and 32 deletions

View File

@@ -36,10 +36,10 @@ class Settings(BaseSettings):
db_password: str
db_name: str = "talkingq"
db_echo: bool = False # 是否打印SQL语句
# TalkingQ设备MQTT命令服务配置
talkingq_mqtt_broker: str = "broker.emqx.io"
talkingq_mqtt_port: int = 1883
talkingq_mqtt_port: int = 1884
talkingq_mqtt_username: str = ""
talkingq_mqtt_password: str = ""
talkingq_mqtt_device_prefix: str = "TalkingQ"