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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 9,584
» Latest member: soicauxsmbioo
» Forum threads: 4,191
» Forum posts: 20,830

Full Statistics

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

Latest Threads
N60 Sensor channel label
Forum: N60
Last Post: admin
7 hours ago
» Replies: 17
» Views: 2,111
solar production and cons...
Forum: N30
Last Post: admin
7 hours ago
» Replies: 3
» Views: 6
Current direction detecti...
Forum: N30
Last Post: admin
7 hours ago
» Replies: 3
» Views: 7
MQTT Discovery: missing s...
Forum: N30
Last Post: admin
Yesterday, 02:48 PM
» Replies: 1
» Views: 3
ai automation
Forum: KinCony integrate with Loxone home automation
Last Post: mediverticals
Yesterday, 06:56 AM
» Replies: 0
» Views: 5
Connecting sensors to Kin...
Forum: F16
Last Post: admin
Yesterday, 12:18 AM
» Replies: 1
» Views: 11
CT Sensor Direction
Forum: N60
Last Post: admin
08-12-2026, 08:14 AM
» Replies: 1
» Views: 22
N60 Voltage reference
Forum: N60
Last Post: admin
08-11-2026, 11:09 PM
» Replies: 3
» Views: 43
4-20mA loop voltage consi...
Forum: B4M
Last Post: admin
08-11-2026, 08:05 AM
» Replies: 1
» Views: 24
K868-a32 plastic case
Forum: KC868-A series and Uair Smart Controller
Last Post: admin
08-10-2026, 08:48 AM
» Replies: 3
» Views: 1,187

  KC868-AGv3 ESP32S3 I/O pin define
Posted by: admin - 06-11-2026, 08:38 PM - Forum: KC868-AGv3 - No Replies

ESP32 download: GPIO0

I2C bus:
SDA:GPIO11
SCL:GPIO10

24C02 EPROM i2c address: 0x50

RF433M Sender:GPIO2
RF433M Receiver:GPIO9

IR Receiver:GPIO1

IR Sender: GPIO47 (7pcs IR tube inside of box)
IR extend cable-1:GPIO43
IR extend cable-2:GPIO44

beep: GPIO21

Free GPIOs:
GPIO4
GPIO5
GPIO6
GPIO7
GPIO15
GPIO16
GPIO17
GPIO18
GPIO42
GPIO8
GPIO40
GPIO41
GPIO38
GPIO39
GPIO13
GPIO14
GPIO12
GPIO48

Print this item

  KinCony KC868-AGv3 ESP32S3 Smart IR RF Controller released
Posted by: admin - 06-11-2026, 08:32 PM - Forum: News - No Replies

ESP32-S3 Smart IR RF Controller – KinCony KC868-AGv3
KinCony KC868-AGv3 is a smart IR controller designed for smart home automation and IoT projects. It is based on the ESP32-S3-WROOM-1U N16R8 module, with powerful performance and rich interfaces for infrared, RF433MHz, and custom GPIO expansion.
KC868-AGv3 supports Home Assistant, ESPHome, Arduino IDE, MicroPython, and ESP-IDF development. With KinCony KCS v3 firmware, it also supports MQTT Home Assistant Auto Discovery, so users can integrate sensors and decoded IR signals into Home Assistant without writing configuration code.
[Image: KC868-AGv3-1.jpg]
Main Features

  • ESP32-S3-WROOM-1U N16R8 module
  • Built-in IR receiver
  • IR sending via 3 GPIO channels
  • 2 independent IR extension cable ports
  • Built-in RF433MHz receiver
  • Built-in RF433MHz sender
  • Built-in buzzer
  • 18 free GPIO ports on PCB
  • Supports Home Assistant
  • Supports ESPHome YAML configuration
  • Supports Arduino IDE, MicroPython, and ESP-IDF development
  • Supports KCS v3 firmware
  • MQTT Home Assistant Auto Discovery
  • Zero-code integration with Home Assistant using KCS firmware
  • Suitable for smart home, IoT, IR control, RF remote control, and automation projects
[Image: KC868-AGv3-2.jpg]
Home Assistant Integration
KC868-AGv3 can be used with Home Assistant in two ways.
Users can configure the device with ESPHome YAML for customized automation projects.
It can also run KinCony KCS v3 firmware. With KCS v3 firmware, KC868-AGv3 supports MQTT Home Assistant Auto Discovery. Sensors and decoded IR signals can be automatically discovered in Home Assistant, making setup much easier without writing configuration code.
IR and RF Control
KC868-AGv3 includes both infrared and RF433MHz functions.
The built-in IR receiver can be used to learn and decode infrared remote control signals. The IR sender can transmit IR signals through 3 GPIO channels, including onboard IR output and 2 independent IR extension cable ports.
The RF433MHz receiver and sender allow the controller to work with 433MHz wireless remote controls, sensors, and RF devices.
[Image: KinCony-KC868-AGv3-Smart-Controller-diagram.jpg]
Hardware Specifications
Item
DescriptionModel
KinCony KC868-AGv3
Processor
ESP32-S3-WROOM-1U N16R8
Power Supply
DC 5V via USB-C
Free GPIOs
18
IR Receiver
1
IR Sender
3 GPIO channels
IR Extension Cable Ports
2 independent ports
RF433MHz Receiver
1
RF433MHz Sender
1
Buzzer
1
Size
100mm × 100mm × 30mm
[Image: KC868-AGv3-6.jpg]

Print this item

  [Arduino IDE demo source code for KC868-A128]--#05--Digital input trigger output
Posted by: admin - 06-11-2026, 05:19 AM - Forum: KC868-A128 - No Replies

   

Code:
/*
  Made by KinCony IoT: https://www.kincony.com

  KC868-A128
  DI1 -> DO1
  DI2 -> DO2
  ...
  DI128 -> DO128

  IIC Bus-A for relay DO:
  SDA = GPIO5
  SCL = GPIO16

  IIC Bus-B for DI:
  SDA = GPIO15
  SCL = GPIO4
*/

#include <Arduino.h>
#include <Wire.h>

#define DO_SDA 5
#define DO_SCL 16

#define DI_SDA 15
#define DI_SCL 4

// PCF8575 address order
uint8_t pcfAddr[8] = {
  0x24, 0x25, 0x21, 0x22,
  0x26, 0x27, 0x20, 0x23
};

// relay output state
// PCF8575: 1 = OFF, 0 = ON
uint16_t relayState[8];

uint16_t readPCF8575(TwoWire &wireBus, uint8_t addr) {
  wireBus.requestFrom(addr, (uint8_t)2);

  if (wireBus.available() < 2) {
    return 0xFFFF;
  }

  uint8_t lowByte = wireBus.read();
  uint8_t highByte = wireBus.read();

  return ((uint16_t)highByte << 8) | lowByte;
}

void writePCF8575(TwoWire &wireBus, uint8_t addr, uint16_t value) {
  wireBus.beginTransmission(addr);
  wireBus.write(value & 0xFF);
  wireBus.write((value >> 8) & 0xFF);
  wireBus.endTransmission();
}

void setup() {
  Serial.begin(115200);
  delay(1000);

  Wire.begin(DO_SDA, DO_SCL);      // IIC Bus-A, relay
  Wire1.begin(DI_SDA, DI_SCL);     // IIC Bus-B, digital input

  // Init all relays OFF
  for (int i = 0; i < 8; i++) {
    relayState[i] = 0xFFFF;
    writePCF8575(Wire, pcfAddr[i], relayState[i]);
  }

  Serial.println("KC868-A128 DI trigger DO ready.");
}

void loop() {
  for (int board = 0; board < 8; board++) {
    uint16_t inputState = readPCF8575(Wire1, pcfAddr[board]);

    // DI low active
    // DI = 0 -> relay ON
    // DI = 1 -> relay OFF
    relayState[board] = inputState;

    writePCF8575(Wire, pcfAddr[board], relayState[board]);
  }

  delay(50);
}
BIN file, download to ESP32 by 0x0 address, directly to use:

.zip   input-trigger-output.ino.merged.zip (Size: 183.82 KB / Downloads: 187)

Print this item

  KinCony Pi5R8 – Raspberry Pi CM5 IoT Gateway released
Posted by: admin - 06-11-2026, 04:32 AM - Forum: News - No Replies

KinCony Pi5R8 – Raspberry Pi CM5 DIN Rail Relay Controller for Smart Home & Industrial Automation
[Image: Pi5R8-1.jpg]
Product Overview
KinCony Pi5R8 is a powerful Raspberry Pi-based IoT gateway designed for smart home automation and industrial control applications. Powered by the Raspberry Pi Compute Module 5 (CM5), it integrates relay outputs, optocoupler-isolated digital inputs, analog inputs, RS232/RS485 communication interfaces, PWM outputs, and expansion interfaces into a compact DIN rail aluminum enclosure.
The Raspberry Pi CM5 directly manages relay outputs, digital inputs, analog inputs, PWM outputs, and communication interfaces, making it easy to deploy automation solutions using Home Assistant, Node-RED, MQTT, Modbus, Docker, Python, and other Linux-based software.
Pi5R8 is an ideal platform for smart homes, industrial automation, energy management systems, and IoT edge computing applications.


[Image: Pi5R8-5.jpg]
Key Features
  • Powered by Raspberry Pi Compute Module 5 (CM5)
  • 8-channel industrial relay outputs
  • 8 optocoupler-isolated digital inputs
  • Supports Home Assistant and Node-RED
  • RS232 and RS485 communication interfaces
  • 2-channel PWM outputs
  • 2 × DC 0-5V analog inputs
  • 2 × 4-20mA analog inputs
  • 20 free GPIO expansion pins
  • Gigabit Ethernet support
  • M.2 PCIe expansion socket
  • SSD1306 OLED display
  • Industrial aluminum DIN rail enclosure
  • Ideal for smart home and industrial automation projects

Print this item

  How to enable 2 IIC buses at the same time?
Posted by: ronpsc - 06-11-2026, 02:54 AM - Forum: KC868-A128 - Replies (1)

Dear Sir,

May I know how to enable both IIC buses for DI and DO at the same time for KC868-A128 in Arduino IDE?
I can only enable one each time, so that I cannot program the board to trigger outputs when inputs changed.

Thanks,

Ron

Print this item

  Enable 2 I2C buses at the same time
Posted by: ronpsc - 06-11-2026, 02:49 AM - Forum: KC868-A128 - Replies (1)

Dear Sir,

I would like to know how to enable both buses for DI and DO in Arduino IDE of KC868-A128 at the same time?
I can only enable one bus each time, so I cannot program the board to trigger the output when input changed.

Thanks,

Ron

Print this item

  Automatic water Level Controller
Posted by: unais - 06-10-2026, 01:46 PM - Forum: Apply for free sample product - No Replies

Hi Team

I'm currently researching for a Water Controller System. So i need a main controller to research. If it works better, useful for the community. 
This is a fully automated water level controller and monitoring system with advanced systems. So if you support me, i can build a solution for that.

Print this item

  M16v2 and SCT013-050
Posted by: SixSixOne - 06-10-2026, 10:20 AM - Forum: KC868-M16 / M1 / MB / M30 - Replies (5)

Dear Sir,
I have bought a M16v2 recently and try to make it work with SCT013-050 50A/1V sensors (https://www.aliexpress.com/item/10050092...1802lqJyc9) with the jumper positioned in the "V" measurement on the board.

I've used the last yaml code you provided (also attached) however it is not measuring anything.

My house has 3 phases and I have already checked all 3 phases as they are coming from teh grid as well as from a socket.
I've never received any measurement the Amperage is always 0A and the RAW measurements 0.11A, 0.12A, 0.13A


Any idea what is going on? 

Tks a lot



Attached Files
.txt   Kincony-m16-v2.txt (Size: 9.86 KB / Downloads: 89)
Print this item

Wink Single-family home automation
Posted by: Jan_W - 06-09-2026, 01:53 PM - Forum: DIY Project - Replies (3)

I'll show off a project that's currently underway - full home automation: 
- lighting (including dimmable LEDs)
- blinds, multi device control: fans, pumps
- energy measurement, 
- temperature and humidity sensors
- and much more Smile

3x B32M
1x DM16
1x G1
1x N20

[Image: tqglEM0.jpeg]

Print this item

  connect 2 KC868 to homeassistant with mqtt broker Mosquitto
Posted by: guycaluwaerts - 06-09-2026, 08:33 AM - Forum: KC868-A16 - Replies (5)

Dear,

I try to integrate 2 Kincony boards ( KC868-A16 an KC868-AP) in Homeassistant by mqtt broker Mosquitto.

For the board kc868-A16 I made the correct settings I think.

Mqtt : enable
broker address : mqtt://192.168.0.157
broker port : 1883
broker username : mqtt
broker password : 123

In the screen ' monitor' : status mqtt : connected.

My problem is the integration in homeassistant. I followed your tutorial, but at step 3, I don't understand how you imported the yaml files of your boards in the file editor.
Is it possible to explain how to import the yaml files for the boards KC868-A16 and KC868-AP ?

Second question : When I connect the secondboard ( KC868-AP), can I use the same settings for the mqtt broker ?



Attached Files Thumbnail(s)
   
Image(s)
       
Print this item