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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 9,660
» Latest member: fv88vnnett
» Forum threads: 4,195
» Forum posts: 20,846

Full Statistics

Online Users
There are currently 89 online users.
» 0 Member(s) | 70 Guest(s)
AhrefsBot, Amazonbot, Applebot, Baidu, Bing, Crawl, PetalBot, Semrush, bot

Latest Threads
KCS VERSUS ESPHOME
Forum: "KCS" v3 firmware
Last Post: EDVALDO DE MARINGA
9 hours ago
» Replies: 2
» Views: 31
KC868-AGv3
Forum: Getting Started with ESPHome and Home Assistant
Last Post: admin
08-20-2026, 10:18 PM
» Replies: 5
» Views: 78
[arduino code examples fo...
Forum: KC868-A32/A32 Pro
Last Post: huanmarie
08-19-2026, 07:09 AM
» Replies: 2
» Views: 1,596
KC868-H32B V5.08 firmware
Forum: News
Last Post: meoowu77
08-18-2026, 11:46 AM
» Replies: 24
» Views: 8,437
KinCony B2 Smart Controll...
Forum: News
Last Post: admin
08-17-2026, 01:07 PM
» Replies: 0
» Views: 51
KC868-A8v3 PCB layout CAD...
Forum: Schematic & diagram & Dimensions of KinCony PCB layout CAD file
Last Post: admin
08-17-2026, 08:44 AM
» Replies: 0
» Views: 60
CT Clamp Compatibility
Forum: KC868-M16 / M1 / MB / M30
Last Post: admin
08-16-2026, 11:08 PM
» Replies: 12
» Views: 2,090
N60 Sensor channel label
Forum: N60
Last Post: marekd1
08-14-2026, 09:14 PM
» Replies: 18
» Views: 2,484
solar production and cons...
Forum: N30
Last Post: admin
08-14-2026, 01:46 AM
» Replies: 3
» Views: 137
Current direction detecti...
Forum: N30
Last Post: admin
08-14-2026, 01:44 AM
» Replies: 3
» Views: 126

  Measure AC voltage using analog pins in M16 v1 board
Posted by: homeassistant144 - 01-10-2024, 02:44 AM - Forum: KC868-M16 / M1 / MB / M30 - Replies (1)

I am currently using the M16 board to measure current within my house. I would also like to record real time data for 220v AC voltage using this same board. Is it possible to use the analog pins available on this board to measure 220v AC voltage with the help of esphome?

Print this item

  Unresponsive KC868-A16
Posted by: gigib - 01-09-2024, 10:43 PM - Forum: KC868-A16 - Replies (17)

Hello

I bought a  KC868-A16 recently but that seems unresponsive. 
I can see it sends periodic GARP with ip 192.168.1.200, power and Ethernet leds are on,  but It is not detected by KSC firmare tool through serial/USB or UDP SCAN through the network.
Is there any way to change the Ip? does it have a web interface that can I access to do that?

Thanks

Print this item

  Request sample for power system automation project
Posted by: Georgidt - 01-08-2024, 04:18 PM - Forum: Apply for free sample product - Replies (1)

Greetings,
My name is Georgi and I work for local power distribution company here in Bulgaria. Currently my work here is related to digital relay and telemehanique system to control power objects connecyed to HV, MV and lV system.
I am starting a project for mass automation on lots of devices from LV mcb to HV/MV Power transformers. For this task I need reliable automation controller to work with.
Some of my colleagues will be educated (unofficially) to learn the process of automation. At first I will try it on my house automation home assistant. This is a pilot project of mine and the perpous of it is to make my job easier and more automated from distance. When I have a success it will be freely given to many world wide colleagues.

Hope to work with your product in near feauture.

Georgi Tanchev
+359988826707

Print this item

  MQTT messages and IFTTT rules
Posted by: yamaray - 01-08-2024, 04:06 PM - Forum: KC868-A8 - Replies (7)

Hello,
I like much your local implementation of IFTTT system, the interface is quite intuitive and fast to define a rule. Now I would like to involve into the IFTTT rules, some data coming or going out via MQTT protocol, so I am wondering if there is a way to involve MQTT messages into IFTTT conditions or/and actions.
In my opinion, it would be quite interesting to provide a way to send MQTT messages according to some conditions in the device or even take some internal actions according to a value from a specific received MQTT topic.

kind regards,
Yamaray

Print this item

  KC868-A8 mqtt connection
Posted by: yamaray - 01-06-2024, 10:43 PM - Forum: KC868-A8 - Replies (5)

Hi,
I just reived today the KC868-A8 device, I flashed it with KCS_KC868_A8_V2.2.2.bin. I connect it with ethernet cable to my LAN, everything seems to work but the mqtt connection shows disconnected in the monitor page. The broker is locally installed (in the same LAN).
I verified with MQTT Explorer that the device is not connected to the broker (mosquitto). I tried other brokers also in the local LAN and in the WAN, but same result. The monitor always shows MQTT disconnected. 
I turned off the WiFi of the device just to get only one connection to the LAN, but it is the same.
I also tried the firmware version KCS_KC868_A8_V2.0.5.bin but I got the same result.

Any suggestion will be appreciated.

THX 
Yamaray

Print this item

  KC868-AIO source code
Posted by: Mosfet3 - 01-06-2024, 12:43 PM - Forum: KC868-AIO - Replies (3)

Hi,
Is it possible to get KC868-AIO source code? 
Is it possible to preprogam intputs to outputs permanently and make it latching?

Print this item

  Errno 113
Posted by: shuhrat - 01-06-2024, 09:35 AM - Forum: KC868-A16S - Replies (5)

Can't connect to ESPHome API for kc868-a16s @ 192.168.30.85: Error connecting to [AddrInfo(family=<AddressFamily.AF_INET: 2>, type=<SocketKind.SOCK_STREAM: 1>, proto=6, sockaddr=IPv4Sockaddr(address='192.168.30.85', port=6053))]: [Errno 113] Connect call failed ('192.168.30.85', 6053) (SocketAPIError)

12:04:08 – (ПРЕДУПРЕЖДЕНИЕ) runner.py
kc868-a16s @ 192.168.30.85: Connection error occurred: Ping response not received after 90.0 seconds
12:04:07 – (ПРЕДУПРЕЖДЕНИЕ) runner.py

Almost every day I get this error. After it the device stops responding and I reboot it and then everything works
esphome:
name: kc868-a16s
platform: ESP32
board: esp32dev


# Enable logging
logger:

# Enable Home Assistant API
api:
encryption:
key: "iJcfgpwJwZg9ObKzoD9XIa1KAQx8yAy7BZwuo3ye5cg="

ota:
password: "f705fcd4ef788f830ac190213002873b"

# Example configuration entry for ESP32
i2c:
sda: 4
scl: 5
scan: true
id: bus_a


# Example configuration entry
ethernet:
type: LAN8720
mdc_pin: GPIO23
mdio_pin: GPIO18
clk_mode: GPIO17_OUT
phy_addr: 0
use_address: 192.168.30.85

# Optional manual IP
manual_ip:
static_ip: 192.168.30.85
gateway: 192.168.30.1
subnet: 255.255.255.0


# Example configuration entry
pcf8574:
- id: 'pcf8574_hub_out_1' # for output channel 1-8
address: 0x24

- id: 'pcf8574_hub_out_2' # for output channel 9-16
address: 0x25

- id: 'pcf8574_hub_in_1' # for input channel 1-8
address: 0x22

- id: 'pcf8574_hub_in_2' # for input channel 9-16
address: 0x23

# Individual outputs
switch:
- platform: gpio
name: "a16s-output1"
pin:
pcf8574: pcf8574_hub_out_1
number: 0
mode: OUTPUT
inverted: true

- platform: gpio
name: "a16s-output2"
pin:
pcf8574: pcf8574_hub_out_1
number: 1
mode: OUTPUT
inverted: true

- platform: gpio
name: "a16s-output3"
pin:
pcf8574: pcf8574_hub_out_1
number: 2
mode: OUTPUT
inverted: true

Print this item

  I tried to install KC868-A128 but I got an error!
Posted by: soethu - 01-06-2024, 04:28 AM - Forum: KC868-A128 - Replies (7)

INFO ESPHome 2023.12.5
INFO Reading configuration /config/esphome/a128.yaml...
WARNING GPIO5 is a strapping PIN and should only be used for I/O with care.
Attaching external pullup/down resistors to strapping pins can cause unexpected failures.
See https://esphome.io/guides/faq.html#why-a...pping-pins
WARNING GPIO15 is a strapping PIN and should only be used for I/O with care.
Attaching external pullup/down resistors to strapping pins can cause unexpected failures.
See https://esphome.io/guides/faq.html#why-a...pping-pins
Failed config

switch.gpio: [source <unicode string>:516]
 
  Pin 0 is used in multiple places.
  platform: gpio
  name: a128-light49
  pin:
    pcf8574: pcf8574_hub_out_4
    number: 0
    mode:
      output: True
      input: False
    inverted: True
  disabled_by_default: False
  restore_mode: ALWAYS_OFF
  interlock_wait_time: 0ms
switch.gpio: [source <unicode string>:644]
 
  Pin 0 is used in multiple places.
  platform: gpio
  name: a128-light65
  pin:
    pcf8574: pcf8574_hub_out_4
    number: 0
    mode:
      output: True
      input: False
    inverted: True
  disabled_by_default: False
  restore_mode: ALWAYS_OFF
  interlock_wait_time: 0ms

Print this item

  30 Channel ESP32 energy monitor – KinCony M30 released
Posted by: admin - 01-05-2024, 11:31 AM - Forum: News - Replies (5)

We have designed 30 Channel ESP32 energy monitor open source board - M30 (ESP32 30 Channel CT Clamp Energy Monitor) for home automation DIYer. The hardware have 30CH CT Clamp sensor INPUT ports + 3CH ZMPT101B voltage sensor + SD card + 30CH RGB colorful LED for current value. Ethernet+RS485+4G modbus 30CH high-accuracy energy meter ic-BL0910 with CT clamp. it can easy integrate to home assistant by ESPHome.
[Image: M30-1_01.jpg]
[Image: M30-1_02.jpg]
[Image: M30-1_03.jpg]
[Image: M30-1_04.jpg]
[Image: M30-1_05.jpg]

Print this item

  [Arduino source code for M30]-02 read all energy meter data
Posted by: admin - 01-05-2024, 11:25 AM - Forum: KC868-M16 / M1 / MB / M30 - No Replies

Code:
#include <ModbusMaster.h>
#include <arduino.h>
#include "HardwareSerial.h"
ModbusMaster node;
HardwareSerial my485Serial(2);

#define CHANNEL     0

String temp="";
void read_485(){
  while(my485Serial.available()>0)
  {
    temp = my485Serial.readString();   //read one data then delete it from buffer
     Serial.println(temp);
     //delay(100);
  }
  temp="";
}

void setup() {
  // put your setup code here, to run once:

  Serial.begin(115200);
  my485Serial.begin(115200,SERIAL_8N1,32,33);///rx:32  tx:33
  while(my485Serial.read()>0){}
  node.begin(1,my485Serial);
 
}

void loop() {
  // put your main code here, to run repeatedly:
  //first chip BL0910 address:100  second chip BL0910 address:200  third chip BL0910 address:300  every address have 35 bytes data
  if(0 == node.readHoldingRegisters(100,35))
  {
      Serial.print("register value: ");
      for(int i=0;i<35;i++)
      {
        Serial.print(node.getResponseBuffer(i));
        Serial.print(" ");
      }
  }
  Serial.println(" ");
  Serial.println("next circle!");
  delay(500);
}

Print this item