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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 9,648
» Latest member: nk88eccom
» Forum threads: 4,195
» Forum posts: 20,845

Full Statistics

Online Users
There are currently 55 online users.
» 0 Member(s) | 45 Guest(s)
Amazonbot, Baidu, Crawl, Google, PetalBot, bot

Latest Threads
KCS VERSUS ESPHOME
Forum: "KCS" v3 firmware
Last Post: admin
08-20-2026, 10:20 PM
» Replies: 1
» Views: 17
KC868-AGv3
Forum: Getting Started with ESPHome and Home Assistant
Last Post: admin
08-20-2026, 10:18 PM
» Replies: 5
» Views: 72
[arduino code examples fo...
Forum: KC868-A32/A32 Pro
Last Post: huanmarie
08-19-2026, 07:09 AM
» Replies: 2
» Views: 1,592
KC868-H32B V5.08 firmware
Forum: News
Last Post: meoowu77
08-18-2026, 11:46 AM
» Replies: 24
» Views: 8,420
KinCony B2 Smart Controll...
Forum: News
Last Post: admin
08-17-2026, 01:07 PM
» Replies: 0
» Views: 46
KC868-A8v3 PCB layout CAD...
Forum: Schematic & diagram & Dimensions of KinCony PCB layout CAD file
Last Post: admin
08-17-2026, 08:44 AM
» Replies: 0
» Views: 51
CT Clamp Compatibility
Forum: KC868-M16 / M1 / MB / M30
Last Post: admin
08-16-2026, 11:08 PM
» Replies: 12
» Views: 2,049
N60 Sensor channel label
Forum: N60
Last Post: marekd1
08-14-2026, 09:14 PM
» Replies: 18
» Views: 2,455
solar production and cons...
Forum: N30
Last Post: admin
08-14-2026, 01:46 AM
» Replies: 3
» Views: 124
Current direction detecti...
Forum: N30
Last Post: admin
08-14-2026, 01:44 AM
» Replies: 3
» Views: 116

  [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: 1852)
   
[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: 893)

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

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

  Poor IR transmitter range
Posted by: onlyoneme - 09-08-2022, 11:13 AM - Forum: KC868-AG / AG Pro / AG8 / Z1 - Replies (3)

Hello, I've just bought this device and after some preliminary tests I've noticed that IR range is terribly poor comparing to my another transmitter, which is a cheap Tuya based device.

Is it a matter of weak IR LEDs or reason is something else?

Print this item

  KC868-A16 Ethernet ESP32
Posted by: davesmithr1 - 09-08-2022, 09:23 AM - Forum: KC868-A series and Uair Smart Controller - Replies (1)

KC868-A16 Ethernet ESP32 Development Board

does anyone know how to make alexa work using this through the LAN? how to would be awesome i have NO IDEA!!! PLEASE HELP!!! 
Also i want the inputs (dry contact)  to trigger the outputs, 

if someone wants to message me and spend some time to teach/ show me how im willing to pay,

thanks again!

Print this item