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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 8,761
» Latest member: kid
» Forum threads: 3,837
» Forum posts: 19,623

Full Statistics

Online Users
There are currently 27 online users.
» 0 Member(s) | 9 Guest(s)
AhrefsBot, Amazonbot, Crawl, PetalBot, Semrush, Yandex, bot, owler

Latest Threads
kWh resolution
Forum: N30
Last Post: spacerunner
1 hour ago
» Replies: 24
» Views: 703
KC868-M16v2 configure yam...
Forum: KC868-M16 / M1 / MB / M30
Last Post: rover225
8 hours ago
» Replies: 155
» Views: 32,184
Kincony KC868-A16 (ESP32)...
Forum: KC868-A16
Last Post: admin
9 hours ago
» Replies: 1
» Views: 7
Dimensions for KC868-E16 ...
Forum: Schematic & diagram & Dimensions of KinCony PCB layout CAD file
Last Post: davisjame
Yesterday, 08:29 AM
» Replies: 5
» Views: 1,682
DM32 ESPHome yaml for hom...
Forum: DM32
Last Post: admin
Yesterday, 12:50 AM
» Replies: 0
» Views: 6
DM8 ESPHome yaml for home...
Forum: DM8
Last Post: admin
Yesterday, 12:49 AM
» Replies: 0
» Views: 7
How restart а board using...
Forum: "KCS" v2 firmware system
Last Post: admin
03-16-2026, 11:45 PM
» Replies: 1
» Views: 21
Battery backup model on A...
Forum: AIO Hybrid
Last Post: admin
03-16-2026, 10:54 AM
» Replies: 1
» Views: 10
KinCony DM8 8CH ESP32 Dim...
Forum: News
Last Post: admin
03-16-2026, 08:16 AM
» Replies: 0
» Views: 12
Monitor 1 shows power=0 w...
Forum: N20
Last Post: admin
03-15-2026, 09:54 PM
» Replies: 1
» Views: 23

  KC868-H32BS v 1.44 x MQTT
Posted by: rodrigomallmann - 01-27-2022, 01:24 PM - Forum: KC868-HxB series Smart Controller - Replies (3)

Hello all right, I'm starting to integrate kc868-h32bs v1.44 via mqtt in home assistant v2021.12.10. However, when I check if the settings in the configuration.yaml file are correct.

Invalid config for [switch]: required key not provided @ data['platform']. Got None. (See /config/configuration.yaml, line 28).



Attached Files Thumbnail(s)
   
Print this item

Lightbulb [Arduino IDE demo source code for KC868-AG]--#04--IR receive code
Posted by: KinCony Support - 01-27-2022, 02:34 AM - Forum: KC868-AG / AG Pro / AG8 / Z1 - Replies (1)

Code 3: //The demo code is  IR receive code   You can copy the code to your Arduino IDE

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

void setup() {

  Serial.begin(9600);
  IrReceiver.begin(IR_RECEIVE_PIN, ENABLE_LED_FEEDBACK, USE_DEFAULT_FEEDBACK_LED_PIN);
      //IR_RECEIVE_PIN is defined in PinDefinitionsAndMore.h file   IO23
}

void loop() {


    if (IrReceiver.decode()) {

       IrReceiver.printIRResultShort(&Serial);
        if (IrReceiver.decodedIRData.protocol == UNKNOWN) {
            IrReceiver.printIRResultRawFormatted(&Serial, true);
        }
        Serial.println();
     IrReceiver.resume();

    }
}

   

.zip   KC868-AG-IR_receive.zip (Size: 2.54 KB / Downloads: 679)

Print this item

Lightbulb [Arduino IDE demo source code for KC868-AG]--#03--IR send code
Posted by: KinCony Support - 01-27-2022, 02:08 AM - Forum: KC868-AG / AG Pro / AG8 / Z1 - No Replies

Code 3: //The demo code is IR SEND code   You can copy the code to your Arduino IDE

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

void setup() {

  Serial.begin(9600);
  IrSender.begin(IR_SEND_PIN, ENABLE_LED_FEEDBACK);// IR_SEND_PIN is defined in PinDefinitionsAndMore.h file

}

  uint16_t sAddress = 0x78;
  uint8_t sCommand = 0xCD;
  uint8_t sRepeats = 0;

void loop() {
  IrSender.sendNEC(sAddress, sCommand, sRepeats);
  delay(1000);
}

   
you can download the zip file.


.zip   KC868-AG_IR_send.zip (Size: 3.14 KB / Downloads: 711)

Print this item

Lightbulb [Arduino IDE demo source code for KC868-AG]--#02 433Mhz receive code
Posted by: KinCony Support - 01-27-2022, 01:36 AM - Forum: KC868-AG / AG Pro / AG8 / Z1 - No Replies

Code 2: //The demo code is 433Mhz receive code   You can copy the code to your Arduino IDE

Code:
#include <RCSwitch.h>

RCSwitch mySwitch = RCSwitch();

void setup() {
  Serial.begin(9600);
  mySwitch.enableReceive(digitalPinToInterrupt(13));// IO13  433 RECEIVE PIN
}

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();
  }
}
   
.zip   RF-receiver.zip (Size: 393 bytes / Downloads: 667)

Print this item

Lightbulb [Arduino IDE demo source code for KC868-AG]--#01-433Mhz send code
Posted by: KinCony Support - 01-27-2022, 01:31 AM - Forum: KC868-AG / AG Pro / AG8 / Z1 - No Replies

Code 1: //The demo code is RF-send  You can copy the code to your Arduino IDE

Code:
#include <RCSwitch.h>
RCSwitch mySwitch = RCSwitch();

void setup() {
  Serial.begin(9600);
  mySwitch.enableTransmit(digitalPinToInterrupt(22)); //IO22 433Mhz send pin
}

void loop() {
  mySwitch.switchOn("11111", "00010");
  delay(1000);
  mySwitch.switchOff("11111", "00010");
  delay(1000);

  mySwitch.send(5393, 24);
  delay(1000); 
  mySwitch.send(5396, 24);
  delay(1000); 

  mySwitch.send("000000000001010100010001");
  delay(1000); 
  mySwitch.send("000000000001010100010100");
  delay(1000);

  mySwitch.sendTriState("00000FFF0F0F");
  delay(1000); 
  mySwitch.sendTriState("00000FFF0FF0");
  delay(1000);
}
   

.zip   433-sender-code.zip (Size: 811 bytes / Downloads: 686)

Print this item

  H32BS and COLB communication
Posted by: autind - 01-27-2022, 12:25 AM - Forum: KC868-HxB series Smart Controller - Replies (13)

1st - To use KCB868-H32BS connected to KCB868-COLB, with RS485 - Modbus communication, what network configurations are necessary?

2nd - Using the COLB with mqtt protocol, how to read the analog values?


3rd - To use COLD using SCADA software, which mosbus is it possible to use, RTU or TCPip?
Is it possible to configure the master-slave mode and the controller Id?

Print this item

  What i need and how communicate , and other ques.
Posted by: tahmasbi - 01-26-2022, 01:30 PM - Forum: KC868-HxB series Smart Controller - Replies (1)

1-  can i use single pole wall switch (mechanical switch) .
2-If i use small ethernet relay installed under the wall switch for each room and connect the other side of ethernet to an switch is less expensive than all 'L' wires goes from DB for each light , because in first case it will have only on 'L' wire and all other switches in same room take from it , That's true or not?
3-What exactly needs to control house with 80 light switch (each switch my control 4 or 6 bulbs) , and control it from PC and from App?
4-Are there a way to control the thermostat?
5-Is the wire goes  from KC868 to the wall switch and then to the 3 bulb?
6-Is there any diagram that shows not only inside the DB , But also how to goes to wall switch and then to bulb?

Print this item

  Chain KC868-H32B and KC868-H32L
Posted by: tdh - 01-26-2022, 07:08 AM - Forum: KC868-HxB series Smart Controller - Replies (3)

Hi, 

I have both the KC868-H32B and KC868-H32L. 

Is it possible to extend / chain the two controllers so i have 64 relay's? 

And is it then also possible to control them over HTTP like : 
http://192.168.1.10/sw_ctl.cgi?Relay64=ON

Thanks!!

Print this item

  KC868-AG ESP32 I/O pin define
Posted by: admin - 01-26-2022, 05:00 AM - Forum: KC868-AG / AG Pro / AG8 / Z1 - Replies (14)

ESP32 PINs define of  KC868-AG

IR receiver: IO23
IR sender: IO2

433MHz receiver: IO13
433MHz sender: IO22

Buzzer: IO4

LED: IO26,IO27,IO14  (if you want to use , need solder 3 LEDs (0603)  on the bottom of PCB by yourself)

free GPIO:
IO19,IO18,IO16,IO33,IO35,IO39
IO13,IO21,IO17,IO32,IO34,IO36

Print this item

  KC868-A16 ESP32 I/O pin define
Posted by: admin - 01-14-2022, 11:29 PM - Forum: KC868-A16 - Replies (10)

#define ANALOG_A1  36
#define ANALOG_A2  34
#define ANALOG_A3  35
#define ANALOG_A4  39

IIC SDA:4
IIC SCL:5

Relay_IIC_address 0x24
Relay_IIC_address 0x25

Input_IIC_address 0x21
Input_IIC_address 0x22

DS18B20/DHT11/DHT21/LED strip -1: 32
DS18B20/DHT11/DHT21/LED strip -2: 33
DS18B20/DHT11/DHT21/LED strip -2: 14


RF433MHz wireless receiver: 2
RF433MHz wireless sender: 15

Ethernet (LAN8720) I/O define:

#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

RS485:
RXD:16
TXD:13

Print this item