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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 4,503
» Latest member: sabrinahaven
» Forum threads: 2,287
» Forum posts: 11,894

Full Statistics

Online Users
There are currently 49 online users.
» 5 Member(s) | 28 Guest(s)
Bytespider, Google, PetalBot, Semrush, Yandex, bot, admin, csacomani, engrezk, luis15pt

Latest Threads
PWM support?
Forum: KC868-A16
Last Post: admin
1 hour ago
» Replies: 5
» Views: 26
KC868 A32 Firmware 2.2.4 ...
Forum: KC868-A32/A32 Pro
Last Post: iozzi_giorgio
4 hours ago
» Replies: 2
» Views: 27
[arduino code examples fo...
Forum: KC868-A32/A32 Pro
Last Post: admin
8 hours ago
» Replies: 0
» Views: 3
USB ports
Forum: KinCony Server-Mini / Server-16 Raspberry Pi4 relay module
Last Post: BaconRanch
10 hours ago
» Replies: 2
» Views: 6
Lesson23- How to connect ...
Forum: KC868-A series and Uair Smart Controller
Last Post: admin
Yesterday, 10:11 AM
» Replies: 10
» Views: 7,156
KC868-AG RF - sending rep...
Forum: KC868-A series and Uair Smart Controller
Last Post: PhilW
Yesterday, 07:46 AM
» Replies: 3
» Views: 9
Usar entradas y oled i2c ...
Forum: KC868-A6
Last Post: sistemasyusa
Yesterday, 03:16 AM
» Replies: 4
» Views: 17
a16 as basis for a securi...
Forum: KC868-A16
Last Post: admin
09-18-2024, 11:58 PM
» Replies: 8
» Views: 55
GSM CALL RELAY
Forum: KC868-A2
Last Post: admin
09-18-2024, 11:53 PM
» Replies: 9
» Views: 4,109
KC868-A16S or KC868-A8S
Forum: KC868-A series and Uair Smart Controller
Last Post: admin
09-18-2024, 11:51 PM
» Replies: 3
» Views: 39

Star Feature Request: HTTP REST API
Posted by: celloza - 04-12-2023, 08:20 AM - Forum: "KCS" firmware system - Replies (1)

Hi

To allow easy integration to some of the tools I'm using, I'd like to have the option to monitor/control KC boards (such as the KC868-AI) via a REST API. Would it be possible to add this to the KCS firmware?

I could probably roll my own, but would like something officially integrated into KCS.

Print this item

  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: 214)
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 and diagram - 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" 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: 410)
.zip   KCS_KC868_A6_V1.0.24.zip (Size: 744.95 KB / Downloads: 199)
.zip   KCS_KC868_A8_V1.0.24.zip (Size: 748.43 KB / Downloads: 260)
.zip   KCS_KC868_A8S_V1.0.24.zip (Size: 755.91 KB / Downloads: 233)
.zip   KCS_KC868_A16_V1.0.24.zip (Size: 756.16 KB / Downloads: 257)
.zip   KCS_KC868_A32_V1.0.24.zip (Size: 756.24 KB / Downloads: 238)
.zip   KCS_KC868_A64_V1.0.24.zip (Size: 756.17 KB / Downloads: 200)
.zip   KCS_KC868_A128_V1.0.24.zip (Size: 756.25 KB / Downloads: 197)
.zip   KCS_KC868_AI_V1.0.24.zip (Size: 750.33 KB / Downloads: 366)
.zip   KCS_KC868_AK_V1.0.24.zip (Size: 738.35 KB / Downloads: 186)
.zip   KCS_KC868_E16S_V1.0.24.zip (Size: 756.17 KB / Downloads: 197)
.zip   KCS_KC868_A2_V1.0.25.zip (Size: 716.5 KB / Downloads: 166)
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: 188)

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