【已处理】【中控】中控sdk控制倒计时失败

网关设备, 语音中控设备等
Post Reply
yez
Posts: 18

空调设备,app端倒计时范围0-24h
app端控制中控上报正常
[11-28 17:15:41:827 TUYA D][0x7f43d8810700][tuya_ctrl_frame.c:1156] recv mq id:vdevo172628304190910, type:1, data:{"devId":"vdevo172628304190910","dps":{"20":"24h"},"gwId":"vdevo172628304190910"}
[11-28 17:15:41:827 TUYA W][0x7f43d8810700][tuya_ctrl_base.c:32] not find enum: 24h
[11-28 17:15:41:827 TUYA N][0x7f43d8810700][tuya_ctrl_frame.c:255] code: countdown_set enum: 24h not find
[11-28 17:15:41:827 TUYA D][0x7f43d8810700][tuya_ctrl_frame.c:54] dev:vdevo172628304190910 std dp recv event, cnt: 1, time:1732785341, action:0
[11-28 17:15:41:827 TUYA D][0x7f43d8810700][tuya_home_ctrl_dev.c:1790] __dp_event_cb
[11-28 17:15:41:827 TUYA D][0x7f43d8810700][tuya_home_ctrl_dev.c:1400] UPDATE std_code countdown_set, type 3: value cancel -> 24h.
[11-28 17:15:41:827 TUYA D][0x7f43cbff0700][thread_pool_temp.c:230] run temp 0x7f43dc3aefc0 in thread idx 0 BEGIN
[11-28 17:15:41:827 TUYA D][0x7f43cbff0700][thread_pool_temp.c:242] run temp 0x7f43dc3aefc0 in thread idx 0 END use (0)s
[11-28 17:15:41:827 TUYA N][0x7f43cbff0700][gw_uni_msg_queue.c:332] last_cb:0x7f43dc2c5b10
[11-28 17:15:41:827 TUYA D][0x7f43cbff0700][thread_pool_temp.c:155] put thread 0x7fffe4e44ba0
[11-28 17:15:41:827 TUYA D][0x7f43cbff0700][thread_pool_temp.c:163] temp thread total:5 used:0
[DBG]2024-11-28 17:15:43.504 set_dps device_mgr.cc:193 m_sub[port].dps_desire.dump().c_str()={"countdown_set":24}
中控端控制超过6小时报错
[DBG]2024-11-28 17:11:27.056 plugin_packet_val plugins.c:384 enum 24 24h

[11-28 17:11:25:380 TUYA D][0x7f43da850700][tuya_home_ctrl_dev.c:2829] __send_dp_value CALLED: dev_id vdevo172628304190910, dp_code countdown_set.
[11-28 17:11:25:380 TUYA E][0x7f43da850700][tuya_home_ctrl_common_send.c:112] std_code:countdown_set, type:3, do not support enum_str:24h
[11-28 17:11:25:380 TUYA E][0x7f43da850700][tuya_home_ctrl_common_send.c:113] supported prop_enum.cnt:7 value:cancel
[11-28 17:11:25:380 TUYA E][0x7f43da850700][tuya_home_ctrl_common_send.c:116] [0] : value:cancel
[11-28 17:11:25:380 TUYA E][0x7f43da850700][tuya_home_ctrl_common_send.c:116] [1] : value:1h
[11-28 17:11:25:380 TUYA E][0x7f43da850700][tuya_home_ctrl_common_send.c:116] [2] : value:2h
[11-28 17:11:25:380 TUYA E][0x7f43da850700][tuya_home_ctrl_common_send.c:116] [3] : value:3h
[11-28 17:11:25:380 TUYA E][0x7f43da850700][tuya_home_ctrl_common_send.c:116] [4] : value:4h
[11-28 17:11:25:380 TUYA E][0x7f43da850700][tuya_home_ctrl_common_send.c:116] [5] : value:5h
[11-28 17:11:25:380 TUYA E][0x7f43da850700][tuya_home_ctrl_common_send.c:116] [6] : value:6h
[11-28 17:11:25:380 TUYA E][0x7f43da850700][tuya_home_ctrl_dev.c:2593] call tuya_home_ctrl_dev_dp_send_common(std_dp, dp_value, std_data) return -2
[11-28 17:11:25:380 TUYA E][0x7f43da850700][tuya_home_ctrl_dev.c:2641] dev_id :vdevo172628304190910 tuya_home_ctrl_fill_std_dp err: -2
[11-28 17:11:25:380 TUYA D][0x7f43da850700][tuya_home_ctrl_dev.c:2831] __send_dp_value FINISHED: rt -2, dev_id vdevo172628304190910, dp_code countdown_set.

luoji
Posts: 109

Re: 【求助】【中控】中控sdk控制倒计时失败

从后台看这个空调设备pid t1tfh8ha,倒计时指令集范围是{"range":["cancel","1h","2h","3h","4h","5h","6h"]}。

luoji
Posts: 109

Re: 【已处理】【中控】中控sdk控制倒计时失败

需要找下对接的商务,提一个pid t1tfh8ha空调的指令集标准化流程

Post Reply