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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 8,320
» Latest member: davit.injgia
» Forum threads: 3,632
» Forum posts: 18,759

Full Statistics

Online Users
There are currently 42 online users.
» 0 Member(s) | 26 Guest(s)
AhrefsBot, Amazonbot, Applebot, Bing, Bytespider, PetalBot, bot

Latest Threads
sample code to receive ht...
Forum: F16
Last Post: telinda
6 hours ago
» Replies: 7
» Views: 28
OUTPUT DO1
Forum: KC868-AIO
Last Post: admin
7 hours ago
» Replies: 3
» Views: 16
N30 Energy entry not work...
Forum: N30
Last Post: Vega
Yesterday, 01:15 PM
» Replies: 13
» Views: 111
KC868-M16v2 configure yam...
Forum: KC868-M16 / M1 / MB / M30
Last Post: admin
Yesterday, 08:45 AM
» Replies: 127
» Views: 25,313
N20 Problem with Home Ass...
Forum: N20
Last Post: admin
Yesterday, 08:44 AM
» Replies: 1
» Views: 7
Replacing ESP32 with Kinc...
Forum: KC868-A16
Last Post: admin
12-24-2025, 11:43 PM
» Replies: 1
» Views: 22
KC868-Server ESP32 Ethern...
Forum: KC868-Server Raspberry Pi4 local server
Last Post: admin
12-24-2025, 11:41 PM
» Replies: 7
» Views: 89
Single Moment switch
Forum: DIY Project
Last Post: admin
12-24-2025, 11:37 PM
» Replies: 1
» Views: 24
Help with Product Slectio...
Forum: Suggestions and feedback on KinCony's products
Last Post: admin
12-24-2025, 12:06 AM
» Replies: 5
» Views: 70
Loxone RS485
Forum: KinCony integrate with Loxone home automation
Last Post: admin
12-24-2025, 12:03 AM
» Replies: 9
» Views: 1,139

  USING SMART HOME APP
Posted by: JuanjoG - 03-09-2023, 08:32 AM - Forum: KC868-HxB series Smart Controller - Replies (9)

Hi Kincony!

I bought the KC868-H8B. I set the device but now I have two questions:

1. Can I set the switch icoms in the SMART HOME APP to work in momentary mode? For example to open the garage door I only need a push button.

2. Can I see the state of the INPUTS in de SMART HOME APP like I can see in the PC SOFTWARE (by LAN)?

Thank you very much.

Print this item

  KC868-H32B Pro work with KC868-COLB + KC868-AK
Posted by: admin - 03-09-2023, 02:22 AM - Forum: Schematic & diagram & Dimensions of KinCony PCB layout CAD file - Replies (10)

   
   
   
   

Print this item

  Where to start
Posted by: benlouisv@gmail.com - 03-06-2023, 04:35 PM - Forum: KC868-A6 - Replies (11)

Hi there everyone. I see allot of amazing things you can do with the KC868-A6 but I have no Idea where to start. I want to controll the unit with Smart life APP to switch my electric appliances on and of. But I dont know where to start with this board can anyone please assist me with steps to start using this board.

Thank you

Print this item

  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: 567)
BOOTLOADER HEX file download

.zip   Bootloader_AD_V2_0_2_20210913.zip (Size: 4.88 KB / Downloads: 563)
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: 553)

   
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