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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 9,597
» Latest member: Hi88czcom
» Forum threads: 4,191
» Forum posts: 20,832

Full Statistics

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

Latest Threads
CT Clamp Compatibility
Forum: KC868-M16 / M1 / MB / M30
Last Post: Stanb
1 hour ago
» Replies: 11
» Views: 1,745
N60 Sensor channel label
Forum: N60
Last Post: marekd1
08-14-2026, 09:14 PM
» Replies: 18
» Views: 2,194
solar production and cons...
Forum: N30
Last Post: admin
08-14-2026, 01:46 AM
» Replies: 3
» Views: 34
Current direction detecti...
Forum: N30
Last Post: admin
08-14-2026, 01:44 AM
» Replies: 3
» Views: 38
MQTT Discovery: missing s...
Forum: N30
Last Post: admin
08-13-2026, 02:48 PM
» Replies: 1
» Views: 18
ai automation
Forum: KinCony integrate with Loxone home automation
Last Post: mediverticals
08-13-2026, 06:56 AM
» Replies: 0
» Views: 22
Connecting sensors to Kin...
Forum: F16
Last Post: admin
08-13-2026, 12:18 AM
» Replies: 1
» Views: 31
CT Sensor Direction
Forum: N60
Last Post: admin
08-12-2026, 08:14 AM
» Replies: 1
» Views: 40
N60 Voltage reference
Forum: N60
Last Post: admin
08-11-2026, 11:09 PM
» Replies: 3
» Views: 66
4-20mA loop voltage consi...
Forum: B4M
Last Post: admin
08-11-2026, 08:05 AM
» Replies: 1
» Views: 45

  KC868-AIO wire with all electrical appliance
Posted by: admin - 04-03-2023, 12:45 AM - Forum: Schematic & diagram & Dimensions of KinCony PCB layout CAD file - No Replies

   

Big HD file download:

.zip   KC868-AIO_diagram.zip (Size: 9.01 MB / Downloads: 972)

Print this item

  Help with RS485
Posted by: REVELAS - 03-31-2023, 07:35 PM - Forum: KC868-A64 - Replies (13)

Hello.
I need some help with the setup. I have bought a KC868-64 board and I would like to connect an RS485 meter to this board, specifically a DDS 238. Using ESP Home. Can you help?
Thank you very much.
Ladislav

Print this item

  KC868-A16 work with relay board by RS485 modbus in ESPHome
Posted by: admin - 03-31-2023, 04:59 AM - Forum: KC868-A16 - Replies (12)

use KC868-A16 work with KC868-H32BS by RS485 cable via modbus.

this is a demo , i have created one switch button in ESPHome, you can create many others.

KC868-H32BS use modbus command:
01 05 00 00 FF 00  CRC turn on relay1
01 05 00 00 00 00  CRC turn off relay1

make sure your relay board as these:
ON = 0xFF00 OFF=0000

if your relay board not use by this protocol. you can also write esphome as "write_lambda" way. i have tested, "write_lambda" to create switch also work fine. just need to create ON and OFF two command.

   
   
yaml files for KC868-A16 work with modbus switch:

.txt   ESPHome_A16_modbus_relay.txt (Size: 6.5 KB / Downloads: 1360)

Print this item

  KS868-A16 Questions
Posted by: Olsen@HuaHin - 03-31-2023, 04:18 AM - Forum: KC868-A series and Uair Smart Controller - Replies (6)

Hello everybody!

I am new to the ESP32 board and just got myself the KS868-A16.

My first choice was to use Arduino IDE to program my board.
After writing my first Sketch I found out the Debugging for the ESP32 board is not directly supported Cry
Has anyone found a working solution for this as I would like to be able to see status, test and troubleshoot my code.
Tried to Google the subject but has not been able to find an easy fix.

I have been looking at other options like Tasmota & ESPHome and Home Assistant.
Does any of those two platforms has a debugger?
 
I preferer a standalone system instead using a dedicated system.


My project is for the time being a small home control of 6pcs indoor light controls, time controlled outdoor night-light with 3pcs PIR and dimmer, armed-disarmed indoor alarm system with 4pcs PIR sensors.

Any recommendation to which platform to use, Arduino, Tasmota or ESPHome as I would like to write of standard code. 

Any feedback is appreciateded  Smile

Print this item

  KC868-A16 support mmWave Sensor?
Posted by: jhobson - 03-30-2023, 05:31 AM - Forum: KC868-A16 - Replies (1)

Hi Admin,

Could you please advise if it is possible to run mmWave sensor (like: https://www.aliexpress.com/item/1005005047841163.html ) using KC868-A16 ?

Print this item

  firmware KC868-A4S
Posted by: 105Timi - 03-29-2023, 06:22 PM - Forum: KC868-A4S - Replies (5)

Where can I find the KINCONY firmware for the KC868-A4S board? the software for the KC868-A4 board has no LAN communication ...

Print this item

  I-O testing board
Posted by: Olsen@HuaHin - 03-29-2023, 08:04 AM - Forum: KC868-A16 - Replies (3)

Hi

I received my KC868-A16 board last week and are at the moment testing I-O before starting to write any Arduino code.

My firmware is the latest version 1.0.19

I can from the web portal activate each output, but I cannot see any incoming inputs and they will not toggle assigned output.

I am using the 12v dc from your supplied power supply and I connected GND to input terminals.

Any idea what I am doing wrong.



Attached Files Thumbnail(s)
                       

Print this item

Question RS485 not receiving anything
Posted by: victorclaessen - 03-28-2023, 03:53 PM - Forum: KC868-A16 - Replies (26)

Hi,

I have the A16 wired up to a RS485 expansion board (16 inputs, 16 outputs) that is controlled by modbus RTU.

I have the ESP32 programmed with ESPHome. I can send commands to the expansion board, and I have control over the outputs (I see the onboard output-LEDs toggling), and I can see from the onboard communication LED on the expansion board that the expansion board sends a modbus response, but the ESP32 on the A16 does not receive anything on pin 16 (485RX).

I have verbose logs activated on the UART defined in ESPHome. I can see the raw bytes leaving on pin 13 (485TX), but no bytes are arriving on pin 16.
Obviously, I also cannot read the inputs of the expansion board (as that would require receiving the modbus response).

Are you sure that the RX pin number is correct? Could it be that I have a broken pcb trace?

Best regards,

Victor

P.S. Below is the relevant part of the esphome configuration

Code:
logger:
  level: VERY_VERBOSE

uart:
  id: mod_bus
  tx_pin: 13
  rx_pin: 16
  baud_rate: 9600 #115200
  stop_bits: 1
  debug:
    direction: BOTH
    dummy_receiver: false
    after:
      timeout: 1s
    sequence:
      - lambda: UARTDebug::log_hex(direction, bytes,' ');

modbus:
  id: modbus1
  send_wait_time: 250ms
  disable_crc: true

modbus_controller:
  - id: eletechsup
    ## the Modbus device addr
    address: 0x1
    modbus_id: modbus1
    setup_priority: -10

sensor:
   - platform: modbus_controller
     modbus_controller_id: eletechsup
     name: "read channel 1 state"
     id: eletech_channel1_state
     custom_command: [ 0x01, 0x03, 0x00, 0x01, 0x00, 0x01 ]
     value_type: U_WORD

switch:
  - platform: modbus_controller
    modbus_controller_id: eletechsup
    id: eletech_toggle_1
    name: "Eletech toggle 1"
    icon: "mdi:toggle-switch"
    address: 0x1
    register_type: holding
    skip_updates: 0
    lambda: |-
      return true;
    write_lambda: |-
      ESP_LOGD("main","Modbus Switch incoming state = %f",x);
      // return false ; // use this to just change the value
      payload.push_back(0x1);  // device address
      payload.push_back(0x6);  // write register
      payload.push_back(0x0);  // high byte address of the register
      payload.push_back(0x1);  // low byte address of the register
      payload.push_back(0x3);  // command (3=toggle)
      payload.push_back(0x0);  // delay (0)
      return true;

Print this item

  How to Design a Cabinet - Smart Home System Planning
Posted by: engmohades - 03-28-2023, 11:01 AM - Forum: DIY Project - Replies (5)

How to Design a Cabinet - Smart Home System Planning ? 
Using software drawing 

Print this item

  publish and subscribe with esp32 chip id
Posted by: shivdoke39 - 03-28-2023, 09:08 AM - Forum: KC868-A8 - Replies (3)

how to get chip id as mentioned in your publish topic ..i am getting only 8bits..and your UUID chip id is 12 bit...

Print this item