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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 5,372
» Latest member: HarperCrane
» Forum threads: 2,574
» Forum posts: 13,315

Full Statistics

Online Users
There are currently 51 online users.
» 4 Member(s) | 34 Guest(s)
AhrefsBot, Bing, Crawl, Google, PetalBot, Yandex, bot, owler, Als Santa, HarperCrane, tanoshimi

Latest Threads
KC868-A2 configure yaml f...
Forum: KC868-A2
Last Post: elemarek
1 hour ago
» Replies: 15
» Views: 7,683
How can I power multiple ...
Forum: KC868-A series and Uair Smart Controller
Last Post: admin
2 hours ago
» Replies: 12
» Views: 128
how to use AS ESP32-S3 vo...
Forum: KinCony AS
Last Post: biofects
8 hours ago
» Replies: 13
» Views: 458
change wake up name
Forum: KinCony AS
Last Post: admin
9 hours ago
» Replies: 13
» Views: 99
Problem with IFTTT automa...
Forum: "KCS" firmware system
Last Post: admin
Yesterday, 11:41 PM
» Replies: 6
» Views: 47
A32 Pro ESPHome yaml incl...
Forum: KC868-A32/A32 Pro
Last Post: admin
Yesterday, 11:15 PM
» Replies: 18
» Views: 188
KC868-A2 ESP32 I/O pin de...
Forum: KC868-A2
Last Post: admin
Yesterday, 11:12 PM
» Replies: 8
» Views: 2,271
Need help with configurat...
Forum: KC868-HxB series Smart Controller
Last Post: admin
Yesterday, 04:32 AM
» Replies: 32
» Views: 398
ESP32 S3 set up issue
Forum: Extender module
Last Post: admin
12-17-2024, 11:43 PM
» Replies: 10
» Views: 71
KC868-A8 Schematic
Forum: KC868-A8
Last Post: admin
12-17-2024, 11:40 PM
» Replies: 7
» Views: 51

  "KCS" v1.0.24 firmware BIN file download
Posted by: admin - 04-05-2023, 10:48 AM - Forum: "KCS" firmware system - Replies (35)

Here is "KCS" firmware for KinCony KC868-A series (ESP32) board.
How to download and use, online guide: https://www.kincony.com/kcs-firmware-esp32-board.html
   
v1.0.24 improment:

1. Fix some text in webpage.
2. Fix timer bug for different channel reset problem.
3. Let MQTT message feedback only one time, before will be twice.
4. Support RS485 MODBUS Button Adapter – KC868-HA
5. Fix bug of DAC output with tuya app problem.



Attached Files
.zip   KCS_KC868_A4_V1.0.24.zip (Size: 737.3 KB / Downloads: 449)
.zip   KCS_KC868_A6_V1.0.24.zip (Size: 744.95 KB / Downloads: 238)
.zip   KCS_KC868_A8_V1.0.24.zip (Size: 748.43 KB / Downloads: 285)
.zip   KCS_KC868_A8S_V1.0.24.zip (Size: 755.91 KB / Downloads: 257)
.zip   KCS_KC868_A16_V1.0.24.zip (Size: 756.16 KB / Downloads: 296)
.zip   KCS_KC868_A32_V1.0.24.zip (Size: 756.24 KB / Downloads: 275)
.zip   KCS_KC868_A64_V1.0.24.zip (Size: 756.17 KB / Downloads: 227)
.zip   KCS_KC868_A128_V1.0.24.zip (Size: 756.25 KB / Downloads: 223)
.zip   KCS_KC868_AI_V1.0.24.zip (Size: 750.33 KB / Downloads: 394)
.zip   KCS_KC868_AK_V1.0.24.zip (Size: 738.35 KB / Downloads: 213)
.zip   KCS_KC868_E16S_V1.0.24.zip (Size: 756.17 KB / Downloads: 221)
.zip   KCS_KC868_A2_V1.0.25.zip (Size: 716.5 KB / Downloads: 191)
Print this item

  KC868-H32B_Pro V1.16 firmware
Posted by: admin - 04-05-2023, 10:35 AM - Forum: News - No Replies


.zip   H32B_Pro_V1.16_230404.zip (Size: 54.87 KB / Downloads: 209)

improvement:

add "MOTT feedback all channels" option in webpage setting. Support home bridge.

Enable= MQTT message will feedback all channels state
Disable= MQTT message will feedback single channel

   
   

Print this item

  KC868-A6 Digital input IRQ
Posted by: Libramale - 04-04-2023, 10:51 PM - Forum: KC868-A4 - Replies (5)

Can anybody help me with information relating to the ESP32 GPIO pin used to connect the IRQ (nINT) from the PCF8574 (Digital inputs 1 to 6).

I need to be able to capture very irregular (maybe 10 per minute) but short pulses (< 10mS duration) pulses without missing any.

I would hate to have to schedule I2C reads every 5mS or less to make sure nothing is missed.

I have had a look at the KC868-A4 schematic and the DI1-DI4 pins are directly GPIO connect, not through a PCF8574 GPIO extender.

Print this item

  Bluetooth of the esp32
Posted by: kontas - 04-04-2023, 08:50 PM - Forum: KC868-A8 - Replies (1)

Hi
It's possible to use the bluetooth of the A8 ;
How to have access to bluetooth (esphome, tasmota, KCS); 

Thank you.

Print this item

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

KinCony energy meter RS485 modbus protocol document:

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

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 and diagram - No Replies

   

Big HD file download:

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

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

Print this item