Skip to main content

Slave setup

This illustrated guide covers full Kincony KC868-A6 Slave firmware: measurements, outputs, local tests, Master connections and profile export. DEMO has separate limitations and upgrade requirements.

Screenshots are example configurations. Choose addresses, sensor names and values for your installation. Disconnected and all-outputs-occupied states are explained below. C6 differences appear at the end; sensor-only C3 does not gain actuator Slave relay features.

1. Prepare the board and open the UI​

  1. Verify compatible full KC868-A6 Slave firmware is installed. If starting with DEMO, install App and FS on the actual KC868-A6 Slave, obtain that controller's Device ID and complete separate admission to full firmware. An ESP32-WROOM-32D ID cannot obtain full KC868-A6 Slave firmware. USB installation · DEMO → full.
  2. Disconnect power loads. Connect peripherals with power removed, using verified wiring.
  3. Power on, connect the computer to its network and open the current address. Follow your kit's initial access instructions for a new installation.
  4. Enter your username and current password, then sign in.

Slave web UI login

  1. Open Status. Check Wi-Fi, current IP, control state, MQTT and Modbus RTU.

Slave control, heartbeat, network and transport status

The screenshot uses Modbus for control and MQTT is disconnected. Resolve this if using MQTT; in RTU-only operation it does not by itself indicate system failure.

2. Set your own password​

  1. Find Administrator password in Settings.
  2. Enter current/new passwords and click Change password.
  3. Wait for confirmation and use the new password next time. Keep it in secure storage.

Changing the Slave administrator password

3. Configure Wi-Fi​

  1. Open Settings → Wi-Fi and click Load settings.
  2. Enter your SSID. To change the password, explicitly select that action and enter it; to keep it, choose Keep current. Blank input does not delete a saved password.
  3. Leave Static IPv4 disabled for DHCP. Otherwise enter agreed address, mask, gateway and DNS. OTA access by hostname requires working DNS.
  4. Save. As stated above the form, the new network applies on the next startup; saving does not mean immediate reconnection.
  5. At an appropriate time, restart normally, find the new address and reopen the UI. Verify the actual network on Status.

Slave Wi-Fi and static IPv4 settings

4. Add a sensor and verify its reading​

  1. Open Sensors → Add sensor.
  2. Enter name/description and select I2C for this example.
  3. Click Find devices, select the detected model and verify its address against the connected sensor. Use Identify by address if needed, checking its markings.
  4. Select the Reading parameter and correct units. BME280 temperature, humidity and pressure are configured as separate measurements.
  5. Set polling/freshness intervals and enable automatic polling. Use multiplier and offset only for justified calibration.
  6. Save. Applying configuration turns outputs OFF and ends local control; configure before enabling operational loads.

Adding a Slave sensor: I2C discovery, model and quantity

  1. Return to the list and refresh. Saved measurements should appear there.
  2. Click Read if needed. Check value, units, Quality, address and Age. The example shows three measurements from one BME280.

Slave BME280 temperature, humidity and pressure readings

A detected address is not a valid reading. Resolve errors and stale values before connecting measurements to automation. See measurement quality.

5. Add and test a control channel​

  1. Open Channels → Add channel.
  2. Enter a name and choose the supported output type. For KC868-A6, select its onboard relay and one of OUT1–OUT6. Check enable state and physical assignment.
  3. If all outputs are occupied, inspect existing channels: do not create duplicate bindings or select another board's GPIO merely to complete the form.
  4. Save. Changes can turn outputs OFF and end the local test.

Adding a Slave control channel and available outputs

  1. With hazardous loads disconnected, start the limited local-control session, issue one permitted command and inspect the result. Separately verify physical action.
  2. Click Finish and turn off and verify OFF. Ending the session, timeout and logout turn outputs OFF.

Slave channels and a limited local-control session

External commands do not control outputs during local testing. Afterward, external ON needs valid heartbeat and a new command.

6. Connect MQTT and export a profile​

Skip to the next section for Modbus-only operation.

  1. Open Settings → MQTT → Load settings.
  2. Enable MQTT and enter an available broker URI and required credentials. Explicitly choose what to do with the saved password.
  3. Save, wait for reconnection and check status. The device generates its base topic; use its own profile.

Slave MQTT configuration and connection diagnostics

MQTT is disconnected here with a broker error. Before importing, verify that Slave and Master connect to the same available broker.

  1. In MQTT profile for Master, click Load point list.
  2. Select enabled channels/measurements. This UI supports up to 16 points in total. Reload the list after changing configuration.
  3. Download MQTT profile v1. It describes selected objects, not a complete Slave backup.
  4. Import on Master under Network → MQTT → Remote Slave v1 devices, following the Master guide. Enable Master's heartbeat for actuator Slave; exporting does not enable it automatically.
  5. After ending the local test, check fresh readings, control-source readiness and a new command to one output.

The combined export/watchdog/OTA page is illustrated in section 9. A broker connection and ordinary messages do not replace control heartbeat.

7. Connect Modbus RTU and export its profile​

  1. Wire RS485 according to verified diagrams for KC868-A6 and the other device.
  2. Open Settings → Modbus RTU Slave → Load settings.
  3. Enable the service and select a unique Slave address, baud rate and format. Address 1, 9600 baud and 8N1 are examples only when matching Master.
  4. Set the Common Modbus / MQTT control timeout. This supervises heartbeat, not an ordinary request/response timeout.
  5. Save Modbus settings. This turns outputs OFF and ends local testing. Ready for communication describes RTU, not proof of heartbeat.
  6. In Modbus profile for Master, load points, select channels/measurements and download the profile.
  7. Match line settings on Master, import the file, enable the specialised KC868-A6 Slave v1 heartbeat and run a read test. See Master setup.
  8. After fresh heartbeat arrives, test a new output command and its result.

OLED, Modbus RTU Slave and Modbus profile export

Register reads do not replace heartbeat. If both authorised MQTT and Modbus control sources are lost, outputs turn OFF after timeout. Reconnection must not automatically replay the old ON command.

8. Configure an attached OLED​

Use the OLED SSD1306 card on the left of the preceding screenshot.

  1. Verify model, supply and wiring. The illustration uses SSD1306 128×64 at I2C 0x3C; other displays require separate compatibility checks.
  2. Load display settings, enable it and set brightness/blanking time. In this UI, zero seconds means always on.
  3. Save. Display changes end local control and turn outputs OFF; choose an appropriate time for the installation.
  4. Use Wake display if needed. Physically verify status and IP; an accepted command alone does not prove display operation.

A detailed hardware card will appear in OLED. The screen is not feedback from relay contacts.

9. Check watchdog and update address​

Slave MQTT profile export, software watchdog and update server

The left card is section 6's MQTT export. Download becomes available after loading and selecting permitted points.

  1. Load Software watchdog settings and inspect current state. Set intervals for your configuration; a software watchdog does not replace control heartbeat.
  2. If changing settings, save, wait and recheck control. MQTT disconnection alone does not prove a software hang.
  3. In Update server, click Read. The official URL is https://ota.esp32ota.top/api/v1.
  4. Correct and save it if needed, then read it again to confirm persistence.
  5. Check updates requests an available release. No offer can mean up-to-date firmware, missing admission or a paused release; it does not require resetting.
  6. Install according to the update guide, after preparing hardware. This configuration sequence does not itself require an update.

10. Verify operation with Master​

  1. Check saved measurements/channels/transport after an ordinary restart. Outputs must not turn ON simply because the network reappears.
  2. Wait for fresh readings and output readiness on Master; inspect Slave heartbeat.
  3. Issue one new permitted command, verify its result and turn the output OFF.
  4. Under safe conditions, stop all used control sources. If both transports are configured, losing just one does not test the common timeout.
  5. Verify outputs turn OFF after the configured interval. Restore communication, wait for readiness and test a new command.
  6. Keep wiring and settings outside the device. MQTT/Modbus exports contain selected points, not a complete backup.

For unknown command results, inspect state and diagnostics first. Software-applied output does not prove contact position. See troubleshooting.

C6 differences and scope​

C6 Slave uses another hardware profile, available GPIOs, external relay modules and an RS485 adapter. Verify supplies, logic levels, polarity and reserved pins separately. Do not copy the KC868-A6 onboard-relay form to C6. Current C6 hardware qualification remains incomplete; these screenshots do not replace it.

Sensor C3 publishes MQTT measurements, has none of this guide's actuator outputs and needs no control heartbeat from Master. See C6 Slave and sensor C3.

A complete successful walkthrough with its own screenshot series will be added later.

News and feedback in Telegram · Getting help.