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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 8,293
» Latest member: swilson
» Forum threads: 3,623
» Forum posts: 18,692

Full Statistics

Online Users
There are currently 48 online users.
» 0 Member(s) | 32 Guest(s)
AhrefsBot, Amazonbot, Applebot, Crawl, Google, PetalBot, Sogou web, bot

Latest Threads
N60/N30/N20/N10/M30 CT se...
Forum: N20
Last Post: SharkBait
6 hours ago
» Replies: 3
» Views: 411
a16v3 - reed switch and m...
Forum: KC868-A16v3
Last Post: admin
10 hours ago
» Replies: 15
» Views: 582
clk_mode for ethernet
Forum: KC868-AI
Last Post: cvonk
Yesterday, 06:38 PM
» Replies: 2
» Views: 22
KC868-M16v2 configure yam...
Forum: KC868-M16 / M1 / MB / M30
Last Post: admin
Yesterday, 01:35 PM
» Replies: 114
» Views: 24,860
KC868-Server ESP32 Ethern...
Forum: KC868-Server Raspberry Pi4 local server
Last Post: admin
Yesterday, 05:39 AM
» Replies: 1
» Views: 8
Help with Product Slectio...
Forum: Suggestions and feedback on KinCony's products
Last Post: admin
Yesterday, 03:12 AM
» Replies: 3
» Views: 22
Kc868a newbie questions
Forum: KC868-A series and Uair Smart Controller
Last Post: admin
Yesterday, 12:03 AM
» Replies: 3
» Views: 29
No Ethernet, No WiFi, No ...
Forum: KC868-A128
Last Post: admin
12-20-2025, 12:01 PM
» Replies: 1
» Views: 16
MB Current & Power too lo...
Forum: KC868-M16 / M1 / MB / M30
Last Post: admin
12-20-2025, 01:17 AM
» Replies: 3
» Views: 31
N30 LoRa and RS485 code f...
Forum: N30
Last Post: admin
12-20-2025, 01:17 AM
» Replies: 1
» Views: 13

Question New project
Posted by: revenson - 04-04-2023, 06:20 AM - Forum: DIY Project - Replies (9)

I am building a house, tell me what is better to use for a smart home:
16 group curtains and roller shutters (I have an RR06 receiver under the roller shutter and I need to connect it to a low current switch and see them in the home assistant) ).
I want to manage underfloor heating, I have 2 floors and warm floors everywhere, it is desirable to manage separately separately.
I will also have RGB in my room and the lighting will also control it (about 5 rooms with RGB), and around the house there will also be ice in the caecum, but an ordinary tape, 300 meters of tape in a circle.
There is also a snow melting system in a circle (ProfiTherm D-4, D-3, ProfiTherm Eko Plus), the shower would be controlled. Lighting will also be about 50 groups.
Cameras in a circle (I want to implement the structure of faces)
Also interested in IC management.
I have a rassbury pi 4 8gb.

Print this item

  RS485 modbus energy meter integrate to ESPHome yaml file for home assistant
Posted by: admin - 04-03-2023, 12:04 PM - Forum: KC868-A8S - Replies (18)

   
   

esphome:
  name: a8s
  platform: ESP32
  board: esp32dev
 
wifi:
  ssid: "KinCony"
  password: "a12345678"

captive_portal:


uart:
  id: mod_bus
  tx_pin: 33
  rx_pin: 32
  baud_rate: 9600
  stop_bits: 1
  parity: EVEN

modbus:
  id: modbus1
  uart_id: mod_bus

modbus_controller:
  - id: a8s
    address: 0x01
    modbus_id: modbus1
    setup_priority: -10
    update_interval: 5s


sensor:
  - platform: modbus_controller
    modbus_controller_id: a8s
    name: "Voltage"
    id: modbus_voltage
    register_type: holding
    address: 0x64
    unit_of_measurement: "V"
    value_type: FP32
    accuracy_decimals: 2

  - platform: modbus_controller
    modbus_controller_id: a8s
    name: "Current"
    id: modbus_current
    register_type: holding
    address: 0x6A
    unit_of_measurement: "A"
    value_type: FP32
    accuracy_decimals: 2

  - platform: modbus_controller
    modbus_controller_id: a8s
    name: "Active Power"
    id: modbus_Active_Power
    register_type: holding
    address: 0x76
    unit_of_measurement: "kW"
    value_type: FP32
    accuracy_decimals: 2

  - platform: modbus_controller
    modbus_controller_id: a8s
    name: "Power Factor"
    id: modbus_Power_Factor
    register_type: holding
    address: 0x8E
    unit_of_measurement: ""
    value_type: FP32
    accuracy_decimals: 2

  - platform: modbus_controller
    modbus_controller_id: a8s
    name: "Grid Frequency"
    id: modbus_Grid_Frequency
    register_type: holding
    address: 0x90
    unit_of_measurement: "hz"
    value_type: FP32
    accuracy_decimals: 2

  - platform: modbus_controller
    modbus_controller_id: a8s
    name: "Total Energy"
    id: modbus_Total_Energy
    register_type: holding
    address: 0x0
    unit_of_measurement: "kWh"
    value_type: FP32
    accuracy_decimals: 2

# Enable logging
logger:

# Enable Home Assistant API
api:

yaml file for KC868-A8S download:

.txt   HA_modbus_energy-meter.txt (Size: 1.91 KB / Downloads: 1058)

KinCony energy meter RS485 modbus protocol document:

.pdf   KinCony-energy-meter-rs485-modbus-protocol.pdf (Size: 117.75 KB / Downloads: 1324)

Print this item

  how to add relay board to ESPHome by Modbus Controller Switch
Posted by: admin - 04-03-2023, 01:51 AM - Forum: KC868-A series and Uair Smart Controller - No Replies

   
[Image: attachment.php?aid=2232]   
uart:
  id: mbus
  tx_pin: GPIO13
  rx_pin: GPIO16
  baud_rate: 9600

modbus:
  id: modbus1
  uart_id: mbus
  send_wait_time: 200ms

modbus_controller:
- id: a6
  address: 1
  modbus_id: modbus1
  update_interval: 1s


switch:
  - platform: modbus_controller
    name: 'modbus-switch1'
    address: 0  # 0:relay1  1:relay2 ......
    register_type: coil
    bitmask: 1


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

KinCony Products use modbus command:
01 05 00 00 FF 00  turn on relay1
01 05 00 00 00 00  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.

    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(0x5);  // force single coil
      payload.push_back(0x00); // high byte address of the coil
      payload.push_back(0x00);  // low byte address of the coil
      payload.push_back(0xFF); // ON = 0xFF00 OFF=0000
      payload.push_back(0x00);
      return true;

Print this item

  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: 669)

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: 1055)

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