KC868-A8 Relay Control

Control KC868-A8 relay module via MQTT for coin switch simulation

Offline

Global Settings

Relay Control 1

Primary relay

Secondary relay

Delay between CH1 and CH2

How It Works

  • 1Frontend sends command to Node.js backend via HTTP
  • 2Backend publishes MQTT message to "relay/cmd" topic
  • 3ESP32 (KC868-A8) receives command via MQTT subscription
  • 4ESP32 controls relay via PCF8574 I2C expander

KC868-A8 ESP32 Relay Module - MQTT Control Interface