本帖最后由 zgp0126 于 2022-6-15 10:15 编辑
node-red空调控制on/off可以其他的模式一直报错,data里填写auto也是不行。这是debug调试结果。求大师指点!!!
{
"_msgid":"41d243db7cc0aa6c",
"payload":"cool",
"topic":"",
"data":{
"entity_id":"climate.wo_shi_kong_diao",
"state":"cool",
"attributes":{
"hvac_modes":[
"off",
"fan_only",
"cool",
"heat",
"auto",
"dry"
],
"min_temp":7,
"max_temp":35,
"fan_modes":[
"关",
"一档风",
"二档风",
"三档风",
"四档风",
"五档风",
"六档风",
"七档风",
"自动风"
],
"swing_modes":["关","扫风"],
"current_temperature":27.5,
"temperature":26,
"fan_mode":"三档风",
"swing_mode":"关",
"aux_heat":"off",
"friendly_name":"卧室空调",
"supported_features":105
},
"last_changed":"2022-06-15T01:41:32.285631+00:00",
"last_updated":"2022-06-15T01:41:32.285631+00:00",
"context":{
"id":"fa19ecb8b1bd171a186dbc14a3bc1cbb",
"parent_id":null,
"user_id":null
},
"timeSinceChangedMs":16879,
"original_state":"cool"
}
}
|