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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 9,051
» Latest member: vowelsbranding
» Forum threads: 3,984
» Forum posts: 20,205

Full Statistics

Online Users
There are currently 35 online users.
» 0 Member(s) | 25 Guest(s)
AhrefsBot, Amazonbot, Crawl, Google, bot

Latest Threads
Energy calculation for ne...
Forum: N30
Last Post: admin
1 hour ago
» Replies: 1
» Views: 2
Add uptime to board infor...
Forum: Suggestions and feedback on KinCony's products
Last Post: admin
8 hours ago
» Replies: 14
» Views: 329
Suggestion for Kincony bo...
Forum: DIY Project
Last Post: admin
8 hours ago
» Replies: 1
» Views: 4
N30 - Modbus-TCP
Forum: "KCS" v3 firmware
Last Post: admin
Yesterday, 02:12 PM
» Replies: 3
» Views: 26
N60/N30/N20/N10 PC softwa...
Forum: N30
Last Post: admin
Yesterday, 01:44 PM
» Replies: 5
» Views: 963
"KCS" v3.25.0 firmware BI...
Forum: "KCS" v3 firmware
Last Post: admin
Yesterday, 05:13 AM
» Replies: 0
» Views: 70
N60 Sensor channel label
Forum: N60
Last Post: admin
Yesterday, 01:21 AM
» Replies: 15
» Views: 561
N30 no Energy (kWh)
Forum: "KCS" v3 firmware
Last Post: admin
Yesterday, 01:09 AM
» Replies: 7
» Views: 51
Reset Total Energy only w...
Forum: N30
Last Post: admin
05-15-2026, 12:52 AM
» Replies: 1
» Views: 12
Factor settings and calcu...
Forum: "KCS" v3 firmware
Last Post: GWS
05-14-2026, 03:54 PM
» Replies: 2
» Views: 21

  KC868-A32
Posted by: Sunoc - 12-24-2023, 01:47 PM - Forum: News - Replies (9)

Good morning ! I recently purchased the KC868-A32 card. My question is: can Kincony KCS and Home Assistant be used together? Thanks for your help.

Print this item

  KC868-A16 esp32 board (A16)as upgrade of a Homevision Controller?
Posted by: hjahend - 12-24-2023, 12:35 PM - Forum: KC868-A series and Uair Smart Controller - Replies (36)

Recently I discovered the various Kincony Home Automation solutions and was impressed. Review and consider now the usage potential for my situation. Therefor I pose some clarification questions in this Forum, geared to my home automation situation, ambitions and needs.

For more than 20 years, like many others with a DIY habbit, I have been using the proven reliable Homevision Controller (HV)(
(http://www.csi3.com/homevis2.htm ) for home automation purposes (lights, switches, security-system, screens, sensors, etc.). In my home the HV-Inputs (16) are connected to sensors and motion detectors via CAT4 cable. The HV-communication with and HV-control of 220V-devices in the home is done via protocol X10 (this is outdated and being phased out) and via Tasmota-software (the MQTT-bridge/ broker is on an ES8266-12E NODEMCU, connected to the HV controller via RS232 link).
The 220V architecture at home is a common 3-phase distribution network, with local switches.

Since 2023 my HV-Controller also has an integration interface with Home Assistant (HASS), allowing the HV-connected devices to be also monitored and operated via HASS.
However, the primary/basic automation of the home is and remains via HV (the routines are configured by me in HVXL-software).
HV has the great advantage that it can function completely stand-alone (based on HVXL- software download). And, in the event of a mains voltage failure and restoration, HV is fully operational again within one second!
That includes her MQTT bridge and the restoring of the device states and functioning in the home, exactly as it was before the voltage outage.

Questions:
1. Can A16 also function stand alone as the main home controller & as an MQTT-broker (Mosquito)? Based on which software of yours (KCS and or ESP-Home?)? Are the software programming facilities quite comparable to those of HV (like: if-then-else, timers, date, sunrise/sunset, flags, macros, etc.)?
2. Can the A16 communication accesses/ports (Ethernet, WIFI and RS485) be used independently and in parallel?
3. Is a quite simple integration with HASS possible? If so: which of your software is additionally required and configurable (howto)?
Can I also (or instead of) use the specific HASS integrations (like ESP-HOME and MQTT)for discovery and configurations?

4. Does a HASS integration not violate the stand alone functioning of the A16 instead of HV?
5. What main limitations/issues do I also have to take into account when transitioning from HV to A16?
6. What else do you think is important to pay attention to, regarding this transition?

Print this item

  Defectiv Board?
Posted by: ganesh - 12-24-2023, 08:33 AM - Forum: KC868-A4 - Replies (1)

Hi
I got my KC868-A4 Rev 1.2.4 from Aliexpress. If I power it up all 4 Relais and Controll LED are on. Pressing S2 Button starts all Relais and Buzzer to "Maschingun". Button S1 Turns of Relais but if Button released Relais are back on.

Thanks for your help
Ganesh

Print this item

  H32B PRO problems with home assistant
Posted by: kkabuu - 12-23-2023, 04:48 PM - Forum: KC868-HxB series Smart Controller - Replies (3)

Hello. I have this H32B PRO control module.
and in home assistant I only see 4 entities. I can't find the rest up to 32.
can someone help me with this configuration?
I'm a beginner.
Thank you
   

Print this item

  KC868-A16 Section Control AgIO v5.7
Posted by: zeltini1401 - 12-23-2023, 11:18 AM - Forum: "KCS" v2 firmware system - Replies (7)

You can help configure the KC868-A16 board so that the UDP AgIO v5.7 version program works when connected to a computer with a Lan cable, wifi or another way.
I want the output relays to respond to the section controller.
I don't understand much myself and I don't have any acquaintances who understand network settings very well.



Attached Files Thumbnail(s)
       
Print this item

Photo temperature sensor
Posted by: ahmedwizza1 - 12-22-2023, 09:55 PM - Forum: KC868-A128 - Replies (3)

hello engineer


I want to know how to connect humidity and temperature sensor to the A128  or kc868 server 





   

Print this item

  RS485 PC software for KC868-H32B Pro relay controller
Posted by: admin - 12-21-2023, 07:45 AM - Forum: News - No Replies

   

.zip   H32PRO_APP_RS485_V1.0.23.1214.zip (Size: 2.35 MB / Downloads: 572)

Print this item

  [Arduino source code for MB]-02 debug 4G module AT command
Posted by: admin - 12-21-2023, 02:39 AM - Forum: KC868-M16 / M1 / MB / M30 - No Replies

   
[Image: attachment.php?aid=1056]

Code:
void setup() {
  Serial.begin(115200);
  Serial2.begin(115200);
}

void loop() {
  while (Serial.available()) {
    //  delay(1);
      Serial2.write(Serial.read());
  }
  while (Serial2.available()) {
       Serial.write(Serial2.read());
  }
}

Print this item

  [Arduino source code for MB]-01 read 16CH INA226 voltage and current
Posted by: admin - 12-21-2023, 02:35 AM - Forum: KC868-M16 / M1 / MB / M30 - No Replies

   
   
   
   
source code: 
.zip   INA226_demo.zip (Size: 595 bytes / Downloads: 747)

Code:
//
//    FILE: INA226_demo.ino
//  AUTHOR: Rob Tillaart
// PURPOSE: demo
//     URL: https://github.com/RobTillaart/INA226


#include "INA226.h"
#include "Wire.h"

INA226 INA(0x40);


void setup()
{
  Serial.begin(115200);
  Serial.println(__FILE__);
  Serial.print("INA226_LIB_VERSION: ");
  Serial.println(INA226_LIB_VERSION);

  Wire.begin();
  if (!INA.begin() )
  {
    Serial.println("could not connect. Fix and Reboot");
  }
  INA.setMaxCurrentShunt(8, 0.01);
}


void loop()
{
  Serial.println("\nBUS\tSHUNT\tCURRENT\tPOWER");
  for (int i = 0; i < 20; i++)
  {
    Serial.print(INA.getBusVoltage(), 3);
    Serial.print("\t");
    Serial.print(INA.getShuntVoltage_mV(), 3);
    Serial.print("\t");
    Serial.print(INA.getCurrent_mA(), 3);
    Serial.print("\t");
    Serial.print(INA.getPower_mW(), 3);
    Serial.println();
    delay(1000);
  }
}


//  -- END OF FILE --



Attached Files
.txt   install INA226 arduino library.txt (Size: 37 bytes / Downloads: 506)
Print this item

  KinCony MB ESP32 Battery Monitor board configure yaml for ESPhome
Posted by: admin - 12-21-2023, 02:26 AM - Forum: KC868-M16 / M1 / MB / M30 - Replies (2)

   

.txt   MB_HA_INA226.txt (Size: 11.36 KB / Downloads: 605)
esphome:
  name: mb
  platform: ESP32
  board: esp32dev

# Example configuration entry
i2c:
  - id: bus_a
    sda: 15
    scl: 4
    scan: true
    frequency: 400kHz
  - id: bus_b
    sda: 5
    scl: 16
    scan: true
    frequency: 400kHz

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

sensor:
  - platform: ina226
    address: 0x40
    i2c_id: bus_a
    shunt_resistance: 0.01 ohm
    current:
      name: "INA226 Current-1"
      id: current_1
    power:
      name: "INA226 Power-1"
    bus_voltage:
      name: "INA226 Bus Voltage-1"
      id: voltage_1
    shunt_voltage:
      name: "INA226 Shunt Voltage-1"
    max_current: 15A
    update_interval: 5s

  - platform: ina226
    address: 0x41
    i2c_id: bus_a
    shunt_resistance: 0.01 ohm
    current:
      name: "INA226 Current-2"
      id: current_2
    power:
      name: "INA226 Power-2"
    bus_voltage:
      name: "INA226 Bus Voltage-2"
      id: voltage_2
    shunt_voltage:
      name: "INA226 Shunt Voltage-2"
    max_current: 15A
    update_interval: 5s

  - platform: ina226
    address: 0x42
    i2c_id: bus_a
    shunt_resistance: 0.01 ohm
    current:
      name: "INA226 Current-3"
      id: current_3
    power:
      name: "INA226 Power-3"
    bus_voltage:
      name: "INA226 Bus Voltage-3"
      id: voltage_3
    shunt_voltage:
      name: "INA226 Shunt Voltage-3"
    max_current: 15A
    update_interval: 5s

  - platform: ina226
    address: 0x43
    i2c_id: bus_a
    shunt_resistance: 0.01 ohm
    current:
      name: "INA226 Current-4"
      id: current_4
    power:
      name: "INA226 Power-4"
    bus_voltage:
      name: "INA226 Bus Voltage-4"
      id: voltage_4
    shunt_voltage:
      name: "INA226 Shunt Voltage-4"
    max_current: 15A
    update_interval: 5s

  - platform: ina226
    address: 0x44
    i2c_id: bus_a
    shunt_resistance: 0.01 ohm
    current:
      name: "INA226 Current-5"
      id: current_5
    power:
      name: "INA226 Power-5"
    bus_voltage:
      name: "INA226 Bus Voltage-5"
      id: voltage_5
    shunt_voltage:
      name: "INA226 Shunt Voltage-5"
    max_current: 15A
    update_interval: 5s

  - platform: ina226
    address: 0x45
    i2c_id: bus_a
    shunt_resistance: 0.01 ohm
    current:
      name: "INA226 Current-6"
      id: current_6
    power:
      name: "INA226 Power-6"
    bus_voltage:
      name: "INA226 Bus Voltage-6"
      id: voltage_6
    shunt_voltage:
      name: "INA226 Shunt Voltage-6"
    max_current: 15A
    update_interval: 5s

  - platform: ina226
    address: 0x46
    i2c_id: bus_a
    shunt_resistance: 0.01 ohm
    current:
      name: "INA226 Current-7"
      id: current_7
    power:
      name: "INA226 Power-7"
    bus_voltage:
      name: "INA226 Bus Voltage-7"
      id: voltage_7
    shunt_voltage:
      name: "INA226 Shunt Voltage-7"
    max_current: 15A
    update_interval: 5s

  - platform: ina226
    address: 0x47
    i2c_id: bus_a
    shunt_resistance: 0.01 ohm
    current:
      name: "INA226 Current-8"
      id: current_8
    power:
      name: "INA226 Power-8"
    bus_voltage:
      name: "INA226 Bus Voltage-8"
      id: voltage_8
    shunt_voltage:
      name: "INA226 Shunt Voltage-8"
    max_current: 15A
    update_interval: 5s


  - platform: ina226
    address: 0x40
    i2c_id: bus_b
    shunt_resistance: 0.1 ohm
    current:
      name: "INA226 Current-9"
      id: current_9
    power:
      name: "INA226 Power-9"
    bus_voltage:
      name: "INA226 Bus Voltage-9"
      id: voltage_9
    shunt_voltage:
      name: "INA226 Shunt Voltage-9"
    max_current: 15A
    update_interval: 5s

  - platform: ina226
    address: 0x41
    i2c_id: bus_b
    shunt_resistance: 0.01 ohm
    current:
      name: "INA226 Current-10"
      id: current_10
    power:
      name: "INA226 Power-10"
    bus_voltage:
      name: "INA226 Bus Voltage-10"
      id: voltage_10
    shunt_voltage:
      name: "INA226 Shunt Voltage-10"
    max_current: 15A
    update_interval: 5s

  - platform: ina226
    address: 0x42
    i2c_id: bus_b
    shunt_resistance: 0.01 ohm
    current:
      name: "INA226 Current-11"
      id: current_11
    power:
      name: "INA226 Power-11"
    bus_voltage:
      name: "INA226 Bus Voltage-11"
      id: voltage_11
    shunt_voltage:
      name: "INA226 Shunt Voltage-11"
    max_current: 15A
    update_interval: 5s

  - platform: ina226
    address: 0x43
    i2c_id: bus_b
    shunt_resistance: 0.01 ohm
    current:
      name: "INA226 Current-12"
      id: current_12
    power:
      name: "INA226 Power-12"
    bus_voltage:
      name: "INA226 Bus Voltage-12"
      id: voltage_12
    shunt_voltage:
      name: "INA226 Shunt Voltage-12"
    max_current: 15A
    update_interval: 5s

  - platform: ina226
    address: 0x44
    i2c_id: bus_b
    shunt_resistance: 0.01 ohm
    current:
      name: "INA226 Current-13"
      id: current_13
    power:
      name: "INA226 Power-13"
    bus_voltage:
      name: "INA226 Bus Voltage-13"
      id: voltage_13
    shunt_voltage:
      name: "INA226 Shunt Voltage-13"
    max_current: 15A
    update_interval: 5s

  - platform: ina226
    address: 0x45
    i2c_id: bus_b
    shunt_resistance: 0.01 ohm
    current:
      name: "INA226 Current-14"
      id: current_14
    power:
      name: "INA226 Power-14"
    bus_voltage:
      name: "INA226 Bus Voltage-14"
      id: voltage_14
    shunt_voltage:
      name: "INA226 Shunt Voltage-14"
    max_current: 15A
    update_interval: 5s

  - platform: ina226
    address: 0x46
    i2c_id: bus_b
    shunt_resistance: 0.01 ohm
    current:
      name: "INA226 Current-15"
      id: current_15
    power:
      name: "INA226 Power-15"
    bus_voltage:
      name: "INA226 Bus Voltage-15"
      id: voltage_15
    shunt_voltage:
      name: "INA226 Shunt Voltage-15"
    max_current: 15A
    update_interval: 5s

  - platform: ina226
    address: 0x47
    i2c_id: bus_b
    shunt_resistance: 0.01 ohm
    current:
      name: "INA226 Current-16"
      id: current_16
    power:
      name: "INA226 Power-16"
    bus_voltage:
      name: "INA226 Bus Voltage-16"
      id: voltage_16
    shunt_voltage:
      name: "INA226 Shunt Voltage-16"
    max_current: 15A
    update_interval: 5s

font:
  - file: "gfonts://Roboto"
    id: roboto
    size: 20

display:
  - platform: ssd1306_i2c
    i2c_id: bus_a
    model: "SSD1306 128x64"
    address: 0x3C
    lambda: |-
      it.printf(0, 0, id(roboto), "Monitor");
      it.printf(0, 20, id(roboto), "V1: %.1fV", id(voltage_1).state);
      it.printf(0, 40, id(roboto), "A1: %.1fA", id(current_1).state);

# Enable logging
logger:

# Enable Home Assistant API
api:

#external_components:
#  - source:
#      type: git
#      url: https://github.com/hzkincony/esphome-universal-tcp
#      ref: v1.0.0

#universal_tcp:
#  id: universal_tcp1
#  local_port: 8888 # esp32 will listen on this port

#interval:
#  - interval: 5s
#    then:
#      - lambda: !lambda |-
#          auto current = value_accuracy_to_string(id(current_1).state, 2);
#          auto voltage = value_accuracy_to_string(id(voltage_1).state, 2);
#          id(universal_tcp1).send_string_data("RELAY-GET_energy-255,1," + current + "," + voltage + ",OK");
#          delay(28);
#          current = value_accuracy_to_string(id(current_2).state, 2);
#          voltage = value_accuracy_to_string(id(voltage_2).state, 2);
#          id(universal_tcp1).send_string_data("RELAY-GET_energy-255,2," + current + "," + voltage + ",OK");
#          delay(28);
#          current = value_accuracy_to_string(id(current_3).state, 2);
#          voltage = value_accuracy_to_string(id(voltage_3).state, 2);
#          id(universal_tcp1).send_string_data("RELAY-GET_energy-255,3," + current + "," + voltage + ",OK");
#          delay(28);
#          current = value_accuracy_to_string(id(current_4).state, 2);
#          voltage = value_accuracy_to_string(id(voltage_4).state, 2);
#          id(universal_tcp1).send_string_data("RELAY-GET_energy-255,4," + current + "," + voltage + ",OK");
#          delay(28);
#          current = value_accuracy_to_string(id(current_5).state, 2);
#          id(universal_tcp1).send_string_data("RELAY-GET_energy-255,5," + current + "," + voltage + ",OK");
#          delay(28);
#          current = value_accuracy_to_string(id(current_6).state, 2);
#          voltage = value_accuracy_to_string(id(voltage_6).state, 2);
#          id(universal_tcp1).send_string_data("RELAY-GET_energy-255,6," + current + "," + voltage + ",OK");
#          delay(28);
#          current = value_accuracy_to_string(id(current_7).state, 2);
#          voltage = value_accuracy_to_string(id(voltage_7).state, 2);
#          id(universal_tcp1).send_string_data("RELAY-GET_energy-255,7," + current + "," + voltage + ",OK");
#          delay(28);
#          current = value_accuracy_to_string(id(current_8).state, 2);
#          voltage = value_accuracy_to_string(id(voltage_8).state, 2);
#          id(universal_tcp1).send_string_data("RELAY-GET_energy-255,8," + current + "," + voltage + ",OK");
#          delay(28);
#          current = value_accuracy_to_string(id(current_9).state, 2);
#          voltage = value_accuracy_to_string(id(voltage_9).state, 2);
#          id(universal_tcp1).send_string_data("RELAY-GET_energy-255,9," + current + "," + voltage + ",OK");
#          delay(28);
#          current = value_accuracy_to_string(id(current_10).state, 2);
#          voltage = value_accuracy_to_string(id(voltage_10).state, 2);
#          id(universal_tcp1).send_string_data("RELAY-GET_energy-255,10," + current + "," + voltage + ",OK");
#          delay(28);
#          current = value_accuracy_to_string(id(current_11).state, 2);
#          id(universal_tcp1).send_string_data("RELAY-GET_energy-255,11," + current + "," + voltage + ",OK");
#          delay(28);
#          current = value_accuracy_to_string(id(current_12).state, 2);
#          voltage = value_accuracy_to_string(id(voltage_12).state, 2);
#          id(universal_tcp1).send_string_data("RELAY-GET_energy-255,12," + current + "," + voltage + ",OK");
#          delay(28);
#          current = value_accuracy_to_string(id(current_13).state, 2);
#          voltage = value_accuracy_to_string(id(voltage_13).state, 2);
#          id(universal_tcp1).send_string_data("RELAY-GET_energy-255,13," + current + "," + voltage + ",OK");
#          delay(28);
#          current = value_accuracy_to_string(id(current_14).state, 2);
#          voltage = value_accuracy_to_string(id(voltage_14).state, 2);
#          id(universal_tcp1).send_string_data("RELAY-GET_energy-255,14," + current + "," + voltage + ",OK");
#          delay(28);
#          current = value_accuracy_to_string(id(current_15).state, 2);
#          voltage = value_accuracy_to_string(id(voltage_15).state, 2);
#          id(universal_tcp1).send_string_data("RELAY-GET_energy-255,15," + current + "," + voltage + ",OK");
#          delay(28);
#          current = value_accuracy_to_string(id(current_16).state, 2);
#          voltage = value_accuracy_to_string(id(voltage_16).state, 2);
#          id(universal_tcp1).send_string_data("RELAY-GET_energy-255,16," + current + "," + voltage + ",OK");

Print this item