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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 6,364
» Latest member: mercyjo2034
» Forum threads: 2,844
» Forum posts: 15,030

Full Statistics

Online Users
There are currently 64 online users.
» 2 Member(s) | 42 Guest(s)
Amazonbot, Applebot, Bytespider, Crawl, Google, PetalBot, WordPress/, Yandex, bot, coccoc, owler, bimber200, salvolivigni

Latest Threads
A16: IFTTT Time based act...
Forum: KC868-A16
Last Post: sebfromgermany
26 minutes ago
» Replies: 17
» Views: 156
analog input resolution 3...
Forum: KC868-A16
Last Post: Yosemite
1 hour ago
» Replies: 15
» Views: 384
[Arduino IDE demo source ...
Forum: KC868-A16
Last Post: wolli
2 hours ago
» Replies: 7
» Views: 2,574
KC868-HA-V21 serial port ...
Forum: KC868-HA /HA v2
Last Post: admin
3 hours ago
» Replies: 8
» Views: 92
Using B16M for driving LE...
Forum: B16M
Last Post: admin
3 hours ago
» Replies: 3
» Views: 11
KC868-M30 - how to get it...
Forum: KC868-M16 / M1 / MB / M30
Last Post: msmrz
4 hours ago
» Replies: 4
» Views: 42
KC868-HA RS485 INPUT & OU...
Forum: KC868-HA /HA v2
Last Post: admin
Yesterday, 10:57 PM
» Replies: 29
» Views: 6,584
MQTT Connection issues
Forum: KC868-A16
Last Post: admin
Yesterday, 10:55 PM
» Replies: 1
» Views: 9
KCS868-A6 not found
Forum: KC868-A series and Uair Smart Controller
Last Post: admin
Yesterday, 10:50 PM
» Replies: 12
» Views: 55
Request for Assistance in...
Forum: DIY Project
Last Post: admin
Yesterday, 09:17 AM
» Replies: 1
» Views: 15

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

   
   

Print this item

  KC868-H32BS control DC24V contactor
Posted by: KinCony Support - 07-08-2022, 02:50 AM - Forum: Schematic and diagram - 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: 302)
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: 263)
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: 248)
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: 248)
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: 251)
Print this item