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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 9,109
» Latest member: taytumweiss
» Forum threads: 4,057
» Forum posts: 20,381

Full Statistics

Online Users
There are currently 37 online users.
» 0 Member(s) | 18 Guest(s)
Amazonbot, Applebot, Baidu, Bytespider, Crawl, PetalBot, Semrush, bot

Latest Threads
Digital Input de-bounce
Forum: KC868-A6
Last Post: l0v4szl
Yesterday, 09:40 PM
» Replies: 2
» Views: 18
access control panel by w...
Forum: KC868-A32/A32 Pro
Last Post: admin
05-31-2026, 08:58 PM
» Replies: 15
» Views: 9,532
KC868-HA-V21 24v supply
Forum: Getting Started with ESPHome and Home Assistant
Last Post: admin
05-31-2026, 12:20 AM
» Replies: 3
» Views: 43
DM4 ESPHome yaml for home...
Forum: Getting Started with ESPHome and Home Assistant
Last Post: admin
05-30-2026, 08:57 PM
» Replies: 1
» Views: 27
KC868-H32B configuration ...
Forum: DIY Project
Last Post: ahmed
05-30-2026, 04:51 AM
» Replies: 6
» Views: 1,583
KC868-A16v3 integration w...
Forum: KC868-A series and Uair Smart Controller
Last Post: admin
05-29-2026, 01:17 PM
» Replies: 1
» Views: 56
F24 work with TS RS485 se...
Forum: F24
Last Post: admin
05-29-2026, 04:15 AM
» Replies: 0
» Views: 29
Weak wifi signal/range
Forum: KC868-A16v3
Last Post: admin
05-28-2026, 11:37 PM
» Replies: 3
» Views: 95
KC868-A16v3 schematic
Forum: KC868-A series and Uair Smart Controller
Last Post: admin
05-28-2026, 12:35 PM
» Replies: 1
» Views: 45
KC868-A16v3 PCB layout CA...
Forum: Schematic & diagram & Dimensions of KinCony PCB layout CAD file
Last Post: admin
05-27-2026, 12:59 PM
» Replies: 0
» Views: 60

  Lesson11 - how to use by own 433MHz RF / infrared remoter
Posted by: admin - 03-31-2022, 01:28 PM - Forum: Home automation training courses - Replies (24)


1. install ESP32 USB driver for KC868-Server, download from: https://www.kincony.com/download/CH341SER.zip

2. install ESP32 USB driver

3. download arduino IDE: https://www.arduino.cc/en/software/

4. install arduino IDE

5. config for ESP32: https://www.kincony.com/forum/showthread.php?tid=281

6. install rc-switch arduino library

7. download this RF / IR decode demo source code: 
.zip   KC868-Server-wireless-decode.zip (Size: 3.89 KB / Downloads: 1159)

8. detect your RF or IR remoter's key code

9. replace your own RF or IR remoter's key code

10. download firmware to KC868-Server by TYPE-C USB cable

Print this item

  Lesson10 - install wall switch panel
Posted by: admin - 03-30-2022, 07:05 AM - Forum: Home automation training courses - Replies (2)


1. switch panel type: momentary.

2. button wires to KC868-Server's digital input ports.

3. LED indicator wires from KC868-Server's digital output ports.
   

4. double click function define for key buttons:

key1: ON 3,4,5,6
key2: OFF 3,4,5,6
key3: invert 3,4,5,6

5. momentary time:

relay4: 1 second
relay5: 5 second

Print this item

  how to connect momentary touch switch panel for KC868-Server
Posted by: admin - 03-30-2022, 07:00 AM - Forum: KC868-Server Raspberry Pi4 local server - No Replies

this is sample diagram for 8 gang switch panel with KC868-Server and feedback output state for LEDs.
   

Print this item

  KC868-A16 read output state by http command in Tasmota
Posted by: admin - 03-29-2022, 02:43 PM - Forum: KC868-A16 - No Replies

if want to read output1 by http command, here is url:
http://10.10.10.135/cm?cmnd=Power1%20state        will feedback: {"POWER1":"ON"}

if want to read output2 by http command, here is url:
http://10.10.10.135/cm?cmnd=Power2%20state        will feedback: {"POWER2":"OFF"}

Print this item

  KC868-A16 "input1 toggle output1" automation rules in Tasmota
Posted by: admin - 03-29-2022, 02:28 PM - Forum: KC868-A16 - Replies (8)

this rules sample will set KC868-A16 input1 toggle output1.

for example if input1 -- toggle --> output1:

rule1 on PCF8574-1_INP#D0=0 do power1 toggle endon
rule1 1

if input2 -- toggle --> output2:

rule2 on PCF8574-1_INP#D1=0 do power2 toggle endon
rule2 1

if input3 -- toggle --> output3:

rule3 on PCF8574-1_INP#D2=0 do power3 toggle endon
rule3 1

here are setting photos for sample rule1:

   
   
   
   

Print this item

  K868-H32L need to work with Node-RED and Alexa (TCP-OUT)
Posted by: jack859363 - 03-29-2022, 08:44 AM - Forum: DIY Project - Replies (1)

I was told to post here what I am trying to do. My parts are:
1. K868-H32L
2. Tp-link wireless router
3. ESP8266
4. Old PC

Scenario: I tried using the ESP8266 with the K868-H32L to link to Alexa. However, Alexa could only detect 10 switches out of the 32. Kincony notified me that ESP8266 is only limited. Now, I have a bunch of OLD PCs lying around with ready windows. Kincony told me I can use PC with red NODE. I managed to install and sign up for red-node. Again, Kincony support told me that I cannot use MQQT with K868-H32L. I am posting here because I need help how to set-up red-node using TCP-out.

The videos posted are MQQT are very similar to TCP-out. I followed it however, TCP-out would not connect to my 868-H32L, I connected PC and H32L relay to LAN of wireless router, Internet access thru WAN of Wireless router, Alexa module connected to Wireless Router. Everything is working with the KC868-H32.exe pc software so I know parts are working.

I need to automate the system via Alexa. Kindly assist how to connect 868-H32L relay to red-Node via TCP-Out. The programming of Alexa to red Node is already in the MQQT videos.



Attached Files Thumbnail(s)
                       

Print this item

  [Arduino demo source code for KC868-A4]-11 how to create wifi connection
Posted by: KinCony Support - 03-28-2022, 05:40 AM - Forum: KC868-A4 - Replies (8)

Code:
#include <WiFi.h>
void setup(){
  WiFi.begin("SSID", "PASSWORD");
  // SSID and password is the router you want to connect
  while (WiFi.status() != WL_CONNECTED) {
    delay(500);
    Serial.print(".");
  }
  Serial.begin(9600);
}

void loop(){
  Serial.println("Local IP:");
  Serial.println(WiFi.localIP());
  delay(1000);
}
       

Print this item

  Lesson9 - integrate KC868-Server to home assistant by MQTT
Posted by: admin - 03-27-2022, 04:56 AM - Forum: Home automation training courses - Replies (59)


1.MQTT communication structure diagram

   

KC868-Server--------

publish message: status of switch (status topic)
Subscription message: turn on / off command (command topic)


home assistant------

publish message:  turn on / off command (command topic)
Subscription message: status of switch (status topic)

2.KC868-Server digital output , digital input , analog input config sample code in configuration.yaml

# Example configuration.yaml entry
switch:
  - platform: mqtt
    name: 'output-1'
    unique_id: output-1
    state_topic: 'server/ xxxxxxxxxxxxxxxxxxxxxxxx /state'
    command_topic: 'server/ xxxxxxxxxxxxxxxxxxxxxxxx /set'
    payload_on:  '{"relay1":{"on":1}}'
    payload_off:  '{"relay1":{"on":0}}'
    value_template: '{{ value_json.relay1.on }}'
    state_on: 1
state_off: 0


binary_sensor:
  - platform: mqtt
    name: 'input-1'
    unique_id: input-1
    state_topic: 'server/ xxxxxxxxxxxxxxxxxxxxxxxx /state'
    value_template: '{{ value_json.input1.on }}'
    payload_on: 1
    payload_off: 0


sensor:
  - platform: mqtt
    name: 'analog-1'
    unique_id: analog-1
    state_topic: 'server/ xxxxxxxxxxxxxxxxxxxxxxxx /state'
    unit_of_measurement: 'v'
    value_template: '{{ value_json.analog1.value }} ' 

Note: xxxxxxxxxxxxxxxxxxxxxxxx is UID of controller, just replace with your device UID. You can find the UID in ethernet setting.

3.KC868-Server 16 channel output, 16 channel digital input, 4 channel analog input all use in configuration.yaml


.txt   KC868-Server-home-assistant-config.txt (Size: 8.15 KB / Downloads: 1624)

Print this item

  KC868-Server integrate to home asssitant by MQTT configuration.yaml
Posted by: admin - 03-27-2022, 04:52 AM - Forum: KC868-Server Raspberry Pi4 local server - Replies (15)

KC868-Server 16 channel output, 16 channel digital input, 4 channel analog input all use in configuration.yaml

.txt   KC868-Server-home-assistant-config.txt (Size: 8.15 KB / Downloads: 960)

Note: xxxxxxxxxxxxxxxxxxxxxxxx is UID of controller, just replace with your device UID. You can find the UID in ethernet setting.

Print this item

  Lesson8 - install Mosquitto broker on home assistant
Posted by: admin - 03-27-2022, 03:29 AM - Forum: Home automation training courses - No Replies


1. MQTT structure

   

   

2. Install mosquito MQTT broker on home assistant

   

Configuration:

logins:
  - username: mqtt
    password: '123'
customize:
  active: false
  folder: mosquitto
certfile: fullchain.pem
keyfile: privkey.pem
require_certificate: false

Note: username and password just replace by yourself.

3. MQTT communication
   


4. MQTT communication test

Configuration-->Devices & Services --> Mosquitto broker "CONFIGURE"
   

Print this item