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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 8,254
» Latest member: Maxsys249
» Forum threads: 3,612
» Forum posts: 18,614

Full Statistics

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

Latest Threads
how to integrate KC868-A8...
Forum: KC868-A8
Last Post: admin
Yesterday, 11:30 PM
» Replies: 43
» Views: 7,014
KC868-A2 SIM7600 with Tuy...
Forum: KC868-A2
Last Post: admin
Yesterday, 11:29 PM
» Replies: 32
» Views: 3,205
RF doesnt show up?
Forum: KC868-A16v3
Last Post: Borg357
Yesterday, 09:16 PM
» Replies: 2
» Views: 20
KC868-A16 rs485
Forum: KC868-A16
Last Post: admin
Yesterday, 02:21 PM
» Replies: 7
» Views: 75
Some bugs in Home Assista...
Forum: N60
Last Post: admin
Yesterday, 12:29 AM
» Replies: 1
» Views: 20
B16 mqtt code
Forum: B16
Last Post: admin
12-12-2025, 01:31 PM
» Replies: 1
» Views: 14
OPC UA Server for KC868-A...
Forum: DIY Project
Last Post: aksurd
12-12-2025, 04:05 AM
» Replies: 0
» Views: 37
N20 ESPHome & HA - Line t...
Forum: N20
Last Post: WestCoastXS
12-12-2025, 03:26 AM
» Replies: 2
» Views: 21
Low Level Relay Trigger
Forum: KC868-A16v3
Last Post: admin
12-12-2025, 01:41 AM
» Replies: 5
» Views: 51
KC868-A16v3 ESPHome yaml ...
Forum: KC868-A16v3
Last Post: hans-martijn
12-11-2025, 09:38 PM
» Replies: 10
» Views: 4,019

  Some bugs in Home Assistant MQTT integration
Posted by: VeikkoPeikko - 12-12-2025, 07:31 PM - Forum: N60 - Replies (1)

Greeting from Finland!
I just finished installation of my N60 yesterday and I got it sending data to my mqtt broker. Installation, upgrading the firmware and auto discovery worked flawlessly. 
Overall great device and I have been looking for couple of years for a solution to monitor my entire electricity usage on fuse level. This is first reasonable product to do this.

Some basic information. I am using KCS V3 Firmware version v3.18.0. Connected with ethernet in my IOT VLAN. Monitoring three phase system with 3x16 fuses.
Power measurement appears to be reasonably accurate. I am using DL-CT03CL1.0 2000:1 current transformers. No Coefficients factors used for current power or energy.

I discovered some bugs in the MQTT integration.

N60 not sending energy (kwh) information in MQTT message:

Example Monitor1 Channel 8:
Home Assistant data
   

Data from Kincony webUI
   

MQTT data from MQTT Explorer
   

N60 is periodically sending kwh energy data but is not correct.


Incorrect state_class
Some of the measurement types have incorrect state class statement. Measurement is basically working but these entities cannot be used as Devices in
Home Assistant Energy dashboard. For power meter Energy dashboard assume device type: power and state class: measurement.

Currently N60 sends incorrectly:
unit_of_measurement: W
device_class: power
friendly_name: 3.1 Valo Keittiö Power
(state_class missing)

This is working example:
state_class: measurement
unit_of_measurement: W
device_class: power
friendly_name: EVSE 2 Total Power

There is a workaround to create helper entities from raw data from power sensor but this quite tedious to do 96 times for 48 channels (power and energy measurement). 

Power Factor
Third observation is about power factor calculation. For some reason only one of six monitors are giving reasonable value. This is not usually super important in normal domestic
house as we are not charged for reactive power. For me this is interesting measurement as I run my house mostly battery powered and heat pumps generate quite a lot reactive power
and this strains inverters. It would be nice to know exact reactive power values. reference voltages match measured phases.

I am measuring L1 with monitor 1 and 2, L2 with monitor 3 and 4 and L3 with monitor 5 and 6.

Hopefully we can get these small bugs sorted out soon enough. Another possibility would be to use ESPHome but I really like the idea of this easy MQTT auto-discovery. So easy when 
it works.

BR, Veikko Suihkonen

PS. My screen installation is kind of wonky. I see very little use for the screen anyway but I wonder what went wrong? Also, wifi is disabled on my N60. Software could be changed to show
"[Wifi] disabled" or something else on screen if it really is disabled. This could prevent some confusion in future.
   

Print this item

  B16 mqtt code
Posted by: Sameh - 12-12-2025, 11:09 AM - Forum: B16 - Replies (1)

Need for mqtt code for cover shutter and water level

Print this item

  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: 12)
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