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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 9,472
» Latest member: realismshoodie
» Forum threads: 4,177
» Forum posts: 20,757

Full Statistics

Online Users
There are currently 47 online users.
» 0 Member(s) | 35 Guest(s)
Applebot, Baidu, Bing, Bytespider, PetalBot, bot

Latest Threads
A32 Pro ESPHome yaml for ...
Forum: KC868-A32/A32 Pro
Last Post: admin
Yesterday, 06:25 AM
» Replies: 1
» Views: 1,165
E8v3 E16v3 E24v3 relay mo...
Forum: Extender module
Last Post: admin
Yesterday, 01:00 AM
» Replies: 0
» Views: 8
KC868-H32B V5.08 firmware
Forum: News
Last Post: admin
07-25-2026, 11:53 PM
» Replies: 23
» Views: 7,552
[arduino code examples fo...
Forum: B2
Last Post: admin
07-25-2026, 06:40 AM
» Replies: 0
» Views: 16
[arduino code examples fo...
Forum: B2
Last Post: admin
07-25-2026, 06:39 AM
» Replies: 0
» Views: 28
[arduino code examples fo...
Forum: B2
Last Post: admin
07-25-2026, 06:38 AM
» Replies: 0
» Views: 11
[arduino code examples fo...
Forum: B2
Last Post: admin
07-25-2026, 06:37 AM
» Replies: 0
» Views: 14
[arduino code examples fo...
Forum: B2
Last Post: admin
07-25-2026, 06:36 AM
» Replies: 0
» Views: 12
[arduino code examples fo...
Forum: B2
Last Post: admin
07-25-2026, 06:35 AM
» Replies: 0
» Views: 11
[arduino code examples fo...
Forum: B2
Last Post: admin
07-25-2026, 06:33 AM
» Replies: 0
» Views: 12

  Problem with KCS flash after use ESP Home
Posted by: tidek1507 - 01-18-2026, 12:11 AM - Forum: "KCS" v2 firmware system - Replies (4)

Hi

I have A32 PRO board. I used KCS firmware. i'm a beginner with Home assistant and ESP. Today i was trying to integrate this with Home Assistant. I used .yaml file by ESPHome builder in HA, but i didnt know that this erase KCS firmware. Now when i try to flash KCS board didnt response on this. After flash in console i see:

Uploading stub...
Running stub...
Stub running...

is stub and send flash finish


But board didnt work. When I flash .yaml for esp home board is connect with HA, but for now i need KCS firmware, i have to fast repair ligts control by switches, becouse my wife is mad now ;d. 

Can you help me?

Print this item

  Bulk IFTTT mapping
Posted by: npekpacHo - 01-17-2026, 07:15 PM - Forum: "KCS" v3 firmware - Replies (2)

[Image: ifttt_mass_mapper.png]

RU

Привет!
KCS в целом рабочая система, но настройка IFTTT через веб-интерфейс получается громоздкой, особенно когда нужно быстро и массово сопоставить входы и выходы (например DI1 → DO1 toggle и так далее).

Я сделал небольшое браузерное расширение (без Node-RED и без перепрошивок), которое добавляет на страницу /ifttt.html компактную панель для массовой настройки:

автоматическое определение DI/DO (из cookie Device, input_num / output_num)

Fill 1–16 / Fill 1–DOmax / Fill all (1–DImax)

массовое применение правил через POST /ifttt/save_channel

выбор триггера (single / double / hold / edges) и действия ON / OFF / TOGGLE

Скачать:
https://npekpacho.ru/downloads/kcs-mass-mapper-ext.zip

Было бы здорово увидеть официальный “bulk IFTTT mapper” прямо в KCS. Такая функция реально экономит время, а обещания «скоро добавим» длятся уже не первый год ?

EN

Hi!
KCS is a functional system, but the IFTTT web UI becomes quite heavy when you need fast bulk DI→DO mapping (for example DI1 → DO1 toggle for many channels).

I made a small browser extension (no Node-RED, no firmware changes) that adds a compact bulk-mapping panel to /ifttt.html:

automatic DI/DO detection (from the Device cookie: input_num / output_num)

Fill 1–16 / Fill 1–DOmax / Fill all (1–DImax)

bulk rule application via POST /ifttt/save_channel

trigger selection (single / double / hold / edges) and action ON / OFF / TOGGLE

Download:
https://npekpacho.ru/downloads/kcs-mass-mapper-ext.zip

It would be great to see an official “bulk IFTTT mapper” built directly into KCS. This kind of feature saves a lot of time, and the “coming soon” promise seems to be going on for years ?

Print this item

  E16P Case / Cover
Posted by: Sheep - 01-16-2026, 10:16 PM - Forum: KC868-E16S/E16P - Replies (1)

Am I missing something on the site - do you make a diver to go over the front of this like I have for my F16?  The F16 is a cracking product but I need a second and would prefer PoE if possible, but due to location it must have a cover. 

Thank you,

S.

Print this item

  B8M Schematic
Posted by: mikkojay - 01-15-2026, 06:41 PM - Forum: B8M - Replies (5)

Hello,

Is the schematic diagram available for the B8M?
I am specifically looking to see if the INT pin 1 of the PCF8575 is connected to anything.
I have used the PCF8575 IC in other applications, and prefer to use the interrupt when possible.

Thank You

Print this item

  ESPHome Compile warning message
Posted by: petez69 - 01-15-2026, 06:16 AM - Forum: KC868-A8 - Replies (1)

Hi Admin

Using ESPHome and Homeassistant, the publish_initial_state warning has been there for some time when compiling.  Is this an option we fix in YAML or something the ESPHome people will sort with their code ?

WARNING GPIO5 is a strapping PIN and should only be used for I/O with care.
Attaching external pullup/down resistors to strapping pins can cause unexpected failures.
See https://esphome.io/guides/faq/#why-am-i-...pping-pins
WARNING The 'publish_initial_state' option has been replaced by 'trigger_on_initial_state' and will be removed in a future release
WARNING The 'publish_initial_state' option has been replaced by 'trigger_on_initial_state' and will be removed in a future release

Many Thanks..Peter

Print this item

  F32 and 433 Mhz
Posted by: lulu01 - 01-15-2026, 12:21 AM - Forum: F32 - Replies (5)

Hello,

on the F32, if I want to use a Kincony 433 Mhz remote:

- can I do this with ESPHome instead of KCS?
- do I need to buy a RF433 MHz tx/rx module, or is it included in the board already?
- with the ESPHome firmware, how do I learn the codes from the remote controller and associate them to relays?

Thank you!

Print this item

  Voltage wrong
Posted by: Painy - 01-14-2026, 01:20 PM - Forum: N30 - Replies (4)

Hello

I just bought an N30.

I have a 3 phase (3x240V) energy system at home.
So 3 wires (L1, L2 and L3) come in with 240V difference between the wires, but no neutral.
Each of those wires has a CT clamp from KC webstore around it.

I flashed KCS  v3.19.0 and ARM processor (N10203060_KU_V20_251231), but the readings show a frequency of 3x10 Hz (should be 50) and a voltage of +- 20V, one of +- 40V and one of +-30V. All three should be around 230V.

Al my fuse boxes are 2fase, so it always takes two of three available phases. The CT clamp around those seems to have good current readings. 
I also have two higher load 3 phase fuses.
The fuse has 3 outgoing wires, each a phase. Each of those wires has a CTclamp around it.


In software, one is is registered on E3ch8,ch9 and ch10. Channels 8 and 10 always show 0.59A  and channel 9 always 0A. When I'm using that fuse (cooking), ch8 and 10 go up and show the same value. ch9 stays at 0.
Also, like other post, Energy always 0KWh



Attached Files Thumbnail(s)
           
Print this item

  [arduino code examples for B4]-11 digital INPUT trigger OUTPUT directly
Posted by: admin - 01-14-2026, 04:05 AM - Forum: B4 - No Replies

Code:
/*
* Made by KinCony IoT: https://www.kincony.com
*
* This program reads 4 input states from a PCF8574 I/O expander and
* controls a corresponding 4-channel relay module. When an input pin
* is LOW, the corresponding relay is turned ON (LOW means ON for the relay).
*
* Pin Definitions:
* - SDA: GPIO 8
* - SCL: GPIO 18
* - PCF8575 I2C Address: 0x24
*/

#include <Wire.h>
#include <PCF8574.h>

// I2C pins
#define SDA 8
#define SCL 18

// PCF8575 I2C address
#define INPUT_I2C_ADDRESS 0x24   

// Create PCF8575 object
PCF8574 pcf8574_IN(INPUT_I2C_ADDRESS);

void setup() {
  // Initialize I2C communication
  Wire.begin(SDA, SCL);

  // Initialize serial communication
  Serial.begin(115200);

    pcf8574_IN.pinMode(P0, INPUT);
    pcf8574_IN.pinMode(P1, INPUT);
    pcf8574_IN.pinMode(P2, INPUT);
    pcf8574_IN.pinMode(P3, INPUT);
      pcf8574_IN.pinMode(P4, OUTPUT);
    pcf8574_IN.pinMode(P5, OUTPUT);
    pcf8574_IN.pinMode(P6, OUTPUT);
    pcf8574_IN.pinMode(P7, OUTPUT);

  // Initialize PCF8575
  pcf8574_IN.begin();

  // Turn off all relays first (assuming LOW activates the relay)
  for (int i = 4; i < 8; i++) {
    pcf8574_IN.digitalWrite(i, HIGH);  // Set to HIGH to turn off the relay
  }

  delay(50);
}

void loop() {

  if (pcf8574_IN.digitalRead(0)) pcf8574_IN.digitalWrite(4, HIGH); else pcf8574_IN.digitalWrite(4, LOW);
  delay(50);
  if (pcf8574_IN.digitalRead(1)) pcf8574_IN.digitalWrite(5, HIGH); else pcf8574_IN.digitalWrite(5, LOW);       
  delay(50);
  if (pcf8574_IN.digitalRead(2)) pcf8574_IN.digitalWrite(6, HIGH); else pcf8574_IN.digitalWrite(6, LOW);
  delay(50);
  if (pcf8574_IN.digitalRead(3)) pcf8574_IN.digitalWrite(7, HIGH); else pcf8574_IN.digitalWrite(7, LOW);
  delay(50);
}
arduino ino file download:

.zip   11-input-trigger-output.zip (Size: 846 bytes / Downloads: 257)
BIN file (you can use esp32 download tool download to ESP32-S3 with address 0x0 then directly to use) download:

.zip   11-input-trigger-output.ino.merged.zip (Size: 199.42 KB / Downloads: 264)

Print this item

  [arduino code examples for B4M]-11 digital INPUT trigger OUTPUT directly
Posted by: admin - 01-14-2026, 04:05 AM - Forum: B4M - No Replies

Code:
/*
* Made by KinCony IoT: https://www.kincony.com
*
* This program reads 4 input states from a PCF8574 I/O expander and
* controls a corresponding 4-channel relay module. When an input pin
* is LOW, the corresponding relay is turned ON (LOW means ON for the relay).
*
* Pin Definitions:
* - SDA: GPIO 8
* - SCL: GPIO 18
* - PCF8575 I2C Address: 0x24
*/

#include <Wire.h>
#include <PCF8574.h>

// I2C pins
#define SDA 8
#define SCL 18

// PCF8575 I2C address
#define INPUT_I2C_ADDRESS 0x24   

// Create PCF8575 object
PCF8574 pcf8574_IN(INPUT_I2C_ADDRESS);

void setup() {
  // Initialize I2C communication
  Wire.begin(SDA, SCL);

  // Initialize serial communication
  Serial.begin(115200);

    pcf8574_IN.pinMode(P0, INPUT);
    pcf8574_IN.pinMode(P1, INPUT);
    pcf8574_IN.pinMode(P2, INPUT);
    pcf8574_IN.pinMode(P3, INPUT);
      pcf8574_IN.pinMode(P4, OUTPUT);
    pcf8574_IN.pinMode(P5, OUTPUT);
    pcf8574_IN.pinMode(P6, OUTPUT);
    pcf8574_IN.pinMode(P7, OUTPUT);

  // Initialize PCF8575
  pcf8574_IN.begin();

  // Turn off all relays first (assuming LOW activates the relay)
  for (int i = 4; i < 8; i++) {
    pcf8574_IN.digitalWrite(i, HIGH);  // Set to HIGH to turn off the relay
  }

  delay(50);
}

void loop() {

  if (pcf8574_IN.digitalRead(0)) pcf8574_IN.digitalWrite(4, HIGH); else pcf8574_IN.digitalWrite(4, LOW);
  delay(50);
  if (pcf8574_IN.digitalRead(1)) pcf8574_IN.digitalWrite(5, HIGH); else pcf8574_IN.digitalWrite(5, LOW);       
  delay(50);
  if (pcf8574_IN.digitalRead(2)) pcf8574_IN.digitalWrite(6, HIGH); else pcf8574_IN.digitalWrite(6, LOW);
  delay(50);
  if (pcf8574_IN.digitalRead(3)) pcf8574_IN.digitalWrite(7, HIGH); else pcf8574_IN.digitalWrite(7, LOW);
  delay(50);
}
arduino ino file download:

.zip   11-input-trigger-output.zip (Size: 846 bytes / Downloads: 217)
BIN file (you can use esp32 download tool download to ESP32-S3 with address 0x0 then directly to use) download:

.zip   11-input-trigger-output.ino.merged.zip (Size: 199.42 KB / Downloads: 294)

Print this item

  [arduino code examples for B4]-10 Print TEXT on SSD1306 OLED displayer
Posted by: admin - 01-14-2026, 04:04 AM - Forum: B4 - No Replies

Code:
/*
* Made by KinCony IoT: https://www.kincony.com
*
* This Arduino program demonstrates how to display text on an SSD1306 128x64 OLED display using the U8g2 library.
* The program draws two lines of text on the display:
* - The first line is "KINCONY" in a larger font.
* - The second line is "www.kincony.com" in a smaller font.
*
* The display is connected via I2C (software implementation) with:
* - SCL (clock) on pin IO18
* - SDA (data) on pin IO8
*
* The display's I2C address is set to 0x3C.
*/

#include <U8g2lib.h>  // Include the U8g2 library for controlling the OLED display
#include <Wire.h>     // Include the Wire library for I2C communication

// Initialize the display using the software I2C method (SCL = IO18, SDA = IO8)
U8G2_SSD1306_128X64_NONAME_F_SW_I2C u8g2(U8G2_R0,  18, 8, U8X8_PIN_NONE);  // Screen rotation: U8G2_R0

// Function to display page 1 content
void page1() {
  // Set font size 18 for the larger "KINCONY" text
  u8g2.setFont(u8g2_font_timR18_tf);  // Use the Times Roman font, size 18
  u8g2.setFontPosTop();               // Set the text position at the top of the display
  u8g2.setCursor(5, 0);               // Position the cursor at coordinates (5, 0)
  u8g2.print("KINCONY");              // Display the text "KINCONY" on the screen

  // Set font size 12 for the smaller "www.kincony.com" text
  u8g2.setFont(u8g2_font_timR12_tf);  // Use the Times Roman font, size 12
  u8g2.setCursor(0, 40);              // Position the cursor at coordinates (0, 40)
  u8g2.print("www.kincony.com");      // Display the text "www.kincony.com"
}

// Setup function, runs once when the program starts
void setup() {
  // Set the I2C address for the display to 0x3C
  u8g2.setI2CAddress(0x3C*2);  // I2C address shift for 8-bit format
 
  // Initialize the display
  u8g2.begin();
 
  // Enable UTF-8 character printing for the display
  u8g2.enableUTF8Print();  // Allow UTF-8 encoded text to be printed
}

// Main loop function, continuously runs after setup()
void loop() {
  // Begin the display drawing process
  u8g2.firstPage();  // Prepare the first page for drawing
  do {
    // Call the page1() function to draw content on the display
    page1();
  } while (u8g2.nextPage());  // Continue to the next page until all pages are drawn
}
arduino ino file download: 

.zip   10-oled-ssd1306.zip (Size: 1.11 KB / Downloads: 273)
BIN file (you can use esp32 download tool download to ESP32-S3 with address 0x0 then directly to use) download:

.zip   10-oled-ssd1306.ino.merged.zip (Size: 202.58 KB / Downloads: 264)

Print this item