Note: This document use for KinCony smart controller: A32 Pro, B16M, F16 (Constantly updated…)
1. Download “KCS” firmware to KinCony ESP32-S3 series board.
a. Download “ESP32 download tool” from https://www.kincony.com/wp-content/uploads/2022/08/flash_download_tool_3.9.2.zip and firmware BIN file from KinCony forum.
b. Open “flash_download_tool_3.9.2.exe”,
chose “ESP32-S3” and workMode=“develop” loadMode: “usb” item.
c. Chose KCS v3 firmware BIN file and COM port then begin download. Total 5 steps.
2. Use ethernet cable or WiFi config setting.
a. use ethernet cable connect board to your router, make sure your computer also connect with same router, just all in one local network.
b. Power on of your board, you can use KinCony scan device tool to find output board IP address.
https://www.kincony.com/download/KinCony-SCAN_Device.zip
Total 5 steps to find out IP address.
Step-1: chose your computer network adapter when you are using.
Step-2: chose your computer IP address item.
Step-3: click “StartMonitorPort” button.
Step-4: click “SCAN” button.
Step-5: board’s ethernet or WiFi IP address , ID and type name will be listed.
c. another easy way, you can check IP address on LCD display. Here showed wifi and ethernet IP address.
If you first time power on , you board will be found by ethernet IP address. Because your WiFi is work as “AP” mode as default. After you config your WiFi as “STA” mode, you will find out the WiFi IP address by KinCony scan device tool.
You can use ethernet IP address login by web browser to config board setting.
Note: if you want config only by WiFi, when power on, your computer will find the “AP” hotspot, WiFi signal named “board name” + “ID”.
Let your computer connect to the “AP”, it’s without password, after you connected, just use http://192.168.4.1 to login by webpage.
If you can’t see the “AP”, you can “hold on” board’s function button (ESP32 GPIO0) >10 seconds, then board will be set to factory, default state is “AP”.
You can login webpage by ethernet IP or WiFi IP. Here is sample login by ethernet IP address 192.168.1.200
Login user name and password default are “admin” “admin”
You can see this home page. Some parameters are shown.
Here is INPUT webpage. Set every digital input port how to work with OUTPUT ports.
“Reverse Level”: if checked, the effective level at the digital input port becomes inverted. Just digital input use by “HIGH” or “LOW” level. Usually digital input port short with GND = trigger.
Here is OUTPUT webpage.
“hold on”: keep the state after turn ON/OFF
“delay”: after you turn ON digital output, will auto turn OFF after a “delay time” you have preset.
“jogging”: when hold on the INPUT with GND, digital output is ON, release INPUT with GND, digital output will be OFF right now.
“Interlock group”: set interlock group for digital output. If set to “0” , disable interlock function. If “Output1” set to “1” and “Output2” set to “1” = Output1 and Output2 work with interlock. If “Output3” set to “2” and “Output4” set to “2” = Output3 and Output4 work with interlock. For example , KC868-A64 have 64 channel digital output, so total will have 64/2=32 interlock groups.
Here is RF webpage. It support “Learn” , “transmit”, “Delete” RF code. Support EV1527 or PT2262, PT2264 wireless remote code.
When press “Learn” blue button, begin study mode, wait for you press remote’s button, it will show message:
Then press one button of remote:
If learn signal successful, will show:
If learn signal failure or time out , will show:
After you learned signal, then it will be saved on controller.
Here is IR webpage. It support “Learn” , “transmit”, “Delete” IR code. Such as TV, DVD, air conditioner, fans or other IR devices.
When press “Learn” blue button, begin study mode, wait for you press IR remote’s button, it will show message:
Then press one button of remote:
If learn signal successful, will show:
If learn signal failure or time out , will show:
After you learned signal, then it will be saved on controller.
Here is sensor webpage. You can set different sensor model for 1-wire GPIO ports.
Temperature Threshold:
If the preset difference is exceeded, temperature data will be auto updated.
For example: “Temperature Threshold” =2 now temperature is 28°C, so next time , when new temperature is >30°C(28+2) or <26°C(28-2) will update.
Humidity Threshold:
If the preset difference is exceeded, humidity data will be auto updated.
For example: “Humidity Threshold” =10 now humidity is 75%, so next time , when new humidity is >85%(75+10) or <65%(75-10) will update.
Here is monitor webpage.
Monitor all protocol work state, whether have connect to server or have a client have connected.
Monitor ADC value.
In order to easily view the values of each sensor, we can set a separate sensor channel name, range, display unit, and automatically reported threshold for each sensor.
Just click “gear” image, will show the config page.
Fox example, we set a water level analog sensor, name is “water level”, unit is M (meter), Custom value1 and value2 means: if you are using DC 0-5v analog sensor, when sensor voltage is 0v, what’s “Custom value1” corresponding value. when sensor voltage is 5v, what’s “Custom value2” corresponding value.
So sensor dc 0-5v — convert à 0-3 meter
If you are using sensor 4-20mA, so 4-20mA 4mA=Custom value1, 20mA is Custom value2.
Then you will see the actually sensor name , value and unit on the monitor webpage.
Double click on the input name’s TEXT can be rename by yourself.
After renamed.
Use the same way (double click TEXT) can rename of the output ports.
Green ico for INPUT means triggered.
Green ico for OUTPUT means output is ON state.
Here is IFTTT webpage. It can create IFTTT AUTOMATION. Press “Run” blue button for running testing. Press “Edit” yellow button for modify.
If your board support 4G SIM7600 module, there will have “SMS” and “voice call” ICO.
You can rename the AUTOMATION name. “enable” or “disable” it.
DI options:
AI options:
RF options:
Sensor options:
Timer options:
If your board support 4G SIM7600 module, there will have “SMS” and “voice call” options:
SMS options:
Voice call options:
If enable [logical “AND”] option, All IF conditions need to be met before the action can be executed. If “disable” just All IF conditions is “OR” logical.
DO options:
you can set and separated by a “space”. You can enter “1 2 3 4 5” or “1-5” in the corresponding option to do something of digital output No.1-5
Fox example:
The config photo that means:
Turn ON digital output 1,2,3,
Turn OFF digital output 4,5,6
Toggle digital output 7,9,10,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32
AO options:
RF options:
IR options:
Delay options:
Custom protocol options:
SMS options:
Voice call options:
After create completed, you can see all IF and THEN ICO, you can “Save” the AUTOMATION – “scene1” or click small ICO for modify again.
Network setting for ethernet and WiFi.
You if set WiFi by AP mode. device such as mobile phone or tablet can connect to board by wifi directly without wifi router.
If you set WiFi to STA mode, also you have connect to router by ethernet cable. Board will use ethernet firstly, if ethernet cable disconnected, then will auto switch to WiFi connect to your wifi router, so that make sure let board always connect to your router.
Here is Network – GSM webpage.
You can define extend 4G module RXD, TXD pins, such as for KinCony G1 4G module.
You can enable/disable your GSM module. If disabled, SMS, voice call, GPRS will not work. MAX support fill 6 Administrator Phone Numbers. Only these 6 mobile phone number can use SMS and voice call function. Tuya app with GPRS no mobile phone number limit.
You can select your phone number, then click “Send a message” or “Make a call” for a test.
You can define your SMS content use for IF condition. SMS can define by your local language, not only English.
You can define your SMS content use for THEN actions, such as alarm notification. SMS can define by your local language, not only English.
You can define voice call control (DTMF code) for IF condition.
For example: when you voice call your board, when it connected, press key 10# for turn ON relay-1 or press 11# for turn OFF relay-2. Just define a number end with “#”.
Here is protocol setting webpage. You can enable/disable different protocol in webpage. About these protocol document you can download from KinCony’s webpage.
Here is custom protocols webpage.
You can create message for TCP Client, UDP Client, RS232, RS485, HTTP GET, HTTP POST different ways.
If “HEX” options is not checked, will send message by ANSI String.
Fox example:
If you want send a TCP string command to another relay module to turn ON relay1:
Make sure have enabled TCP Client protocol, remote address: 192.168.1.215 port: 4196 is another relay board.
So the string “RELAY-SET-255,1,1” will send to IP:192.168.1.215 port: 4196 device by TCP.
Fox example:
This means:
send HTTP command string
“http://192.168.1.200/sw_ctl.cgi?Relay01=ON&postpwd=abcd” by HTTP GET way. If you need add some message with HTTP command, just fill the “Message” edit box.
Make sure you can enable the “HTTP Server” protocol and set the “request secret” for safety.
Apple HomeKit:
You can config every device name in Apple HomeKit webpage. How many device you want to enable, just enable the check box. After complete set for INPUT, OUTPUT, DAC, ADC, SENSOR webpage. you just enable the button. Then your iPhone will auto discovery the KinCony device in “HomeKit” APP.
when you use iPhone/iPad add device, the setup code alway fixed by 11122333
If you board have RS485, then the option will list “RS485”.
Here is system webpage.
“keep output after restart”: when after power failure, whether auto recovery digital output state when power on again.
“auto send ADC values”: every 5 seconds auto feedback analog input ports value by protocol.
“double click time”: adjust value for change speed of double click.
“hold on time”: adjust value for long or short the hold on time.
Click “sync Browser Time” button, it will write to board’s RTC DS3231 Clock by web browser’s time. So that running IFTTT automation without internet. RTC clock work in locally.
if you want board remember the clock time, you need to install CR1220 battery. the default product without battery inside, because package need send by airplane. Here showed how to install battery.
“Restart Board”: reboot board.
“Restore Factory”: clear all setting and set WiFi to “AP” mode.
OUTPUT state changed will save to LOG file by SD Card: