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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 9,381
» Latest member: jeffmiller
» Forum threads: 4,128
» Forum posts: 20,653

Full Statistics

Online Users
There are currently 29 online users.
» 0 Member(s) | 23 Guest(s)
Applebot, Baidu, Crawl, bot

Latest Threads
Request for Type A Projec...
Forum: Apply for free sample product
Last Post: kyutimong
Today, 04:19 AM
» Replies: 0
» Views: 5
Loxone RS485
Forum: KinCony integrate with Loxone home automation
Last Post: admin
07-11-2026, 12:16 PM
» Replies: 16
» Views: 3,257
KinCony MT4 – 4CH ESP32 D...
Forum: News
Last Post: admin
07-11-2026, 03:01 AM
» Replies: 0
» Views: 30
[arduino code examples fo...
Forum: MT4
Last Post: admin
07-11-2026, 02:21 AM
» Replies: 0
» Views: 11
[arduino code examples fo...
Forum: MT4
Last Post: admin
07-11-2026, 02:19 AM
» Replies: 0
» Views: 16
[arduino code examples fo...
Forum: MT4
Last Post: admin
07-11-2026, 02:18 AM
» Replies: 0
» Views: 14
[arduino code examples fo...
Forum: MT4
Last Post: admin
07-11-2026, 02:16 AM
» Replies: 0
» Views: 21
[arduino code examples fo...
Forum: MT4
Last Post: admin
07-11-2026, 02:15 AM
» Replies: 0
» Views: 16
[arduino code examples fo...
Forum: MT4
Last Post: admin
07-11-2026, 02:13 AM
» Replies: 0
» Views: 8
MT4 ESPHome yaml for home...
Forum: MT4
Last Post: admin
07-11-2026, 02:10 AM
» Replies: 0
» Views: 15

  KC868-A64 DS18B20
Posted by: janosch1337 - 09-15-2022, 01:18 PM - Forum: KC868-A series and Uair Smart Controller - Replies (24)

Hi 


i have one KC868-E16S and i am planning to buy one A64. so i want to connect temperature sensors. now i see that there is no connector like the A8 has... so no solution to connect those 1-wire sensors?

Print this item

  STM32 Source Code
Posted by: h.berkay - 09-14-2022, 11:31 AM - Forum: KC868-A series and Uair Smart Controller - Replies (1)

Hello, i bought your product and i want to use / test it. The product has this for demo https://www.youtube.com/watch?v=7lPDeLTgh5Q,
i was wondering if i could obtain the code used inside the video. Inside the video it says contact for the source code and i was dirrected from aliexpress to this forum to ask for the source code.

Thanks you,

Han Beginstation

Print this item

  KC868-A16 integrate to Node-Red for alexa voice control
Posted by: admin - 09-14-2022, 11:19 AM - Forum: KC868-A16 - Replies (9)


1. download web server firmware for KC868-A16
https://www.kincony.com/forum/showthread.php?tid=2240

2. register https://alexa-node-red.bm.hardill.me.uk
   

3. create device on "node-red-contrib-alexa-home-skill" skill website
   

4. add alexa skill on Node-Red
   

5. add "alexa" and "http request" node on Node-Red
   

light1-on http command is: http://192.168.1.60/1/on
light1-off http command is: http://192.168.1.60/1/off

just replace the KC868-A16's IP address with yours.

Node-Red follow download:

.zip   KC868-A16-Node-Red-Alexa-16switch.zip (Size: 2.03 KB / Downloads: 827)

6. add skill (Node-Red) on Alexa phone app
   

7. Discovery for new device
   

Print this item

  [Arduino source code for KC868-A4]-21 Homekit with relay &DS18B20 &contact sensor
Posted by: admin - 09-14-2022, 05:19 AM - Forum: KC868-A4 - Replies (4)


This is a demo source code KC868-A4 with 10pcs of DS18B20 temperature sensor and 4 relay and 4 dry contact sensor.

.zip   homekit-temp-dry_contact-4DO.zip (Size: 630.68 KB / Downloads: 1758)
   
[Image: attachment.php?aid=1331]

Print this item

  [Arduino source code for KC868-A4]-20 Apple Homekit 4pcs motion sensor
Posted by: admin - 09-14-2022, 05:15 AM - Forum: KC868-A4 - No Replies


.zip   homekit-motion-A4.zip (Size: 3.8 KB / Downloads: 789)

Print this item

  [Arduino source code for KC868-A4]-19 Apple Homekit with 10pcs DS18B20
Posted by: admin - 09-14-2022, 05:14 AM - Forum: KC868-A4 - No Replies

arduino demo source code for KC868-A4 work with Apple homekit with 10pcs of DS18B20 temperature sensors by one wire.

.zip   homekit-10unit-ds18b20.zip (Size: 6.03 KB / Downloads: 778)

Print this item

  KC868-A6 Outputs
Posted by: petez69 - 09-14-2022, 03:25 AM - Forum: KC868-A series and Uair Smart Controller - Replies (5)

Hi Kincony

I have a relayboard that turns relay on when pin goes to GND.  I see A16 digital outputs go high when turned on....Can I invert this to make actuve GND ?

Thankyou..Peter

Print this item

  [Arduino source code for KC868-A4]-18 one GPIO with multiple DS18B20 sensor
Posted by: admin - 09-14-2022, 01:49 AM - Forum: KC868-A4 - Replies (4)

these 10pcs of DS18B20 temperature sensors work with one ESP32 GPIO. program will print 10 sensor's value at the same time.
   
   
   

Code:
// Include the libraries we need
#include <OneWire.h>
#include <DallasTemperature.h>

// Data wire is plugged into port 2 on the Arduino
#define ONE_WIRE_BUS 13
#define TEMPERATURE_PRECISION 9

// Setup a oneWire instance to communicate with any OneWire devices (not just Maxim/Dallas temperature ICs)
OneWire oneWire(ONE_WIRE_BUS);

// Pass our oneWire reference to Dallas Temperature.
DallasTemperature sensors(&oneWire);

// arrays to hold device addresses
DeviceAddress sensor1,sensor2,sensor3,sensor4,sensor5,sensor6,sensor7,sensor8,sensor9,sensor10;


void setup(void)
{
  // start serial port
  Serial.begin(115200);

  // Start up the library
  sensors.begin();

  // locate devices on the bus
  Serial.print("Locating devices...");
  Serial.print("Found ");
  Serial.print(sensors.getDeviceCount(), DEC);
  Serial.println(" devices.");

  //
  // method 1: by index
  if (!sensors.getAddress(sensor1, 0)) Serial.println("Unable to find address for Device 0");
  if (!sensors.getAddress(sensor2, 1)) Serial.println("Unable to find address for Device 1");
  if (!sensors.getAddress(sensor3, 2)) Serial.println("Unable to find address for Device 1");
  if (!sensors.getAddress(sensor4, 3)) Serial.println("Unable to find address for Device 1");
  if (!sensors.getAddress(sensor5, 4)) Serial.println("Unable to find address for Device 1");
  if (!sensors.getAddress(sensor6, 5)) Serial.println("Unable to find address for Device 1");
  if (!sensors.getAddress(sensor7, 6)) Serial.println("Unable to find address for Device 1");
  if (!sensors.getAddress(sensor8, 7)) Serial.println("Unable to find address for Device 1");
  if (!sensors.getAddress(sensor9, 8)) Serial.println("Unable to find address for Device 1");
  if (!sensors.getAddress(sensor10, 9)) Serial.println("Unable to find address for Device 1");


  // set the resolution to 9 bit per device
  sensors.setResolution(sensor1, TEMPERATURE_PRECISION);
  sensors.setResolution(sensor2, TEMPERATURE_PRECISION);
  sensors.setResolution(sensor3, TEMPERATURE_PRECISION);
  sensors.setResolution(sensor4, TEMPERATURE_PRECISION);
  sensors.setResolution(sensor5, TEMPERATURE_PRECISION);
  sensors.setResolution(sensor6, TEMPERATURE_PRECISION);
  sensors.setResolution(sensor7, TEMPERATURE_PRECISION);
  sensors.setResolution(sensor8, TEMPERATURE_PRECISION);
  sensors.setResolution(sensor9, TEMPERATURE_PRECISION);
  sensors.setResolution(sensor10, TEMPERATURE_PRECISION);
}

void loop(void)
{
  // call sensors.requestTemperatures() to issue a global temperature
  // request to all devices on the bus
// sensors.requestTemperatures();
  float tempC1 = sensors.getTempC(sensor1);
  float tempC2 = sensors.getTempC(sensor2);
  float tempC3 = sensors.getTempC(sensor3);
  float tempC4 = sensors.getTempC(sensor4);
  float tempC5 = sensors.getTempC(sensor5);
  float tempC6 = sensors.getTempC(sensor6);
  float tempC7 = sensors.getTempC(sensor7);
  float tempC8 = sensors.getTempC(sensor8);
  float tempC9 = sensors.getTempC(sensor9);
  float tempC10 = sensors.getTempC(sensor10);   
  Serial.println(tempC1);
  Serial.println(tempC2);
  Serial.println(tempC3);
  Serial.println(tempC4);
  Serial.println(tempC5);
  Serial.println(tempC6);
  Serial.println(tempC7);
  Serial.println(tempC8);
  Serial.println(tempC9);
  Serial.println(tempC10);
  Serial.println("*************");
 
}

Print this item

Big Grin [Arduino source code for KC868-A4]-17 homekit work with 4 relay and 4 switch buttons
Posted by: admin - 09-13-2022, 02:51 AM - Forum: KC868-A4 - Replies (8)

this arduino source code for KC868-A4 work with 4 relay and 4 momentary switch buttons via Apple homekit app. you can download the BIN firmware directly without chanage any code. Or you can open arduino source code project to compile.
here are KC868-A4 board with 6 gang switch panel (actually I have used 4 buttons) and iPhoneXR.
   

this is demo video:
   

here is source code:

.zip   RealPushButtons-4DO-4DI.zip (Size: 624.09 KB / Downloads: 998)
this is firmware and source code, BIN file included.

if you want to use source code, you should do:
1. install ESP32 V2 board in arduino IDE.
   
2. install "homespan" library for arduino.
   

after you downloaded firmware, first time to use, need type "W" in serial monitor, chose number of wifi SSID, input password. 
   
   
   
   

then use your iPhone or iPad to pair KC868-A4.
                                       

Print this item

  How to return my password account application smart home
Posted by: engmohades - 09-09-2022, 07:16 AM - Forum: KC868-HxB series Smart Controller - Replies (1)

I can not login my account application smart home because i don't remember my password .

how  can i return my password account smart home and how to change it?

Print this item