Delay close (Switch Inching)

App development related product technical discussions, including OEM App, App SDK, device control interface development, mini program development and other topics.


Post Reply
anhv
Posts: 1

Dear all,

I am currently working on integrating the switch inching feature using your API, but I am facing some issues with sending the correct control command. I would appreciate your assistance in resolving this matter.

Details:

Device Category: [Please mention the category, e.g., kg (smart switch)]
DP Code: switch_inching
Issue: I am trying to set up the inching feature with a specific duration (e.g., 30 seconds) but it does not seem to be working as expected. The command I sent doesn't result in the desired behavior.
Command Example:

I am using the following payload to control the switch inching:

json
Copy code
{
"properties": {
"switch_inching": "01001E"
}
}
Explanation:
"01": Channel ID 1, with inching enabled.
"001E": Inching duration set to 30 seconds (in hexadecimal).
However, after sending this command, the switch does not turn off automatically after the set duration.

Questions:

Is the command format I am using correct for enabling the inching function with a specific duration on Channel 1?
Is there any additional configuration or parameter that I need to include in the command?
Could you provide a correct example of a command to set the inching duration to 30 seconds for Channel 1?
Is there a specific way to verify if the inching command was successfully executed?
I would be grateful for your guidance on the correct command format and any additional steps required.

Thank you for your support.

Best regards,

Post Reply