|
发表于 2020-6-14 13:39:28
|
显示全部楼层
本帖最后由 nigosim 于 2020-6-14 13:45 编辑
通过抓包获得username password,
"device_id" : "6C8A8C704EXXXXXXXXXXXXXXXA54DBBA",
"model" : "Snow",
"name" : "卧室的空气检测仪",
"widget_status" : 1
}
],
"mqtt" : {
"password" : "16VB36gTDO0qXXXXXXXXXXXXXXXXRQ\/08vQ4gAEPBk=",
"account" : "AKIDhDVaT9XXXXXXXXXXXXXXXXXVnyveOPQB",
"domain" : "mqtt.cn.cleargrass.com",
"port" : "1883"
}
},
"code" : 0
然后设置mqtt服务器,
mqtt:
broker: 154.8.191.174
port: 1883
username: username
password: password
client_id: 2C8XXXX-XXXX-XXXX-2C13-836B16200CD2(抓包获取的phoneid)
这样子会提示连接mqtt服务器被拒绝,说没有被授权,是我抓包的用户名密码不对,还是这个方法已经失效了呢,楼主大大!
|
|