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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 8,305
» Latest member: hiadigi.com
» Forum threads: 3,628
» Forum posts: 18,726

Full Statistics

Online Users
There are currently 27 online users.
» 0 Member(s) | 12 Guest(s)
AhrefsBot, Amazonbot, Bytespider, Google, PetalBot, bot

Latest Threads
Single Moment switch
Forum: DIY Project
Last Post: Borg357
2 hours ago
» Replies: 0
» Views: 3
KC868-Server ESP32 Ethern...
Forum: KC868-Server Raspberry Pi4 local server
Last Post: greywolf241
3 hours ago
» Replies: 6
» Views: 54
KC868-M16v2 configure yam...
Forum: KC868-M16 / M1 / MB / M30
Last Post: admin
Today, 06:29 AM
» Replies: 116
» Views: 25,139
N30 Energy entry not work...
Forum: N30
Last Post: admin
Today, 12:09 AM
» Replies: 9
» Views: 66
Help with Product Slectio...
Forum: Suggestions and feedback on KinCony's products
Last Post: admin
Today, 12:06 AM
» Replies: 5
» Views: 56
Loxone RS485
Forum: KinCony integrate with Loxone home automation
Last Post: admin
Today, 12:03 AM
» Replies: 9
» Views: 1,116
adaptor V2 and KC868 h32b...
Forum: KC868-ATC / Tuya adapter V2
Last Post: admin
Yesterday, 01:19 AM
» Replies: 1
» Views: 13
KC868-A6 - how to connect...
Forum: KC868-A6
Last Post: admin
Yesterday, 01:18 AM
» Replies: 1
» Views: 14
easy way to export/import...
Forum: KC868-A series and Uair Smart Controller
Last Post: admin
Yesterday, 01:09 AM
» Replies: 7
» Views: 5,632
KC868-A16 home assistant
Forum: DIY Project
Last Post: admin
12-22-2025, 11:32 PM
» Replies: 1
» Views: 28

  server16-tuya control
Posted by: Saif Kitany - 06-19-2025, 02:01 AM - Forum: News - Replies (17)

Hello suppoert team,

i have kincony server 16, and i did all the steps configurations to control it by tuya app,
but when i scan the QR code by the app, it show that the device is offline.



- I added Kincony Tuya Mqtt component to home assistant by HACS
- I copied and pasted the yaml file
- I chaned device Id as the same as i got from kincony
- I chaned device secret as the same as i got from kincony
- I changed the Region


what could i have missed?

Print this item

  868-a16 or a32 Poe question
Posted by: wchpikus - 06-18-2025, 08:43 PM - Forum: KC868-A series and Uair Smart Controller - Replies (3)

Hello,
Could I connect this board to passie Poe switch?
Some devices has terminator resistors and do not like Poe power..
Second question is, lan is connector with Poe (not used) or not?
I like to add Poe power adaptor.

Print this item

  Free sample for testing diy
Posted by: PeterLinuxOS - 06-18-2025, 12:24 PM - Forum: Apply for free sample product - No Replies

Dear KinCony Team,

I am currently designing a DIY smart home system for my new residence and am exploring reliable and industrial-grade relay modules for automation tasks. I came across your KC868 series, and I am particularly interested in relay boards that support 24 V digital inputs and outputs.

As part of this setup, I plan to integrate lighting, gate control, heating valves, and sensor monitoring—where 24 V contact inputs are crucial. If your solution proves stable and reliable in my initial tests, I am planning to purchase a larger board (such as the KC868-A32 or KC868-E16T) for full deployment across multiple zones in my home.

I would like to kindly request a sample relay board with 24 V input compatibility for evaluation. If possible, a model with at least 4–8 relay outputs and 4–8 digital inputs would be ideal for my testing phase.

Please let me know if you need any further details about my project. I’d be happy to share progress, feedback, and documentation on how your product performs in a DIY smart home setting.

Thank you for your consideration.

Print this item

  KC868-A16S SMS Control issue
Posted by: land88 - 06-17-2025, 03:12 PM - Forum: KC868-A16S - Replies (1)

Hi,

I have a KC868-A16S V1.1.
I have a problem with sms, I can do a phone test to my mobile phone and I receive the KC868 sms, it's ok.
With a digital input I can do a "Relay on" and it send me a sms notify message, ok.

The issue is when I want to send with my phone, a sms control to change a relay state, in this case, the KC868 doesn't do anything with IFTT.
It's like the KC868 doesn't receive the sms command.

How to find the issue ?

Thanks

Print this item

  Issues with binary sensor of kc868_ha component in esphome/home assistant
Posted by: shavrin - 06-17-2025, 02:35 PM - Forum: KC868-HA /HA v2 - Replies (3)

I have tried to configure KS868-HA-V21 module with KC868-A6 using EspHome. Connection between A6 and KS686-HA works good, at least I can see debug logs, when attach K1 (or any other K pin) to GND:

Code:
[17:27:41][D][kc868_ha.component:019]: uart bus receive 1:10:0:a:0:6:c:65:3:0:0:0:0:0:0:0:0:0:0:f:b8
[17:27:41][D][kc868_ha.component:030]: uart crc=f:b8, calc crc=f:b8
[17:27:41][D][kc868_ha.component:043]: dump kc868_ha config, target_relay_controller_addr=1, switch_adapter_addr=10, bind_output=1
[17:27:41][D][kc868_ha.component:043]: dump kc868_ha config, target_relay_controller_addr=1, switch_adapter_addr=10, bind_output=2
[17:27:41][D][kc868_ha.component:043]: dump kc868_ha config, target_relay_controller_addr=1, switch_adapter_addr=10, bind_output=3
[17:27:41][D][kc868_ha.component:043]: dump kc868_ha config, target_relay_controller_addr=1, switch_adapter_addr=10, bind_output=4
[17:27:41][D][kc868_ha.component:043]: dump kc868_ha config, target_relay_controller_addr=1, switch_adapter_addr=10, bind_output=5
[17:27:41][D][kc868_ha.component:043]: dump kc868_ha config, target_relay_controller_addr=1, switch_adapter_addr=10, bind_output=6
[17:27:41][D][kc868_ha.component:054]: found a kc868_ha board, target_relay_controller_addr=1, switch_adapter_addr=10, bind_output=1
[17:27:41][D][kc868_ha.component:054]: found a kc868_ha board, target_relay_controller_addr=1, switch_adapter_addr=10, bind_output=2
[17:27:41][D][kc868_ha.component:054]: found a kc868_ha board, target_relay_controller_addr=1, switch_adapter_addr=10, bind_output=3
[17:27:41][D][kc868_ha.component:054]: found a kc868_ha board, target_relay_controller_addr=1, switch_adapter_addr=10, bind_output=4
[17:27:41][D][kc868_ha.component:054]: found a kc868_ha board, target_relay_controller_addr=1, switch_adapter_addr=10, bind_output=5
[17:27:41][D][kc868_ha.component:054]: found a kc868_ha board, target_relay_controller_addr=1, switch_adapter_addr=10, bind_output=6

But binary sensor doesn't worked as expected. Configuration for esphome taken from https://github.com/hzkincony/esphome-kc868-ha.

I have checked esphome-kc868-ha code, and looks, like module send "3" when K1 attached to GND and "0" when it's released. But module expect "1" and "2" values.

What can be done, to resolve this issue?

(I have multiple KC868-HA modules, and looks that all of them have the same issue)

Print this item

  [arduino code examples for A16v3]-14 post data to mqtt topic
Posted by: admin - 06-17-2025, 12:26 PM - Forum: KC868-A16v3 - No Replies

Code:
/*
* MQTT example using W5500 and ESP32-S3
* Adapted from KinCony's W5500 TCP Server example
*/

#include <SPI.h>
#include <Ethernet.h>
#include <PubSubClient.h>

// W5500 pin definitions
#define W5500_CS_PIN   15
#define W5500_RST_PIN  1
#define W5500_INT_PIN  2
#define W5500_CLK_PIN  42
#define W5500_MOSI_PIN 43
#define W5500_MISO_PIN 44

// MAC address (must be unique)
byte mac[] = { 0xDE, 0xAD, 0xBE, 0xEF, 0xFE, 0xED };

// Static IP settings
IPAddress ip(192, 168, 3, 55);
IPAddress subnet(255, 255, 255, 0);
IPAddress gateway(192, 168, 3, 1);
IPAddress dns(192, 168, 3, 1);

// MQTT broker settings
const char* mqtt_server = "192.168.3.100";  // 可改为你的服务器
const int mqtt_port = 1883;
const char* mqtt_topic = "kincony/test";

// Ethernet and MQTT clients
EthernetClient ethClient;
PubSubClient mqttClient(ethClient);

// MQTT callback
void mqttCallback(char* topic, byte* payload, unsigned int length) {
  Serial.print("Message arrived [");
  Serial.print(topic);
  Serial.print("]: ");
  for (unsigned int i = 0; i < length; i++) {
    Serial.print((char)payload[i]);
  }
  Serial.println();
}

void mqttReconnect() {
  while (!mqttClient.connected()) {
    Serial.print("Attempting MQTT connection...");
    if (mqttClient.connect("KinConyClient")) {
      Serial.println("connected");
      mqttClient.subscribe(mqtt_topic);  // 订阅主题
    } else {
      Serial.print("failed, rc=");
      Serial.print(mqttClient.state());
      Serial.println(" trying again in 5 seconds");
      delay(5000);
    }
  }
}

void setup() {
  Serial.begin(115200);

  // Reset W5500
  pinMode(W5500_RST_PIN, OUTPUT);
  digitalWrite(W5500_RST_PIN, LOW);
  delay(100);
  digitalWrite(W5500_RST_PIN, HIGH);
  delay(100);

  // Start SPI
  SPI.begin(W5500_CLK_PIN, W5500_MISO_PIN, W5500_MOSI_PIN);
  Ethernet.init(W5500_CS_PIN);
  Ethernet.begin(mac, ip, dns, gateway, subnet);

  Serial.print("IP Address: ");
  Serial.println(Ethernet.localIP());

  mqttClient.setServer(mqtt_server, mqtt_port);
  mqttClient.setCallback(mqttCallback);
}

unsigned long lastMsg = 0;

void loop() {
  if (!mqttClient.connected()) {
    mqttReconnect();
  }

  mqttClient.loop();

  // Publish message every 10 seconds
  unsigned long now = millis();
  if (now - lastMsg > 10000) {
    lastMsg = now;
    const char* msg = "Hello from KinCony ESP32S3 board + W5500";
    mqttClient.publish(mqtt_topic, msg);
    Serial.println("Published message");
  }
}
arduino ino file download:

.zip   14-mqtt.zip (Size: 1.19 KB / Downloads: 323)
   

Print this item

  R503 do'nt scan fingerprints
Posted by: remiasz - 06-13-2025, 06:48 PM - Forum: KC868-A series and Uair Smart Controller - Replies (5)

Fingerprint sensor R503 do not scan finger. I use KC868-A16 with ESPHome.
Sensor is connected to HT1/2 port as Uart. I can control aura led but I get only "No touch sensing" message.
"Wakeup" signal connected to HT3 all time is OFF. When I send command to enroll "Wakeup" goes to ON but sensor dont scan any finger.
Can anyone help?
   

Print this item

  KC868-A16 + 2 × R4DCB08 – CRC errors
Posted by: Akash24 - 06-13-2025, 02:54 PM - Forum: KC868-A series and Uair Smart Controller - Replies (1)

Hi KinCony team,
Hardware
• KC868-A16 (ESP32, ESPHome 2025.2.2, UART TX GPIO13 / RX GPIO16, 9600 baud, 8-N-1)
• Two R4DCB08 temperature-collector boards, each with 4-8 × DS18B20 probes
• 24 V DC power supply feeding both collectors
• RS-485 cabling: shielded twisted pair
Address & jumpers
• Board 1 → Modbus ID 0x01, TERM OFF, BIAS OFF
• Board 2 → Modbus ID 0x02, TERM ON (far end), BIAS OFF
• KC868 terminator jumper → ON when only board #1 is present, OFF when both boards are in the chain
Wiring topology
KC868 A/B/GND → short stub to board #1 → 3 m cable → board #2 (terminator)
(I originally had both collectors fanned out from a terminal block; I have now rewired them in strict daisy-chain as shown in the attachment.)
Symptoms
• With only board #1 on the line everything is stable – ESPHome reads register 0x0000 and publishes 23.8 °C.
• As soon as I plug in board #2 I get continuous
csharp
CopyEdit

Code:
[W][modbus:125]: Modbus CRC Check failed!
[W][modbus_controller]: Modbus device=2 set offline
Board 1 sometimes also goes offline after a minute.
• Swapping A/B on both collectors made no difference.
• If I change board #2’s address to 0x01, unplug board #1, it answers correctly, so the hardware itself works.
What I’ve tried
  1. Checked DIP addresses (01 / 02) – OK
  2. Verified 5 V on both collectors while polling – 5.05 V
  3. Tried baud 2400 on both sides – still CRC errors
  4. Tested with just 30 cm jumpers between boards – same result
Question
Are there any known issues with two R4DCB08 units on the same KC868-A16 RS-485 bus?
Can you suggest further tests (e.g. different termination/bias settings, oscilloscope waveforms to capture) or firmware settings that typically resolve “CRC Check failed” when the wiring looks correct?
Log snippet and wiring photo are attached.
Thanks in advance for any pointers!

Print this item

  Start a Project
Posted by: cturqueti - 06-12-2025, 12:50 PM - Forum: Apply for free sample product - No Replies

I work at Sideout projects and we are automating a machine and I have verified that your product may be compatible with it, and we would like to use it for testing. We would like to verify the quality of the product and in the future use the KC868-A16.

Print this item

  KC868-A16 detected but failed to download firmware
Posted by: mohaz - 06-12-2025, 09:57 AM - Forum: KC868-A series and Uair Smart Controller - Replies (3)

Hi,
I recently purchased a second KC868-A16 , the first one installed ~4 months ago works fine
But the new one can't download firmware  using flash download tool  (see attached file)
I tried the followinf steps:
 1) use the original Usb c cable , and try another one  (no usb hub)  same  from anotehr PC  -> NOK
 2) using flash downlod tool with different rate ->  (see attached download tool log) => NOK
 3) Trying upload using esphome  -> NOK  (see attached error log)
 4) Even connected to Lan netowrk   the scan tool can't detect it

NB : 

The usb device is connected when plugged but there is communication issue or flash issue.

Thank you for your support. 

Regards.



Attached Files Thumbnail(s)
   

.txt   ECE334680F4C.txt (Size: 2.97 KB / Downloads: 152)
.txt   esphome_errors.txt (Size: 1.46 KB / Downloads: 144)
Print this item