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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 8,310
» Latest member: biofrankpharma
» Forum threads: 3,629
» Forum posts: 18,736

Full Statistics

Online Users
There are currently 69 online users.
» 0 Member(s) | 52 Guest(s)
AhrefsBot, Amazonbot, Bing, Bytespider, Crawl, Google, PetalBot, bot

Latest Threads
KC868-M16v2 configure yam...
Forum: KC868-M16 / M1 / MB / M30
Last Post: admin
9 hours ago
» Replies: 120
» Views: 25,180
Replacing ESP32 with Kinc...
Forum: KC868-A16
Last Post: admin
Yesterday, 11:43 PM
» Replies: 1
» Views: 13
N30 Energy entry not work...
Forum: N30
Last Post: admin
Yesterday, 11:43 PM
» Replies: 11
» Views: 78
KC868-Server ESP32 Ethern...
Forum: KC868-Server Raspberry Pi4 local server
Last Post: admin
Yesterday, 11:41 PM
» Replies: 7
» Views: 68
Single Moment switch
Forum: DIY Project
Last Post: admin
Yesterday, 11:37 PM
» Replies: 1
» Views: 16
Help with Product Slectio...
Forum: Suggestions and feedback on KinCony's products
Last Post: admin
Yesterday, 12:06 AM
» Replies: 5
» Views: 58
Loxone RS485
Forum: KinCony integrate with Loxone home automation
Last Post: admin
Yesterday, 12:03 AM
» Replies: 9
» Views: 1,119
adaptor V2 and KC868 h32b...
Forum: KC868-ATC / Tuya adapter V2
Last Post: admin
12-23-2025, 01:19 AM
» Replies: 1
» Views: 21
KC868-A6 - how to connect...
Forum: KC868-A6
Last Post: admin
12-23-2025, 01:18 AM
» Replies: 1
» Views: 17
easy way to export/import...
Forum: KC868-A series and Uair Smart Controller
Last Post: admin
12-23-2025, 01:09 AM
» Replies: 7
» Views: 5,644

  updating firmware kc868-h32b
Posted by: w-w - 03-06-2023, 03:05 PM - Forum: KC868-HxB series Smart Controller - Replies (8)

my unit shipped with firmware version 4.13.34

I am attempting to upload version
Relay32_V437_210907.zip

OTA seams to run for only a few seconds and does not update

Using a serial cable and the Firmware Download Tool (firmware update tool download): https://www.kincony.com/download/KC868-C...loader.zip

it detects the bootloader
downloads progress 105/105
data send complete 
then when I press Run
it says Download finished begin running.


I power cycle the device that the firmware version is not updated??
thanks

Print this item

Tongue KC868-COLB V2.4 firmware support Tuya app
Posted by: admin - 03-06-2023, 02:05 PM - Forum: News - No Replies

improvement:

1. support use Tuya app for remote monitor sensor state.
2. support TCP Server, TCP Client, MQTT, Tuya different protocol at the same time by ethernet.
such as you can use Home assistant (by mqtt) in local LAN network and Tuya app for remote monitor by internet.

           

   

if you buy KC868-COLB before 2023-3-1 , you need to update your BOOTLOADER HEX file for your CPU.
Because the new firmware 2.4 is big and powerful. So you need to do two steps for update fireware.

1. update your CPU BOOTLOADER by Jlink tool.
2. update your firmware BIN file by USB-RS232 cable.

here are details:

for example, your KC868-COLB CPU chip is AT32F403AVGT7.
   
so download AT-link tool for flash BOOTLOADER.

.zip   Artery_ICP_Programmer_V3.0.07.zip (Size: 14.28 MB / Downloads: 566)
BOOTLOADER HEX file download

.zip   Bootloader_AD_V2_0_2_20210913.zip (Size: 4.88 KB / Downloads: 561)
open your KC868-COLB metal box
   
installed jlink computer driver and ready to use it.
   
here is pin define , connect jlink to your KC868-COLB PCB's download interface
   
   
   
begin download BOOTLOADER HEX file , just do as follow images:
   
   
   
   
   
after download BOOTLOADER completed, begin use RS232 download tool to download BIN file.
RS232 download tool:
https://www.kincony.com/download/KC868-C...loader.zip

BIN file download:

.zip   AD_COLB_V2_4_230228.zip (Size: 112.17 KB / Downloads: 551)

   
begin download BIN file , just do as follow images:
   
   
   

now all are completed, have a good timeSmile

Note: if you want to use Tuya mobile phoen app with KC868-COLB, need contact with us to buy Tuya lincence for KC868-COLB.

Print this item

  Did I burn the DI s?
Posted by: tugalsan - 03-06-2023, 12:41 PM - Forum: KC868-A32/A32 Pro - Replies (5)

I accidently plug 12 Volt to GND of DI sockets.

Even though, I did not plugged any wire on DI, I am getting the below output. 
When I check it with Voltmeter, DIs is giving me 12V
Does that mean, I did burn the card? Or a code error?

code:

Code:
#include "PCF8574.h"

//I2C INPUT
TwoWire I2C_0 = TwoWire(0);
PCF8574 pcf8574_I1(&I2C_0, 0x24, 4, 5);
PCF8574 pcf8574_I2(&I2C_0, 0x25, 4, 5);
PCF8574 pcf8574_I3(&I2C_0, 0x21, 4, 5);
PCF8574 pcf8574_I4(&I2C_0, 0x22, 4, 5);

//I2C RELAY
TwoWire I2C_1 = TwoWire(1);
PCF8574 pcf8574_R1(&I2C_1, 0x24, 15, 13);
PCF8574 pcf8574_R2(&I2C_1, 0x25, 15, 13);
PCF8574 pcf8574_R3(&I2C_1, 0x21, 15, 13);
PCF8574 pcf8574_R4(&I2C_1, 0x22, 15, 13);

void setup_input() {
  for(int i=0;i<=7;i++){
    pcf8574_I1.pinMode(i, INPUT);
    pcf8574_I2.pinMode(i, INPUT);
    pcf8574_I3.pinMode(i, INPUT);
    pcf8574_I4.pinMode(i, INPUT);
  }
  pcf8574_I1.begin();
  pcf8574_I2.begin();
  pcf8574_I3.begin();
  pcf8574_I4.begin();
}

void setup_output() {
  for(int i=0;i<=7;i++)
  {
    pcf8574_R1.pinMode(i, OUTPUT);
    pcf8574_R2.pinMode(i, OUTPUT);
    pcf8574_R3.pinMode(i, OUTPUT);
    pcf8574_R4.pinMode(i, OUTPUT);
  }
  pcf8574_R1.begin();
  pcf8574_R2.begin();
  pcf8574_R3.begin();
  pcf8574_R4.begin();
  for(int i=0;i<=7;i++) {
    pcf8574_R1.digitalWrite(i, HIGH);
    pcf8574_R2.digitalWrite(i, HIGH);
    pcf8574_R3.digitalWrite(i, HIGH);
    pcf8574_R4.digitalWrite(i, HIGH);
  }
}

void setup_serial(){
  Serial.begin(115200);
  while (!Serial && (millis() < 3000));
}

void print_chip_arduino(){
  Serial.print(F("\n\n----------------\n\n"));
  Serial.print(F("ARDUINO_BOARD:"));
  Serial.println(String(ARDUINO_BOARD));
}

unsigned long currentTime = millis();
void refreshCurrentTime(){
    currentTime = millis();
}

void print_loopHeader(){
  Serial.print(F("---------"));
  Serial.print(F("t: "));
  Serial.print(String(currentTime));
  Serial.println(F(" ---------"));
}

void print_input(){
  for(int i=0;i<=7;i++) {
      bool input1 = pcf8574_I1.digitalRead(i);
      bool input2 = pcf8574_I2.digitalRead(i);
      bool input3 = pcf8574_I3.digitalRead(i);
      bool input4 = pcf8574_I4.digitalRead(i);
      Serial.print(F("i:"));
      Serial.print(String(i));
      Serial.print(F(" I1:"));
      Serial.print(String(input1));
      Serial.print(F(" I2:"));
      Serial.print(String(input2));
      Serial.print(F(" I3:"));
      Serial.print(String(input3));
      Serial.print(F(" I4:"));
      Serial.println(String(input4));
  }
}

void setup() {
  setup_input();
  setup_output();
  setup_serial();
  print_chip_arduino();
}

void loop() {
  refreshCurrentTime();
  print_loopHeader();
  print_input();
  delay(1000);
}

output:
Code:
---------t: 8096 ---------
i:0 I1:1 I2:1 I3:1 I4:1
i:1 I1:1 I2:1 I3:1 I4:1
i:2 I1:1 I2:1 I3:1 I4:1
i:3 I1:1 I2:1 I3:1 I4:1
i:4 I1:1 I2:1 I3:1 I4:1
i:5 I1:1 I2:1 I3:1 I4:1
i:6 I1:1 I2:1 I3:1 I4:1
i:7 I1:1 I2:1 I3:1 I4:1

Print this item

  KC868-AP
Posted by: eligijus - 03-05-2023, 07:23 PM - Forum: KC868-AP / ADR - Replies (34)

hi, maybe you can upload firmware bin file with esp KC868-AP

Print this item

  Not found
Posted by: Philadam - 03-05-2023, 12:47 AM - Forum: KC868-A16 - Replies (10)

When I attach my A16 to my local network and run scan_device, nothing shows up in the list. I have let it run for over 15 minutes, but the A16 is not found.

Advice?

Print this item

  KC868-ASR ESPHome demo config for home assistant
Posted by: admin - 03-04-2023, 11:21 PM - Forum: KC868-ASR - No Replies

   
esphome:
  name: asr

esp32:
  board: esp32dev
  framework:
    type: arduino

# Enable logging
logger:

# Enable Home Assistant API
api:
  encryption:
    key: "Xqy9f8iJ49cr7o8IWE1sFnG9EAEnxHVYlGUQBdnKE6Q="

ota:
  password: "d13799179d079d89758ad1a0fd1c4560"

wifi:
  ssid: KinCony
  password: a12345678

  # Enable fallback hotspot (captive portal) in case wifi connection fails
  ap:
    ssid: "Asr Fallback Hotspot"
    password: "KqbpeFnrzcWf"

captive_portal:

i2c:
  sda: 26
  scl: 27
  scan: true
  id: bus_a


switch:
  - platform: gpio
    pin: GPIO19
    name: "asr-relay1"

  - platform: gpio
    pin: GPIO5
    name: "asr-relay2"
 
  - platform: gpio
    pin: GPIO23
    name: "asr-led1" 
 
  - platform: gpio
    pin: GPIO22
    name: "asr-led2" 

  - platform: gpio
    pin: GPIO18
    name: "asr-beep"

binary_sensor:
  - platform: gpio
    pin:
      number: 0
      inverted: true
    name: "asr-button"

dallas:
  - pin: 32
    update_interval: 5s

sensor:
  - platform: dallas
    address: 0x7b062162cfe98128
    name: "asr-t2"
   

.txt   KC868-ASR_ESPHome.txt (Size: 1.1 KB / Downloads: 431)

Print this item

  KC868-ASR ESP32 I/O pin define
Posted by: admin - 03-04-2023, 11:20 PM - Forum: KC868-ASR - No Replies

Button S2: GPIO0


TH1: GPIO32  (use for DS18B20/DHT11 sensor)
TH2: GPIO33  (use for DS18B20/DHT11 sensor)

Relay1:GPIO19
Relay2:GPIO5

IIC SDA:GPIO26
IIC SCL:GPIO27

LED1:GPIO23
LED2:GPIO22

Beep: GPIO18

DS3231 IIC address: 0x68

TF_Card:

DAT2:GPIO12
DAT3: GPIO13
CMD: GPIO15
CLK: GPIO14
DAT0:GPIO2
DAT1:GPIO4

free GPIO: GPIO16, GPIO17

Print this item

  Schematic
Posted by: Yazaww - 03-04-2023, 09:23 PM - Forum: KC868-HxB series Smart Controller - Replies (19)

Helli, is there any schematic between h32b and kc868-ak? All i see is with h32b pro, is there any with h32b?

Print this item

  KC868-ASR ESP32 SD card sensor RTC record board Released
Posted by: admin - 03-04-2023, 02:07 PM - Forum: News - No Replies

KC868-ASR ESP32 SD card sensor record board based on ESP32 chip. It have many hardware resource for you to use. It have two channel relay, two GPIOs for temperature or humidity sensors. one SD card socket and DS3231 high quality RTC chip. It’s very easy for home automation DIY. You can write any code by Arduino IDE to ESP32 module. We will supply demo code for different samples. Everyone can modify and change the code for your own smart home automation system project. it support use by ESPHome for home assistant or tasmota firmware for smart home automation DIY.
[Image: KC868-ASR-1_01.jpg]
[Image: KC868-ASR-1_02.jpg]
[Image: KC868-ASR-1_03.jpg]
[Image: KC868-ASR-1_04.jpg]

Print this item

  KC868-A16
Posted by: Lifttech1 - 03-04-2023, 12:45 PM - Forum: "KCS" v2 firmware system - Replies (1)

Can KC868-A16 board be controlled with KBOX App and KBOX Pad

Print this item