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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 8,931
» Latest member: dponyatov
» Forum threads: 3,904
» Forum posts: 19,925

Full Statistics

Online Users
There are currently 70 online users.
» 2 Member(s) | 44 Guest(s)
AhrefsBot, Amazonbot, Applebot, Bytespider, Crawl, PetalBot, Semrush, Sogou web, bot, dponyatov, Saif Kitany

Latest Threads
Complete Home Assistant c...
Forum: KC868-A16
Last Post: admin
4 hours ago
» Replies: 3
» Views: 15
N60 Sensor channel label
Forum: N60
Last Post: admin
5 hours ago
» Replies: 3
» Views: 23
Http protocol
Forum: News
Last Post: admin
8 hours ago
» Replies: 9
» Views: 55
B24M ESPHome yaml for hom...
Forum: B24M
Last Post: admin
11 hours ago
» Replies: 2
» Views: 593
KC868-16A crashing in inf...
Forum: KC868-A series and Uair Smart Controller
Last Post: admin
11 hours ago
» Replies: 9
» Views: 60
KC868-A16 rev1.6 firmware
Forum: "KCS" v2 firmware system
Last Post: admin
Yesterday, 10:54 AM
» Replies: 3
» Views: 28
4 - 20 mA adc not giving ...
Forum: KC868-AIO
Last Post: admin
Yesterday, 12:47 AM
» Replies: 3
» Views: 29
E8v3 PCB layout CAD file
Forum: Schematic & diagram & Dimensions of KinCony PCB layout CAD file
Last Post: admin
04-15-2026, 09:35 PM
» Replies: 0
» Views: 16
ERROR SIM not inserted SI...
Forum: KC868-E8T
Last Post: admin
04-14-2026, 12:10 PM
» Replies: 18
» Views: 993
B4 Smart Controller ESP32...
Forum: B4
Last Post: admin
04-14-2026, 12:52 AM
» Replies: 0
» Views: 13

  M30 Troubles
Posted by: Annas - 11-13-2024, 11:15 AM - Forum: KC868-M16 / M1 / MB / M30 - Replies (4)

Hello  

Setup:     
M30 AC energy meter connected to Home-assistant server running in virtual machine with windows host, the M30 connected to pc through onboard USB debugging port and RS485 to USB converter (COM 3 & COM 4) and connected to same network as pc through Ethernet

Problem: 
-- the Home Assistant frontend dashboard shows the board current readings: m30_1,2,3_current_1--10  = 0.357 A , Watt: 140.3W,  4,771.0 kWh,  5,141.0 kWh,  tps_1,2,3 = 4,574.6 °C
the CT sensors is not connected to any active load ?  
--  when connect the CT sensors to load the reading did not change ?
-- Connecting  modbus pull with same configuration as in yaml file { uart:   id: modbus_uart  rx_pin: 32  tx_pin: 33  baud_rate: 115200  stop_bits: 1  data_bits:   parity: NONE}   it shows timeout error with no readings? 

Required: 
-- How to reset the CT sensors current readings and energy reading to Zero when there is no loads or the sensors not connected, remove the un wanted history and start fresh. please show example of any modifications needed in yaml file. all sensors are brand new and never used before.
-- Why there is no reading when i connect the CT sensor to an active load ? did i mess something? 
--  Why i cant read the sensors trough modbus pull from register 3 ? how to fix timeout error ?
-- Noticed when using the yamal file posted that we can not use Ethernet and WIFI at the same time? why?
-- I tried with another M30 board the current reading 0.220 A watt zero but also the reading did not change when i connect the CT sensor to active load? any reason?
-- why TPS shows very high readings? what does it means?
-- Period readings = 457.8 Hz  ? can you explains? -not realistic readings-

Note: Attached the yaml used in the configuration, the dashboard for home assistant before and after connecting the CT to load, the modbus error  
  



Attached Files Thumbnail(s)
                       
           
Image(s)
       

.txt   Yaml Config file.txt (Size: 49.87 KB / Downloads: 298)
Print this item

  "KCS" v3.0.3 firmware for A32 Pro controller
Posted by: admin - 11-11-2024, 10:01 PM - Forum: "KCS" v2 firmware system - No Replies

v3.0.3 improvement:

1. Fix the problem that mqtt custom port does not take effect
2. Fix the problem of missing comma separator when mqtt returns json
3. Fix the problem that the mqtt command does not support the simultaneous processing of multiple commands
4. Fixed mqtt instructions run_rf, run_ir, set_beep returning wrong json format


.zip   KCS_A32PRO_V3.0.3.zip (Size: 999.62 KB / Downloads: 494)

Print this item

  "KCS" v2.2.7 firmware BIN file download
Posted by: admin - 11-11-2024, 11:09 AM - Forum: "KCS" v2 firmware system - Replies (10)

Here is "KCS" firmware for KinCony KC868-A series (ESP32) board.
How to download and use, online guide: https://www.kincony.com/esp32-kcsv2-firmware.html

v2.2.7 improvement:
1. Fix the problem that the mqtt command does not support the simultaneous processing of multiple commands
2. Fixed mqtt instructions run_rf, run_ir, set_beep returning wrong json format

for example:

{"output1":{"value":true},"dac1":{"value":250}}
   
   

{"output1":{"value":true},"output2":{"value":false},"output3":{"value":true},"output4":{"value":false},"dac1":{"value":125}}
   
   

these can write in one payload.



Attached Files
.zip   KCS_KC868_A2_V2.2.7.zip (Size: 795.11 KB / Downloads: 542)
.zip   KCS_KC868_A4_V2.2.7.zip (Size: 781.84 KB / Downloads: 525)
.zip   KCS_KC868_A4S_V2.2.7.zip (Size: 805.51 KB / Downloads: 492)
.zip   KCS_KC868_A6_V2.2.7.zip (Size: 779.98 KB / Downloads: 604)
.zip   KCS_KC868_A8_V2.2.7.zip (Size: 788.99 KB / Downloads: 580)
.zip   KCS_KC868_A8M_V2.2.7.zip (Size: 805.09 KB / Downloads: 454)
.zip   KCS_KC868_A8S_V2.2.7.zip (Size: 806.68 KB / Downloads: 456)
.zip   KCS_KC868_A16_V2.2.7.zip (Size: 796.18 KB / Downloads: 651)
.zip   KCS_KC868_A16S_V2.2.7.zip (Size: 806.71 KB / Downloads: 482)
.zip   KCS_KC868_A32_V2.2.7.zip (Size: 786.3 KB / Downloads: 503)
.zip   KCS_KC868_A32M_V2.2.7.zip (Size: 804.48 KB / Downloads: 475)
.zip   KCS_KC868_A64_V2.2.7.zip (Size: 786.33 KB / Downloads: 463)
.zip   KCS_KC868_A128_V2.2.7.zip (Size: 786.2 KB / Downloads: 474)
.zip   KCS_KC868_AG_V2.2.7.zip (Size: 764.38 KB / Downloads: 490)
.zip   KCS_KC868_AI_V2.2.7.zip (Size: 788.88 KB / Downloads: 479)
.zip   KCS_KC868_AIO_V2.2.7.zip (Size: 805.97 KB / Downloads: 477)
.zip   KCS_KC868_AK_V2.2.7.zip (Size: 766.88 KB / Downloads: 496)
.zip   KCS_KC868_AM_V2.2.7.zip (Size: 781.78 KB / Downloads: 482)
.zip   KCS_KC868_AP_V2.2.7.zip (Size: 784.24 KB / Downloads: 453)
.zip   KCS_KC868_ASR_V2.2.7.zip (Size: 761.25 KB / Downloads: 515)
.zip   KCS_KC868_E16S_V2.2.7.zip (Size: 791.03 KB / Downloads: 493)
.zip   KCS_KC868_UAIR_V2.2.7.zip (Size: 767.57 KB / Downloads: 491)
Print this item

  Kc868-a16 v1.6
Posted by: Future1980 - 11-11-2024, 10:48 AM - Forum: DIY Project - Replies (3)

Salve,ho comprato questa scheda.
Ho installato il firmware tasmota e funziona ingressi e uscite.
Volevo chiedervi se è possibile avere il codice per farla comunicare da PC rs232 o con USB tramite comandi seriali.
Esempio:

Rs232 relè1on invio
E avere tutti gli stati  input  sempre in via seriale 
In modo tale da visualizzarlo con visual basic.
Grazie

Print this item

  Digital input 11.2v
Posted by: drandle1 - 11-10-2024, 03:30 PM - Forum: KC868-A8 - Replies (1)

I am new here... I have uploaded the digital input code to the KC868-a8s-v2 from the knowledge base. SEE BELOW. When I test the voltage on the input with nothing connected, there is 11.2v read from all of the inputs. 

Why is this happening? 

How do I use the digital inputs? 

#include "Arduino.h"
#include "PCF8574.h"

// Set i2c address
PCF8574 pcf8574(0x22,4,5);// 0x22 is address, IO4 is SDA  IO5 is SCL
unsigned long timeElapsed;
void setup()
{
    Serial.begin(115200);
    delay(1000);

//    pcf8574.pinMode(P0, OUTPUT);
pcf8574.pinMode(P0, INPUT);
pcf8574.pinMode(P1, INPUT);
pcf8574.pinMode(P2, INPUT);
pcf8574.pinMode(P3, INPUT);
pcf8574.pinMode(P4, INPUT);
pcf8574.pinMode(P5, INPUT);
pcf8574.pinMode(P6, INPUT);
pcf8574.pinMode(P7, INPUT);

    Serial.print("Init pcf8574...");
    if (pcf8574.begin()){
        Serial.println("OK");
    }else{
        Serial.println("KO");
    }
}

void loop()
{
uint8_t val1 = pcf8574.digitalRead(P0);
uint8_t val2 = pcf8574.digitalRead(P1);
uint8_t val3 = pcf8574.digitalRead(P2);
uint8_t val4 = pcf8574.digitalRead(P3);
uint8_t val5 = pcf8574.digitalRead(P4);
uint8_t val6 = pcf8574.digitalRead(P5);
uint8_t val7 = pcf8574.digitalRead(P6);
uint8_t val8 = pcf8574.digitalRead(P7);
if (val1==LOW) Serial.println("KEY1 PRESSED");
if (val2==LOW) Serial.println("KEY2 PRESSED");
if (val3==LOW) Serial.println("KEY3 PRESSED");
if (val4==LOW) Serial.println("KEY4 PRESSED");
if (val5==LOW) Serial.println("KEY5 PRESSED");
if (val6==LOW) Serial.println("KEY6 PRESSED");
if (val7==LOW) Serial.println("KEY7 PRESSED");
if (val8==LOW) Serial.println("KEY8 PRESSED");
    delay(300);
}

Print this item

  Help whit update Cold CPU BOOTLOADER by Jlink tool.
Posted by: itzek - 11-10-2024, 07:30 AM - Forum: KC868-HxB series Smart Controller - Replies (3)

Hello admin, 
I'm trying to update a version in my colb to get tuya support according to the following link: 
https://www.kincony.com/forum/showthread.php?tid=2656

I use the j-link tool and it can't connect to the component. I installed the driver and connected everything according to the manual, what am I doing wrong?  I am attaching pictures of the processor and the error



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

  KC868-AIO connecting to ESPHome
Posted by: slava - 11-10-2024, 05:36 AM - Forum: KC868-AIO - Replies (1)

I am trying to connect KC868-AIO to ESPHome. Home Assistant and ESPHome are installed on my QNAP server in separate docker containers. I connected KC868-AIO to my computer with a USB data cable but it does not show up in the list of the available ports. What is wrong?



Attached Files Thumbnail(s)
   

Print this item

Question DI8
Posted by: Vaughan2024 - 11-09-2024, 10:24 PM - Forum: Development - Replies (1)

Hi,
Can I use the DI8 input to detect a DC signal in the range of 0.8 to 1.5 V? I previously used an Arduino Mega, which could read voltage levels on its digital I/O pins. Now, I’m looking to replace the Arduino with an ESPHome solution that can accomplish the same task.
The goal is for the signal to be represented as an On or Off input in Home Assistant.
Is this setup feasible? Or are there better methods to bring 0.8 to 1.5 V DC signals into Home Assistant?
Thank you!



Attached Files Thumbnail(s)
   
Print this item

  Clarification on CT Clamp Sensor Input Assignments for Split-Phase Monitoring
Posted by: ironbill - 11-09-2024, 09:27 PM - Forum: KC868-M16 / M1 / MB / M30 - Replies (3)

I am configuring the KC868-M30 to monitor a split-phase residential electrical system in the United States, which consists of two hot legs: L1 and L2 with a total of 30 spaces. I seek clarification on the assignment of the 30 CT clamp sensor inputs. Specifically, I would like to know if there is a required mapping between the sensor inputs and the two-phase legs. Should the inputs be organized as follows:

  • Inputs 1–10 assigned to Phase A (L1)
  • Inputs 11–20 assigned to Phase B (L2)
  • Inputs 21–30 left unassigned or used for other purposes

Or is it permissible to connect the CT clamps to any input channel, regardless of the phase they are monitoring, as long as the configuration in the software accurately reflects the phase association for each input?

Understanding the correct procedure is crucial for ensuring accurate phase identification and power calculations. Your guidance on this matter would be greatly appreciated.

Thank you for your assistance.

Print this item

  "KCS" v3.0.2 firmware for A32 Pro controller
Posted by: admin - 11-09-2024, 12:00 AM - Forum: "KCS" v2 firmware system - No Replies

v3.0.2 improvement:
1. fixed bug with INTERLOCK
2. Accelerated digital input read speed

firmware donwload:
.zip   KCS_A32PRO_V3.0.2.zip (Size: 999.12 KB / Downloads: 539)
ESP32 DOWNLOAD TOOL: https://www.kincony.com/wp-content/uploa..._3.9.2.zip

Print this item