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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 8,327
» Latest member: FACTSERP
» Forum threads: 3,636
» Forum posts: 18,780

Full Statistics

Online Users
There are currently 14 online users.
» 0 Member(s) | 5 Guest(s)
AhrefsBot, Amazonbot, Google, bot

Latest Threads
OUTPUT DO1
Forum: KC868-AIO
Last Post: Lupi84
2 hours ago
» Replies: 6
» Views: 48
sample code to receive ht...
Forum: F16
Last Post: telinda
3 hours ago
» Replies: 9
» Views: 34
Goes Offline
Forum: KC868-E16S/E16P
Last Post: admin
3 hours ago
» Replies: 1
» Views: 8
N20 Problem with Home Ass...
Forum: N20
Last Post: Luismical1
5 hours ago
» Replies: 5
» Views: 24
Loxone RS485
Forum: KinCony integrate with Loxone home automation
Last Post: admin
8 hours ago
» Replies: 11
» Views: 1,158
adaptor V2 and KC868 h32b...
Forum: KC868-ATC / Tuya adapter V2
Last Post: admin
Today, 08:25 AM
» Replies: 3
» Views: 47
Problems and general Feed...
Forum: N30
Last Post: admin
Yesterday, 11:58 PM
» Replies: 1
» Views: 12
Voltage for KC868-16
Forum: KC868-A16
Last Post: admin
Yesterday, 11:54 PM
» Replies: 1
» Views: 5
16-Channel Lighting Contr...
Forum: News
Last Post: admin
Yesterday, 10:52 AM
» Replies: 1
» Views: 11
N30 Energy entry not work...
Forum: N30
Last Post: Vega
12-27-2025, 01:15 PM
» Replies: 13
» Views: 133

  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: 629)

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: 1563)
   
[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: 605)

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: 584)

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: 785)
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

Photo kincony_kc-H868B_relay32B HomeAssistant Mqtt Not Working After 2022.12.0 Update
Posted by: Shemi - 09-08-2022, 01:27 PM - Forum: KC868-HxB series Smart Controller - Replies (1)

Hi,
I updated HOME ASSISTANT to the latest version and now I get an error message. 
The controller is an H32B model, And the connection is via MQTT.
I can't connect to the controller and nothing is responding, through the HOMEASSISTANT interface.
Before the update I could activate all the relays and see the state of the inputs.


The controller itself works and I can enter the settings through the WEB interface.

This is the message I see in the HOME ASSISTANT interface:
https://im.ge/i/Screenshot-2[img]Manually configured MQTT switch(s) found under platform key switch.[/img]022-09-08-15552800002.OkBDd9



[Image: 72a659600ea6bc80f7ff00799a07540993a558fc.png]


I am attaching a picture of the settings:

[Image: 70496a3eda87726c9a2f3732b93f4167e3db657b.png]



I tried to change the settings to the new format as shown in the instructions and that doesn't work either.

[Image: 159df7bd75704d204ff13ac4286a5dfe7b75fbc3.png]

I assume the problem stems from incorrect settings in the CONFIGURATION.YAML file.
The format should probably be changed.
I would love to get help please.

Thanks in advance,
Shemi Cohen

Print this item