Posted by: aksurd - 12-12-2025, 04:05 AM - Forum: DIY Project
- No Replies
1. Introduction
Hello everyone,
I purchased the KC868-A16V3 controller and was genuinely impressed by its hardware capabilities. To explore its potential beyond smart home applications, I developed a fully functional OPC UA server as a proof-of-concept. This project transforms the A16V3 into a practical industrial OPC UA data gateway. 2. Project Overview & Features
This is a stable, working implementation that demonstrates the controller's ability to serve as an industrial communication node:
OPC UA Server: Full server implementation based on open62541 and ESP-IDF.
Hardware Support: Utilizes all core I/O of the A16V3:
16 digital input/output channels (via integrated PCF8574).
4 analog input (ADC) channels.
Performance: Achieves consistent read times of less than 5ms per tag in testing.
Real-World Validation: Successfully integrated and tested with an industrial SCADA system (Simple SCADA). Screenshots are attached below.
Complete & Open: All source code is available, documented, and ready to be built upon.
3. Proof of Concept & Evidence
The project is not a commercial product but a verified and stable proof-of-concept. The screenshots below show the server's data points (tags) being actively read and monitored in a real SCADA client interface, confirming successful integration.
*(Прикрепи здесь 1-2 ключевых скриншота из Simple SCADA)* 4. Project Goals & Status
Primary Goal: To demonstrate that affordable, accessible hardware like the KC868-A16V3 can be effectively adapted for standard industrial protocols.
Current Status:Stable proof-of-concept. All core functionalities are implemented, tested, and operational. The code provides a solid foundation for further development, pilot projects, or customization.
Disclaimer: This is an open-source community project, not an official or commercial product from KinCony.
Good evening,
I am writing to report an issue with a KC868-A16 board: the firmware fails to upload.
I have strictly followed the procedure detailed in the following guide:https://www.kincony.com/esp32-kcsv2-firmware.html
An explanatory video detailing all the actions I perform is attached to this request.
Details of Troubleshooting Performed
- I have tested the procedure on three different PCs.
- I have tried using both USB 2.0 and USB 3.0 ports.
- The flashing program does not return any error, but the firmware is not uploaded.
Error Message Displayed
The only message that appears in the flashing tool is:
Hi guys, I am starting to code in platformio using espidf and I couldnt find the board in the list. Can someone provide me with one or tell what board I can use as substite?
I have just received my N20.
Not very experienced with ESPHome but I did get firmware compiled and the unit is working over Wifi rather than ethernet.
I am in Canada. My electrical service is 120V/240V split phase.
Line 1 to ground is ~120V, line 2 to ground is ~120V, and L1 to L2 is ~240V.
I bought the N20 with its two voltage inputs in the hope that I could measure both 120V circuits and 240V circuits.
Is there a way to change to configuration for individual watt and kWh sensors to use the Line 1 plus Line 2 voltages?
So for example right now I have a 240V 4000W heater running.
There is no 120V load and no neutral so it only needs a single CT, but the voltage is the sum of L1 & L2.
For example my sensors currently read:
bl0910_1_current_1: 16.086A
bl0910_1_power_1: 1874.9W (incorrect)
bl0910_1_voltage: 117.3V
And also:
bl0910_2_voltage: 118.2V
The kWh would also be incorrect.
Can I adjust the yaml so that it calculates bl0910_1_power_1 based on bl0910_1_voltage PLUS bl0910_2_voltage?
But ONLY for that specific CT input?
So that other CTs on 120V circuits still calculate correctly?
It seems like it may be able to calculate this within Home Assistant.
I've already made a helper that adds the two voltage sensors together.
But they don't seem to have implemented the multiplication/product helper.
It would be immensely simpler if it could be implemented in the yaml.