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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 8,329
» Latest member: chamoistrust
» Forum threads: 3,636
» Forum posts: 18,783

Full Statistics

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

Latest Threads
OUTPUT DO1
Forum: KC868-AIO
Last Post: Lupi84
46 minutes ago
» Replies: 8
» Views: 56
sample code to receive ht...
Forum: F16
Last Post: admin
3 hours ago
» Replies: 10
» Views: 40
Goes Offline
Forum: KC868-E16S/E16P
Last Post: admin
Yesterday, 06:45 PM
» Replies: 1
» Views: 12
N20 Problem with Home Ass...
Forum: N20
Last Post: Luismical1
Yesterday, 04:13 PM
» Replies: 5
» Views: 27
Loxone RS485
Forum: KinCony integrate with Loxone home automation
Last Post: admin
Yesterday, 01:36 PM
» Replies: 11
» Views: 1,163
adaptor V2 and KC868 h32b...
Forum: KC868-ATC / Tuya adapter V2
Last Post: admin
Yesterday, 08:25 AM
» Replies: 3
» Views: 50
Problems and general Feed...
Forum: N30
Last Post: admin
12-28-2025, 11:58 PM
» Replies: 1
» Views: 13
Voltage for KC868-16
Forum: KC868-A16
Last Post: admin
12-28-2025, 11:54 PM
» Replies: 1
» Views: 9
16-Channel Lighting Contr...
Forum: News
Last Post: admin
12-28-2025, 10:52 AM
» Replies: 1
» Views: 14
N30 Energy entry not work...
Forum: N30
Last Post: Vega
12-27-2025, 01:15 PM
» Replies: 13
» Views: 135

Photo H32BS and COLB MINI Smart distribution box
Posted by: KinCony Support - 07-11-2022, 02:00 AM - Forum: Schematic & diagram & Dimensions of KinCony PCB layout CAD file - Replies (4)

   
   

Print this item

  KC868-H32BS control DC24V contactor
Posted by: KinCony Support - 07-08-2022, 02:50 AM - Forum: Schematic & diagram & Dimensions of KinCony PCB layout CAD file - No Replies

   

Print this item

  KC868-H32BS Switch press delayed update
Posted by: v1rtus - 07-07-2022, 07:12 PM - Forum: Development - Replies (9)

I have a KC868-H32BS controller that has many impulse switches connected to it.

When any switch is pressed the controller updates server with NODE-RED via mqtt about that. But there is a delay I think ~1 second between switch click and update received by NODE-RED.
Everything work via LAN.

Is it possible to do something with that?

Print this item

  New DIY Project Support
Posted by: ahmedk4444@yahoo.com - 07-07-2022, 01:55 AM - Forum: DIY Project - Replies (74)

Dear kincony support,
I bought those from Kincony 

1 server
1 A16 bundle E
2 D8 + 16 SSR 10A + 16 CB 6A
1 H32BS+ 2 E8 + 16 CB 10 A
1 power supply 220/12 volt 4.5A


I need to know the exact wiring diagram need it between Server ,A16 Bundle E , 2D8, H32BS to start build the distribution board.

Note the lesson 3 demo just showing server with A16 and connect the server directly to load through E16 only 

Thanks

Print this item

  Configure KC868-A8 in ESPHome
Posted by: fabuena - 07-06-2022, 07:41 AM - Forum: KC868-A8 - Replies (21)

Hello, 

¿How can I configured/flash my KC868-A8 in ESPHome (Home Assistant) for this sensors?

*Two Digital Inputs S3 and 54,
*Two Analog Inputs A1 and A2
*Two Temperature sensors Input S1and S2 can connect
DS18B20 Temperature sensor or DHT11 or DHT21 temperature and Humdity Sensor.


Does anyone have a complete KC868-A8 .yaml file to configure ESPHome?
Thankyou in advance

Print this item

  [Arduino IDE demo source code for KC868-AI]--#06-KC868-AI_RS485_code
Posted by: KinCony Support - 07-06-2022, 01:07 AM - Forum: KC868-AI - Replies (5)

[Arduino IDE demo source code for KC868-AI]--#06-KC868-AI_RS485_code

Code:
void setup() {
  // put your setup code here, to run once:
Serial2.begin(9600);
}

void loop() {
  // put your main code here, to run repeatedly:
Serial2.println("KinCony");
delay(500);
}



Attached Files
.zip   RS485.zip (Size: 420 bytes / Downloads: 602)
Print this item

  [Arduino IDE demo source code for KC868-AI]--#05-KC868-AI_RS232_code
Posted by: KinCony Support - 07-06-2022, 01:07 AM - Forum: KC868-AI - No Replies

[Arduino IDE demo source code for KC868-AI]--#05-KC868-AI_RS232_code

Code:
void setup() {
  // put your setup code here, to run once:
Serial1.begin(115200,SERIAL_8N1,33,32);
}

void loop() {
  // put your main code here, to run repeatedly:
Serial1.print("RELAY-KEY-255,1,1");
delay(2000);


}



Attached Files
.zip   RS232.zip (Size: 455 bytes / Downloads: 570)
Print this item

  [Arduino IDE demo source code for KC868-AI]--#04-KC868-AI_RF receive_code
Posted by: KinCony Support - 07-06-2022, 01:06 AM - Forum: KC868-AI - No Replies

[Arduino IDE demo source code for KC868-AI]--#04-KC868-AI_RF receive_code

Code:
#include <RCSwitch.h>

RCSwitch mySwitch = RCSwitch();

void setup()
{
  mySwitch.enableReceive(digitalPinToInterrupt(13));

  Serial.begin(115200);
  Serial.println();
}

 
void loop()
{
//-------------------------------------
  if (mySwitch.available()) {
   
    Serial.print("Received ");
    Serial.print( mySwitch.getReceivedValue() );
    Serial.print(" / ");
    Serial.print( mySwitch.getReceivedBitlength() );
    Serial.print("bit ");
    Serial.print("Protocol: ");
    Serial.println( mySwitch.getReceivedProtocol() );

    mySwitch.resetAvailable();
  }
  delay(30);
 
}



Attached Files
.zip   RF.zip (Size: 533 bytes / Downloads: 527)
Print this item

  [Arduino IDE demo source code for KC868-AI]--#03-KC868-AI_LAN8720_udp_code
Posted by: KinCony Support - 07-06-2022, 01:05 AM - Forum: KC868-AI - No Replies

[Arduino IDE demo source code for KC868-AI]--#03-KC868-AI_LAN8720_udp_code

Code:
#include <ETH.h>
#include <WiFiUdp.h>

#define ETH_ADDR        0
#define ETH_POWER_PIN  -1
#define ETH_MDC_PIN    23
#define ETH_MDIO_PIN   18
#define ETH_TYPE       ETH_PHY_LAN8720
#define ETH_CLK_MODE   ETH_CLOCK_GPIO17_OUT

WiFiUDP Udp;                      //Create UDP object
unsigned int localUdpPort = 4196; //local port
IPAddress local_ip(192, 168, 1, 200);
IPAddress gateway(192, 168, 1, 1);
IPAddress subnet(255, 255, 255, 0);
IPAddress dns(192, 168, 1, 1);

void setup()
{
  Serial.begin(115200);
  Serial.println();
   
  ETH.begin(ETH_ADDR, ETH_POWER_PIN, ETH_MDC_PIN, ETH_MDIO_PIN, ETH_TYPE, ETH_CLK_MODE); //start with ETH

  // write confir for static IP, gateway,subnet,dns1,dns2
  if (ETH.config(local_ip, gateway, subnet, dns, dns) == false) {
    Serial.println("LAN8720 Configuration failed.");
  }else{Serial.println("LAN8720 Configuration success.");}
 
/* while(!((uint32_t)ETH.localIP())) //wait for IP
  {

  }*/
  Serial.println("Connected");
  Serial.print("IP Address:");
  Serial.println(ETH.localIP());

  Udp.begin(localUdpPort); //begin UDP listener
}

void loop()
{
  int packetSize = Udp.parsePacket(); //get package size
  if (packetSize)                     //if have received data
  {
    char buf[packetSize];
    Udp.read(buf, packetSize); //read current data

    Serial.println();
    Serial.print("Received: ");
    Serial.println(buf);
    Serial.print("From IP: ");
    Serial.println(Udp.remoteIP());
    Serial.print("From Port: ");
    Serial.println(Udp.remotePort());

    Udp.beginPacket(Udp.remoteIP(), Udp.remotePort()); //ready to send data
    Udp.print("Received: ");   
    Udp.write((const uint8_t*)buf, packetSize); //copy data to sender buffer
    Udp.endPacket();            //send data
  }
}



Attached Files
.zip   LAN8720_UDP.zip (Size: 1.04 KB / Downloads: 565)
Print this item

  [Arduino IDE demo source code for KC868-AI]--#02-KC868-AI_IR receive_code
Posted by: KinCony Support - 07-06-2022, 01:04 AM - Forum: KC868-AI - No Replies

[Arduino IDE demo source code for KC868-AI]--#02-KC868-AI_IR receive_code

Code:
#include <WiFiUdp.h>


#include "PinDefinitionsAndMore.h"
#include <IRremote.h>

void setup()
{
  Serial.begin(115200);
  Serial.println();
  IrReceiver.begin(IR_RECEIVE_PIN, ENABLE_LED_FEEDBACK, USE_DEFAULT_FEEDBACK_LED_PIN);

}

void loop()
{

    if (IrReceiver.decode()) {

        // Print a short summary of received data
        IrReceiver.printIRResultShort(&Serial);
        if (IrReceiver.decodedIRData.protocol == UNKNOWN) {
            // We have an unknown protocol here, print more info
            IrReceiver.printIRResultRawFormatted(&Serial, true);
        }
        Serial.println();
     IrReceiver.resume(); // Enable receiving of the next value
    }
  delay(30);
 
}



Attached Files
.zip   IR.zip (Size: 3.16 KB / Downloads: 535)
Print this item