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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 8,346
» Latest member: bookwriterscanada
» Forum threads: 3,640
» Forum posts: 18,799

Full Statistics

Online Users
There are currently 43 online users.
» 0 Member(s) | 25 Guest(s)
AhrefsBot, Amazonbot, Bing, Bytespider, Google, Mediapartners-Google, PetalBot, Yandex, bot

Latest Threads
KC868-A16 - IP & PORT ?? ...
Forum: KC868-A16
Last Post: Guele1
Yesterday, 11:09 AM
» Replies: 6
» Views: 693
N20 Problem with Home Ass...
Forum: N20
Last Post: admin
Yesterday, 06:55 AM
» Replies: 6
» Views: 44
N30 Energy entry not work...
Forum: N30
Last Post: admin
Yesterday, 06:50 AM
» Replies: 14
» Views: 159
Problems and general Feed...
Forum: N30
Last Post: admin
Yesterday, 06:49 AM
» Replies: 2
» Views: 23
kWh resolution
Forum: N30
Last Post: admin
Yesterday, 06:49 AM
» Replies: 2
» Views: 9
KCS_N60_N30_N20_N10_V3.18...
Forum: N60
Last Post: admin
Yesterday, 06:45 AM
» Replies: 0
» Views: 8
N60 N30 N20 N10 ARM CPU f...
Forum: N60
Last Post: admin
Yesterday, 06:20 AM
» Replies: 0
» Views: 11
N60/N30/N20/N10 PC softwa...
Forum: N60
Last Post: admin
Yesterday, 04:49 AM
» Replies: 2
» Views: 405
Goes Offline
Forum: KC868-E16S/E16P
Last Post: admin
Yesterday, 12:02 AM
» Replies: 3
» Views: 21
WHATS FIRMWARE
Forum: "KCS" v3 firmware
Last Post: admin
12-30-2025, 11:46 PM
» Replies: 7
» Views: 637

  how to integrate KC868-A8 to home assistant by MQTT
Posted by: admin - 12-04-2024, 12:26 AM - Forum: KC868-A8 - Replies (46)

step-1: download KCS firmware to KC868-A8 by USB-C cable
   
step2: set mqtt broker ip , port, user name, password for home assistant mosquitto broker. the ip and port according to home assistant's server.
   
   
   
step3: modify configuration.yaml file, add our code:
   

Code:
# Loads default set of integrations. Do not remove.
default_config:

# Load frontend themes from the themes folder
frontend:
  themes: !include_dir_merge_named themes

automation: !include automations.yaml
script: !include scripts.yaml
scene: !include scenes.yaml


       
mqtt:
  switch:
   - name: 'a8-kcs-output-1'
     unique_id: a8-kcs-output-1
     state_topic: 'KC868_A8/B0A732859848/STATE'
     command_topic: 'KC868_A8/B0A732859848/SET'
     payload_on:  '{"output1":{"value":true}}'
     payload_off:  '{"output1":{"value":false}}'
     value_template: '{{ value_json.output1.value }}'
     state_on: true
     state_off: false

   - name: 'a8-kcs-output-2'
     unique_id: a8-kcs-output-2
     state_topic: 'KC868_A8/B0A732859848/STATE'
     command_topic: 'KC868_A8/B0A732859848/SET'
     payload_on:  '{"output2":{"value":true}}'
     payload_off:  '{"output2":{"value":false}}'
     value_template: '{{ value_json.output2.value }}'
     state_on: true
     state_off: false

   - name: 'a8-kcs-output-3'
     unique_id: a8-kcs-output-3
     state_topic: 'KC868_A8/B0A732859848/STATE'
     command_topic: 'KC868_A8/B0A732859848/SET'
     payload_on:  '{"output3":{"value":true}}'
     payload_off:  '{"output3":{"value":false}}'
     value_template: '{{ value_json.output3.value }}'
     state_on: true
     state_off: false

   - name: 'a8-kcs-output-4'
     unique_id: a8-kcs-output-4
     state_topic: 'KC868_A8/B0A732859848/STATE'
     command_topic: 'KC868_A8/B0A732859848/SET'
     payload_on:  '{"output4":{"value":true}}'
     payload_off:  '{"output4":{"value":false}}'
     value_template: '{{ value_json.output4.value }}'
     state_on: true
     state_off: false

   - name: 'a8-kcs-output-5'
     unique_id: a8-kcs-output-5
     state_topic: 'KC868_A8/B0A732859848/STATE'
     command_topic: 'KC868_A8/B0A732859848/SET'
     payload_on:  '{"output5":{"value":true}}'
     payload_off:  '{"output5":{"value":false}}'
     value_template: '{{ value_json.output5.value }}'
     state_on: true
     state_off: false

   - name: 'a8-kcs-output-6'
     unique_id: a8-kcs-output-6
     state_topic: 'KC868_A8/B0A732859848/STATE'
     command_topic: 'KC868_A8/B0A732859848/SET'
     payload_on:  '{"output6":{"value":true}}'
     payload_off:  '{"output6":{"value":false}}'
     value_template: '{{ value_json.output6.value }}'
     state_on: true
     state_off: false

   - name: 'a8-kcs-output-7'
     unique_id: a8-kcs-output-7
     state_topic: 'KC868_A8/B0A732859848/STATE'
     command_topic: 'KC868_A8/B0A732859848/SET'
     payload_on:  '{"output7":{"value":true}}'
     payload_off:  '{"output7":{"value":false}}'
     value_template: '{{ value_json.output7.value }}'
     state_on: true
     state_off: false

   - name: 'a8-kcs-output-8'
     unique_id: a8-kcs-output-8
     state_topic: 'KC868_A8/B0A732859848/STATE'
     command_topic: 'KC868_A8/B0A732859848/SET'
     payload_on:  '{"output8":{"value":true}}'
     payload_off:  '{"output8":{"value":false}}'
     value_template: '{{ value_json.output8.value }}'
     state_on: true
     state_off: false



  binary_sensor:
   - name: 'a8-kcs-input-1'
     unique_id: a8-kcs-input-1
     state_topic: 'KC868_A8/B0A732859848/STATE'
     value_template: '{{ value_json.input1.value }}'
     payload_on: true
     payload_off: false

   - name: 'a8-kcs-input-2'
     unique_id: a8-kcs-input-2
     state_topic: 'KC868_A8/B0A732859848/STATE'
     value_template: '{{ value_json.input2.value }}'
     payload_on: true
     payload_off: false

   - name: 'a8-kcs-input-3'
     unique_id: a8-kcs-input-3
     state_topic: 'KC868_A8/B0A732859848/STATE'
     value_template: '{{ value_json.input3.value }}'
     payload_on: true
     payload_off: false

   - name: 'a8-kcs-input-4'
     unique_id: a8-kcs-input-4
     state_topic: 'KC868_A8/B0A732859848/STATE'
     value_template: '{{ value_json.input4.value }}'
     payload_on: true
     payload_off: false

   - name: 'a8-kcs-input-5'
     unique_id: a8-kcs-input-5
     state_topic: 'KC868_A8/B0A732859848/STATE'
     value_template: '{{ value_json.input5.value }}'
     payload_on: true
     payload_off: false

   - name: 'a8-kcs-input-6'
     unique_id: a8-kcs-input-6
     state_topic: 'KC868_A8/B0A732859848/STATE'
     value_template: '{{ value_json.input6.value }}'
     payload_on: true
     payload_off: false

   - name: 'a8-kcs-input-7'
     unique_id: a8-kcs-input-7
     state_topic: 'KC868_A8/B0A732859848/STATE'
     value_template: '{{ value_json.input7.value }}'
     payload_on: true
     payload_off: false

   - name: 'a8-kcs-input-8'
     unique_id: a8-kcs-input-8
     state_topic: 'KC868_A8/B0A732859848/STATE'
     value_template: '{{ value_json.input8.value }}'
     payload_on: true
     payload_off: false
yaml file download: 
.txt   HA-A8-MQTT-OUTPUT-INPUT.txt (Size: 4.8 KB / Downloads: 420)
step4: replace all ID by your own board, you can check ID from KCS "index" webpage.
   
step5: save the yaml file by click "save" button. Then ready to restart of home assistant.
   
step6: go to "setting" -- "system" webpage, restart your home assistant.
   
step7: Now you can found new entities in "Setting" -- “Device & services" -- "Entities" webpage. all have listed, you just add to home assistant dashboard is OK.
   

yaml file download: 
.txt   A8-KCS-MQTT-HA-yaml.txt (Size: 4.51 KB / Downloads: 208)

Print this item

  RS_485
Posted by: ka.mobo - 12-03-2024, 01:19 PM - Forum: Development - Replies (3)

Hello 
i have KC868-A6 Controller I want To Connect it as Modbus RS-485 A-B wires,  Between  (Sensor Flow ) & controller to monitor data on Arduino Ide using serial monitor . How To Do That ? 
Sensor Flow device Address register map is :

Code:
Register Address Register Type Description Access
40001 (0) Holding Register (4x) Flow Rate Read-only
40002 (1) Holding Register (4x) Temperature Read-only
40003 (2) Holding Register (4x) Pressure Read-only
40010 (9) Holding Register (4x) Flow Totalizer Reset Write-only
40020 (19) Holding Register (4x) Device ID Read/write
40050 (49) Holding Register (4x) Alarm Status Read-only
This table represents:
• Flow Rate (40001): A flow sensor reading available in this register for monitoring.
• Temperature (40002): Temperature sensor data available for monitoring.
• Flow Totalizer Reset (40010): This register allows you to reset the totalizer (write-only).
• Alarm Status (40050): Alarm indications and codes can be read from this register.
Access Types:
• Read-only: You can only retrieve data.
• Write-only: You can only send data (like resetting a value).
• Read/Write: Both reading and writing are allowed.
Modbus Function Codes for Register Access:
• 01 – Read Coils (for 0x addresses)
• 02 – Read Discrete Inputs (for 1x addresses)
• 03 – Read Holding Registers (for 4x addresses)
• 04 – Read Input Registers (for 3x addresses)
• 05 – Write Single Coil
• 06 – Write Single Holding Register
• 16 – Write Multiple Registers


Can any one Help me please ?

Print this item

  KC868-server automations
Posted by: Mandlap - 12-03-2024, 12:36 PM - Forum: KC868-Server Raspberry Pi4 local server - Replies (6)

Hello, I have updated my HA OS to 13.2. I'm able to control the binary.inputs and switch.outputs. 
All the automations i have created have disappeared in my Home Assistant. 
Automation and scenes have been separated, now there is automations and scenes separately. 
I tried to create new automations on KC868-Server, but it doesn't allow recognise my binary.inputs and switch.outputs when trying to create automations.

Print this item

  2 questions motors & touch
Posted by: llamich - 12-03-2024, 05:25 AM - Forum: KC868-A series and Uair Smart Controller - Replies (7)

I need help to control a 12V DC 5A motor (2 wires) to make it rotate in both directions. Is this possible with the KC868-A16? 

On the other hand, is it possible to use the TTP223 touch sensors as inputs, which have a working voltage of 2.5 to 5.5V?

Print this item

Question All outputs turn off every once in a while
Posted by: bartekm - 12-02-2024, 07:15 PM - Forum: KC868-A16 - Replies (7)

Hello Admin,
I would like to ask you about solving my problem which is that all outputs of my KC868-A16 are turning off every once in a while. It happens randomly in time - sometimes after few minutes and sometimes after dozen of minutes.

Board (rev 1.6) is configured using esphome yaml and connected to HA server. Also I have more than one of your KC868-A16 and it happens for other boards also. I checked installation and it seems it is not problem with power supply because I caught and meter when it happens - network voltage was stable 240V and power supply (good quality one with high amperage) was also stable 11,98V.

I made some more investigations and what I noticed is that it seems it happens only when HA server is turned off (mini pc is turned off).
So summarizing I would to ask you:

1. have you experienced any disturbances in functioning for this or other boards configured using esphome when HA server is not available? if yes then is there anything what I can do? add some yaml configuration?
2. is it possible to force board to remember state of outputs? so even if there will be power outage or such reset than it will bring back output state? (of course light will flicker in this scenario)
3. is there any way to debug board errors in real time somehow in my configuration? I mean some log file which can help identify cause of this problem?

I would be grateful for your help and suggestions,
Bartek

Print this item

Question Door Access Control System
Posted by: PeterOo - 12-02-2024, 08:17 AM - Forum: KC868-HxB series Smart Controller - Replies (3)

Hi,

    As per the link below, 

       https://www.kincony.com/remote-access-co...ution.html

I found out that KC868 relay controllers can be configured to be used as door access control system. But, in that solution, I only found out ( or may be I missed out ) magnetic door locks and exit buttons used with controller.
I wonder if there are any possible solutions to use proximity card reader (with Weigand interface, later, convert to RS485 from Weigand) with the relay controllers. Could you please suggest me a way to integrate door access control system to KINCONY relay controller? Or, if you have any recommended card readers of any kinds or KINCONY's own card reader models, please enlighten me. I would like to integrate door access control system in my smart home project. Thanks in advance.

Print this item

  KC868-A8 ETHERNET WEB SERVER PLATFORMIO IDE
Posted by: herry - 12-02-2024, 03:38 AM - Forum: KC868-A8 - Replies (1)

Starting WebServer on DOIT ESP32 DEVKIT V1 with ETH_PHY_LAN8720
WebServer_WT32_ETH01 v1.5.1 for core v2.0.0+
E (1019) esp.emac: emac_esp32_init(357): reset timeout
E (1020) esp_eth: esp_eth_driver_install(214): init mac failed
[  1025][E][ETH.cpp:324] begin(): esp_eth_driver_install failed

Print this item

  H32BS questions
Posted by: leliodm - 12-02-2024, 01:26 AM - Forum: KC868-HxB series Smart Controller - Replies (1)

Hi,
I have two questions for the hb32BS

1. is there a KCS software for it?
2. for the original firmware version 1.50 how can I use the two RF controllers? 

Thank you

Print this item

  E16S home assistant
Posted by: janami - 11-30-2024, 07:39 AM - Forum: KC868-E16S/E16P - Replies (5)

Ahoj všichni,
Na mini PC mám přes PROXMOX nainstalovanou desku KC868-E16S a Home Assistant. Jaký komunikační protokol bych měl použít, abych zajistil stabilní připojení? Rozhodně nechci žádné bezdrátové možnosti.
Mohl by mi prosím někdo napsat podrobný návod jak to nastavit?
A jaký firmware mám nahrát do KC868-E16S?
Děkuju.

Print this item

  "KCS" v3.3.0 firmware for F16 controller
Posted by: admin - 11-30-2024, 03:51 AM - Forum: "KCS" v2 firmware system - No Replies

v3.3.0 improvement:
1. Fixed the problem of Tuya automatically managing  by Reset button and network Led
2. Add a delay after i2c initialization to fix the issue where AT24C02 occasionally fails to read i2c data too quickly, resulting in interrupted startup.

.zip   KCS_F16_V3.3.0.zip (Size: 1.01 MB / Downloads: 474)

Print this item