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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 8,443
» Latest member: kelvingreen2803
» Forum threads: 3,700
» Forum posts: 19,041

Full Statistics

Online Users
There are currently 50 online users.
» 0 Member(s) | 36 Guest(s)
AhrefsBot, Amazonbot, Applebot, Bing, Crawl, Google, PetalBot, bot

Latest Threads
flash kc868-a4
Forum: KC868-A series and Uair Smart Controller
Last Post: admin
1 hour ago
» Replies: 20
» Views: 631
E16P Case / Cover
Forum: KC868-E16S/E16P
Last Post: admin
6 hours ago
» Replies: 1
» Views: 8
B8M Schematic
Forum: B8M
Last Post: admin
6 hours ago
» Replies: 5
» Views: 40
"KCS" v3.19.0 firmware BI...
Forum: "KCS" v3 firmware
Last Post: admin
6 hours ago
» Replies: 2
» Views: 111
F32 and 433 Mhz
Forum: F32
Last Post: admin
01-15-2026, 11:25 PM
» Replies: 3
» Views: 13
flash Kincony software to...
Forum: DIY Project
Last Post: admin
01-15-2026, 11:24 PM
» Replies: 18
» Views: 171
Feedback: Product line di...
Forum: Suggestions and feedback on KinCony's products
Last Post: mkai
01-15-2026, 11:37 AM
» Replies: 3
» Views: 57
ESPHome Compile warning m...
Forum: KC868-A8
Last Post: admin
01-15-2026, 06:20 AM
» Replies: 1
» Views: 14
Voltage wrong
Forum: N30
Last Post: Painy
01-14-2026, 01:20 PM
» Replies: 0
» Views: 21
[arduino code examples fo...
Forum: B4 (under designing)
Last Post: admin
01-14-2026, 04:05 AM
» Replies: 0
» Views: 14

  Analog Input NTC
Posted by: Gazura36 - 10-22-2025, 09:22 AM - Forum: KC868-A16 - Replies (3)

Hello,
I’m trying to connect a 10 kΩ NTC temperature sensor to my KC868-A16 board.
Unfortunately, I don’t get any readings at all.
Which GPIO pins are actually used for the analog inputs?

I used the example code from this forum, but I don’t get any plausible values on any pin.
I also tested by connecting each pin to GND to rule out a sensor issue, but the readings still don’t change.

I’m stuck now — what is the correct code to read the analog inputs properly?
Thanks in advance for your help!

Print this item

  IIC Not working
Posted by: Eggman - 10-22-2025, 08:16 AM - Forum: KC868-A series and Uair Smart Controller - Replies (4)

All of a sudden none of my sketches using IIC work on my boards.  In the past I have used the sketch below to scan the IIC bus,  I would expect to see several devices detected by default.  However it just says " "No I2C devices found".  I have tested this on several K868 boards.  How could this happen all of a sudden?  It is due to a change in the Arduino IDE environment?  Is it possible that something has changed withing Wire.h?

Many thanks for any assistance.

Code:
// SPDX-FileCopyrightText: 2023 Carter Nelson for Adafruit Industries
//
// SPDX-License-Identifier: MIT
// --------------------------------------
// i2c_scanner
//
// Modified from https://playground.arduino.cc/Main/I2cScanner/
// --------------------------------------

#include <Wire.h>

// Set I2C bus to use: Wire, Wire1, etc.
#define WIRE Wire

void setup() {
  WIRE.begin();

  Serial.begin(9600);
  while (!Serial)
     delay(10);
  Serial.println("\nI2C Scanner");
}


void loop() {
  byte error, address;
  int nDevices;

  Serial.println("Scanning...");

  nDevices = 0;
  for(address = 1; address < 127; address++ )
  {
    // The i2c_scanner uses the return value of
    // the Write.endTransmisstion to see if
    // a device did acknowledge to the address.
    WIRE.beginTransmission(address);
    error = WIRE.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\n");
  else
    Serial.println("done\n");

  delay(5000);           // wait 5 seconds for next scan
}

Print this item

Photo receive data from switch by RS485 and control output of KC868-A16
Posted by: edg72022 - 10-21-2025, 08:04 PM - Forum: KC868-A16 - Replies (3)

I try to find the way to control Output of KC868-A16.

I found the way to send information from KC868 but not on the other way.

Below a print screen of the way I used to do it.
and the link of data information
D8 Switch RS485



Attached Files Thumbnail(s)
       

.pdf   D8 Switch RS485(XH)-Hotel polling-2022.12.16.pdf (Size: 619.95 KB / Downloads: 176)
Print this item

  How to connect photo rezistor (LDR)
Posted by: simpl3x - 10-21-2025, 08:23 AM - Forum: KC868-A8 - Replies (1)

Hi, can I connect LDR to analog input A8 board for insolation detection?



Attached Files Thumbnail(s)
   
Print this item

  MODBUS RTU comunication KC868 wich Siemens S1200 RS485
Posted by: naurismaculskis - 10-20-2025, 08:06 PM - Forum: KC868-A6 - Replies (3)

Hello. I have siemens S1200 PLC and I try to comunicate over Modbus RTU and can't get KC868-A6 comunicate over Modbus. Maybe someone has been seting up MB master and has some example in TIA portal? Or maybe someone knows MB Master Data addr?

I was trying to find register addres in  "KC868-A series board protocol – Modbus"  file but there it says that register is 0000 which does not work. 

I added MODBUS file in attacment for  KC868 series.



Attached Files
.pdf   KC868-A-series-protocol-ModBus.pdf (Size: 139.11 KB / Downloads: 185)
Print this item

  a8v3 - RXTX and 4 pulse counters
Posted by: rockyhopper - 10-18-2025, 04:30 PM - Forum: KC868-A8v3 - Replies (1)

Hello,

I plan to buy a8v3 and use it with ESPhome.

But, I would need:
- RXTX (https://esphome.io/components/uart/#uart) ideally on external connector
- 4 Pulse Counters (PCNT, https://esphome.io/components/sensor/pulse_counter/) on external connector

Could you confirm that:
- for RXTX, I can re-assign pins used for Analog Input (AI-1 and AI-2) and map RXTX on it.
  Would I lost any other feature (than ADS) from a8v3 in that case (I think that ESP32-S3 is limited to 2 end-user RXTX)? 
  If that's not possible, can I directly re-use the RS485 connector (for my RXTX pins) as I don't plan to use RS485.

- for my 4 pulse counters, can I re-use the 4 "one-wire with pull-up" (S1 to S4)?
  (I plan to add 1-wire over i2c -- DS2484 to support 1-wire sensors, then I don't need those S1-S4 pins).

Thanks in advance for your support.

Print this item

  KCS M1 Firmware? (Kincony M1)
Posted by: drony - 10-16-2025, 04:40 PM - Forum: KC868-M16 / M1 / MB / M30 - Replies (5)

Hello,
there are so many firmware files here, I’m really confused.. could you please tell me where the actual firmware is for Kincony M1-v1.2 Energy Meter? Thanks.

Print this item

Lightbulb Centralized vs distributed control boards
Posted by: TonyB - 10-16-2025, 12:47 PM - Forum: DIY Project - Replies (3)

Hi everyone, I'm designing a new electrical system with Home Assistant integration for a 120 m² apartment with 8 rooms. I’m currently trying to decide on the best approach for the control boards.
Would you recommend using a single central control board to manage all lights, sockets, and other devices, or would it be better to install multiple smaller boards distributed around the apartment to keep wiring shorter and more efficient?

Any suggestions or examples from similar installations would be really appreciated!
Thanks in advance for your help.

Print this item

  RF fo KC868-A6
Posted by: D2K - 10-16-2025, 08:00 AM - Forum: KC868-A6 - Replies (3)

Good afternoon 
I need to connect an RF button fo KC868-A6 KCS v2.2.14 
the firmware "KCS" description lists "support for EV1527 or PT2262, PT2264 wireless remote code"
there is no connection description.

Print this item

  A16v3 work with HAv2 ESPHome yaml
Posted by: admin - 10-14-2025, 01:04 AM - Forum: KC868-A16v3 - No Replies

Code:
esphome:
  name: hav2
  friendly_name: HAv2

esp32:
  board: esp32-s3-devkitc-1
  framework:
    type: esp-idf

# Enable logging
logger:
  baud_rate: 0

# Enable Home Assistant API
api:


ethernet:
  type: W5500
  clk_pin: GPIO42
  mosi_pin: GPIO43
  miso_pin: GPIO44
  cs_pin: GPIO15
  interrupt_pin: GPIO2
  reset_pin: GPIO1

external_components:
  - source:
      type: git
      url: https://github.com/hzkincony/esphome-kc868-ha
      ref: v3.0.2

uart:
  - id: myuart1
    tx_pin: 16
    rx_pin: 17
    baud_rate: 9600
    debug:
      direction: BOTH
      dummy_receiver: false

kc868_ha:

binary_sensor:

  # The binary_sensor corresponds to the state changes generated by K1~K6 on the KC868 HA board
  # bind_output is required. Corresponds to the BindOutput parameter in HA485_Ctrl software
  # Other parameters refer to: https://esphome.io/components/binary_sensor/index.html
  - platform: kc868_ha
    target_relay_controller_addr: 1 # Default value is 1, corresponds to the Target Relay Controller Addr parameter in HA485_Ctrl software
    switch_adapter_addr: 10 # Default value is 10, corresponds to the Switch Adapter Addr parameter in HA485_Ctrl software
    bind_output: 1 # Corresponds to the BindOutput parameter in HA485_Ctrl software
    name: "binary_sensor 1"
  - platform: kc868_ha
    target_relay_controller_addr: 1
    switch_adapter_addr: 10
    bind_output: 2
    name: "binary_sensor 2"
  - platform: kc868_ha
    target_relay_controller_addr: 1
    switch_adapter_addr: 10
    bind_output: 3
    name: "binary_sensor 3"
  - platform: kc868_ha
    target_relay_controller_addr: 1
    switch_adapter_addr: 10
    bind_output: 4
    name: "binary_sensor 4"
  - platform: kc868_ha
    target_relay_controller_addr: 1
    switch_adapter_addr: 10
    bind_output: 5
    name: "binary_sensor 5"
  - platform: kc868_ha
    target_relay_controller_addr: 1
    switch_adapter_addr: 10
    bind_output: 6
    name: "binary_sensor 6"

switch:
  # The switch is used to control the D1~D6 level output on the KC868 HA board
  # bind_output is required. Corresponds to the BindOutput parameter in HA485_Ctrl software
  # Other parameters refer to: https://esphome.io/components/switch/index.html
  - platform: kc868_ha
    target_relay_controller_addr: 1
    switch_adapter_addr: 10
    bind_output: 1
    name: "switch 1"
  - platform: kc868_ha
    target_relay_controller_addr: 1
    switch_adapter_addr: 10
    bind_output: 2
    name: "switch 2"
  - platform: kc868_ha
    target_relay_controller_addr: 1
    switch_adapter_addr: 10
    bind_output: 3
    name: "switch 3"
  - platform: kc868_ha
    target_relay_controller_addr: 1
    switch_adapter_addr: 10
    bind_output: 4
    name: "switch 4"
  - platform: kc868_ha
    target_relay_controller_addr: 1
    switch_adapter_addr: 10
    bind_output: 5
    name: "switch 5"
  - platform: kc868_ha
    target_relay_controller_addr: 1
    switch_adapter_addr: 10
    bind_output: 6
    name: "switch 6"

web_server:
  port: 80
esphome yaml file download:

.txt   HAv2-A16v3-yaml.txt (Size: 3.04 KB / Downloads: 103)
   
   
   

Print this item