Get the info of the deye dehumidifier
运行环境 Python3+ (德业MQTT协议分析可参见 https://kejinlu.com/2022/10/deye-homeassistant/ )
python deyeinfo.py
请输入德业用户名密码
用户名:1555123456
密码:xxxxxxx
------------------------------
MQTT INFO:
mqtthost(broker): xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx.mqtt.iot.gz.baidubce.com
mqttport: 1883
sslport: 1884
username: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
password: xxxxXXXXxxxxxxxx
clientid: app_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
endpoint: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
------------------------------
设备信息列表:
--------------
设备名:地下室
设备id:xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
产品型号:DYD-D50B3
产品id:xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
是否在线:True
MAC地址:XXXXXXXXXXXX
state_topic: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/status/hex
command_topic: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/command/hex
Process finished with exit code 0