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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 8,380
» Latest member: alhazzem5
» Forum threads: 3,653
» Forum posts: 18,879

Full Statistics

Online Users
There are currently 8 online users.
» 0 Member(s) | 3 Guest(s)
Amazonbot, bot

Latest Threads
Connect um330 and kc828 a...
Forum: DIY Project
Last Post: gtd0916
4 minutes ago
» Replies: 26
» Views: 3,396
KC868-M16v2 configure yam...
Forum: KC868-M16 / M1 / MB / M30
Last Post: admin
36 minutes ago
» Replies: 141
» Views: 25,921
KC868-HAv2 work with F24 ...
Forum: KC868-HA /HA v2
Last Post: admin
1 hour ago
» Replies: 3
» Views: 640
Problema a cargar .bin al...
Forum: KC868-A2
Last Post: admin
1 hour ago
» Replies: 3
» Views: 25
N30 Energy entry not work...
Forum: N30
Last Post: admin
1 hour ago
» Replies: 20
» Views: 315
flash Kincony software to...
Forum: DIY Project
Last Post: admin
1 hour ago
» Replies: 3
» Views: 21
"SmartLife" wifi transmit
Forum: TA
Last Post: admin
Yesterday, 12:17 AM
» Replies: 7
» Views: 39
Kc868a newbie questions
Forum: KC868-A series and Uair Smart Controller
Last Post: admin
Yesterday, 12:16 AM
» Replies: 5
» Views: 123
KINCONY IN KSA
Forum: DIY Project
Last Post: admin
Yesterday, 12:15 AM
» Replies: 1
» Views: 15
T16M not responding on US...
Forum: T16M
Last Post: admin
01-05-2026, 12:14 PM
» Replies: 3
» Views: 23

  Mosfet relays
Posted by: Saif Kitany - 02-17-2025, 10:01 AM - Forum: "KCS" v3 firmware - Replies (5)

Mosfet relays in T16M and B16M work just with DC voltage? 

Can i connect 220AC with  maximum current 4A?

Print this item

  KC868-A16 Tuya
Posted by: damian87ew - 02-16-2025, 03:48 PM - Forum: KC868-A16 - Replies (3)

Hi everyone,
I’m using the KC868-A16 with Tuya enabled, and I was wondering if there’s a way to see sensor data (e.g., DHT22) directly in the Tuya app. Specifically, I’d like to set up automation where, for example, if the DHT22 sensor detects 15°C, it can trigger another device that’s also connected to Tuya.
Has anyone managed to get this working? Is there a way to make the sensor values visible in Tuya and use them in automations?
Thanks in advance for any tips!

Print this item

  Unable to get AG8 board to function
Posted by: Smith6612 - 02-16-2025, 05:30 AM - Forum: KC868-AG / AG Pro / AG8 / Z1 - Replies (3)

Hello there!

I have recently purchased two AG8 Smart Controllers, and I am having trouble with both of the boards.

I am trying to use the boards with the ESPHome firmware, and have built demo firmware inside of ESPHome using the ESPHome YAML file found here: https://www.kincony.com/forum/showthread.php?tid=5889 . I am able to enter Download Mode, and successfully flash the firmware to the device. However, after power cycling the device to boot the firmware, I cannot get any network connectivity to the device. In my YAML config, Ethernet is selected. The device establishes an Ethernet link but does not send any traffic (No DHCP/No IP Address obtained). I have also tried to switch the YAML config to use Wi-Fi, with Wi-Fi Hotspot Fallback, and the device never broadcasts in AP mode.

I am also unable to connect to the ESP32 using USB Serial in normal boot mode. Only if I boot the device into Download Mode, in which case the device appears and I can send firmware to it.

I have also attempted to install the Tasmota firmware. The Tasmota firmware was outputting on serial, but all I could see in the serial output is the device boot looping, attempting to load the firmware.

I am wondering if this has to do with the power supply for the board. I am currently using a 9V 500ma power supply. According to my Multimeter, the power supply at the terminals while the board is active reads 10.6v. The product page says 9V-24V is the power input range. Is my power supply acceptable or is there a recommended voltage/amperage for the product? I do have other ESP32 powered devices at home which operate on 5V 1A power supplies without issue.

Print this item

  "KCS" v3.7.1 firmware BIN file download
Posted by: admin - 02-16-2025, 03:46 AM - Forum: "KCS" v3 firmware - No Replies

v3.7.1 improvement:
1. fixed RF sensor wrong value feedback to home assistant.



Attached Files
.zip   KCS_T16M_V3.7.1.zip (Size: 1.02 MB / Downloads: 367)
.zip   KCS_A6V3_V3.7.1.zip (Size: 1 MB / Downloads: 383)
.zip   KCS_A16V3_V3.7.1.zip (Size: 1.08 MB / Downloads: 419)
.zip   KCS_A32PRO_V3.7.1.zip (Size: 1.04 MB / Downloads: 374)
.zip   KCS_AG8_V3.7.1.zip (Size: 1.03 MB / Downloads: 395)
.zip   KCS_B16M_V3.7.1.zip (Size: 1.07 MB / Downloads: 345)
.zip   KCS_F16_V3.7.1.zip (Size: 1.07 MB / Downloads: 344)
.zip   KCS_F24_V3.7.1.zip (Size: 1.07 MB / Downloads: 342)
Print this item

  KinCony KC868-A16v3 ESP32-S3 GPIO Module released
Posted by: admin - 02-16-2025, 03:21 AM - Forum: News - No Replies

KinCony KC868-A16v3 ESP32-S3 smart controller based on ESP32-S3-WROOM-1U (N16R8) wifi chip. It have 16 channel digital input and 16 channel digital output, 3 channel 1-wire GPIOs, 4 channel analog input ports. 3 free GPIO on PCB beside ESP32-S3 module. One SD card using SPI bus. KinCony KC868-A16v3 include DS3231 high precision RTC clock chip. LCD display will show wifi and ethernet IP address. A16v3 have RS485 port and RF433MHz RF sender / receiver. You can write any code by Arduino IDE / MicroPython / ESP-IDF development tool to ESP32 module. We will supply Arduino / ESP-IDF demo code for different samples. Everyone can modify and change the code for your own smart home automation system project. it support use by ESPHome for home assistant or tasmota firmware for smart home automation DIY. A16v3 use KCS v3 firmware, it support home assistant auto discovery function by MQTT, so without write any config code (zero code) for home assistant. KCS v3 support Apple HomeKit.
[Image: KC868-A16v3-1.jpg]
Model No. KinCony KC868-A16v3
Description: KinCony 16 Channel ESP32-S3 Mosfet Controller – A16v3
Power supply: 12/24V DC
Processor: ESP32-S3-WROOM-1U (N16R8)
Size: 186mm*106mm
interfaces: Ethernet(RJ45)-LAN 100Mbps IPv4/IPv6,WiFi,RS485,Bluetooth,USB-C,LCD, i2c extender
RTC: DS3231 high precision chip (battery socket on PCB)
SD Card: SPI bus
Installation method: DIN RAIL (with plastic shell)
LCD: SSD1306 I2C display
[Image: KC868-A16v3-2.jpg]
Outputs:
16CH MOSFET Outputs, every channel use MAX 4A driver IC
Inputs:
4CH analog input DC0-5V (A1,A2,A3,A4)
16CH dry contact inputs (optocoupler isolation, long distance circuit for MAX 500 meters cable)
2 buttons: S1:ESP32 Reset S2:ESP32 Download (GPIO0)
1-Wire GPIO: 3CH (with pull-up resistance on PCB)
RF sender / receiver socket: 433MHz RF receiver
[Image: KC868-A16v3-5.jpg]
improvements based on old KC868-A16:
1. use by ESP32-S3-WROOM-1U (N16R8) big memory size chip. support extend wifi antenna by IPEX port.
2. add NTC power protect circuit, if polar exchange will not burn board.
3. replace LAN8720A with W5500 ethernet chip, more stable.
4. fixed RF receiver circuit bug.
5. add DS3231 high-precision RTC clock.
6. support KinCony new cloud service.
7. support KCS v3 support Apple HomeKit and Loxone Miniserver system.
8. add SSD1306 LCD display
9. add SD card to save LOG
10. support KCS v3 newest firmware more powerful functions.

Print this item

  http_request on ethernet
Posted by: remiasz - 02-15-2025, 10:32 PM - Forum: KC868-A series and Uair Smart Controller - Replies (5)

A16 with ESPHome is connected by wifi
I try send http_request but it dos'nt work
Log below
[23:17:54][D][http_request.arduino:125]: Content-Length: 170
[23:17:54][ 45046][E][WiFiClient.cpp:517] flush(): fail on fd 50, errno: 11, "No more processes"
[23:17:54][W][component:237]: Component web_server took a long time for an operation (68 ms).

When I connect by ethernet device is rebooted
[23:24:14][ 24068][E][WiFiGeneric.cpp:1438] hostByName(): DNS Failed for mydomain.cloud
[23:24:14][W][http_request.arduino:112]: HTTP R
[23:24:14]assert failed: xEventGroupSetBits event_groups.c:596 (xEventGroup)
[23:24:14]
[23:24:14]
[23:24:14]Backtrace:0x40083b45:0x3ffb3dc00x4008c7a5:0x3ffb3de0 0x40091f2d:0x3ffb3e00 0x4008ccc2:0x3ffb3f30 0x4014b264:0x3ffb3f50 0x40100bdd:0x3ffb3f70 0x40100c99:0x3ffb3fa0 0x40101423:0x3ffb3fc0 0x401085dd:0x3ffb4020 0x4010b833:0x3ffb4070 0x401110aa:0x3ffb40a0 0x401008d9:0x3ffb40c0
WARNING Found stack trace! Trying to decode it
WARNING Decoded 0x40083b45: panic_abort at /Users/ficeto/Desktop/ESP32/ESP32S2/esp-idf-public/components/esp_system/panic.c:402
WARNING Decoded 0x4008c7a5: esp_system_abort at /Users/ficeto/Desktop/ESP32/ESP32S2/esp-idf-public/components/esp_system/esp_system.c:128
WARNING Decoded 0x40091f2d: __assert_func at /Users/ficeto/Desktop/ESP32/ESP32S2/esp-idf-public/components/newlib/assert.c:85
WARNING Decoded 0x4008ccc2: xEventGroupSetBits at /Users/ficeto/Desktop/ESP32/ESP32S2/esp-idf-public/components/freertos/event_groups.c:597 (discriminator 1)
WARNING Decoded 0x4014b264: wifi_dns_found_callback(char const*, ip_addr const*, void*) at C:/Users/IT/.platformio/packages/framework-arduinoespressif32/libraries/WiFi/src/WiFiGeneric.cpp:1413
WARNING Decoded 0x40100bdd: dns_call_found at /Users/ficeto/Desktop/ESP32/ESP32S2/esp-idf-public/components/lwip/lwip/src/core/dns.c:999
WARNING Decoded 0x40100c99: dns_correct_response at /Users/ficeto/Desktop/ESP32/ESP32S2/esp-idf-public/components/lwip/lwip/src/core/dns.c:1197
WARNING Decoded 0x40101423: dns_recv at /Users/ficeto/Desktop/ESP32/ESP32S2/esp-idf-public/components/lwip/lwip/src/core/dns.c:1364
WARNING Decoded 0x401085dd: udp_input at /Users/ficeto/Desktop/ESP32/ESP32S2/esp-idf-public/components/lwip/lwip/src/core/udp.c:404
WARNING Decoded 0x4010b833: ip4_input at /Users/ficeto/Desktop/ESP32/ESP32S2/esp-idf-public/components/lwip/lwip/src/core/ipv4/ip4.c:794
WARNING Decoded 0x401110aa: ethernet_input at /Users/ficeto/Desktop/ESP32/ESP32S2/esp-idf-public/components/lwip/lwip/src/netif/ethernet.c:186
WARNING Decoded 0x401008d9: tcpip_thread_handle_msg at /Users/ficeto/Desktop/ESP32/ESP32S2/esp-idf-public/components/lwip/lwip/src/api/tcpip.c:180
(inlined by) tcpip_thread at /Users/ficeto/Desktop/ESP32/ESP32S2/esp-idf-public/components/lwip/lwip/src/api/tcpip.c:154
[23:24:14]
[23:24:14]
[23:24:14]
[23:24:14]
[23:24:14]ELF file SHA256: 0000000000000000
[23:24:14]
[23:24:14]Rebooting...

My yaml is simple for test

Code:
esphome:
  name: a16test
  friendly_name: A16

esp32:
  board: esp32dev
  framework:
    type: arduino

logger:
api:
http_request:
  verify_ssl: false

ethernet:
  type: LAN8720
  mdc_pin: GPIO23
  mdio_pin: GPIO18
  clk_mode: GPIO17_OUT
  phy_addr: 0
  manual_ip:
    static_ip: 10.0.250.43
    gateway: 10.0.250.1
    subnet: 255.255.255.0
    dns1: 10.0.250.1
    dns2: 8.8.8.8

web_server:
  port: 80

i2c:
  sda: 4
  scl: 5
  scan: true
  id: bus_a

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: 0x21

button:
  - platform: template
    name: "EventButton"
    on_press:
      then:
        - http_request.get:
            url: "http://mydomain.cloud/event.php?object=Kincony&kod=50&desc=test&id=6574254"

In A6 http_request works

Please help

Print this item

  error when update KC868-A128
Posted by: Almhlws - 02-15-2025, 04:52 PM - Forum: KC868-A128 - Replies (1)

i get error when update KC868-A128


see the attach



Attached Files Image(s)
   
Print this item

  Communication instability error
Posted by: infotecnica - 02-15-2025, 07:53 AM - Forum: "KCS" v2 firmware system - Replies (3)

Good morning
I bought two KC868-A16 REV:1.6 cards. However, I can't load the KCS_KC868_A16_V2.2.2.bin firmware, it always gives me an unstable communication error

Print this item

  KC868-A6v3 ESPHome yaml for home assistant
Posted by: admin - 02-15-2025, 05:43 AM - Forum: KC868-A6v3 - Replies (6)

Code:
esphome:
  name: a6v3
  friendly_name: a6v3

esp32:
  board: esp32-s3-devkitc-1
  framework:
    type: arduino

# Enable logging
logger:

# Enable Home Assistant API
api:

wifi:
  ssid: "KinCony"
  password: "a12345678"

  # Enable fallback hotspot (captive portal) in case wifi connection fails
  ap:
    ssid: "A6 Fallback Hotspot"
    password: "GLdHSsZr1p96"

captive_portal:

i2c:
  sda: 12
  scl: 11
  scan: true
  id: bus_a

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

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

uart:
  - id: uart_1    #RS485
    baud_rate: 9600
    debug:
      direction: BOTH
      dummy_receiver: true
      after:
        timeout: 10ms
    tx_pin: 17
    rx_pin: 18

  - id: uart_2    #RS232
    baud_rate: 9600
    debug:
      direction: BOTH
      dummy_receiver: true
      after:
        timeout: 10ms
    tx_pin: 9
    rx_pin: 10

switch:
  - platform: gpio
    name: "A6v3-output1"
    id: a6v3_output1
    pin:
      pcf8574: pcf8574_hub_out_1
      number: 0
      mode: OUTPUT
      inverted: true

  - platform: gpio
    name: "A6v3-output2"
    id: a6v3_output2
    pin:
      pcf8574: pcf8574_hub_out_1
      number: 1
      mode: OUTPUT
      inverted: true
     
  - platform: gpio
    name: "A6v3-output3"
    id: a6v3_output3
    pin:
      pcf8574: pcf8574_hub_out_1
      number: 2
      mode: OUTPUT
      inverted: true
     
  - platform: gpio
    name: "A6v3-output4"
    id: a6v3_output4
    pin:
      pcf8574: pcf8574_hub_out_1
      number: 3
      mode: OUTPUT
      inverted: true
     
  - platform: gpio
    name: "A6v3-output5"
    id: a6v3_output5
    pin:
      pcf8574: pcf8574_hub_out_1
      number: 4
      mode: OUTPUT
      inverted: true
     
  - platform: gpio
    name: "A6v3-output6"
    id: a6v3_output6
    pin:
      pcf8574: pcf8574_hub_out_1
      number: 5
      mode: OUTPUT
      inverted: true

  - platform: uart
    uart_id: uart_1
    name: "RS485 Button"
    data: [0x11, 0x22, 0x33, 0x44, 0x55]

  - platform: uart
    uart_id: uart_2
    name: "RS232 Button"
    data: [0x55, 0x66, 0x77, 0x88, 0x99]

binary_sensor:
  - platform: gpio
    name: "A6v3-input1"
    pin:
      pcf8574: pcf8574_hub_in_1
      number: 0
      mode: INPUT
      inverted: true

  - platform: gpio
    name: "A6v3-input2"
    pin:
      pcf8574: pcf8574_hub_in_1
      number: 1
      mode: INPUT
      inverted: true

  - platform: gpio
    name: "A6v3-input3"
    pin:
      pcf8574: pcf8574_hub_in_1
      number: 2
      mode: INPUT
      inverted: true

  - platform: gpio
    name: "A6v3-input4"
    pin:
      pcf8574: pcf8574_hub_in_1
      number: 3
      mode: INPUT
      inverted: true

  - platform: gpio
    name: "A6v3-input5"
    pin:
      pcf8574: pcf8574_hub_in_1
      number: 4
      mode: INPUT
      inverted: true

  - platform: gpio
    name: "A6v3-input6"
    pin:
      pcf8574: pcf8574_hub_in_1
      number: 5
      mode: INPUT
      inverted: true


##pull-up resistance on PCB
  - platform: gpio
    name: "A6v3-W1-io15"
    pin:
      number: 15
      inverted: true

  - platform: gpio
    name: "A6v3-W1-io16"
    pin:
      number: 16
      inverted: true

  - platform: gpio
    name: "A6v3-W1-DW"
    pin:
      number: 0
      inverted: true


sensor:
  - platform: adc
    pin: 4
    name: "A6v3 A1 Voltage"
    update_interval: 5s
    attenuation: 11db
    filters:
      - lambda:
          if (x >= 3.11) {
            return x * 1.60256;
          } else if (x <= 0.15) {
            return 0;
          } else {
            return x * 1.51;
          }
  - platform: adc
    pin: 5
    name: "A6v3 A2 Voltage"
    update_interval: 5s
    attenuation: 11db
    filters:
      # - multiply: 1.51515
      - lambda:
          if (x >= 3.11) {
            return x * 1.60256;
          } else if (x <= 0.15) {
            return 0;
          } else {
            return x * 1.51;
          }
  - platform: adc
    pin: 6
    name: "A6v3 A3 Current"
    update_interval: 5s
    unit_of_measurement: mA
    attenuation: 11db
    filters:
      - multiply: 6.66666666
  - platform: adc
    pin: 7
    name: "A6v3 A4 Current"
    update_interval: 5s
    unit_of_measurement: mA
    attenuation: 11db
    filters:
      - multiply: 6.66666666

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), "KinCony A6v3");

gp8403:
  id: my_gp8403
  voltage: 10V

output:
  - platform: gp8403
    id: gp8403_output_1
    gp8403_id: my_gp8403
    channel: 0
  - platform: gp8403
    id: gp8403_output_2
    gp8403_id: my_gp8403
    channel: 1

light:
  - platform: monochromatic
    name: "A6v3-DAC-1"
    output: gp8403_output_1

  - platform: monochromatic
    name: "A6v3-DAC-2"
    output: gp8403_output_2

web_server:
  port: 80
esphome yaml file download:
.txt   A6v3-HA.txt (Size: 5.11 KB / Downloads: 487)

Print this item

  KC868-A6v3 ESP32-S3 IO pins define
Posted by: admin - 02-15-2025, 05:42 AM - Forum: KC868-A6v3 - No Replies

ANALOG_A1  GPIO4
ANALOG_A2  GPIO5
ANALOG_A3  GPIO6
ANALOG_A4  GPIO7

1-wire (pull-up resistance on PCB):
1-wire1:GPIO15
1-wire2:GPIO16

GP8403 DAC i2c address: 0x58

IIC SDA:GPIO12
IIC SCL:GPIO11

Input_IIC_address 0x22
Relay_IIC_address 0x24

RS485 RXD: GPIO18
RS485 TXD: GPIO17

SPI_Bus: (For LoRA/nRF24L01)
CS: GPIO38
MOSI: GPIO43
MISO: GPIO44
SCK: GPIO39

LoRA sx1278:
RST:GPIO42
DIO0:GPIO41

nRF24L01:
CE: GPIO40

RS232:
TXD:GPIO9
RXD:GPIO10

free GPIO on PCB (beside ESP32-S3 module)
GPIO8
GPIO13
GPIO14
GPIO21
GPIO47
GPIO48

Print this item