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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 5,374
» Latest member: zeth
» Forum threads: 2,574
» Forum posts: 13,315

Full Statistics

Online Users
There are currently 53 online users.
» 2 Member(s) | 35 Guest(s)
AhrefsBot, Bytespider, Crawl, Google, PetalBot, Yandex, bot, owler, biofects, jenniferpollak

Latest Threads
KC868-A2 configure yaml f...
Forum: KC868-A2
Last Post: elemarek
9 hours ago
» Replies: 15
» Views: 7,686
How can I power multiple ...
Forum: KC868-A series and Uair Smart Controller
Last Post: admin
10 hours ago
» Replies: 12
» Views: 134
how to use AS ESP32-S3 vo...
Forum: KinCony AS
Last Post: biofects
Today, 03:07 AM
» Replies: 13
» Views: 470
change wake up name
Forum: KinCony AS
Last Post: admin
Today, 02:10 AM
» Replies: 13
» Views: 104
Problem with IFTTT automa...
Forum: "KCS" firmware system
Last Post: admin
Yesterday, 11:41 PM
» Replies: 6
» Views: 51
A32 Pro ESPHome yaml incl...
Forum: KC868-A32/A32 Pro
Last Post: admin
Yesterday, 11:15 PM
» Replies: 18
» Views: 191
KC868-A2 ESP32 I/O pin de...
Forum: KC868-A2
Last Post: admin
Yesterday, 11:12 PM
» Replies: 8
» Views: 2,272
Need help with configurat...
Forum: KC868-HxB series Smart Controller
Last Post: admin
Yesterday, 04:32 AM
» Replies: 32
» Views: 399
ESP32 S3 set up issue
Forum: Extender module
Last Post: admin
12-17-2024, 11:43 PM
» Replies: 10
» Views: 73
KC868-A8 Schematic
Forum: KC868-A8
Last Post: admin
12-17-2024, 11:40 PM
» Replies: 7
» Views: 55

  KC868-H32B V4.43 new firmware update
Posted by: admin - 04-03-2022, 08:08 AM - Forum: News - Replies (19)

improvement:

mainly support integrate to Loxone Mini-Server by RS232 port.

1. after INPUT trigger (when released input with GND) will auto feedback "DIARM" message to TCP client and RS232.

such as if you let INPUT short with GND, will send "RELAY-ALARM-1,OK" , that means: INPUT-1 is trigger.
when released, will send "RELAY-DIARM-1,OK" , that means: INPUT-1 is released, just "disable alarm".

2. It supports sending multiple control relay commands to the KC868-H32B at one time by RS232 or TCP. The controller will process them in a queue without discarding the commands. At most, MAX 32 commands can be received at the same time

such as you can send these command at one time by RS232 or TCP:
RELAY-SET-255,1,1
RELAY-SET-255,2,1
RELAY-SET-255,3,1
RELAY-SET-255,4,1
RELAY-SET-255,5,1
RELAY-SET-255,6,1
RELAY-SET-255,7,1
RELAY-SET-255,8,1
RELAY-SET-255,9,1
RELAY-SET-255,10,1
RELAY-SET-255,11,1
RELAY-SET-255,12,1
RELAY-SET-255,13,1
RELAY-SET-255,14,1
RELAY-SET-255,15,1
RELAY-SET-255,16,1
RELAY-SET-255,17,1
RELAY-SET-255,18,1
RELAY-SET-255,19,1
RELAY-SET-255,20,1
RELAY-SET-255,21,1
RELAY-SET-255,22,1
RELAY-SET-255,23,1
RELAY-SET-255,24,1
RELAY-SET-255,25,1
RELAY-SET-255,26,1
RELAY-SET-255,27,1
RELAY-SET-255,28,1
RELAY-SET-255,29,1
RELAY-SET-255,30,1
RELAY-SET-255,31,1
RELAY-SET-255,32,1


.zip   Relay32_V443_220402.zip (Size: 47.02 KB / Downloads: 308)
download the ZIP file , unzip update the bin file for KC868-H32B relay controller by USB-RS232 cable.

Print this item

  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 (18)


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

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 (57)


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

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

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

Print this item