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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 10,378
» Latest member: mm88branddcom
» Forum threads: 4,313
» Forum posts: 21,280

Full Statistics

Online Users
There are currently 195 online users.
» 0 Member(s) | 185 Guest(s)
Applebot, Baidu, Bing, Crawl, Google, PetalBot, bot

Latest Threads
Recommended Dimmer for LE...
Forum: Suggestions and feedback on KinCony's products
Last Post: stansvec
56 minutes ago
» Replies: 0
» Views: 1
KC868-A16-V3.2: exact wir...
Forum: KC868-A16v3
Last Post: admin
7 hours ago
» Replies: 1
» Views: 5
ESPHome modbus not functi...
Forum: KC868-A8S
Last Post: admin
10-30-2026, 01:02 PM
» Replies: 3
» Views: 623
SSD not visible for insta...
Forum: Pi5R16
Last Post: admin
10-29-2026, 12:30 PM
» Replies: 20
» Views: 929
B32M And new ESPHOME Buil...
Forum: B32M
Last Post: admin
10-29-2026, 12:29 PM
» Replies: 1
» Views: 16
[arduino code examples fo...
Forum: T16M
Last Post: admin
10-29-2026, 08:42 AM
» Replies: 0
» Views: 9
[arduino code examples fo...
Forum: T16M
Last Post: admin
10-29-2026, 08:41 AM
» Replies: 0
» Views: 13
B8 – Defective screw term...
Forum: B8
Last Post: admin
10-28-2026, 11:57 PM
» Replies: 1
» Views: 16
[arduino code examples fo...
Forum: B2
Last Post: admin
10-28-2026, 12:53 AM
» Replies: 0
» Views: 21
[arduino code examples fo...
Forum: B2
Last Post: admin
10-28-2026, 12:50 AM
» Replies: 0
» Views: 20

  Request for free sample
Posted by: oscarsoler - 06-18-2026, 09:02 AM - Forum: Apply for free sample product - No Replies

Hi Kincony,

I would like to request a KC868-A4 for an Open source university final-degree project (Type A): bridging a wired 230V PIR motion detector to MQTT (Mosquitto) using KC868-A4 + ESPHome over WiFi, alongside our existing Zigbee2MQTT setup. Documentation, wiring diagrams and code will be published openly (CC BY-SA 3.0)

Kind regards.

Print this item

  KCS v2 relay state after reboot
Posted by: rosebl22 - 06-18-2026, 03:14 AM - Forum: "KCS" v2 firmware system - Replies (1)

Hi,
In KCS v2, can relay states be automatically restored after a power loss and reboot, or do they always start from the default state?
Thanks.

Print this item

  Request for 230VAC LEDs / Downlight
Posted by: benoitd54 - 06-17-2026, 06:08 AM - Forum: Development - Replies (5)

Hello, 

I'm currently building my house and i'm planning to be able to adjust the lighting in all my rooms (30 zones).

I came across your DIN rail modules, which I think are perfect. Great job!! 

However, a have a quick question: how can I dim 230VAC dimmable LED spotlights / downlight from 0% to 100% without any flickering and which the real 0% (using a triac?) ? 

Best regards

Benoit

Print this item

  The watch shows the wrong time in standalone mode.
Posted by: rosnoteh - 06-15-2026, 08:06 PM - Forum: KC868-A series and Uair Smart Controller - Replies (4)

KC868-A16v3, firmware v3.25.0, battery 3,05V.
The watch shows the wrong time in standalone mode. The controller is connected to a local network without internet access. Time zone - UTC+3.
Turn on the controller. Click "Synchronize browser time".
The controller's clock shows the same time as the computer's clock. Turn off the controller, and then turn on the controller. The controller clock shows the time 3 hours later.
Turn off the controller again, and then turn on the controller. The controller clock shows the time 6 hours later.

Print this item

  Kincony A4s
Posted by: Ashiq - 06-15-2026, 09:57 AM - Forum: KC868-A4S - Replies (1)

"Is there a feature or logic in the Kincony A4S firmware that supports the following switch behavior: a single press toggles the light ON/OFF, while pressing and holding increases the brightness, and releasing then pressing and holding again decreases the brightness?"

Print this item

  [Arduino IDE demo source code for KC868-A8S]--#18-Read Modbus sensor by RS485
Posted by: admin - 06-15-2026, 06:16 AM - Forum: KC868-A8S - No Replies

KC868-A8S read KinCony TS modbus sensor by RS485.  USB print the temperature and humidity value.
   
   

Code:
/*
  Made by KinCony IoT
  https://www.kincony.com
*/

#include <HardwareSerial.h>

#define RS485_RX 32
#define RS485_TX 33

HardwareSerial RS485Serial(2);

// Read input register: ID=1, Function=04, Start=0000, Quantity=0002
uint8_t readCmd[] = {
  0x01, 0x04, 0x00, 0x00,
  0x00, 0x02, 0x71, 0xCB
};

uint16_t modbusCRC(uint8_t *buf, int len)
{
  uint16_t crc = 0xFFFF;

  for (int pos = 0; pos < len; pos++) {
    crc ^= buf[pos];

    for (int i = 0; i < 8; i++) {
      if (crc & 0x0001) {
        crc >>= 1;
        crc ^= 0xA001;
      } else {
        crc >>= 1;
      }
    }
  }

  return crc;
}

float decodeTemperature(uint16_t value)
{
  if (value >= 10000) {
    return -1.0 * (value - 10000) * 0.1;
  } else {
    return value * 0.1;
  }
}

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

  RS485Serial.begin(
    9600,
    SERIAL_8N1,
    RS485_RX,
    RS485_TX
  );

  delay(1000);

  Serial.println();
  Serial.println("RS485 Modbus Temperature & Humidity Sensor");
}

void loop()
{
  while (RS485Serial.available()) {
    RS485Serial.read();   // clear old data
  }

  RS485Serial.write(readCmd, sizeof(readCmd));
  RS485Serial.flush();

  delay(200);

  uint8_t buf[32];
  int len = 0;

  while (RS485Serial.available()) {
    buf[len++] = RS485Serial.read();
    if (len >= sizeof(buf)) break;
  }

  if (len == 9) {
    Serial.print("RX: ");
    for (int i = 0; i < len; i++) {
      if (buf[i] < 0x10) Serial.print("0");
      Serial.print(buf[i], HEX);
      Serial.print(" ");
    }
    Serial.println();

    uint16_t crc_recv = buf[7] | (buf[8] << 8);
    uint16_t crc_calc = modbusCRC(buf, 7);

    if (crc_recv == crc_calc) {
      uint16_t temp_raw = (buf[3] << 8) | buf[4];
      uint16_t hum_raw  = (buf[5] << 8) | buf[6];

      float temperature = decodeTemperature(temp_raw);
      float humidity = hum_raw * 0.1;

      Serial.print("Temperature: ");
      Serial.print(temperature, 1);
      Serial.print(" C   ");

      Serial.print("Humidity: ");
      Serial.print(humidity, 1);
      Serial.println(" %RH");
    } else {
      Serial.println("CRC Error");
    }
  } else {
    Serial.print("Response length error, len=");
    Serial.println(len);
  }

  delay(1000);
}
arduino source code download:

.zip   rs485-sensor.zip (Size: 1.02 KB / Downloads: 305)
ESP32 BIN file download (just download to ESP32 module begin 0x0 address):

.zip   rs485-sensor.ino.merged.zip (Size: 169.79 KB / Downloads: 287)

Print this item

  KC868-a6 2 analog outputs (DAC)
Posted by: bikovalexand - 06-14-2026, 10:26 AM - Forum: KC868-A6 - Replies (7)

Hello, I'm working on a project that uses both outputs of a KC868-a6 v1.33 controller (0-10 V DAC). I'm writing the program in OpenPLC Editor.
The signal on both outputs changes proportionally, but not from 0-10 V, only from 0-3.3 V. What could be the problem?
 I tried downloading the latest version of KCS (v.2.2.20) to the controller, connecting to it via WiFi, and changing the output values. They output from 0 V to 3.3 V. I understand the LM258DR should amplify the signal by three times? Perhaps it's not working?
Thank you

Print this item

  Wiegand
Posted by: williemcvillage - 06-12-2026, 06:48 PM - Forum: KC868-A16 - Replies (3)

Hi, is there a way to use any of the GPIOs of this board to connect a Wiegand reader?

Thanks

Print this item

  Programmation kc868-A8 & Axx
Posted by: H_spadacini - 06-12-2026, 05:22 PM - Forum: News - Replies (1)

Monsieur l'administrateur;
vu que le KC868A8 est programmable par editor plc serait-il possible de faire de même avec son grand frere le KC868A16 ainsi que pour le kc868A32 car il semble que c'est les memes plateformes avec plus d'entrees et sorties sur le bus i2c en modifiant la boucle programmable en c++

Print this item

  Tiny Alarm board after flashing seems to no longer working
Posted by: algaema - 06-12-2026, 01:29 PM - Forum: TA - Replies (7)

Hi Kincony,

I have tried to flash newer version firmware (tried KCS_KC_TA_V3.25.0.zip) from a Mac. Tried multiple methods, including the use of a Windows VM with the official tool, and web.esphome.io. But while both tool reported success, when I turn off and on the board it is not able to respond on network. I have even tried to use the method of removing power, pressing the DW button, and then attaching the power, and then used the official tool to copy firmware using a low (115200) baud rate, while the tool has reported success, after reset the board it is just not responding on network (I can verify that on the switch statistics, in which the "bytes sent" in switch has high values, however "bytes received" in switch is always showing 0, indicating that the Tiny Alarm board is not responding any packet at all. 

I have also tested to use USB C to USB A cable instead of a USB C to USB C cable as I see the youtube video is using one of that. 

May I ask how is there a way to troubleshoot a ESP32S3 board boot up message to see if the firmware is correctly copied?

Print this item