Master setup
This guide covers Kincony KC868-A6 Master: from login to a local regulator, a timer and a remote Slave. Universal ESP32-S3 Master remains planned.
Screenshots illustrate the interface. Object names, addresses, times and setpoints are examples from particular configurations. Some show errors or unavailable devices, explained in their captions. Check the installed firmware version separately. The Master login screenshot is in Russian; the remaining illustrations use the available English interface screenshots.
If Master is already installed and networked, start by checking status. Initial USB installation is covered separately.
1. Prepare the board and sign in
- Use KC868-A6 with full Master firmware. If starting with DEMO, install Master DEMO with App and FS on the actual KC868-A6 Master. Full firmware must be installed on that same controller using its Device ID. An ESP32-WROOM-32D dev-board ID cannot obtain full KC868-A6 Master firmware.
- Disconnect power loads during configuration. Connect sensors/peripherals with power removed and follow the verified board wiring.
- Connect the computer to the device network and open its current address. For a new board, follow the installed kit's initial access procedure.
- Enter your username/password and click Sign in. The screenshot's hint is specific to that form and does not establish your board's current password.

- Open Status and click Refresh status if data has not refreshed.
- Check Wi-Fi, address, version, time and resources. Investigate MQTT/Modbus only for connections you use; Wi-Fi alone does not establish remote readiness.

MQTT errors in this screenshot illustrate diagnostics, not a fully healthy distributed installation.
2. Configure Wi-Fi
- Open Network → Wi-Fi.
- Enter the network SSID and a new password only if changing it.
- Use automatic addressing for a normal network. Enable static IP only when you know an available address, subnet mask and gateway.
- Click Save, wait for the result and apply networking as the UI instructs. Changing networks can make the current page unavailable.
- Find the board's current address in the router or compatible OLED and reopen it. Confirm the actual connection on Status.

3. Check system settings and time
- Open System, check the NTP server and timezone, and save. In Security, use Change password if still using the initial password: enter current and new values, save, and use your own password on the next login.
- Change timeouts and software watchdog separately, understanding each setting. Normal configuration does not require a factory reset.
- The official OTA URL is
https://ota.esp32ota.top/api/v1. The screenshot's local address belongs to an older setup and is not the public service.

- Open Time and check date, local time and source.
- With Internet access, click Synchronize NTP and wait. Before setting time manually, check the computer's own clock.
- Offline, enter the correct date/local time or click Sync with browser. Match Master's timezone to its location and verify the result.
- A phone can provide browser time: check its clock first, for example using mobile Internet, then connect it to Master's local network and transfer time. Master does not need Internet during that transfer; the phone clock is the source.
- For NTP, temporarily connect Master to a phone hotspot with mobile Internet, synchronise and check the result. Restore the operational local network and recheck IP, MQTT and remote nodes. Change networks at an appropriate time.
- Correctly set time is sufficient for schedules without continuous NTP. Practical KC868-A6 use demonstrated adequate accuracy; check periodically and after a long power interruption. Do not change the clock solely to test a timer.

4. Add a local sensor and obtain a reading
- Open Sensors, inspect existing entries to avoid duplicates and use filters or search where needed.

The MQTT readings shown here are stale and have no current data. Investigate the source; these are not valid normal measurements.
- Click Add sensor, provide a clear name, quantity and interface. Select I2C for a connected I2C sensor.
- Scan/autodetect, select the address and confirm the model against its markings. Different models may share an I2C address.
- Add separate measurements with correct quantities/units for multi-parameter models: temperature, humidity and pressure are different measurements.
- Enable automatic reading, set an appropriate interval and save. Change scale or offset only for justified calibration.

- Find the created card and click Read if needed.
- Check value, units, age and errors. The example shows SHT21 temperature; actual values depend on the sensor.

Other interfaces require their own hardware cards. Do not transfer pins from another ESP32 board before verified wiring is available. See sensors and measurement quality.
5. Connect a Slave over MQTT if remote points are needed
Skip this for a local-only Master. Configure a broker and Slave using the Slave guide. Both boards must use the same broker.
- Open Network → MQTT on Master.
- Enter the broker URI and credentials if required. A blank password does not necessarily remove a stored password: check the selected password action.
- Enable MQTT, save and use Connect if disconnected. Refresh status and resolve connection errors.

This screenshot is disconnected. Continue only after connecting to your available broker; do not copy the example address.
- Export the required channels/measurements from Slave.
- On Master, expand Remote Slave v1 devices → Import Slave MQTT profile. Choose the file and click Upload and validate.
- Check names and proposed objects. For an actuator Slave, enable Send heartbeat if MQTT must maintain control. Do not enable control heartbeat for sensor-only C3.
- Confirm import and wait. Some objects may have been saved before an error: validate the same file again rather than manually duplicating imported points.
- After successful import, perform an ordinary Master restart at a suitable time and recheck the connection.

- In Configure Slave v1, check the selected device profile and heartbeat. Its interval should be comfortably shorter than Slave's control timeout. Use identifiers from your own profile.

- Check bindings. Do not alter IDs or MQTT topics to rename a card. Deleting and recreating an object requires an updated profile or binding.

STALE and NOT_READY mean data or readiness is missing. Wait for fresh measurements and current output state before control.
6. Connect a Slave over Modbus RTU for wired communication
- Connect RS485 using verified wiring. Set Slave address, speed and format first, then match those values on Master.
- Open Network → Modbus RTU, enable the bus and set baud rate, data bits, parity and stop bits. Screenshot values are examples, not universal defaults.
- Save. Enable automatic polling for the points that need it.

- Download the Slave Modbus profile. On Master, open Import Slave profile, choose the file, and verify destination Slave address and name prefix.
- Preview the proposed points, then confirm import. The profile does not replace configuring the physical line.

- Check measurement/output counts in the device list. For KC868-A6 Slave v1, enable Send heartbeat — KC868-A6 Slave v1. This specialised option is not intended for unrelated third-party Modbus devices.

- Open a point and check Slave address, operation, object area, zero-based address, type and channel/sensor binding. For numeric measurements, also check word order and scaling. Use your profile, or the third-party device's documentation.
- Do not enable automatic actuator command retries merely to hide communication errors. Find their cause first.

- Run Read test and inspect the response and diagnostics.

A successful read proves that request exchanged correctly. It does not replace heartbeat or establish physical relay switching.
With both MQTT and Modbus configured, control-loss testing must account for both heartbeat sources. See MQTT and Modbus.
7. Prepare a control channel
- Open Channels. Find a channel created by Slave import or create the correct hardware channel for a local output.
- Verify its name and physical assignment. Before assigning automation, use manual mode for a safe test without a power load.

Timers are already assigned in this screenshot, but current data is missing. For a new example, use a free channel and restore communication first.
- When editing MQTT channels, check type and enable state. Keep topics/commands consistent with the Slave profile.

- Issue one permitted test command and check the result. Remote Slave needs a valid heartbeat and fresh state. If the result is unknown, read status before deciding whether another command is appropriate.
- End the test with OFF. When created, assign the regulator or timer using Select source, then enable AUTO. Assign one automation source per channel.
8. Configure temperature or humidity regulation
Check Monitoring: Active in the header/regulation section first. It starts automatically on boot; these screenshots have no separate start button. If Stopped, refresh and investigate. If appropriate, make the load safe, restart and verify again. An enabled regulator and AUTO alone do not establish running monitoring.
- Verify a valid temperature measurement and a tested output.
- Open Temperature and add a parameter.
- Enter name, setpoint and hysteresis in °C; select sensor, heating/cooling and output.
- Configure Emergency policy for missing measurements/stopped monitoring. The screenshot leaves it unset, so regulation is blocked; this is not a ready configuration. Decide explicitly whether Emergency takes priority over manual control should be enabled. Without it, MANUAL retains priority. With it, emergency action can apply in MANUAL and manual commands are rejected during an emergency. Determine required load behaviour before enabling this option.
- Activate and save. Check the channel's source and AUTO; investigate any conflict before replacing an assignment.

- In Humidity, similarly add the humidity sensor, percentage setpoint/hysteresis, mode and output.

- Test both thresholds, MANUAL, return to AUTO and the selected sensor-failure response. Screenshot setpoints are not recommendations for plants, animals or equipment.
9. Configure lighting and supplementary light
- Open Illuminance and add a parameter.
- Select sensor, lux setpoint/hysteresis and lighting output.
- Configure emergency action, activate and save. Check source assignment and AUTO.

This is ON/OFF control, not PWM dimming or continuously variable brightness.
- If time-based supplementary lighting is needed, enable Scheduled supplementary lighting and set morning/evening window start and end times.
- Save. Test sufficient/insufficient light and operation inside/outside the windows. Correct time is required.

10. Configure air-quality control
- Open Gas and choose CO₂ or TVOC.
- Confirm the driver actually provides that quantity. Gas resistance, eCO₂ and direct CO₂ are not interchangeable.

- Add a CO₂ parameter: name, ppm setpoint/hysteresis, sensor, mode, channel and emergency policy.
- Activate, save and check AUTO assignment.

- Create a separate TVOC parameter using a compatible sensor and ppb units. Repeat output and emergency-action setup.

Check command results and behaviour with invalid measurements. Form values and range hints do not establish safety limits for a particular installation.
11. Create a timer
Check time and prepare a free channel first. If editing a running timer requires manual mode, temporarily set that channel to MANUAL, save, then restore the agreed source assignment and AUTO.
Scheduled timer
- In Timers → Scheduled, add a timer.
- Set name, channel, weekdays and ON/OFF times.
- Enable it, save, assign it as the channel's control source and select AUTO.
- Verify the next schedule boundary and OFF after the window ends.

Periodic timer
- Add a timer in Periodic and select its channel.
- The shown form has ON time and OFF time, defining start and ON duration. This example repeats daily; no alternative period selector is shown.
- Enable, save and verify its control-source assignment and AUTO.
- Reopen the saved timer. For an authorised test, use Start manually and Stop manually and observe the result. Do not put the channel into MANUAL to start automation with these actions.

Cyclic timer
- Add a timer in Cyclic and select a channel.
- Set ON duration and Activation interval. The second field is the OFF phase between activations. Current Master accepts 1–86400 integer seconds per phase.
- Enable, save and verify the source assignment and AUTO.
- Reopen the saved timer, click Start cycle and observe at least two full ON/OFF sequences. Click Stop cycle and verify OFF.

- Return to the timer list and check activity, channel and status.

Error labels require checking time, channel, AUTO and communication. This screenshot illustrates failure reporting, not a successful test.
See regulation, timers and manual control.
12. Verify the complete configuration
A successful complete example with its own screenshot sequence will be added later. Current images illustrate forms and diagnostics, not one continuous successful run.
- Check valid measurements, correct sources and intended AUTO/MANUAL states.
- Test ordinary ON/OFF and measurement loss.
- For remote Slave, stop all used heartbeat sources and verify OFF after timeout. Restore communication, wait for fresh state and issue a new permitted command.
- Restart normally and verify settings. For offline operation, separately test local functions and time availability.
- Keep hardware and channel assignments outside the controller. Slave profile export is not a complete Master backup.
Software confirmation is not relay-contact feedback. Physical verification needs appropriate loads and protection. Start with diagnostics if problems occur.