Smart Home Automation Forum
Does KCS v3 firmware for KC868-H16S3 support a 'delay' parameter in MQTT SET commands - Printable Version

+- Smart Home Automation Forum (https://www.kincony.com/forum)
+-- Forum: Technical Support (https://www.kincony.com/forum/forumdisplay.php?fid=60)
+--- Forum: B16 (https://www.kincony.com/forum/forumdisplay.php?fid=70)
+--- Thread: Does KCS v3 firmware for KC868-H16S3 support a 'delay' parameter in MQTT SET commands (/showthread.php?tid=8167)



Does KCS v3 firmware for KC868-H16S3 support a 'delay' parameter in MQTT SET commands - itzek - 06-09-2025

Hello admin
I am using a B16 smart relay controller with your KCS v3 firmware. I am integrating it with Home Assistant to control a Somfy WT roller shutter.
For this application, I need to send an MQTT command to activate a relay for a specific duration (e.g., "turn on output1 for 3 seconds, then turn it off automatically").
I've reviewed the KCS v3 MQTT protocol document (specifically, section 1 about setting ON/OFF of a digital output channel). It shows how to turn relays ON or OFF:
Code:
{"outputX":{"value":true}}

Code:
{"outputX":{"value":false}}
My question is: Does KCS v3 firmware support an additional parameter like
Code:
{"delay": milliseconds}
within the MQTT SET command, similar to how some other firmwares allow?
For example, would a command like this work to turn on
Code:
output1
for 3 seconds and then automatically turn it off?
Code:
{"output1":{"value":true}},{"delay":3000}
If not, what is the recommended method for implementing time-based relay control (e.g., activating a relay for a specific duration) when integrating with Home Assistant using KCS v3 firmware?
Thank you for your assistance.


RE: Does KCS v3 firmware for KC868-H16S3 support a 'delay' parameter in MQTT SET commands - admin - 06-09-2025

KCS mqtt protocol not support delay time. you can set the auto off time in KCS webpage -- OUTPUT, set the OUTPUT work as a "delay" mode. so that every time, when relay is ON, will auto off after x seconds.