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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 8,945
» Latest member: ultimateagri
» Forum threads: 3,946
» Forum posts: 20,008

Full Statistics

Online Users
There are currently 26 online users.
» 0 Member(s) | 12 Guest(s)
AhrefsBot, Amazonbot, Baidu, PetalBot, Sogou web, bot

Latest Threads
N60 N30 N20 N10 ARM CPU f...
Forum: N30
Last Post: pvana
1 hour ago
» Replies: 17
» Views: 387
KC868-COLB V2.4 firmware ...
Forum: News
Last Post: Saif Kitany
4 hours ago
» Replies: 1
» Views: 2,823
sample code to receive ht...
Forum: F16
Last Post: telinda
5 hours ago
» Replies: 22
» Views: 1,571
m16v2 energy meter - cali...
Forum: KC868-M16 / M1 / MB / M30
Last Post: admin
Yesterday, 09:50 PM
» Replies: 3
» Views: 56
Best Practices for Scalin...
Forum: Development
Last Post: admin
Yesterday, 09:48 PM
» Replies: 1
» Views: 12
ERROR SIM not inserted SI...
Forum: KC868-E8T
Last Post: admin
Yesterday, 01:34 AM
» Replies: 20
» Views: 1,075
KC868-A16-V3.1 MODBUS RS4...
Forum: "KCS" v3 firmware
Last Post: admin
Yesterday, 01:28 AM
» Replies: 1
» Views: 30
[Bug] A16v3 (v3.24.3) - W...
Forum: "KCS" v3 firmware
Last Post: admin
Yesterday, 01:27 AM
» Replies: 1
» Views: 25
Http protocol
Forum: News
Last Post: admin
Yesterday, 01:24 AM
» Replies: 18
» Views: 240
N60 Sensor channel label
Forum: N60
Last Post: marekd1
04-20-2026, 11:50 AM
» Replies: 14
» Views: 199

  "KCS" v2.2.14 firmware BIN file download
Posted by: admin - 06-26-2025, 07:49 AM - Forum: "KCS" v2 firmware system - Replies (14)

v2.2.14 improvement:
added DO as IFTTT IF conditon
   



Attached Files
.zip   KCS_KC868_A2_V2.2.14.zip (Size: 795.11 KB / Downloads: 595)
.zip   KCS_KC868_A4_V2.2.14.zip (Size: 782.04 KB / Downloads: 533)
.zip   KCS_KC868_A4S_V2.2.14.zip (Size: 805.78 KB / Downloads: 446)
.zip   KCS_KC868_A6_V2.2.14.zip (Size: 780.35 KB / Downloads: 1007)
.zip   KCS_KC868_A8_V2.2.14.zip (Size: 789.19 KB / Downloads: 619)
.zip   KCS_KC868_A8M_V2.2.14.zip (Size: 805.55 KB / Downloads: 430)
.zip   KCS_KC868_A8S_V2.2.14.zip (Size: 806.81 KB / Downloads: 460)
.zip   KCS_KC868_A16_V2.2.14.zip (Size: 796.51 KB / Downloads: 990)
.zip   KCS_KC868_A16S_V2.2.14.zip (Size: 807.08 KB / Downloads: 443)
.zip   KCS_KC868_A32_V2.2.14.zip (Size: 786.66 KB / Downloads: 461)
.zip   KCS_KC868_A32M_V2.2.14.zip (Size: 804.77 KB / Downloads: 425)
.zip   KCS_KC868_A64_V2.2.14.zip (Size: 786.73 KB / Downloads: 437)
.zip   KCS_KC868_A128_V2.2.14.zip (Size: 786.66 KB / Downloads: 442)
.zip   KCS_KC868_AG_V2.2.14.zip (Size: 764.69 KB / Downloads: 476)
.zip   KCS_KC868_AI_V2.2.14.zip (Size: 789.2 KB / Downloads: 434)
.zip   KCS_KC868_AIO_V2.2.14.zip (Size: 806.51 KB / Downloads: 435)
.zip   KCS_KC868_AK_V2.2.14.zip (Size: 767.18 KB / Downloads: 407)
.zip   KCS_KC868_AM_V2.2.14.zip (Size: 782.38 KB / Downloads: 398)
.zip   KCS_KC868_AP_V2.2.14.zip (Size: 784.83 KB / Downloads: 426)
.zip   KCS_KC868_ASR_V2.2.14.zip (Size: 761.63 KB / Downloads: 426)
.zip   KCS_KC868_E16S_V2.2.14.zip (Size: 791.41 KB / Downloads: 431)
.zip   KCS_KC868_UAIR_V2.2.14.zip (Size: 768.06 KB / Downloads: 427)
Print this item

  Connect um330 and kc828 a16
Posted by: gtd0916 - 06-25-2025, 08:07 AM - Forum: DIY Project - Replies (34)

Hi!!
I have two um330s.
I want to connect um330 16, 17 to kc828 a16, but I don't know how to connect them.
Please help me.



Attached Files Thumbnail(s)
   
Print this item

  Initial configuration for A16v3
Posted by: Erazer - 06-24-2025, 04:01 PM - Forum: KC868-A16v3 - Replies (26)

Hello,

I have purchased A16v3 with  KC868-E16v2 and i am trying to get it on for the first time.
I conected the plug but the display on the board is not displaying anything. Where can i find the instructions to flush the new KCS v3 software?
How can i get started using the product?

Thanks,
Erazer

Print this item

  Question about i2c oled and KCS firmware
Posted by: mumin50 - 06-24-2025, 08:53 AM - Forum: KC868-A16 - Replies (1)

Hi ALL Smile 
My first post.
Want to use KC868-A16 board to do some automation but would like to add Oled on I2C (SSD1306) to show IP adress and some dots representing outputs and inputs
Is there a Source code for KCS v2 firmware so i could add it myself or is it already in? 

Would like to skip rewrite of whole firmware myself  Big Grin

Print this item

  Help Needed: KC868-A4 Relay Module Integration with Home Assistant
Posted by: mitechlljohnsons - 06-24-2025, 07:32 AM - Forum: KC868-HxB series Smart Controller - Replies (3)

Hi everyone,

I am currently working on a home automation project and just got my hands on the KC868-A4 relay module. First off.., big thanks to KinCony for creating such an affordable and compact board—really impressive stuff !!

I have gone through the official documentation.., but I am still a bit stuck integrating it fully with Home Assistant via MQTT. I have configured my broker and can see some communication.., but the relay toggling seems inconsistent. Sometimes it works, sometimes not. I’m wondering if it’s a timing or topic sap fico training in bangalore formatting issue ??

Can anyone here share their YAML config or best practices for setting up the KC868-A4 with Home Assistant: ?? Also, should I be using Tasmota or stick with the original firmware for more stability: ??

Really appreciate any guidance or even a simple example setup. I am not super advanced but have decent experience with ESP modules and MQTT.

Thanks in advance for any help !!

Mitchel

Print this item

  PCB dimensions & STP model
Posted by: MrRon - 06-23-2025, 06:26 PM - Forum: KC868-A2 - Replies (4)

Hello,
i would like to create a custom case for the KC868-A2 board and i would like to know if kincony can provide the mechanical drawings of the board and STP files

Print this item

  AG8 + Daikin AC
Posted by: tenabiker - 06-23-2025, 10:27 AM - Forum: KC868-AG / AG Pro / AG8 / Z1 - Replies (1)

Need some help for Daikin AC control with AG8.

First tried ESP Home firmware using Daikin_ARC  for ESPHome.
Unfortunatelly it was not able to controll the AC Unit.
Them, tried all other Daikin AC for ESP Home (Daikin_BRC and simple Daikin)
None of them worked.

I also flashed AG8 with KCS firmware, but when learning is done, it says SUCEEDED but no code is shown. After trying to send code to AC Unit, it does not work either.

In  the back of AC remote control, it says ARC452A10.

What else can I do ?

Print this item

  [arduino code examples for T128M]-08 read analog input ports
Posted by: admin - 06-23-2025, 05:41 AM - Forum: T128M - No Replies

Code:
/*
* Made by KinCony IoT: https://www.kincony.com
*
* Description:
* This Arduino program reads analog values from four analog input pins (A1, A2, A3, A4)
* and prints the values to the Serial Monitor. The analog inputs are defined with specific
* GPIO pins and the program reads the voltage levels from these pins every 2 seconds.
*
* Pin Definitions:
* - A1: GPIO 7
* - A2: GPIO 6
* - A3: GPIO 5
* - A4: GPIO 4
*/

#define ANALOG_A1   7   // Define GPIO pin for analog input A1
#define ANALOG_A2   6   // Define GPIO pin for analog input A2
#define ANALOG_A3   5   // Define GPIO pin for analog input A3
#define ANALOG_A4   4   // Define GPIO pin for analog input A4

void setup()
{
    Serial.begin(115200); // Initialize serial communication at 115200 baud rate
    delay(500); // Short delay to allow serial communication to start

    pinMode(ANALOG_A1, INPUT); // Set GPIO 5 as an input for analog signal A1
    pinMode(ANALOG_A2, INPUT); // Set GPIO 7 as an input for analog signal A2
    pinMode(ANALOG_A3, INPUT); // Set GPIO 6 as an input for analog signal A3
    pinMode(ANALOG_A4, INPUT); // Set GPIO 4 as an input for analog signal A4
}

void loop()
{
    // Read and print analog values from the defined pins
    Serial.print("A1=");
    Serial.println(analogRead(ANALOG_A1)); // Read and print the value from A1
    Serial.print("A2=");
    Serial.println(analogRead(ANALOG_A2)); // Read and print the value from A2
    Serial.print("A3=");
    Serial.println(analogRead(ANALOG_A3)); // Read and print the value from A3
    Serial.print("A4=");
    Serial.println(analogRead(ANALOG_A4)); // Read and print the value from A4
   
    delay(2000); // Wait for 2 seconds before the next reading
}
arduino ino file download:

.zip   8-analog-input.zip (Size: 768 bytes / Downloads: 403)
BIN file (you can use esp32 download tool download to ESP32-S3 with address 0x0 then directly to use) download:

.zip   8-analog-input.ino.merged.zip (Size: 187.19 KB / Downloads: 360)

Print this item

  [arduino code examples for T128M]-07 i2c scanner search online devices
Posted by: admin - 06-23-2025, 05:40 AM - Forum: T128M - No Replies

Code:
// Made by KinCony IoT: https://www.kincony.com
// This sketch scans two I2C buses and prints all detected device addresses.
// IIC Bus-1: SDA - GPIO48, SCL - GPIO47
// IIC Bus-2: SDA - GPIO12, SCL - GPIO11

#include <Wire.h>

// Create two I2C bus objects
TwoWire I2C_BUS1 = TwoWire(0);
TwoWire I2C_BUS2 = TwoWire(1);

// Scan function for a specific I2C bus
void scanI2CBus(TwoWire &bus, const char* busName) {
  Serial.println();
  Serial.print("Scanning ");
  Serial.print(busName);
  Serial.println(" at 100kHz...");

  byte error, address;
  int nDevices = 0;

  for (address = 1; address < 127; address++) {
    bus.beginTransmission(address);
    error = bus.endTransmission();

    if (error == 0) {
      Serial.print("I2C device found at address 0x");
      if (address < 16)
        Serial.print("0");
      Serial.print(address, HEX);
      Serial.println("  ✓");
      nDevices++;
    } else if (error == 4) {
      Serial.print("Unknown error at address 0x");
      if (address < 16)
        Serial.print("0");
      Serial.println(address, HEX);
    }
  }

  if (nDevices == 0)
    Serial.println("No I2C devices found.");
  else
    Serial.println("Scan completed.");
}

void setup() {
  Serial.begin(115200);
  delay(1000); // Wait for serial to initialize

  // Initialize IIC Bus-1 (GPIO48 = SDA, GPIO47 = SCL) at 100kHz
  I2C_BUS1.begin(48, 47);

  // Initialize IIC Bus-2 (GPIO12 = SDA, GPIO11 = SCL) at 100kHz
  I2C_BUS2.begin(12, 11);

  // Start scanning both buses
  scanI2CBus(I2C_BUS1, "IIC Bus-1");
  scanI2CBus(I2C_BUS2, "IIC Bus-2");
}

void loop() {
  // Nothing to do in the loop
}
arduino ino file download:

.zip   7-i2c-scanner.zip (Size: 841 bytes / Downloads: 374)
BIN file (you can use esp32 download tool download to ESP32-S3 with address 0x0 then directly to use) download:

.zip   7-i2c-scanner.ino.merged.zip (Size: 192.17 KB / Downloads: 384)

Print this item

  [arduino code examples for T128M]-06 digital INPUT trigger OUTPUT directly
Posted by: admin - 06-23-2025, 05:39 AM - Forum: T128M - No Replies

Code:
/*
* Made by KinCony IoT: https://www.kincony.com
*
* This Arduino program reads 128 input channels from 8 PCF8575 modules on I2C Bus-2
* and controls 128 output channels on 8 PCF8575 modules on I2C Bus-1.
* When an input pin is pulled LOW (connected to GND), the corresponding output relay is turned ON (LOW).
* Otherwise, the relay is turned OFF (HIGH).
*
* I2C Bus-1 (Outputs):
* - SDA: GPIO 48
* - SCL: GPIO 47
* - Output1~16    : 0x27
* - Output17~32   : 0x26
* - Output33~48   : 0x23
* - Output49~64   : 0x22
* - Output65~80   : 0x25
* - Output81~96   : 0x24
* - Output97~112  : 0x21
* - Output113~128 : 0x20
*
* I2C Bus-2 (Inputs):
* - SDA: GPIO 12
* - SCL: GPIO 11
* - Input1~16     : 0x27
* - Input17~32    : 0x26
* - Input33~48    : 0x23
* - Input49~64    : 0x22
* - Input65~80    : 0x25
* - Input81~96    : 0x24
* - Input97~112   : 0x21
* - Input113~128  : 0x20
*/

#include <Wire.h>
#include <PCF8575.h>

// Define two I2C buses for independent input/output communication
TwoWire I2C_Output = TwoWire(0); // Bus 1 - Outputs
TwoWire I2C_Input  = TwoWire(1); // Bus 2 - Inputs

// === Output PCF8575 instances ===
PCF8575 output_1(0x27, &I2C_Output);  // Output 1~16
PCF8575 output_2(0x26, &I2C_Output);  // Output 17~32
PCF8575 output_3(0x23, &I2C_Output);  // Output 33~48
PCF8575 output_4(0x22, &I2C_Output);  // Output 49~64
PCF8575 output_5(0x25, &I2C_Output);  // Output 65~80
PCF8575 output_6(0x24, &I2C_Output);  // Output 81~96
PCF8575 output_7(0x21, &I2C_Output);  // Output 97~112
PCF8575 output_8(0x20, &I2C_Output);  // Output 113~128

// === Input PCF8575 instances ===
PCF8575 input_1(0x27, &I2C_Input);  // Input 1~16
PCF8575 input_2(0x26, &I2C_Input);  // Input 17~32
PCF8575 input_3(0x23, &I2C_Input);  // Input 33~48
PCF8575 input_4(0x22, &I2C_Input);  // Input 49~64
PCF8575 input_5(0x25, &I2C_Input);  // Input 65~80
PCF8575 input_6(0x24, &I2C_Input);  // Input 81~96
PCF8575 input_7(0x21, &I2C_Input);  // Input 97~112
PCF8575 input_8(0x20, &I2C_Input);  // Input 113~128

// === Create arrays for easy loop access ===
PCF8575* inputArray[8] = {
  &input_1, &input_2, &input_3, &input_4,
  &input_5, &input_6, &input_7, &input_8
};

PCF8575* outputArray[8] = {
  &output_1, &output_2, &output_3, &output_4,
  &output_5, &output_6, &output_7, &output_8
};

void setup() {
  Serial.begin(115200);
  Serial.println("KinCony 128-Channel Input-Output Mapping Test");

  // Initialize both I2C buses
  I2C_Output.begin(48, 47);  // SDA: GPIO48, SCL: GPIO47
  I2C_Input.begin(12, 11);   // SDA: GPIO12, SCL: GPIO11

  // Initialize all PCF8575 chips and set initial output states
  for (int i = 0; i < 8; i++) {
    inputArray[i]->begin();   // Initialize input chip
    outputArray[i]->begin();  // Initialize output chip

    // Set all output pins HIGH (relay OFF)
    for (int j = 0; j < 16; j++) {
      outputArray[i]->write(j, HIGH);
    }
  }
}

void loop() {
  for (int chip = 0; chip < 8; chip++) {
    for (int pin = 0; pin < 16; pin++) {
      bool inputState = inputArray[chip]->read(pin);

      // If input is LOW (button pressed or contact closed), turn ON relay (set output LOW)
      // Otherwise, turn OFF relay (set output HIGH)
      outputArray[chip]->write(pin, inputState ? HIGH : LOW);
    }
  }

  delay(200); // Delay to prevent I2C bus flooding
}
arduino ino file download:

.zip   6-input-trigger-output.zip (Size: 1.33 KB / Downloads: 377)
BIN file (you can use esp32 download tool download to ESP32-S3 with address 0x0 then directly to use) download:

.zip   6-input-trigger-output.ino.merged.zip (Size: 192.36 KB / Downloads: 396)

Print this item