Smart Home Automation Forum
OPC UA Server for KC868-A16V3: From Smart Home to Industrial Gateway - Printable Version

+- Smart Home Automation Forum (https://www.kincony.com/forum)
+-- Forum: Technical Support (https://www.kincony.com/forum/forumdisplay.php?fid=1)
+--- Forum: DIY Project (https://www.kincony.com/forum/forumdisplay.php?fid=3)
+--- Thread: OPC UA Server for KC868-A16V3: From Smart Home to Industrial Gateway (/showthread.php?tid=8817)



OPC UA Server for KC868-A16V3: From Smart Home to Industrial Gateway - aksurd - 12-12-2025

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.
5. Repository & Files
  • GitHub Repository (Full Source Code): https://github.com/Aksurd/opcua-kincony-a16v3
  • Direct Download: For users who may have difficulty accessing GitHub, I have attached the complete source code archive
    Code:
    forum-release.zip
    to this post. It contains all necessary files to explore and build the project.
6. Invitation for Discussion
I welcome all feedback, technical questions, and ideas. I am particularly interested in discussions about:
  • Potential improvements for reliability in industrial environments.
  • Use cases for pilot projects or light automation tasks.
  • Collaboration possibilities to enhance the ecosystem around KinCony hardware.
Thank you to KinCony for the versatile hardware platform, and thank you to the community for your attention.