English
English
简体中文
Register
Log In
English
English
简体中文
Register
Log In
Language
English
English
简体中文
Register
Log In

Local linkage does not work

Last Updated on2024-01-18 08:11:07
Search for the keyword scene in the log, find the logs before and after the linkage is triggered, and follow the troubleshooting steps below:
  • 1. Check if the DP has detected the linkage. For example, DP 25 reportscond stat: 2, indicating the conditions for executing the linkage are met.
    [09-17 18:17:53 TUYA D][scene_linkage_rule_exe.c:1402] cond->trig_tp: 1.
    [09-17 18:17:53 TUYA D][scene_linkage_rule_exe.c:1411] dp:25 set new bool-val:1
    [09-17 18:17:53 TUYA D][scene_linkage_rule_exe.c:2759] == 1 1`
    [09-17 18:17:53 TUYA D][scene_linkage_rule_exe.c:2792] cond:1 strategy:1 curr_stat:1
    [09-17 18:17:53 TUYA D][scene_linkage_rule_exe.c:2805] calc cond.and stat:2
    [09-17 18:17:53 TUYA D][scene_linkage_rule_exe.c:1430] trig_tp : 1 [dp_exp is 1] , is_cond_only_judge : 0
    [09-17 18:17:53 TUYA D][scene_linkage_rule_exe.c:1597] cond stat: 2.
    2. Result of the linkage condition detection:true
    [09-17 18:17:53 TUYA D][condition.c:1660] conditions check begin
    [09-17 18:17:53 TUYA D][condition.c:1711] time_cond is disabled. skip
    [09-17 18:17:53 TUYA D][condition.c:1886] conditions check finish. result:true
  • 3. action<0> indicates the first action in the linkage. Check if the action is sent to the sub-device. If so, it means the gateway has executed the scene.
  • [09-17 18:17:53 TUYA D][scene_linkage_rule_exe.c:3522] in work-queue. execute scene:oxyOkOAYPolhVwhi begin
    [09-17 18:17:53 TUYA D][scene_linkage_rule_exe.c:3543] rule oxyOkOAYPolhVwhi exe st:0
    [09-17 18:17:53 TUYA D][scene_linkage_rule_exe.c:2535] action<0> is rule:EeOpIHKwYTSCZRPQ . begin to execute scene
    [09-17 18:17:53 TUYA D][scene_linkage_rule_exe.c:2475] action<0> is dp cmd:{"cid":"e0798dfffe6ed1f7","dps":{"26":true}}

    Click for services and help

    Help Center