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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 8,229
» Latest member: WestCoastXS
» Forum threads: 3,602
» Forum posts: 18,569

Full Statistics

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

Latest Threads
N20 ESPHome & HA - Line t...
Forum: N20
Last Post: WestCoastXS
3 hours ago
» Replies: 0
» Views: 2
Automation lamps A16_V3+E...
Forum: KC868-A16v3
Last Post: admin
6 hours ago
» Replies: 6
» Views: 130
KC868-A2 ESP32 I/O pin de...
Forum: KC868-A2
Last Post: admin
6 hours ago
» Replies: 16
» Views: 6,620
flash kc868-a4
Forum: KC868-A series and Uair Smart Controller
Last Post: admin
6 hours ago
» Replies: 9
» Views: 157
KC868-COLB Analog Sensor ...
Forum: Development
Last Post: admin
6 hours ago
» Replies: 12
» Views: 106
Driver recommendation for...
Forum: DIY Project
Last Post: guycaluwaerts
9 hours ago
» Replies: 7
» Views: 1,323
N30 installation for Home...
Forum: N30
Last Post: guy
Yesterday, 05:46 AM
» Replies: 13
» Views: 70
Raspberry Pi5 Compute Mod...
Forum: Pi5
Last Post: admin
Yesterday, 05:42 AM
» Replies: 1
» Views: 10
E16T is not detected when...
Forum: KC868-E16T
Last Post: admin
12-08-2025, 11:36 PM
» Replies: 6
» Views: 79
KC868-A16 rs485
Forum: KC868-A16
Last Post: admin
12-08-2025, 11:24 PM
» Replies: 1
» Views: 10

  TCP Protocol
Posted by: celloza - 04-11-2023, 06:58 PM - Forum: KC868-AI - Replies (2)

Hi

(Running KCS1.0.24, with TCP Server enabled)

Trying to read the state of the inputs on a KC868-AI via C# with TCP. I've found this article (https://www.kincony.com/smart-controller...tocol.html) but I'm not getting the data they describe.

Whenever I pull digital input 1 to 9 to ground, I read 17 from the socket. Whenever I pull digital input 10 through 48 to ground, I read 18 from the socket.

What is the protocol for TCP on KC868-AI?

Print this item

  add KinCony energy meter to home assistant by Raspberry Pi CM4 RS485
Posted by: admin - 04-10-2023, 07:39 AM - Forum: KC868-Server Raspberry Pi4 local server - No Replies

   

.pdf   KinCony-energy-meter-rs485-modbus-protocol.pdf (Size: 120.39 KB / Downloads: 551)
modbus:
  - name: hub1
    type: serial
    baudrate: 9600
    bytesize: 8
    method: rtu
    parity: N
    port: /dev/ttyS0
    stopbits: 1

    sensors:
    - name: meter-voltage
      slave: 1
      address: 100
      input_type: holding
      data_type: float32
      count: 2
      precision: 2
      unit_of_measurement: V
      device_class: voltage

    - name: meter-current
      slave: 1
      address: 106
      input_type: holding
      data_type: float32
      count: 2
      precision: 2
      unit_of_measurement: A
      device_class: current

    - name: meter-power
      slave: 1
      address: 118
      input_type: holding
      data_type: float32
      count: 2
      precision: 2
      unit_of_measurement: kW
      device_class: power
     
    - name: meter-factor
      slave: 1
      address: 142
      input_type: holding
      data_type: float32
      count: 2
      precision: 2
    #  unit_of_measurement:
      device_class: power_factor

    - name: meter-frequency
      slave: 1
      address: 144
      input_type: holding
      data_type: float32
      count: 2
      precision: 2
      unit_of_measurement: Hz
      device_class: frequency

    - name: meter-consumption
      slave: 1
      address: 0
      input_type: holding
      data_type: float32
      count: 2
      precision: 2
      unit_of_measurement: kWh
      device_class: energy_storage

Print this item

  KC868-H32B Pro + KC868-AK work with multi switch panel control same relay
Posted by: admin - 04-06-2023, 06:04 AM - Forum: Schematic & diagram & Dimensions of KinCony PCB layout CAD file - Replies (6)

such as relay1 control by 2 switch button or 3 switch button or many buttons.

   

Print this item

  integrate KC868-Server by RS485 modbus switch to home assistant
Posted by: admin - 04-06-2023, 03:32 AM - Forum: KC868-Server Raspberry Pi4 local server - No Replies

modbus:
  - name: hub1
    type: serial
    baudrate: 9600
    bytesize: 8
    method: rtu
    parity: N
    port: /dev/ttyS0
    stopbits: 1
    switches:
      - name: Modbus-S1
        slave: 1
        address: 0
        write_type: coil
      - name: Modbus-S2
        slave: 1
        address: 1
        write_type: coil
      - name: Modbus-S3
        slave: 1
        address: 2
        write_type: coil
      - name: Modbus-S4
        slave: 1
        address: 3
        write_type: coil
      - name: Modbus-S5
        slave: 1
        address: 4
        write_type: coil
      - name: Modbus-S6
        slave: 1
        address: 5
        write_type: coil
      - name: Modbus-S7
        slave: 1
        address: 6
        write_type: coil
      - name: Modbus-S8
        slave: 1
        address: 7
        write_type: coil
      - name: Modbus-S9
        slave: 1
        address: 8
        write_type: coil
      - name: Modbus-S10
        slave: 1
        address: 9
        write_type: coil
      - name: Modbus-S11
        slave: 1
        address: 10
        write_type: coil
      - name: Modbus-S12
        slave: 1
        address: 11
        write_type: coil
      - name: Modbus-S13
        slave: 1
        address: 12
        write_type: coil
      - name: Modbus-S14
        slave: 1
        address: 13
        write_type: coil
      - name: Modbus-S15
        slave: 1
        address: 14
        write_type: coil
      - name: Modbus-S16
        slave: 1
        address: 15
        write_type: coil

Print this item

Photo RS-232 - LCD Dwin communication
Posted by: bsarevalo - 04-06-2023, 03:16 AM - Forum: KC868-A6 - Replies (3)

Hello everyone ! I have bought some KC868 - A6 modules, a Dwin DMG10600T070 display, which has a configurable RS232 or TTL serial interface port. The screen is powered at 12V and GND is linked to the power and RX - TX communication pins (DB9, pin 2 TX2, pin 3 RX2, pin 5 gnd). When I use the screen simulator and connect the KC868-A6 module to the PC's USB port, the program works perfectly and the communication executes the programmed commands. My query now is how can I program the arduino based KC868-A6 module for RS232 serial communication with the display with the RS232 port that the module has!.



Attached Files Thumbnail(s)
   
Print this item

  "KCS" v1.0.24 firmware BIN file download
Posted by: admin - 04-05-2023, 10:48 AM - Forum: "KCS" v2 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: 791)
.zip   KCS_KC868_A6_V1.0.24.zip (Size: 744.95 KB / Downloads: 580)
.zip   KCS_KC868_A8_V1.0.24.zip (Size: 748.43 KB / Downloads: 618)
.zip   KCS_KC868_A8S_V1.0.24.zip (Size: 755.91 KB / Downloads: 567)
.zip   KCS_KC868_A16_V1.0.24.zip (Size: 756.16 KB / Downloads: 637)
.zip   KCS_KC868_A32_V1.0.24.zip (Size: 756.24 KB / Downloads: 636)
.zip   KCS_KC868_A64_V1.0.24.zip (Size: 756.17 KB / Downloads: 567)
.zip   KCS_KC868_A128_V1.0.24.zip (Size: 756.25 KB / Downloads: 566)
.zip   KCS_KC868_AI_V1.0.24.zip (Size: 750.33 KB / Downloads: 757)
.zip   KCS_KC868_AK_V1.0.24.zip (Size: 738.35 KB / Downloads: 541)
.zip   KCS_KC868_E16S_V1.0.24.zip (Size: 756.17 KB / Downloads: 545)
.zip   KCS_KC868_A2_V1.0.25.zip (Size: 716.5 KB / Downloads: 520)
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: 527)

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