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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 9,339
» Latest member: leakdetectionplumbers
» Forum threads: 4,117
» Forum posts: 20,635

Full Statistics

Online Users
There are currently 10 online users.
» 0 Member(s) | 3 Guest(s)
Amazonbot, PetalBot, bot

Latest Threads
KC868-A8M reading Etherne...
Forum: KC868-A8M
Last Post: hayat
Yesterday, 01:39 PM
» Replies: 10
» Views: 3,586
KinCony F16 work with Con...
Forum: KinCony integrate with Control4 home automation
Last Post: admin
Yesterday, 07:34 AM
» Replies: 0
» Views: 17
KinCony Driver File For C...
Forum: KinCony integrate with Control4 home automation
Last Post: admin
Yesterday, 07:05 AM
» Replies: 0
» Views: 16
KinCony Gateway User Guid...
Forum: KinCony integrate with Control4 home automation
Last Post: admin
Yesterday, 07:03 AM
» Replies: 0
» Views: 12
KinCony Contact Driver Us...
Forum: KinCony integrate with Control4 home automation
Last Post: admin
Yesterday, 07:03 AM
» Replies: 0
» Views: 9
KinCony Light Driver User...
Forum: KinCony integrate with Control4 home automation
Last Post: admin
Yesterday, 07:02 AM
» Replies: 0
» Views: 10
KinCony Relay Driver User...
Forum: KinCony integrate with Control4 home automation
Last Post: admin
Yesterday, 07:02 AM
» Replies: 0
» Views: 8
KC868-H32BS V2.14SP firmw...
Forum: News
Last Post: admin
Yesterday, 03:59 AM
» Replies: 4
» Views: 2,840
ESP system with BTS7960 I...
Forum: DIY Project
Last Post: zali
07-05-2026, 08:52 AM
» Replies: 3
» Views: 35
Firmware for KCS 868 A8 v...
Forum: KC868-A series and Uair Smart Controller
Last Post: admin
07-05-2026, 01:33 AM
» Replies: 3
» Views: 61

  KinCony F16 work with Control4 EA-1
Posted by: admin - Yesterday, 07:34 AM - Forum: KinCony integrate with Control4 home automation - No Replies

   
   
   
F16 enable TCP Server mode, port 50088
   
copy these driver files to this path:
   
found kincony devices.
   
   
   
scene mode:
   

Print this item

  KinCony Driver File For Control4
Posted by: admin - Yesterday, 07:05 AM - Forum: KinCony integrate with Control4 home automation - No Replies

KinCony Driver File For Control4

.zip   Control4-KinCony-Driver.zip (Size: 1.11 MB / Downloads: 13)

Print this item

  KinCony Gateway User Guide
Posted by: admin - Yesterday, 07:03 AM - Forum: KinCony integrate with Control4 home automation - No Replies

KinCony Gateway User Guide

.pdf   KinCony Gateway User Guide.pdf (Size: 138.81 KB / Downloads: 11)

Print this item

  KinCony Contact Driver User Guide
Posted by: admin - Yesterday, 07:03 AM - Forum: KinCony integrate with Control4 home automation - No Replies

KinCony Contact Driver User Guide

.pdf   KinCony Contact Driver User Guide.pdf (Size: 126.08 KB / Downloads: 12)

Print this item

  KinCony Light Driver User Guide
Posted by: admin - Yesterday, 07:02 AM - Forum: KinCony integrate with Control4 home automation - No Replies

KinCony Light Driver User Guide

.pdf   KinCony Light Driver User Guide.pdf (Size: 91.17 KB / Downloads: 13)

Print this item

  KinCony Relay Driver User Guide
Posted by: admin - Yesterday, 07:02 AM - Forum: KinCony integrate with Control4 home automation - No Replies

KinCony Relay Driver User Guide

.pdf   KinCony Relay Driver User Guide.pdf (Size: 115.6 KB / Downloads: 11)

Print this item

  ESP system with BTS7960 IBT_2
Posted by: SchmidtGundersen - 07-04-2026, 05:04 PM - Forum: DIY Project - Replies (3)

Hello, I have an issue, maybe you guys can help me. I have bought a BTS7960 IBT_2 to control a motor (12v Linear actuator). But I have problems with the KC868-A6, not booting up correctly (Does not enable wifi, does not get online on HomeESP in Home Assistant) if I have added the BTS7960 IBT_2 from VCC to 3.3V port. I believe it might be because the BTS7960 IBT_2 need 5V and this puts to much load on the KC868-A6 to boot up correctly? Do you know if this issue, and do you know if my suspicion is correct. (If I connect the VCC to 3.3V after it has booted up and is active on wifi, it works fine with the motor)
From what I understand about the BTS7960 IBT_2, is that it should also with with 3.3V

To clearfy I am using KC868-A6-V1.4SP

Thanks!

Print this item

  Firmware for KCS 868 A8 v 1.7 board
Posted by: zali - 07-03-2026, 03:10 PM - Forum: KC868-A series and Uair Smart Controller - Replies (3)

Hi support,

I have a KC868 A8, after watching your video on Youtube I downloaded firmware KCS_KC868_A8_V1.9.1 and KCS_KC868_A8_V2.2.20. I am able to flash both versions but it doesn't show all option on its webpage or incomplete options. fx. I don't see the option to bind input and output port together.
Could you please send me the ulr link to download the compatible firmware version.

Best regards

Zulfqar

Print this item

  difficulty writing to SD CARD
Posted by: martinlotz - 07-01-2026, 09:07 PM - Forum: KC868-A16v3 - Replies (2)

Good Day, 

I do not know what I am doing wrong: 

I am trying to test my SD CARD on the a16v3 . I used your code in the arduino source code - "How to use SD CARD". 

The code writes the hello.txt file to SD but deletes it afterwards. I would like to confirm that the file was written by inserting the SD CARD into my computer and see the file. 

So I commented out the delete function but I do not see the file on my SD CARD .. any Idea what I might be doing wrong? 

This is my serial monitor message I get without the delete function: 

SD Card Type: SDHC
SD Card Size: 29820MB
Writing file: /hello.txt
File written
Appending to file: /hello.txt
Message appended
Reading file: /hello.txt
Read from file: Hello World!
1048576 bytes read for 653 ms
1048576 bytes written for 740 ms
Total space: 29805MB
Used space: 6MB

I use a 32GB SD CARD and did format it to FAT32 with Allocation Unit Size - 32 kb.

I also included the updated code below where I removed the delete function if that helps.

I appreciate any help as I am lost. 

Code:
*
* Made by KinCony IoT: https://www.kincony.com
*
* SD Card File Operations
*
* This program demonstrates basic file operations on an SD card using the ESP32.
* It includes functionality to:
* - Initialize and test the SD card
* - Read from, write to, append to, and delete files on the SD card
* - Measure file read and write performance
*
* Hardware Connections:
* - SCK: GPIO 13
* - MISO: GPIO 14
* - MOSI: GPIO 12
* - CS: GPIO 11
*/

#include "FS.h"
#include "SD.h"
#include "SPI.h"

// Pin definitions for SD card
#define SCK  13
#define MISO 14
#define MOSI 12
#define CS   11

/**
* @brief Reads the contents of a file from the SD card and prints it to the serial monitor.
*
* @param fs File system to use (in this case, SD).
* @param path Path of the file to read.
*/
void readFile(fs::FS &fs, const char * path) {
  Serial.printf("Reading file: %s\n", path);

  File file = fs.open(path);
  if (!file) {
    Serial.println("Failed to open file for reading");
    return;
  }

  Serial.print("Read from file: ");
  while (file.available()) {
    Serial.print((char)file.read());
  }
  file.close();
}

/**
* @brief Writes a message to a file on the SD card.
*
* @param fs File system to use (in this case, SD).
* @param path Path of the file to write.
* @param message Message to write to the file.
*/
void writeFile(fs::FS &fs, const char * path, const char * message) {
  Serial.printf("Writing file: %s\n", path);

  File file = fs.open(path, FILE_WRITE);
  if (!file) {
    Serial.println("Failed to open file for writing");
    return;
  }
  if (file.print(message)) {
    Serial.println("File written");
  } else {
    Serial.println("Write failed");
  }
  file.close();
}

/**
* @brief Appends a message to a file on the SD card.
*
* @param fs File system to use (in this case, SD).
* @param path Path of the file to append.
* @param message Message to append to the file.
*/
void appendFile(fs::FS &fs, const char * path, const char * message) {
  Serial.printf("Appending to file: %s\n", path);

  File file = fs.open(path, FILE_APPEND);
  if (!file) {
    Serial.println("Failed to open file for appending");
    return;
  }
  if (file.print(message)) {
    Serial.println("Message appended");
  } else {
    Serial.println("Append failed");
  }
  file.close();
}

/**
* @brief Deletes a file from the SD card.
*
* @param fs File system to use (in this case, SD).
* @param path Path of the file to delete.
*/
//void deleteFile(fs::FS &fs, const char * path) {
//  Serial.printf("Deleting file: %s\n", path);
//  if (fs.remove(path)) {
//    Serial.println("File deleted");
//  } else {
//    Serial.println("Delete failed");
//  }
//}

/**
* @brief Tests file read and write performance.
*
* @param fs File system to use (in this case, SD).
* @param path Path of the file to test.
*/
void testFileIO(fs::FS &fs, const char * path) {
  File file = fs.open(path);
  static uint8_t buf[512];
  size_t len = 0;
  uint32_t start = millis();
  uint32_t end = start;

  if (file) {
    len = file.size();
    size_t flen = len;
    start = millis();
    while (len) {
      size_t toRead = len;
      if (toRead > 512) {
        toRead = 512;
      }
      file.read(buf, toRead);
      len -= toRead;
    }
    end = millis() - start;
    Serial.printf("%u bytes read for %u ms\n", flen, end);
    file.close();
  } else {
    Serial.println("Failed to open file for reading");
  }

  file = fs.open(path, FILE_WRITE);
  if (!file) {
    Serial.println("Failed to open file for writing");
    return;
  }

  size_t i;
  start = millis();
  for (i = 0; i < 2048; i++) {
    file.write(buf, 512);
  }
  end = millis() - start;
  Serial.printf("%u bytes written for %u ms\n", 2048 * 512, end);
  file.close();
}

void setup() {
  // Initialize serial communication
  Serial.begin(115200);

  // Initialize SPI and SD card
  SPIClass spi = SPIClass(HSPI);
  spi.begin(SCK, MISO, MOSI, CS);

  if (!SD.begin(CS, spi, 80000000)) {
    Serial.println("Card Mount Failed");
    return;
  }

  uint8_t cardType = SD.cardType();

  if (cardType == CARD_NONE) {
    Serial.println("No SD card attached");
    return;
  }

  Serial.print("SD Card Type: ");
  if (cardType == CARD_MMC) {
    Serial.println("MMC");
  } else if (cardType == CARD_SD) {
    Serial.println("SDSC");
  } else if (cardType == CARD_SDHC) {
    Serial.println("SDHC");
  } else {
    Serial.println("UNKNOWN");
  }

  uint64_t cardSize = SD.cardSize() / (1024 * 1024);
  Serial.printf("SD Card Size: %lluMB\n", cardSize);
  delay(2000);

  // Perform file operations
  //deleteFile(SD, "/hello.txt");
  writeFile(SD, "/hello.txt", "Hello ");
  appendFile(SD, "/hello.txt", "World!\n");
  readFile(SD, "/hello.txt");
  testFileIO(SD, "/test.txt");
  Serial.printf("Total space: %lluMB\n", SD.totalBytes() / (1024 * 1024));
  Serial.printf("Used space: %lluMB\n", SD.usedBytes() / (1024 * 1024));
}

void loop() {
  // No operation in loop
}

Print this item

  Can't make AC868-A6 V1.4Sp work with Arduino IDE
Posted by: JL_M_88 - 07-01-2026, 07:55 PM - Forum: N30 - Replies (3)

I just acquired an AC868-A6 V1.4 board from Aliexpress.

I downloaded the lastest KCS_KC868_A6_V2.2.20.bin firmware in it

I want to give a try to Arduino IDE.
I found some ''demo programs'' on the site, such as the one below: (by the way the comment ''Blink Led on PIN0 isn't appropriate !!!) 
Selected ESP32Dev Module board type 
I can compile and download the program.
After downloading the program, the ESP32 will keep reseting indefintely ...
getting this message in the serial monitor:

rst:0x8 (TG1WDT_SYS_RESET),boot:0x17 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
modeBig GrinIO, clock div:1
load:0x3fff0030,len:4876
ho 0 tail 12 room 4
load:0x40078000,len:16560
load:0x40080400,len:3500
entry 0x400805b4
ets Jul 29 2019 12:21:46

Any idea about what can be wrong there ?

Thanks

JL


/*
 Blink led on PIN0
 by Mischianti Renzo <http://www.mischianti.org>
 https://www.mischianti.org/2019/01/02/pc...asy-usage/
*/
#include "Arduino.h"
#include "PCF8574.h"
// Set i2c address
PCF8574 pcf8574(0x24);
void setup()
{
  Wire.begin(12, 11); // SDA: GPIO12, SCL: GPIO11
  Serial.begin(115200);
//  delay(1000);
  // Set pinMode to OUTPUT
  pcf8574.pinMode(P0, OUTPUT);
  pcf8574.pinMode(P1, OUTPUT);
  pcf8574.pinMode(P2, OUTPUT);
  pcf8574.pinMode(P3, OUTPUT);
  pcf8574.pinMode(P4, OUTPUT);
  pcf8574.pinMode(P5, OUTPUT);
  pcf8574.digitalWrite(P0, HIGH);
  pcf8574.digitalWrite(P1, HIGH);
  pcf8574.digitalWrite(P2, HIGH);
  pcf8574.digitalWrite(P3, HIGH);
  pcf8574.digitalWrite(P4, HIGH);
  pcf8574.digitalWrite(P5, HIGH);
  Serial.print("Init pcf8574...");
  if (pcf8574.begin()){
    Serial.println("OK");
  }else{
    Serial.println("KO");
  }
}
void loop()
{
  delay(300);
  pcf8574.digitalWrite(P0, LOW);
  delay(300);
  pcf8574.digitalWrite(P1, LOW);
  delay(300);
  pcf8574.digitalWrite(P2, LOW);
  delay(300);
  pcf8574.digitalWrite(P3, LOW);
  delay(300);
  pcf8574.digitalWrite(P4, LOW);
  delay(300);
  pcf8574.digitalWrite(P5, HIGH);
  delay(300);
  pcf8574.digitalWrite(P4, HIGH);
  delay(300);
  pcf8574.digitalWrite(P5, LOW)
}

Print this item