Welcome, Guest
You have to register before you can post on our site.

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 10,342
» Latest member: 8xbetccomworld
» Forum threads: 4,305
» Forum posts: 21,264

Full Statistics

Online Users
There are currently 396 online users.
» 0 Member(s) | 375 Guest(s)
AhrefsBot, Applebot, Baidu, Bing, Bytespider, Crawl, HeadlessChrome, PetalBot, Photon/, bot

Latest Threads
KC868-A16 – KCS v2.2.20 M...
Forum: KC868-A16
Last Post: tech1977
19 minutes ago
» Replies: 0
» Views: 2
kc868-A8S v2 not working ...
Forum: KC868-A8S
Last Post: admin
Yesterday, 07:00 AM
» Replies: 13
» Views: 5,122
KinCony 3-Wire PT100 Temp...
Forum: Schematic & diagram & Dimensions of KinCony PCB layout CAD file
Last Post: admin
Yesterday, 06:46 AM
» Replies: 0
» Views: 16
KinCony RS485 Wiring Guid...
Forum: Schematic & diagram & Dimensions of KinCony PCB layout CAD file
Last Post: admin
Yesterday, 06:45 AM
» Replies: 0
» Views: 19
KinCony G1 4G Module UART...
Forum: Schematic & diagram & Dimensions of KinCony PCB layout CAD file
Last Post: admin
Yesterday, 06:44 AM
» Replies: 0
» Views: 15
KinCony 1-Wire Sensor Wir...
Forum: Schematic & diagram & Dimensions of KinCony PCB layout CAD file
Last Post: admin
Yesterday, 06:42 AM
» Replies: 0
» Views: 16
KinCony Wiegand Wiring Gu...
Forum: Schematic & diagram & Dimensions of KinCony PCB layout CAD file
Last Post: admin
Yesterday, 06:40 AM
» Replies: 0
» Views: 12
KinCony 0–10 V Analog Out...
Forum: Schematic & diagram & Dimensions of KinCony PCB layout CAD file
Last Post: admin
Yesterday, 06:38 AM
» Replies: 0
» Views: 10
KinCony Analog Input Wiri...
Forum: Schematic & diagram & Dimensions of KinCony PCB layout CAD file
Last Post: admin
Yesterday, 06:37 AM
» Replies: 0
» Views: 11
KinCony Digital Input Wir...
Forum: Schematic & diagram & Dimensions of KinCony PCB layout CAD file
Last Post: admin
Yesterday, 06:35 AM
» Replies: 0
» Views: 10

  KC868-A16 – KCS v2.2.20 MQTT protocol documentation and availability (LWT)
Posted by: tech1977 - 19 minutes ago - Forum: KC868-A16 - No Replies

Hello KinCony team,

I am using a KC868-A16 (original ESP32 v1.6, not A16v3) with KCS firmware v2.2.20 (build date Apr 2 2026), integrated into Home Assistant via MQTT (Mosquitto broker). Everything works: I control the outputs with {"outputN":{"value":true/false}} on KC868_A16/<serial>/SET and I read inputs and outputs from KC868_A16/<serial>/STATE.

I would like to use all the features of the board, so I have a few questions:

1. Complete MQTT documentation
Could you please send me the latest and complete MQTT protocol document for KCS v2.2.20? I need the full list of topics, commands and payload fields, including outputs, digital inputs, HT1–HT3 inputs, analog inputs (ADC), temperature/humidity sensors, RF 433 MHz, and any other parameter available via MQTT.

2. Availability / Last Will (LWT)
Does KCS v2 publish an availability or Last Will message (online/offline) when the board connects or disconnects from the broker? If yes, which topic and payload does it use? If not, is it possible to add it in a future firmware version?

3. Home Assistant MQTT Auto Discovery
Is Home Assistant MQTT auto discovery supported in KCS v2 for the KC868-A16, or only in KCS v3? If it is supported, where can I enable it?

4. Pulse command with duration
At the moment I use the "delay" output type in the web interface to create a pulse. Is there an MQTT command to send a pulse with a duration specified in the payload (for example "turn on output 5 for 300 ms"), so that the timing can be chosen per command?

5. Other commands
- Is there a command to request the full current state (refresh/query)?
- Is there a toggle command for outputs?
- Can the board publish its state periodically (heartbeat), and is the interval configurable?
- Are STATE messages published with the retain flag, and can this be configured?

6. Values for sensors not connected
I see "temperature":-100 and "humidity":-100 for sensors that are not connected. Can you confirm that -100 always means "no sensor"?

7. Firmware
Is v2.2.20 the latest KCS v2 firmware for the KC868-A16? Is a changelog available?

If you also have HTTP or TCP protocol documents for KCS v2, I would appreciate them too.

Print this item

  KinCony 3-Wire PT100 Temperature Sensor Wiring Guide
Posted by: admin - Yesterday, 06:46 AM - Forum: Schematic & diagram & Dimensions of KinCony PCB layout CAD file - No Replies

   

  • Connect the two wires from the same end of the sensing element to the two “+” terminals, one wire to each terminal.
  • Connect the remaining wire to the “−” terminal.
  • No external power supply is required for the sensor.
The diagram uses two red wires and one white wire as an example. Follow your sensor’s wiring instructions to identify the correct wires.

Print this item

  KinCony RS485 Wiring Guide: Multiple Modbus RTU Devices with KCS v3
Posted by: admin - Yesterday, 06:45 AM - Forum: Schematic & diagram & Dimensions of KinCony PCB layout CAD file - No Replies

   
Connect multiple Modbus RTU devices to a single RS485 port, with KCS v3 acting as the master to poll and read each device.
The example includes a temperature sensor, a humidity sensor, and an energy meter, with Modbus addresses 1, 2, and 3, respectively. The diagram shows the A/B bus, termination resistors at both ends, and requirements such as unique device addresses and matching serial communication settings.

Print this item

  KinCony G1 4G Module UART Wiring Guide for SMS and Phone Calls
Posted by: admin - Yesterday, 06:44 AM - Forum: Schematic & diagram & Dimensions of KinCony PCB layout CAD file - No Replies

   

  • Controller TXD → G1 RXD
  • Controller RXD ← G1 TXD
  • GND → Common ground
  • G1 requires an external power supply, a SIM card, and a 4G antenna.
With compatible firmware, the controller can send and receive SMS messages and dial phone calls. Select available GPIO pins that support UART operation.

Print this item

  KinCony 1-Wire Sensor Wiring Guide: DHT11 DHT22 DS18B20
Posted by: admin - Yesterday, 06:42 AM - Forum: Schematic & diagram & Dimensions of KinCony PCB layout CAD file - No Replies

   

Print this item

  KinCony Wiegand Wiring Guide: Connecting D0 and D1 to Free GPIOs
Posted by: admin - Yesterday, 06:40 AM - Forum: Schematic & diagram & Dimensions of KinCony PCB layout CAD file - No Replies

   

  • D0 → GPIO A
  • D1 → GPIO B
  • GND → GND
GPIO A and GPIO B are placeholder names. Select available GPIO pins according to your controller model.

Print this item

  KinCony 0–10 V Analog Output Wiring Guide for LED and AC Dimming
Posted by: admin - Yesterday, 06:38 AM - Forum: Schematic & diagram & Dimensions of KinCony PCB layout CAD file - No Replies

   

  • 12 V LED driver → 12 V LED strip
  • 24 V LED driver → 24 V LED strip
  • AC dimmer with a 0–10 V input → Dimmable AC 220 V lamp
DAC/AO provides only the dimming signal. The load is powered by an external power supply and driver. For AC dimming, use a dedicated dimming SSR; a standard ON/OFF SSR is not suitable. Follow the driver’s manual for the exact terminal connections.

Print this item

  KinCony Analog Input Wiring Guide: 0–5 V, 0–10 V and 4–20 mA
Posted by: admin - Yesterday, 06:37 AM - Forum: Schematic & diagram & Dimensions of KinCony PCB layout CAD file - No Replies

   

  • 0–5 V / 0–10 V: Connect the sensor OUT to AI1. Connect the sensor and controller to a common GND.
  • 2-wire 4–20 mA: Power supply positive → Transmitter +; Transmitter − → AI1; Controller GND → Power supply negative.
Before use, configure the input range and jumper settings according to your controller model. The 4–20 mA wiring example applies to passive current inputs with an onboard sampling resistor.

Print this item

  KinCony Digital Input Wiring Guide: Dry Contact Switches
Posted by: admin - Yesterday, 06:35 AM - Forum: Schematic & diagram & Dimensions of KinCony PCB layout CAD file - No Replies

   

  • DI1 connected to GND: TRUE
  • DI1 disconnected from GND: FALSE
You can connect a volt-free switch, push button, or relay dry contact.

Print this item

  KinCony Digital Input Wiring Guide: COM to GND or +12/24 V
Posted by: admin - Yesterday, 06:33 AM - Forum: Schematic & diagram & Dimensions of KinCony PCB layout CAD file - No Replies

   

  • COM connected to GND: The switch connects +12/24 V to DI1.
  • COM connected to +12/24 V: The switch connects GND to DI1.
In both configurations, DI1 becomes active (TRUE) when the switch is closed. This applies to controllers with bidirectional optocouplers and 12/24 V DC digital inputs.

Print this item