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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 8,315
» Latest member: fitcoorings
» Forum threads: 3,629
» Forum posts: 18,738

Full Statistics

Online Users
There are currently 31 online users.
» 0 Member(s) | 16 Guest(s)
AhrefsBot, Applebot, Google, PetalBot, Semrush, bot

Latest Threads
KC868-M16v2 configure yam...
Forum: KC868-M16 / M1 / MB / M30
Last Post: admin
6 hours ago
» Replies: 122
» Views: 25,213
Replacing ESP32 with Kinc...
Forum: KC868-A16
Last Post: admin
12-24-2025, 11:43 PM
» Replies: 1
» Views: 16
N30 Energy entry not work...
Forum: N30
Last Post: admin
12-24-2025, 11:43 PM
» Replies: 11
» Views: 91
KC868-Server ESP32 Ethern...
Forum: KC868-Server Raspberry Pi4 local server
Last Post: admin
12-24-2025, 11:41 PM
» Replies: 7
» Views: 73
Single Moment switch
Forum: DIY Project
Last Post: admin
12-24-2025, 11:37 PM
» Replies: 1
» Views: 21
Help with Product Slectio...
Forum: Suggestions and feedback on KinCony's products
Last Post: admin
12-24-2025, 12:06 AM
» Replies: 5
» Views: 64
Loxone RS485
Forum: KinCony integrate with Loxone home automation
Last Post: admin
12-24-2025, 12:03 AM
» Replies: 9
» Views: 1,129
adaptor V2 and KC868 h32b...
Forum: KC868-ATC / Tuya adapter V2
Last Post: admin
12-23-2025, 01:19 AM
» Replies: 1
» Views: 24
KC868-A6 - how to connect...
Forum: KC868-A6
Last Post: admin
12-23-2025, 01:18 AM
» Replies: 1
» Views: 21
easy way to export/import...
Forum: KC868-A series and Uair Smart Controller
Last Post: admin
12-23-2025, 01:09 AM
» Replies: 7
» Views: 5,655

  [arduino source code for KC868-Uair-7] send IR code signal
Posted by: admin - 01-03-2022, 05:41 AM - Forum: KC868-Uair - No Replies

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

void setup() {

  Serial.begin(9600);
  IrSender.begin(IR_SEND_PIN, ENABLE_LED_FEEDBACK);

}

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

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


download arduino IDE source code file: 

.zip   Uair_IR_send.zip (Size: 388 bytes / Downloads: 634)

Note: install "IRremote" library online firstly.

[Image: attachment.php?aid=456]

set IR sender and receiver GPIO pins define as below image:
[Image: attachment.php?aid=459]

Print this item

  [arduino source code for KC868-Uair-6] IR remoter button decode
Posted by: admin - 01-02-2022, 04:15 AM - Forum: KC868-Uair - No Replies

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

void setup() {
  Serial.begin(9600);
  IrReceiver.begin(IR_RECEIVE_PIN, ENABLE_LED_FEEDBACK, USE_DEFAULT_FEEDBACK_LED_PIN);
}

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


download arduino IDE source code file: 

.zip   Uair_IR_receive.zip (Size: 569 bytes / Downloads: 637)
Note: install "IRremote" library online firstly.
   

set IR sender and receiver GPIO pins define as below image:
   

Print this item

  KC868-A Pins to HomeSpan HomeKit
Posted by: glock4101 - 12-31-2021, 10:43 AM - Forum: KC868-A series and Uair Smart Controller - Replies (1)

Hello, I would like to use my controller for homekit control. I found out from the instructional videos that Relay 3 and 4 are on pins 2 and 15.
I would like to use more relays, and configure digital inputs as switches.
In further configuration I would like to use analog inputs and a temperature sensor.

Print this item

  [arduino source code for KC868-Uair-5] read DS18B20 temperature sensor
Posted by: admin - 12-31-2021, 02:15 AM - Forum: KC868-Uair - No Replies

#include <DS18B20.h>

DS18B20 ds(27);

void setup() {
    Serial.begin(9600);
}

void loop() {
 
    Serial.print(ds.getTempC());
    Serial.print("℃");
    Serial.println();
}

download arduino IDE source code file: 

.zip   temperature.zip (Size: 286 bytes / Downloads: 640)

Note: install "DallasTemperature" library online firstly.
   

edit IR send and receiver GPIO pin define in "PinDefinitionsAndMore.h"
   

Print this item

  RC snubber wiring
Posted by: bigramon - 12-30-2021, 07:19 PM - Forum: KC868-HxB series Smart Controller - Replies (10)

Can you please confirm the following wiring of the RC snubber with a KC868-H32B for a furnace valve is OK ?
[Image: kincony-rc-snubber.jpg]

Print this item

  H32B and 32 input panel stops communicating
Posted by: uvrtar - 12-30-2021, 03:05 PM - Forum: KC868-HxB series Smart Controller - Replies (5)

Hi, I have a problem with one of my setups. H32B and input panel stops communicating after 6-10 tries.
After deset it is ok gor 6-10 tries and then stops.

We changed the input panel and it is the same problem. Communicating with Home assistant and mode red is working, Just the connection with panel and contoller.
H32B was not replaced.

Any suggestions?

Print this item

  ESP32 input problem from contacts of Thermal-magnetic circuit breaker
Posted by: gokhan - 12-30-2021, 06:32 AM - Forum: DIY Project - Replies (3)

Hi
I am designing a pressure controlled vacuum tank.
Software of ESP32 and
Nextion screen is OK

But I have problem when
I get digital input from (TMCB)
thermal magnetic circuit protector( schneider gv2me14)
When red fault contacts close I want to get information of fault of motor.  But esp32 reset itself .



Attached Files Thumbnail(s)
   
Print this item

  [arduino source code for KC868-Uair-4] let Buzzer play music
Posted by: admin - 12-30-2021, 01:14 AM - Forum: KC868-Uair - No Replies

#define Do 262
#define Re 294
#define Mi 330
#define Fa 350
#define Sol 393
#define La 441
#define Si 495
#define Doo 882
#define CC 525
#define DD 589
#define EE 661
#define AA 882
#include <ESP32Servo.h>

int musiclist[32]={Do,Re,Mi,Do,Do,Re,Mi,Do,Mi,Fa,Sol,Mi,Fa,Sol,Sol,La,Sol,Fa,Mi,Do,Sol,La,Sol,Fa,Mi,Do,Re,Sol,Do,Re,Sol,Do};

int timelist[32]={2,2,2,2,2,2,2,2,2,2,4,2,2,4,1,1,1,1,2,2,1,1,1,1,2,2,3,3,4,3,3,4};

void setup(){
  Serial.begin(115200);
  pinMode(26,OUTPUT);
}

void loop(){
  int i = 0;
    for (int i = 0; i <32; i = i + (1)) {
      tone(26, musiclist[i], 125*timelist[i]);
      delay(100);
    }
    delay(1000);
    i = 0;
  }
 
download arduino IDE source code file: 

.zip   play music.zip (Size: 486 bytes / Downloads: 590)

Note: install "ESP32Servo" library online firstly.
   

Print this item

  [arduino source code for KC868-Uair-2] let Buzzer beep
Posted by: admin - 12-30-2021, 01:06 AM - Forum: KC868-Uair - No Replies

void setup() {
  pinMode(26,OUTPUT);
}

void loop() {
  digitalWrite(26,HIGH);
  delay(3000);
  digitalWrite(26,LOW);
  delay(2000);
}


download arduino IDE source code file: 

.zip   beep.zip (Size: 247 bytes / Downloads: 643)

Print this item

  [arduino source code for KC868-Uair-3] Let buzzer play tone
Posted by: admin - 12-30-2021, 01:01 AM - Forum: KC868-Uair - Replies (2)

// define Buzzer GPIO
const int TONE_OUTPUT_PIN = 26;

const int TONE_PWM_CHANNEL = 0;

void setup() {
  ledcAttachPin(TONE_OUTPUT_PIN, TONE_PWM_CHANNEL);
}

void loop() {
  // Plays the middle C scale
  ledcWriteNote(TONE_PWM_CHANNEL, NOTE_C, 4);
  delay(500);
  ledcWriteNote(TONE_PWM_CHANNEL, NOTE_D, 4);
  delay(500);
  ledcWriteNote(TONE_PWM_CHANNEL, NOTE_E, 4);
  delay(500);
  ledcWriteNote(TONE_PWM_CHANNEL, NOTE_F, 4);
  delay(500);
  ledcWriteNote(TONE_PWM_CHANNEL, NOTE_G, 4);
  delay(500);
  ledcWriteNote(TONE_PWM_CHANNEL, NOTE_A, 4);
  delay(500);
  ledcWriteNote(TONE_PWM_CHANNEL, NOTE_B, 4);
  delay(500);
  ledcWriteNote(TONE_PWM_CHANNEL, NOTE_C, 5);
  delay(500);
}

download arduino IDE source code file: 

.zip   play tone.zip (Size: 369 bytes / Downloads: 675)

Print this item