Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Does KCS v3 firmware for KC868-H16S3 support a 'delay' parameter in MQTT SET commands
#1
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.
Reply
#2
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.
Reply


Forum Jump:


Users browsing this thread:
1 Guest(s)