- 积分
- 348
- 金钱
- 321
- 威望
- 0
- 贡献
- 0
- HASS币
- 0
中级会员
- 积分
- 348
- 金钱
- 321
- HASS币
- 0
|
楼主 |
发表于 2022-7-17 22:19:30
|
显示全部楼层
本帖最后由 omegaojian 于 2022-7-17 22:24 编辑
20220717晚更新2:帖几个包
Request
开机
"params": {
"deviceId": "*************",
"tOnH": 127,
"saSet": 255,
"token": "******************************",
"tOffH": 127,
"HeatM": 255,
"tOnSta": 255,
"runM": 255,
"oaFilCl": 255,
"autoSen": 255,
"airVo": 255,
"raFilCl": 255,
"usrId": "**************",
"preM": 255,
"tOffMin": 127,
"raFilEx": 255,
"holM": 255,
"saFilCl": 255,
"tOnMin": 127,
"runSta": 1,
"oaFilEx": 255,
"saFilEx": 255,
"tOffSta": 255
}
关机
params": {
"deviceId": "**************",
"tOnH": 127,
"saSet": 255,
"token": "*****************",
"tOffH": 127,
"HeatM": 255,
"tOnSta": 255,
"runM": 255,
"oaFilCl": 255,
"autoSen": 255,
"airVo": 255,
"raFilCl": 255,
"usrId": "******",
"preM": 255,
"tOffMin": 127,
"raFilEx": 255,
"holM": 255,
"saFilCl": 255,
"tOnMin": 127,
"runSta": 0,
"oaFilEx": 255,
"saFilEx": 255,
"tOffSta": 255
}
1.3模式:自动ECO
"params": {
"deviceId": "************",
"tOnH": 127,
"saSet": 255,
"token": "*************************",
"tOffH": 127,
"HeatM": 255,
"tOnSta": 255,
"runM": 4,
"oaFilCl": 255,
"autoSen": 255,
"airVo": 255,
"raFilCl": 255,
"usrId": "*************",
"preM": 255,
"tOffMin": 127,
"raFilEx": 255,
"holM": 255,
"saFilCl": 255,
"tOnMin": 127,
"runSta": 255,
"oaFilEx": 255,
"saFilEx": 255,
"tOffSta": 255
}
模式:睡眠
"params": {
"deviceId": "****************",
"tOnH": 127,
"saSet": 255,
"token": "***********************************",
"tOffH": 127,
"HeatM": 255,
"tOnSta": 255,
"runM": 3,
"oaFilCl": 255,
"autoSen": 255,
"airVo": 255,
"raFilCl": 255,
"usrId": "**************",
"preM": 255,
"tOffMin": 127,
"raFilEx": 255,
"holM": 255,
"saFilCl": 255,
"tOnMin": 127,
"runSta": 255,
"oaFilEx": 255,
"saFilEx": 255,
"tOffSta": 255
}
模式:热交换
"params": {
"deviceId": "******************",
"tOnH": 127,
"saSet": 255,
"token": "*******************",
"tOffH": 127,
"HeatM": 255,
"tOnSta": 255,
"runM": 0,
"oaFilCl": 255,
"autoSen": 255,
"airVo": 255,
"raFilCl": 255,
"usrId": "******************",
"preM": 255,
"tOffMin": 127,
"raFilEx": 255,
"holM": 255,
"saFilCl": 255,
"tOnMin": 127,
"runSta": 255,
"oaFilEx": 255,
"saFilEx": 255,
"tOffSta": 255
}
模式:内循环
"params": {
"deviceId": "*****************",
"tOnH": 127,
"saSet": 255,
"token": "*******************************************",
"tOffH": 127,
"HeatM": 255,
"tOnSta": 255,
"runM": 2,
"oaFilCl": 255,
"autoSen": 255,
"airVo": 255,
"raFilCl": 255,
"usrId": "****************",
"preM": 255,
"tOffMin": 127,
"raFilEx": 255,
"holM": 255,
"saFilCl": 255,
"tOnMin": 127,
"runSta": 255,
"oaFilEx": 255,
"saFilEx": 255,
"tOffSta": 255
}
风量:强
"params": {
"deviceId": "**************",
"tOnH": 127,
"saSet": 255,
"token": "*******************************",
"tOffH": 127,
"HeatM": 255,
"tOnSta": 255,
"runM": 255,
"oaFilCl": 255,
"autoSen": 255,
"airVo": 3,
"raFilCl": 255,
"usrId": "**************",
"preM": 255,
"tOffMin": 127,
"raFilEx": 255,
"holM": 255,
"saFilCl": 255,
"tOnMin": 127,
"runSta": 255,
"oaFilEx": 255,
"saFilEx": 255,
"tOffSta": 255
}
风量:中
"params": {
"deviceId": "**************",
"tOnH": 127,
"saSet": 255,
"token": "**********************",
"tOffH": 127,
"HeatM": 255,
"tOnSta": 255,
"runM": 255,
"oaFilCl": 255,
"autoSen": 255,
"airVo": 2,
"raFilCl": 255,
"usrId": "************",
"preM": 255,
"tOffMin": 127,
"raFilEx": 255,
"holM": 255,
"saFilCl": 255,
"tOnMin": 127,
"runSta": 255,
"oaFilEx": 255,
"saFilEx": 255,
"tOffSta": 255
}
风量:弱
"params": {
"deviceId": "**********",
"tOnH": 127,
"saSet": 255,
"token": "****************",
"tOffH": 127,
"HeatM": 255,
"tOnSta": 255,
"runM": 255,
"oaFilCl": 255,
"autoSen": 255,
"airVo": 1,
"raFilCl": 255,
"usrId": "*****",
"preM": 255,
"tOffMin": 127,
"raFilEx": 255,
"holM": 255,
"saFilCl": 255,
"tOnMin": 127,
"runSta": 255,
"oaFilEx": 255,
"saFilEx": 255,
"tOffSta": 255
}
APP每2秒钟请求一次状态,
Request:
{
"id": 4073,
"params": {
"token": "**************",
"deviceId": "*************",
"usrId": "***********"
}
}
Response:
{
"id": 4073,
"results": {
"runSta": 1,
"runM": 2,
"airVo": 1,
"preM": 0,
"holM": 0,
"holHL": 127,
"holMinL": 127,
"autoSen": 2,
"coldF": 0,
"raPMC": 5,
"raPMM": 9,
"saFilClTL": 719,
"oaFilClTL": 65535,
"raFilClTL": 65535,
"saFilExTL": 1439,
"oaFilExTL": 65535,
"raFilExTL": 4320,
"saFilCl": 0,
"oaFilCl": 255,
"raFilCl": 255,
"saFilEx": 1,
"oaFilEx": 255,
"raFilEx": 0,
"alSta": 0,
"hVer": 0,
"sVer": 0,
"offline": 0,
"serverTime": 1658067750,
"oaPMC": 6,
"oaHumC": 58,
"oaTeC": 27,
"clockDisplayFlag": 0,
"tSta1": 0,
"tSet1": 1,
"tH1": 1,
"tMin1": 24,
"tWeek1": 254,
"tSta2": 0,
"tSet2": 0,
"tH2": 0,
"tMin2": 0,
"tWeek2": 254,
"tSta3": 0,
"tSet3": 0,
"tH3": 0,
"tMin3": 0,
"tWeek3": 254,
"tSta4": 0,
"tSet4": 0,
"tH4": 0,
"tMin4": 0,
"tWeek4": 254,
"tSta5": 0,
"tSet5": 0,
"tH5": 0,
"tMin5": 0,
"tWeek5": 254,
"tSta6": 0,
"tSet6": 0,
"tH6": 0,
"tMin6": 0,
"tWeek6": 254,
"preSet": 3
}
}
|
|