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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 8,316
» Latest member: seosearchgroup
» Forum threads: 3,630
» Forum posts: 18,743

Full Statistics

Online Users
There are currently 27 online users.
» 0 Member(s) | 13 Guest(s)
AhrefsBot, Amazonbot, Bytespider, PetalBot, bot

Latest Threads
KC868-M16v2 configure yam...
Forum: KC868-M16 / M1 / MB / M30
Last Post: admin
1 hour ago
» Replies: 125
» Views: 25,253
sample code to receive ht...
Forum: F16
Last Post: admin
1 hour ago
» Replies: 1
» Views: 1
Replacing ESP32 with Kinc...
Forum: KC868-A16
Last Post: admin
12-24-2025, 11:43 PM
» Replies: 1
» Views: 18
N30 Energy entry not work...
Forum: N30
Last Post: admin
12-24-2025, 11:43 PM
» Replies: 11
» Views: 93
KC868-Server ESP32 Ethern...
Forum: KC868-Server Raspberry Pi4 local server
Last Post: admin
12-24-2025, 11:41 PM
» Replies: 7
» Views: 77
Single Moment switch
Forum: DIY Project
Last Post: admin
12-24-2025, 11:37 PM
» Replies: 1
» Views: 22
Help with Product Slectio...
Forum: Suggestions and feedback on KinCony's products
Last Post: admin
12-24-2025, 12:06 AM
» Replies: 5
» Views: 65
Loxone RS485
Forum: KinCony integrate with Loxone home automation
Last Post: admin
12-24-2025, 12:03 AM
» Replies: 9
» Views: 1,129
adaptor V2 and KC868 h32b...
Forum: KC868-ATC / Tuya adapter V2
Last Post: admin
12-23-2025, 01:19 AM
» Replies: 1
» Views: 26
KC868-A6 - how to connect...
Forum: KC868-A6
Last Post: admin
12-23-2025, 01:18 AM
» Replies: 1
» Views: 25

  OPC UA Server for KC868-A16V3: From Smart Home to Industrial Gateway
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.
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.



Attached Files Thumbnail(s)
           

.zip   forum-release.zip (Size: 772.63 KB / Downloads: 37)
Print this item

  RF doesnt show up?
Posted by: Borg357 - 12-12-2025, 03:21 AM - Forum: KC868-A16v3 - Replies (2)

Greetings everyone New user here,

 I have a Board Model A16v3 - Software Version v3.9.1 Kincony relay using Home Assistant to control my devices (MQTT(HA)).

I learned in a few RF controls.  I used the Kincony A16V3 website to send the RF signals, which control my devices.

However, Home Assistant sees all the RF sensors, but doesn't see any of the RF controls??

Are there any other steps that I need to do to make the RF controls some into HA?

Thank you

-Richard

Print this item

  KC868-A16 - the firmware fails to upload.
Posted by: luke19 - 12-11-2025, 03:37 PM - Forum: "KCS" v2 firmware system - Replies (1)

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:

test offset : 0 0x0
case ok

Video of the problem:
https://youtu.be/6Pr5BCM6tB0

Request for Assistance
Could you please provide instructions on how to resolve this problem?

Thank you

Print this item

  Where to get schematics of all KC868-A8 and A16 versions with relays ??
Posted by: peacemakerv - 12-11-2025, 08:56 AM - Forum: KC868-HxB series Smart Controller - Replies (1)

Hi, All
Please, suggest all PDF-versions of the circuit diagrams of all models KC868-A8 and KC868-A16 with mechanical relays on board ?

Searching the market gets various versions, prices - so, it needs to understand what exactly is being sold to choose...

Just so some A8v3 ...

Print this item

  Low Level Trigger for Relays
Posted by: shawn@itcharleston.com - 12-11-2025, 06:54 AM - Forum: KC868-A16v3 - Replies (1)

Can the KC868-A16v3 be configured to output a Low Level (Ground) to trigger relays on a SainSmart 16-Channel 12V Relay Module Board?

Thanks
Shawn

Print this item

  Low Level Output for Relays
Posted by: shawn@itcharleston.com - 12-11-2025, 06:52 AM - Forum: KC868-A16v3 - Replies (1)

Can the KC868-A16v3 be configured to output a Low Level (Ground) to trigger the relays on a SainSmart 16-Channel 12V Relay Module Board?

Print this item

  Low Level Relay Trigger
Posted by: shawn@itcharleston.com - 12-11-2025, 06:47 AM - Forum: KC868-A16v3 - Replies (5)

Can the KC868-A16v3 be configured to output a Low Level (Ground) to trigger relays on the SainSmart 16-Channel 12V Relay Module Board?

Print this item

  json configuration file for platformio
Posted by: realchair - 12-11-2025, 12:00 AM - Forum: KC868-A16v3 - Replies (3)

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?

Print this item

  N20 ESPHome & HA - Line to Line voltage?
Posted by: WestCoastXS - 12-10-2025, 02:52 AM - Forum: N20 - Replies (4)

Hello,

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.

Thank you

Print this item

  Raspberry Pi5 Compute Module 5 IoT Server
Posted by: mcdave - 12-09-2025, 02:50 AM - Forum: Pi5 - Replies (1)

What is best a specific level of current or amper need to use when istall ubuntu OS its keep popoup the screen not compatible the 12V 2amp.

Print this item