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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 8,972
» Latest member: jbsonline
» Forum threads: 3,952
» Forum posts: 20,071

Full Statistics

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

Latest Threads
Analoge input for door se...
Forum: KC868-A series and Uair Smart Controller
Last Post: Elgatoguiri
7 hours ago
» Replies: 0
» Views: 6
KINCONY IN KSA
Forum: DIY Project
Last Post: Maxsys249
9 hours ago
» Replies: 10
» Views: 356
F16 relay stopped functio...
Forum: F16
Last Post: admin
9 hours ago
» Replies: 3
» Views: 19
KC868-E16S/E16P demo conf...
Forum: KC868-E16S/E16P
Last Post: admin
04-26-2026, 01:01 PM
» Replies: 24
» Views: 11,643
Add uptime to board infor...
Forum: Suggestions and feedback on KinCony's products
Last Post: twostar
04-26-2026, 04:06 AM
» Replies: 7
» Views: 119
KC868-A16 rev1.6 firmware
Forum: "KCS" v2 firmware system
Last Post: admin
04-26-2026, 01:04 AM
» Replies: 5
» Views: 236
Esphome + KC868-HA-V21
Forum: Getting Started with ESPHome and Home Assistant
Last Post: admin
04-26-2026, 01:00 AM
» Replies: 8
» Views: 1,956
Interface T16M E/S et AIO
Forum: News
Last Post: admin
04-26-2026, 12:58 AM
» Replies: 9
» Views: 382
KC868-A16S: Can ESP32 rea...
Forum: KC868-A series and Uair Smart Controller
Last Post: admin
04-25-2026, 01:48 PM
» Replies: 1
» Views: 58
m16v2 energy meter - cali...
Forum: KC868-M16 / M1 / MB / M30
Last Post: admin
04-25-2026, 11:23 AM
» Replies: 13
» Views: 365

  KC868-A16
Posted by: Roni - 09-12-2023, 08:33 AM - Forum: KC868-A16 - Replies (12)

Hi
Can you send me example arduino source code ethernet code for KC868-A16?

Thanks

Print this item

  Difference between E16v2 & E16s
Posted by: dharma - 09-11-2023, 01:51 PM - Forum: KC868-E16S/E16P - Replies (1)

I know that E16 doesn't have NC connections and also the buttons are plastic, where as E16 v2 has both NO and NC connections and with metal buttons.  But, what are all the differences between E16 v2 and E16S?

TIA.

Print this item

  MOSFET vs COM output
Posted by: dharma - 09-11-2023, 09:48 AM - Forum: KC868-A32/A32 Pro - Replies (1)

This A32 board is listed as Relay, where as A128 is MOSFET, H32B Pro is COM AND KC868-Server is MOSFET PNP.  What are these various output types and how to know which one is the right one to buy?

Print this item

  KC868-H16B EspHome example code
Posted by: pier - 09-11-2023, 09:41 AM - Forum: KC868-HxB series Smart Controller - Replies (1)

HI,
it is possible to have an example code to flash EspHome for the KC868-H16B board, with the main components already integrated: ethnernet, wifi, etc. etc.
Thank you

Print this item

  "KCS" v2.1.4 firmware BIN file download
Posted by: admin - 09-11-2023, 02:45 AM - Forum: "KCS" v2 firmware system - No Replies

Here is "KCS" firmware for KinCony KC868-A series (ESP32) board.
How to download and use, online guide: https://www.kincony.com/esp32-kcsv2-firmware.html

v2.1.4 improment:
support new KC868-HA protocol. A64,A128,AIO will supported by KC868-HA fully.

   
   

added "EdgeEvent mode" for KC868-HA. 
you can define every old switch panel button’s “RisingEdge” and “FallingEdge” for “4 different actions”.
RisingEdge: press download button
FallingEdge: release button

4 different actions code:

NoDef: do nothing
EvtON: ON
EvtOFF: OFF
EvtTog: TOGGLE



Attached Files
.zip   KCS_KC868_A16S_V2.1.4.zip (Size: 797.47 KB / Downloads: 821)
.zip   KCS_KC868_A32_V2.1.4.zip (Size: 780.68 KB / Downloads: 612)
.zip   KCS_KC868_A32M_V2.1.4.zip (Size: 799.14 KB / Downloads: 579)
.zip   KCS_KC868_A64_V2.1.4.zip (Size: 780.76 KB / Downloads: 601)
.zip   KCS_KC868_A128_V2.1.4.zip (Size: 780.63 KB / Downloads: 583)
.zip   KCS_KC868_AG_V2.1.4.zip (Size: 759.71 KB / Downloads: 619)
.zip   KCS_KC868_AI_V2.1.4.zip (Size: 783.3 KB / Downloads: 572)
.zip   KCS_KC868_AIO_V2.1.4.zip (Size: 796.78 KB / Downloads: 809)
.zip   KCS_KC868_AK_V2.1.4.zip (Size: 762.04 KB / Downloads: 575)
.zip   KCS_KC868_AM_V2.1.4.zip (Size: 772.82 KB / Downloads: 559)
.zip   KCS_KC868_AP_V2.1.4.zip (Size: 778.87 KB / Downloads: 604)
.zip   KCS_KC868_ASR_V2.1.4.zip (Size: 750.66 KB / Downloads: 583)
.zip   KCS_KC868_E16S_V2.1.4.zip (Size: 783.25 KB / Downloads: 608)
.zip   KCS_KC868_UAIR_V2.1.4.zip (Size: 762.72 KB / Downloads: 581)
.zip   KCS_KC868_A2_V2.1.4.zip (Size: 785.48 KB / Downloads: 593)
.zip   KCS_KC868_A4_V2.1.4.zip (Size: 776.25 KB / Downloads: 599)
.zip   KCS_KC868_A4S_V2.1.4.zip (Size: 796.43 KB / Downloads: 591)
.zip   KCS_KC868_A6_V2.1.4.zip (Size: 771.62 KB / Downloads: 594)
.zip   KCS_KC868_A8_V2.1.4.zip (Size: 779.66 KB / Downloads: 774)
.zip   KCS_KC868_A8M_V2.1.4.zip (Size: 795.95 KB / Downloads: 578)
.zip   KCS_KC868_A8S_V2.1.4.zip (Size: 797.42 KB / Downloads: 686)
.zip   KCS_KC868_A16_V2.1.4.zip (Size: 786.73 KB / Downloads: 641)
Print this item

  KC868-HA RS485 button adapter firmware and PC software v1.0.4.0904 update
Posted by: admin - 09-11-2023, 02:31 AM - Forum: News - Replies (8)

improvement:

added "EdgeEvent mode" for KC868-HA. 
you can define every button’s “RisingEdge” and “FallingEdge” for “4 different actions”.
RisingEdge: press download button
FallingEdge: release button

4 different actions code:

NoDef: do nothing
EvtON: ON
EvtOFF: OFF
EvtTog: TOGGLE

   

PC software (HA485_Ctrl_V1.0.4.0904) download:

.zip   HA485_Ctrl_V1.0.4.0904.zip (Size: 911.51 KB / Downloads: 941)

firmware BIN file (HA485_KU_V106_221102_SP230903.bin) for KC868-HA download:

.zip   HA485_KU_V106_221102_SP230903.zip (Size: 6.45 KB / Downloads: 916)

bootload tool download
[Image: attachment.php?aid=2935]

KC868-HA protocol document download:
https://www.kincony.com/download/KC868-H...d_v106.pdf

KC868-HA online guide:
https://www.kincony.com/how-to-use-rs485...apter.html

Print this item

  ESP32 8CH relay module with manual buttons – A8S v2 released
Posted by: admin - 09-10-2023, 01:05 PM - Forum: News - No Replies

KinCony A8S v2 esp32 board based on ESP32 wifi chip, it have manual control switch buttons can turn ON/OFF relay even if system is broken. Support POE module work without power supply. It support GSM module for SMS, voice call, GPRS communication for Tuya mobile application. Use SMS or call to turn ON/OFF relay will be very easy for home automation DIY. You can write any code by Arduino IDE to ESP32 wifi/bluetooth/ethernet RS485 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: A8Sv2-1_01.jpg]
[Image: A8Sv2-1_02.jpg]
[Image: A8Sv2-1_03.jpg]
[Image: A8Sv2-1_04.jpg]

Print this item

  KC868-A8S circuit diagram
Posted by: KinCony Support - 09-08-2023, 06:35 AM - Forum: KC868-A8S - No Replies

   

Print this item

  [Arduino source code for KC868-A8M]-07 Control 28BYJ-48 step motor
Posted by: KinCony Support - 09-08-2023, 12:50 AM - Forum: KC868-A8M - No Replies

Code:
#include <RCSwitch.h>
#include "PCF8574.h"

#define motor_pin_1 0   
#define motor_pin_2 1
#define motor_pin_3 2
#define motor_pin_4 3

RCSwitch mySwitch = RCSwitch();
PCF8574 pcf8574(0x24,5,4);
int Step_Dealy_Time=10;
int Turn_Step=2048;

int KEY1_BUTTON = 0;
int KEY2_BUTTON = 0;
int KEY3_BUTTON = 0;
int KEY4_BUTTON = 0;
int KEY5_BUTTON = 0;

void Read_buttonState ()
{
  /*The following data is the remote control of five key values,You can replace them with your own remote key values*/
  if(mySwitch.available()){
    Serial.printf("mySwitch.getReceivedValue = %d\n",mySwitch.getReceivedValue());
    if(mySwitch.getReceivedValue()==5756163)  { KEY1_BUTTON=1;KEY2_BUTTON=0;KEY3_BUTTON=0;KEY4_BUTTON=0;KEY5_BUTTON=0;}//Clockwise_Turn
    if(mySwitch.getReceivedValue()==5756172)  { KEY1_BUTTON=0;KEY2_BUTTON=1;KEY3_BUTTON=0;KEY4_BUTTON=0;KEY5_BUTTON=0;}//Anti_Clockwise_Turn
    if(mySwitch.getReceivedValue()==5756208)  { KEY1_BUTTON=0;KEY2_BUTTON=0;KEY3_BUTTON=1;KEY4_BUTTON=0;KEY5_BUTTON=0;}//Stop_Turn
    if(mySwitch.getReceivedValue()==5756364)  { KEY4_BUTTON=1;KEY5_BUTTON=0;}//Speed up
    if(mySwitch.getReceivedValue()==5756367)  { KEY4_BUTTON=0;KEY5_BUTTON=1;}//Speed down
}
  mySwitch.resetAvailable();
}
/************Clockwise************/
void Clockwise_Turn (int Step)
{
 
  while (Step>0)
  {
    int which_one=Step % 4;
        switch (which_one) {
         case 0:  // AB
          pcf8574.digitalWrite(motor_pin_1, HIGH);
          pcf8574.digitalWrite(motor_pin_2, HIGH);
          pcf8574.digitalWrite(motor_pin_3, LOW);
          pcf8574.digitalWrite(motor_pin_4, LOW);
        break;
        case 1:  // BC
          pcf8574.digitalWrite(motor_pin_1, LOW);
          pcf8574.digitalWrite(motor_pin_2, HIGH);
          pcf8574.digitalWrite(motor_pin_3, HIGH);
          pcf8574.digitalWrite(motor_pin_4, LOW);
        break;
        case 2:  //CD
          pcf8574.digitalWrite(motor_pin_1, LOW);
          pcf8574.digitalWrite(motor_pin_2, LOW);
          pcf8574.digitalWrite(motor_pin_3, HIGH);
          pcf8574.digitalWrite(motor_pin_4, HIGH);
        break;
        case 3:  //DA
          pcf8574.digitalWrite(motor_pin_1, HIGH);
          pcf8574.digitalWrite(motor_pin_2, LOW);
          pcf8574.digitalWrite(motor_pin_3, LOW);
          pcf8574.digitalWrite(motor_pin_4, HIGH);
        break;
    }
 
    Read_buttonState();
    Button_speed_up_down();
    if (KEY2_BUTTON == 1)
    {     
      Anti_Clockwise_Turn(Turn_Step);       
    }
    if (KEY3_BUTTON == 1)
    {
      Stop_Turn(Turn_Step);
    }
    Step--;
    delay(Step_Dealy_Time);
  }

 
}
/*******************Anti_Clockwise**********************/
void Anti_Clockwise_Turn (int Step)
{
 
  while (Step>0)
  {
    int which_one=Step % 4;
        switch (which_one) {
        case 0:  // AD
          pcf8574.digitalWrite(motor_pin_1, HIGH);
          pcf8574.digitalWrite(motor_pin_2, LOW);
          pcf8574.digitalWrite(motor_pin_3, LOW);
          pcf8574.digitalWrite(motor_pin_4, HIGH);
        break;
        case 1:  //CD
          pcf8574.digitalWrite(motor_pin_1, LOW);
          pcf8574.digitalWrite(motor_pin_2, LOW);
          pcf8574.digitalWrite(motor_pin_3, HIGH);
          pcf8574.digitalWrite(motor_pin_4, HIGH);
        break;
        case 2:  //BC
          pcf8574.digitalWrite(motor_pin_1, LOW);
          pcf8574.digitalWrite(motor_pin_2, HIGH);
          pcf8574.digitalWrite(motor_pin_3, HIGH);
          pcf8574.digitalWrite(motor_pin_4, LOW);
        break;
        case 3:  //AB
          pcf8574.digitalWrite(motor_pin_1, HIGH);
          pcf8574.digitalWrite(motor_pin_2, HIGH);
          pcf8574.digitalWrite(motor_pin_3, LOW);
          pcf8574.digitalWrite(motor_pin_4, LOW);
        break;
        }
    Read_buttonState();
    Button_speed_up_down();
    if (KEY1_BUTTON == 1)
    {
         Clockwise_Turn(Turn_Step);
    }
    if (KEY3_BUTTON == 1)
    {
      Stop_Turn(Turn_Step);
    }
    Step--; 
    delay(Step_Dealy_Time); 
  }

}
/*************Stop_Turn**********************/
void Stop_Turn (int Step)
{

    pcf8574.digitalWrite(motor_pin_1, HIGH);
    pcf8574.digitalWrite(motor_pin_2, HIGH);
    pcf8574.digitalWrite(motor_pin_3, HIGH);
    pcf8574.digitalWrite(motor_pin_4, HIGH);
       
    Read_buttonState();
    if (KEY1_BUTTON == 1)
    {       
      Clockwise_Turn(Turn_Step);
    }
    if (KEY2_BUTTON == 1)
    {
      Anti_Clockwise_Turn(Turn_Step);
    }
    delay(Step_Dealy_Time);
     
  }
/**************Speed up and down**********************/
void Button_speed_up_down()
{
  if (KEY4_BUTTON == 1)
  {
    delay(50);
    KEY4_BUTTON =0;
    Step_Dealy_Time=Step_Dealy_Time-1;

    if (Step_Dealy_Time<2)
      {
        Step_Dealy_Time=2;
      }

  }
  if (KEY5_BUTTON == 1)
  {   
    delay(50);
    KEY5_BUTTON =0;     
    Step_Dealy_Time=Step_Dealy_Time+1;
    if (Step_Dealy_Time>10)
      {
        Step_Dealy_Time=10;
      }                             
  }
}

void Button_Clockwise_or_Anti_Clockwise_Turn()
{
  if (KEY1_BUTTON == 1&KEY2_BUTTON == 0&KEY3_BUTTON == 0)
  {
      Clockwise_Turn(Turn_Step);
  }
  if (KEY1_BUTTON == 0&KEY2_BUTTON == 1&KEY3_BUTTON == 0)
  {
      Anti_Clockwise_Turn(Turn_Step);
  }
  if (KEY1_BUTTON == 0&KEY2_BUTTON == 0&KEY3_BUTTON == 1)
  {
    Stop_Turn(Turn_Step);
  }
}

void setup()
{
   Serial.begin(115200);
   mySwitch.enableReceive(digitalPinToInterrupt(16));
    pcf8574.pinMode(motor_pin_1, OUTPUT);
    pcf8574.pinMode(motor_pin_2, OUTPUT);
    pcf8574.pinMode(motor_pin_3, OUTPUT);
    pcf8574.pinMode(motor_pin_4, OUTPUT);
    pcf8574.begin();
}

void loop()
{
   Read_buttonState();
   Button_speed_up_down();
   Button_Clockwise_or_Anti_Clockwise_Turn();
   delay(30);
}

.zip   KC868-A8M_28BYJ_48.zip (Size: 1.34 KB / Downloads: 601)
   

Print this item

  how to config tasmota for AG Pro controller using ZHA in home assistant
Posted by: admin - 09-08-2023, 12:28 AM - Forum: KC868-AG / AG Pro / AG8 / Z1 - Replies (7)

you can download newest (tasmota32-zbbrdgpro.bin) firmware from tasmota official webpage:
http://ota.tasmota.com/tasmota32/release/

ESP flasher for ESP32, ESP32-C3, ESP32-S2, ESP32-S3 and ESP8266 (Tasmota) download: 
https://github.com/Jason2866/ESP_Flasher/releases

set TCP rx and TCP tx pin for ESP32
   

   
1. run TCP start command:  TCPStart 6688
you can also use other port number, 6688 just for example.

2. create a rule when system reboot will auto start TCP command: Rule1 ON System#Boot do TCPStart 6688 endon

3. enable Rule1 command: Rule1 1
   

   
   
   
   
   
   
   
   

Print this item