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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 8,288
» Latest member: Sophia87
» Forum threads: 3,621
» Forum posts: 18,674

Full Statistics

Online Users
There are currently 28 online users.
» 0 Member(s) | 13 Guest(s)
AhrefsBot, Amazonbot, Baidu, Crawl, PetalBot, bot, github.com

Latest Threads
clk_mode for ethernet
Forum: KC868-AI
Last Post: admin
1 hour ago
» Replies: 1
» Views: 2
No Ethernet, No WiFi, No ...
Forum: KC868-A128
Last Post: admin
1 hour ago
» Replies: 1
» Views: 8
MB Current & Power too lo...
Forum: KC868-M16 / M1 / MB / M30
Last Post: admin
Today, 01:17 AM
» Replies: 3
» Views: 26
N30 LoRa and RS485 code f...
Forum: N30
Last Post: admin
Today, 01:17 AM
» Replies: 1
» Views: 11
KC868-M16v2 configure yam...
Forum: KC868-M16 / M1 / MB / M30
Last Post: admin
Yesterday, 01:53 PM
» Replies: 112
» Views: 24,772
KC868-A32 : PSU 24VDC
Forum: KC868-A32/A32 Pro
Last Post: admin
12-18-2025, 09:58 PM
» Replies: 3
» Views: 27
a16v3 - reed switch and m...
Forum: KC868-A16v3
Last Post: admin
12-18-2025, 09:56 PM
» Replies: 11
» Views: 553
Loxone RS485
Forum: KinCony integrate with Loxone home automation
Last Post: admin
12-18-2025, 09:51 PM
» Replies: 7
» Views: 1,061
Kc868a newbie questions
Forum: KC868-A series and Uair Smart Controller
Last Post: admin
12-18-2025, 09:50 PM
» Replies: 1
» Views: 12
KC868-A2 SIM7600 with Tuy...
Forum: KC868-A2
Last Post: WestfieldGhost
12-18-2025, 05:33 PM
» Replies: 33
» Views: 3,450

  KC868-A2 wiring diagram
Posted by: KinCony Support - 07-14-2023, 12:47 AM - Forum: KC868-A2 - No Replies

   

Print this item

  Kc868-a8e
Posted by: avihay - 07-11-2023, 11:54 PM - Forum: "KCS" v2 firmware system - Replies (16)

Good evening, you sent me a version of your application KCS_KC868_A8_V2.0.2. I work with it. I recorded a generator remote rf. I send ignition and the generator does not turn on during the recording


Good evening, you sent me a version of your application KCS_KC868_A8_V2.0.2. I work with it. I recorded a generator remote rf433. I send ignition and the generator does not turn on during the recording.

Print this item

  KCS Software and Arduino script
Posted by: alessiovietri - 07-11-2023, 12:54 PM - Forum: KC868-A16 - Replies (3)

Hi everybody,

We're trying to use an arduino script (with homespan, to connect the board to homekit) and the KCS software (to use the tuya connection), but if we install the arduino script, we lose the KCS software interface.

We aim to:
- use the arduino script to connect homekit (actually working)
- connect tuya devices to the board

Is is possible to achieve this?

Thanks in advance

Print this item

  How can I use Interrupt ?
Posted by: Ksirirux - 07-10-2023, 12:10 PM - Forum: KC868-A series and Uair Smart Controller - Replies (5)

Board: KC868-A8S
platform : Platform IO on vscode

My Project require Interrupt Signal .. about water flow rate from flow meter 
Can I connect some gpio for interrupt process ? 

Thank you so much.

Print this item

  KC868-H32B V5.06 firmware support Loxone Miniserver directly
Posted by: admin - 07-10-2023, 02:10 AM - Forum: News - No Replies

improvement:

support integrate to Loxone Miniserver system by UDP command directly. Because when relay state and switch state feedback by HTTP command, Loxone need >= every 10 seconds for update, it's slowly. Now we developing new firmware feedback state by UDP command, it's fast. If you want to add to Loxone Miniserver, just enable option for "LOXONE INTEGRATION", then fill the Miniserver IP and Port.

firmware BIN file download for KC868-H32B controller:

.zip   H32B_V506_230629.zip (Size: 134.79 KB / Downloads: 536)

   

   

Loxone project file download:

.zip   KinCony-32CH-Relay-Controller.zip (Size: 28.23 KB / Downloads: 539)

added UDP command protocol:

1. control single relay:

RELAY-SET-255,X,Y

X: relay channel ID
Y: 1: ON  0: OFF

For example a: TURN ON relay1:

Send: RELAY-SET-255,1,1  feedback:RELAY-SET-255,1,1,OK

For example b: TURN OFF relay1:

Send: RELAY-SET-255,1,0  feedback:RELAY-SET-255,1,0,OK


2. when relay state changed by any way , will auto feedback to UDP:

RELAY-SET-255,X,Y,OK

X: relay channel ID
Y: 1: ON  0: OFF

RELAY-SET-255,1,1,OK  means: relay1 is ON
RELAY-SET-255,2,0,OK  means: relay2 is OFF


3. when digital input port changed, will auto feedback to UDP:

RELAY-GET_INPUT-255,X,Y,OK

X: digital input ID
Y: 1: ON  0: OFF

For example: digital input2 is ON:
RELAY-GET_INPUT-255,2,1,OK

4. when KinCony Smart Controller re power on , will auto feedback (32 channel relay state+ 6 channel digital input state) to UDP:

[2023-06-29 09:20:23.205]# RECV ASCII FROM 192.168.1.200 :4001>
RELAY-SET-255,1,0,OK

[2023-06-29 09:20:23.206]# RECV ASCII FROM 192.168.1.200 :4001>
RELAY-SET-255,2,0,OK

[2023-06-29 09:20:23.207]# RECV ASCII FROM 192.168.1.200 :4001>
RELAY-SET-255,3,0,OK

[2023-06-29 09:20:23.208]# RECV ASCII FROM 192.168.1.200 :4001>
RELAY-SET-255,4,0,OK

[2023-06-29 09:20:23.209]# RECV ASCII FROM 192.168.1.200 :4001>
RELAY-SET-255,5,0,OK

[2023-06-29 09:20:23.209]# RECV ASCII FROM 192.168.1.200 :4001>
RELAY-SET-255,6,0,OK

[2023-06-29 09:20:23.210]# RECV ASCII FROM 192.168.1.200 :4001>
RELAY-SET-255,7,0,OK

[2023-06-29 09:20:23.210]# RECV ASCII FROM 192.168.1.200 :4001>
RELAY-SET-255,8,0,OK

[2023-06-29 09:20:23.213]# RECV ASCII FROM 192.168.1.200 :4001>
RELAY-SET-255,9,0,OK

[2023-06-29 09:20:23.219]# RECV ASCII FROM 192.168.1.200 :4001>
RELAY-SET-255,10,0,OK

[2023-06-29 09:20:23.222]# RECV ASCII FROM 192.168.1.200 :4001>
RELAY-SET-255,11,0,OK

[2023-06-29 09:20:23.223]# RECV ASCII FROM 192.168.1.200 :4001>
RELAY-SET-255,12,0,OK

[2023-06-29 09:20:23.225]# RECV ASCII FROM 192.168.1.200 :4001>
RELAY-SET-255,13,0,OK

[2023-06-29 09:20:23.227]# RECV ASCII FROM 192.168.1.200 :4001>
RELAY-SET-255,14,0,OK

[2023-06-29 09:20:23.229]# RECV ASCII FROM 192.168.1.200 :4001>
RELAY-SET-255,15,0,OK

[2023-06-29 09:20:23.230]# RECV ASCII FROM 192.168.1.200 :4001>
RELAY-SET-255,16,0,OK

[2023-06-29 09:20:23.232]# RECV ASCII FROM 192.168.1.200 :4001>
RELAY-SET-255,17,0,OK

[2023-06-29 09:20:23.236]# RECV ASCII FROM 192.168.1.200 :4001>
RELAY-SET-255,18,0,OK

[2023-06-29 09:20:23.237]# RECV ASCII FROM 192.168.1.200 :4001>
RELAY-SET-255,19,0,OK

[2023-06-29 09:20:23.239]# RECV ASCII FROM 192.168.1.200 :4001>
RELAY-SET-255,20,0,OK

[2023-06-29 09:20:23.241]# RECV ASCII FROM 192.168.1.200 :4001>
RELAY-SET-255,21,0,OK

[2023-06-29 09:20:23.243]# RECV ASCII FROM 192.168.1.200 :4001>
RELAY-SET-255,22,0,OK

[2023-06-29 09:20:23.245]# RECV ASCII FROM 192.168.1.200 :4001>
RELAY-SET-255,23,0,OK

[2023-06-29 09:20:23.246]# RECV ASCII FROM 192.168.1.200 :4001>
RELAY-SET-255,24,0,OK

[2023-06-29 09:20:23.249]# RECV ASCII FROM 192.168.1.200 :4001>
RELAY-SET-255,25,0,OK

[2023-06-29 09:20:23.250]# RECV ASCII FROM 192.168.1.200 :4001>
RELAY-SET-255,26,0,OK

[2023-06-29 09:20:23.252]# RECV ASCII FROM 192.168.1.200 :4001>
RELAY-SET-255,27,0,OK

[2023-06-29 09:20:23.254]# RECV ASCII FROM 192.168.1.200 :4001>
RELAY-SET-255,28,0,OK

[2023-06-29 09:20:23.256]# RECV ASCII FROM 192.168.1.200 :4001>
RELAY-SET-255,29,0,OK

[2023-06-29 09:20:23.257]# RECV ASCII FROM 192.168.1.200 :4001>
RELAY-SET-255,30,0,OK

[2023-06-29 09:20:23.261]# RECV ASCII FROM 192.168.1.200 :4001>
RELAY-SET-255,31,0,OK

[2023-06-29 09:20:23.262]# RECV ASCII FROM 192.168.1.200 :4001>
RELAY-SET-255,32,0,OK

[2023-06-29 09:20:23.265]# RECV ASCII FROM 192.168.1.200 :4001>
RELAY-GET_INPUT-255,1,0,OK

[2023-06-29 09:20:23.266]# RECV ASCII FROM 192.168.1.200 :4001>
RELAY-GET_INPUT-255,2,0,OK

[2023-06-29 09:20:23.268]# RECV ASCII FROM 192.168.1.200 :4001>
RELAY-GET_INPUT-255,3,0,OK

[2023-06-29 09:20:23.270]# RECV ASCII FROM 192.168.1.200 :4001>
RELAY-GET_INPUT-255,4,0,OK

[2023-06-29 09:20:23.271]# RECV ASCII FROM 192.168.1.200 :4001>
RELAY-GET_INPUT-255,5,0,OK

[2023-06-29 09:20:23.273]# RECV ASCII FROM 192.168.1.200 :4001>
RELAY-GET_INPUT-255,6,0,OK

Print this item

  KC868-H32BS V2.12sp firmware support Loxone Miniserver directly
Posted by: admin - 07-10-2023, 02:05 AM - Forum: News - No Replies

improvement:

support integrate to Loxone Miniserver system by UDP command directly. Because when relay state and switch state feedback by HTTP command, Loxone need >= every 10 seconds for update, it's slowly. Now we developing new firmware feedback state by UDP command, it's fast. If you want to add to Loxone Miniserver, just enable option for "LOXONE INTEGRATION", then fill the Miniserver IP and Port.

firmware BIN file download for KC868-H32BS controller:

.zip   H32BS_V212SP_20230629.zip (Size: 143.34 KB / Downloads: 633)

   

   

Loxone project file download:

.zip   KinCony-32CH-Relay-Controller.zip (Size: 28.23 KB / Downloads: 608)

added UDP command protocol:

1. control single relay:

RELAY-SET-255,X,Y

X: relay channel ID
Y: 1: ON  0: OFF

For example a: TURN ON relay1:

Send: RELAY-SET-255,1,1  feedback:RELAY-SET-255,1,1,OK

For example b: TURN OFF relay1:

Send: RELAY-SET-255,1,0  feedback:RELAY-SET-255,1,0,OK


2. when relay state changed by any way , will auto feedback to UDP:

RELAY-SET-255,X,Y,OK

X: relay channel ID
Y: 1: ON  0: OFF

RELAY-SET-255,1,1,OK  means: relay1 is ON
RELAY-SET-255,2,0,OK  means: relay2 is OFF


3. when digital input port changed, will auto feedback to UDP:

RELAY-GET_INPUT-255,X,Y,OK

X: digital input ID
Y: 1: ON  0: OFF

For example: digital input2 is ON:
RELAY-GET_INPUT-255,2,1,OK

4. when KinCony Smart Controller re power on , will auto feedback (32 channel relay state+ 6 channel digital input state) to UDP:

[2023-06-29 09:20:23.205]# RECV ASCII FROM 192.168.1.200 :4001>
RELAY-SET-255,1,0,OK

[2023-06-29 09:20:23.206]# RECV ASCII FROM 192.168.1.200 :4001>
RELAY-SET-255,2,0,OK

[2023-06-29 09:20:23.207]# RECV ASCII FROM 192.168.1.200 :4001>
RELAY-SET-255,3,0,OK

[2023-06-29 09:20:23.208]# RECV ASCII FROM 192.168.1.200 :4001>
RELAY-SET-255,4,0,OK

[2023-06-29 09:20:23.209]# RECV ASCII FROM 192.168.1.200 :4001>
RELAY-SET-255,5,0,OK

[2023-06-29 09:20:23.209]# RECV ASCII FROM 192.168.1.200 :4001>
RELAY-SET-255,6,0,OK

[2023-06-29 09:20:23.210]# RECV ASCII FROM 192.168.1.200 :4001>
RELAY-SET-255,7,0,OK

[2023-06-29 09:20:23.210]# RECV ASCII FROM 192.168.1.200 :4001>
RELAY-SET-255,8,0,OK

[2023-06-29 09:20:23.213]# RECV ASCII FROM 192.168.1.200 :4001>
RELAY-SET-255,9,0,OK

[2023-06-29 09:20:23.219]# RECV ASCII FROM 192.168.1.200 :4001>
RELAY-SET-255,10,0,OK

[2023-06-29 09:20:23.222]# RECV ASCII FROM 192.168.1.200 :4001>
RELAY-SET-255,11,0,OK

[2023-06-29 09:20:23.223]# RECV ASCII FROM 192.168.1.200 :4001>
RELAY-SET-255,12,0,OK

[2023-06-29 09:20:23.225]# RECV ASCII FROM 192.168.1.200 :4001>
RELAY-SET-255,13,0,OK

[2023-06-29 09:20:23.227]# RECV ASCII FROM 192.168.1.200 :4001>
RELAY-SET-255,14,0,OK

[2023-06-29 09:20:23.229]# RECV ASCII FROM 192.168.1.200 :4001>
RELAY-SET-255,15,0,OK

[2023-06-29 09:20:23.230]# RECV ASCII FROM 192.168.1.200 :4001>
RELAY-SET-255,16,0,OK

[2023-06-29 09:20:23.232]# RECV ASCII FROM 192.168.1.200 :4001>
RELAY-SET-255,17,0,OK

[2023-06-29 09:20:23.236]# RECV ASCII FROM 192.168.1.200 :4001>
RELAY-SET-255,18,0,OK

[2023-06-29 09:20:23.237]# RECV ASCII FROM 192.168.1.200 :4001>
RELAY-SET-255,19,0,OK

[2023-06-29 09:20:23.239]# RECV ASCII FROM 192.168.1.200 :4001>
RELAY-SET-255,20,0,OK

[2023-06-29 09:20:23.241]# RECV ASCII FROM 192.168.1.200 :4001>
RELAY-SET-255,21,0,OK

[2023-06-29 09:20:23.243]# RECV ASCII FROM 192.168.1.200 :4001>
RELAY-SET-255,22,0,OK

[2023-06-29 09:20:23.245]# RECV ASCII FROM 192.168.1.200 :4001>
RELAY-SET-255,23,0,OK

[2023-06-29 09:20:23.246]# RECV ASCII FROM 192.168.1.200 :4001>
RELAY-SET-255,24,0,OK

[2023-06-29 09:20:23.249]# RECV ASCII FROM 192.168.1.200 :4001>
RELAY-SET-255,25,0,OK

[2023-06-29 09:20:23.250]# RECV ASCII FROM 192.168.1.200 :4001>
RELAY-SET-255,26,0,OK

[2023-06-29 09:20:23.252]# RECV ASCII FROM 192.168.1.200 :4001>
RELAY-SET-255,27,0,OK

[2023-06-29 09:20:23.254]# RECV ASCII FROM 192.168.1.200 :4001>
RELAY-SET-255,28,0,OK

[2023-06-29 09:20:23.256]# RECV ASCII FROM 192.168.1.200 :4001>
RELAY-SET-255,29,0,OK

[2023-06-29 09:20:23.257]# RECV ASCII FROM 192.168.1.200 :4001>
RELAY-SET-255,30,0,OK

[2023-06-29 09:20:23.261]# RECV ASCII FROM 192.168.1.200 :4001>
RELAY-SET-255,31,0,OK

[2023-06-29 09:20:23.262]# RECV ASCII FROM 192.168.1.200 :4001>
RELAY-SET-255,32,0,OK

[2023-06-29 09:20:23.265]# RECV ASCII FROM 192.168.1.200 :4001>
RELAY-GET_INPUT-255,1,0,OK

[2023-06-29 09:20:23.266]# RECV ASCII FROM 192.168.1.200 :4001>
RELAY-GET_INPUT-255,2,0,OK

[2023-06-29 09:20:23.268]# RECV ASCII FROM 192.168.1.200 :4001>
RELAY-GET_INPUT-255,3,0,OK

[2023-06-29 09:20:23.270]# RECV ASCII FROM 192.168.1.200 :4001>
RELAY-GET_INPUT-255,4,0,OK

[2023-06-29 09:20:23.271]# RECV ASCII FROM 192.168.1.200 :4001>
RELAY-GET_INPUT-255,5,0,OK

[2023-06-29 09:20:23.273]# RECV ASCII FROM 192.168.1.200 :4001>
RELAY-GET_INPUT-255,6,0,OK

Print this item

  KC868-H32B_Pro V1.18 firmware support Loxone Miniserver directly
Posted by: admin - 07-10-2023, 01:29 AM - Forum: News - Replies (8)

improvement:

support integrate to Loxone Miniserver system by UDP command directly. Because when relay state and switch state feedback by HTTP command, Loxone need >= every 10 seconds for update, it's slowly. Now we developing new firmware feedback state by UDP command, it's fast. If you want to add to Loxone Miniserver, just enable option for "LOXONE INTEGRATION", then fill the Miniserver IP and Port.

firmware BIN file download for KC868-H32B Pro controller:

.zip   H32B_Pro_V118_230629.zip (Size: 55.51 KB / Downloads: 547)

   

   

Loxone project file download:

.zip   KinCony-32CH-Relay-Controller.zip (Size: 28.23 KB / Downloads: 612)

added UDP command protocol:

1. control single relay:

RELAY-SET-255,X,Y

X: relay channel ID
Y: 1: ON  0: OFF

For example a: TURN ON relay1:

Send: RELAY-SET-255,1,1  feedback:RELAY-SET-255,1,1,OK

For example b: TURN OFF relay1:

Send: RELAY-SET-255,1,0  feedback:RELAY-SET-255,1,0,OK


2. when relay state changed by any way , will auto feedback to UDP:

RELAY-SET-255,X,Y,OK

X: relay channel ID
Y: 1: ON  0: OFF

RELAY-SET-255,1,1,OK  means: relay1 is ON
RELAY-SET-255,2,0,OK  means: relay2 is OFF


3. when digital input port changed, will auto feedback to UDP:

RELAY-GET_INPUT-255,X,Y,OK

X: digital input ID
Y: 1: ON  0: OFF

For example: digital input2 is ON:
RELAY-GET_INPUT-255,2,1,OK

4. when KinCony Smart Controller re power on , will auto feedback (32 channel relay state+ 6 channel digital input state) to UDP:

[2023-06-29 09:20:23.205]# RECV ASCII FROM 192.168.1.200 :4001>
RELAY-SET-255,1,0,OK

[2023-06-29 09:20:23.206]# RECV ASCII FROM 192.168.1.200 :4001>
RELAY-SET-255,2,0,OK

[2023-06-29 09:20:23.207]# RECV ASCII FROM 192.168.1.200 :4001>
RELAY-SET-255,3,0,OK

[2023-06-29 09:20:23.208]# RECV ASCII FROM 192.168.1.200 :4001>
RELAY-SET-255,4,0,OK

[2023-06-29 09:20:23.209]# RECV ASCII FROM 192.168.1.200 :4001>
RELAY-SET-255,5,0,OK

[2023-06-29 09:20:23.209]# RECV ASCII FROM 192.168.1.200 :4001>
RELAY-SET-255,6,0,OK

[2023-06-29 09:20:23.210]# RECV ASCII FROM 192.168.1.200 :4001>
RELAY-SET-255,7,0,OK

[2023-06-29 09:20:23.210]# RECV ASCII FROM 192.168.1.200 :4001>
RELAY-SET-255,8,0,OK

[2023-06-29 09:20:23.213]# RECV ASCII FROM 192.168.1.200 :4001>
RELAY-SET-255,9,0,OK

[2023-06-29 09:20:23.219]# RECV ASCII FROM 192.168.1.200 :4001>
RELAY-SET-255,10,0,OK

[2023-06-29 09:20:23.222]# RECV ASCII FROM 192.168.1.200 :4001>
RELAY-SET-255,11,0,OK

[2023-06-29 09:20:23.223]# RECV ASCII FROM 192.168.1.200 :4001>
RELAY-SET-255,12,0,OK

[2023-06-29 09:20:23.225]# RECV ASCII FROM 192.168.1.200 :4001>
RELAY-SET-255,13,0,OK

[2023-06-29 09:20:23.227]# RECV ASCII FROM 192.168.1.200 :4001>
RELAY-SET-255,14,0,OK

[2023-06-29 09:20:23.229]# RECV ASCII FROM 192.168.1.200 :4001>
RELAY-SET-255,15,0,OK

[2023-06-29 09:20:23.230]# RECV ASCII FROM 192.168.1.200 :4001>
RELAY-SET-255,16,0,OK

[2023-06-29 09:20:23.232]# RECV ASCII FROM 192.168.1.200 :4001>
RELAY-SET-255,17,0,OK

[2023-06-29 09:20:23.236]# RECV ASCII FROM 192.168.1.200 :4001>
RELAY-SET-255,18,0,OK

[2023-06-29 09:20:23.237]# RECV ASCII FROM 192.168.1.200 :4001>
RELAY-SET-255,19,0,OK

[2023-06-29 09:20:23.239]# RECV ASCII FROM 192.168.1.200 :4001>
RELAY-SET-255,20,0,OK

[2023-06-29 09:20:23.241]# RECV ASCII FROM 192.168.1.200 :4001>
RELAY-SET-255,21,0,OK

[2023-06-29 09:20:23.243]# RECV ASCII FROM 192.168.1.200 :4001>
RELAY-SET-255,22,0,OK

[2023-06-29 09:20:23.245]# RECV ASCII FROM 192.168.1.200 :4001>
RELAY-SET-255,23,0,OK

[2023-06-29 09:20:23.246]# RECV ASCII FROM 192.168.1.200 :4001>
RELAY-SET-255,24,0,OK

[2023-06-29 09:20:23.249]# RECV ASCII FROM 192.168.1.200 :4001>
RELAY-SET-255,25,0,OK

[2023-06-29 09:20:23.250]# RECV ASCII FROM 192.168.1.200 :4001>
RELAY-SET-255,26,0,OK

[2023-06-29 09:20:23.252]# RECV ASCII FROM 192.168.1.200 :4001>
RELAY-SET-255,27,0,OK

[2023-06-29 09:20:23.254]# RECV ASCII FROM 192.168.1.200 :4001>
RELAY-SET-255,28,0,OK

[2023-06-29 09:20:23.256]# RECV ASCII FROM 192.168.1.200 :4001>
RELAY-SET-255,29,0,OK

[2023-06-29 09:20:23.257]# RECV ASCII FROM 192.168.1.200 :4001>
RELAY-SET-255,30,0,OK

[2023-06-29 09:20:23.261]# RECV ASCII FROM 192.168.1.200 :4001>
RELAY-SET-255,31,0,OK

[2023-06-29 09:20:23.262]# RECV ASCII FROM 192.168.1.200 :4001>
RELAY-SET-255,32,0,OK

[2023-06-29 09:20:23.265]# RECV ASCII FROM 192.168.1.200 :4001>
RELAY-GET_INPUT-255,1,0,OK

[2023-06-29 09:20:23.266]# RECV ASCII FROM 192.168.1.200 :4001>
RELAY-GET_INPUT-255,2,0,OK

[2023-06-29 09:20:23.268]# RECV ASCII FROM 192.168.1.200 :4001>
RELAY-GET_INPUT-255,3,0,OK

[2023-06-29 09:20:23.270]# RECV ASCII FROM 192.168.1.200 :4001>
RELAY-GET_INPUT-255,4,0,OK

[2023-06-29 09:20:23.271]# RECV ASCII FROM 192.168.1.200 :4001>
RELAY-GET_INPUT-255,5,0,OK

[2023-06-29 09:20:23.273]# RECV ASCII FROM 192.168.1.200 :4001>
RELAY-GET_INPUT-255,6,0,OK

Print this item

  KC868 Pulse Command
Posted by: freedom1711 - 07-09-2023, 10:24 PM - Forum: KC868-HxB series Smart Controller - Replies (3)

Does the KC868- H32b have a pulse command? I need to pulse each relay to open a locker door?


If so what is the command via http://

Print this item

  A16 flash problem
Posted by: saint_code - 07-09-2023, 12:50 PM - Forum: KC868-A series and Uair Smart Controller - Replies (26)

Hi
I am try to flash my brand new KinKony A16 controller with empty sketch using Arduino 2.1.1
earn "A fatal error occurred: Invalid head of packet (0xA6)" error

Code:
Linking everything together...
/Users/myuser/Library/Arduino15/packages/esp32/tools/xtensa-esp32-elf-gcc/1.22.0-97-gc752ad5-5.2.0/bin/xtensa-esp32-elf-gcc -nostdlib -L/Users/myuser/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/lib -L/Users/myuser/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/ld -T esp32_out.ld -T esp32.project.ld -T esp32.rom.ld -T esp32.peripherals.ld -T esp32.rom.libgcc.ld -T esp32.rom.spiram_incompatible_fns.ld -u esp_app_desc -u ld_include_panic_highint_hdl -u call_user_start_cpu0 -Wl,--gc-sections -Wl,-static -Wl,--undefined=uxTopUsedPriority -u __cxa_guard_dummy -u __cxx_fatal_exception -Wl,--start-group /private/var/folders/42/swzk51zs3x93tjqmp7mlcmhm0000gn/T/arduino/sketches/F59284665596F1CC333E4934A94B676A/sketch/sketch_jul9a.ino.cpp.o /private/var/folders/42/swzk51zs3x93tjqmp7mlcmhm0000gn/T/arduino/sketches/F59284665596F1CC333E4934A94B676A/core/core.a -lgcc -lesp_websocket_client -lwpa2 -ldetection -lesp_https_server -lwps -lhal -lconsole -lpe -lsoc -lsdmmc -lpthread -llog -lesp_http_client -ljson -lmesh -lesp32-camera -lnet80211 -lwpa_supplicant -lc -lmqtt -lcxx -lesp_https_ota -lulp -lefuse -lpp -lmdns -lbt -lwpa -lspiffs -lheap -limage_util -lunity -lrtc -lmbedtls -lface_recognition -lnghttp -ljsmn -lopenssl -lcore -lfatfs -lm -lprotocomm -lsmartconfig -lxtensa-debug-module -ldl -lesp_event -lesp-tls -lfd -lespcoredump -lesp_http_server -lfr -lsmartconfig_ack -lwear_levelling -ltcp_transport -llwip -lphy -lvfs -lcoap -lesp32 -llibsodium -lbootloader_support -ldriver -lcoexist -lasio -lod -lmicro-ecc -lesp_ringbuf -ldetection_cat_face -lapp_update -lespnow -lface_detection -lapp_trace -lnewlib -lbtdm_app -lwifi_provisioning -lfreertos -lfreemodbus -lethernet -lnvs_flash -lspi_flash -lc_nano -lexpat -lfb_gfx -lprotobuf-c -lesp_adc_cal -ltcpip_adapter -lstdc++ -Wl,--end-group -Wl,-EL -o /private/var/folders/42/swzk51zs3x93tjqmp7mlcmhm0000gn/T/arduino/sketches/F59284665596F1CC333E4934A94B676A/sketch_jul9a.ino.elf
/Users/myuser/Library/Arduino15/packages/esp32/tools/esptool_py/3.0.0/esptool --chip esp32 elf2image --flash_mode dio --flash_freq 80m --flash_size 4MB -o /private/var/folders/42/swzk51zs3x93tjqmp7mlcmhm0000gn/T/arduino/sketches/F59284665596F1CC333E4934A94B676A/sketch_jul9a.ino.bin /private/var/folders/42/swzk51zs3x93tjqmp7mlcmhm0000gn/T/arduino/sketches/F59284665596F1CC333E4934A94B676A/sketch_jul9a.ino.elf
esptool.py v3.0-dev
python /Users/myuser/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/gen_esp32part.py -q /private/var/folders/42/swzk51zs3x93tjqmp7mlcmhm0000gn/T/arduino/sketches/F59284665596F1CC333E4934A94B676A/partitions.csv /private/var/folders/42/swzk51zs3x93tjqmp7mlcmhm0000gn/T/arduino/sketches/F59284665596F1CC333E4934A94B676A/sketch_jul9a.ino.partitions.bin

/Users/myuser/Library/Arduino15/packages/esp32/tools/xtensa-esp32-elf-gcc/1.22.0-97-gc752ad5-5.2.0/bin/xtensa-esp32-elf-size -A /private/var/folders/42/swzk51zs3x93tjqmp7mlcmhm0000gn/T/arduino/sketches/F59284665596F1CC333E4934A94B676A/sketch_jul9a.ino.elf
Sketch uses 199324 bytes (15%) of program storage space. Maximum is 1310720 bytes.
Global variables use 13224 bytes (4%) of dynamic memory, leaving 314456 bytes for local variables. Maximum is 327680 bytes.
"/Users/myuser/Library/Arduino15/packages/esp32/tools/esptool_py/3.0.0/esptool" --chip esp32 --port "/dev/cu.usbserial-210" --baud 921600  --before default_reset --after hard_reset write_flash -z --flash_mode dio --flash_freq 80m --flash_size detect 0xe000 "/Users/myuser/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/partitions/boot_app0.bin" 0x1000 "/Users/myuser/Library/Arduino15/packages/esp32/hardware/esp32/1.0.6/tools/sdk/bin/bootloader_dio_80m.bin" 0x10000 "/private/var/folders/42/swzk51zs3x93tjqmp7mlcmhm0000gn/T/arduino/sketches/F59284665596F1CC333E4934A94B676A/sketch_jul9a.ino.bin" 0x8000 "/private/var/folders/42/swzk51zs3x93tjqmp7mlcmhm0000gn/T/arduino/sketches/F59284665596F1CC333E4934A94B676A/sketch_jul9a.ino.partitions.bin"
esptool.py v3.0-dev
Serial port /dev/cu.usbserial-210
Connecting....
Chip is ESP32-D0WD-V3 (revision 3)
Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme None
Crystal is 40MHz
MAC: b0:a7:32:80:e4:a0
Uploading stub...
Running stub...
Stub running...
Changing baud rate to 921600
Changed.
Configuring flash size...

A fatal error occurred: Invalid head of packet (0xA6)
Failed uploading: uploading error: exit status 2


also esptool shows some other errors
Code:
esptool.py --baud 115200 write_flash 0x0 tasmota32.bin --flash_freq 80m --flash_mode dio --flash_size 4MB
esptool.py v4.6.2
Found 2 serial ports
Serial port /dev/cu.usbserial-210
Connecting....
Detecting chip type... Unsupported detection protocol, switching and trying again...
Connecting....
Detecting chip type... ESP32
Chip is ESP32-D0WD-V3 (revision v3.1)
Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme None
Crystal is 40MHz
MAC: b0:a7:32:80:e4:a0
Uploading stub...
Running stub...
Stub running...
WARNING: Failed to communicate with the flash chip, read/write operations will fail. Try checking the chip connections or removing any other hardware connected to IOs.
Configuring flash size...
Flash will be erased from 0x00000000 to 0x001d3fff...
Compressed 1915648 bytes to 1228182...
Writing at 0x0000e5d8... (4 %)Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/esptool/__init__.py", line 1073, in _main
    main()
  File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/esptool/__init__.py", line 868, in main
    operation_func(esp, args)
  File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/esptool/cmds.py", line 595, in write_flash
    esp.flash_defl_block(block, seq, timeout=timeout)
  File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/esptool/loader.py", line 131, in inner
    return func(*args, **kwargs)
          ^^^^^^^^^^^^^^^^^^^^^
  File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/esptool/loader.py", line 1037, in flash_defl_block
    self.check_command(
  File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/esptool/loader.py", line 436, in check_command
    val, data = self.command(op, data, chk, timeout=timeout)
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/esptool/loader.py", line 405, in command
    p = self.read()
        ^^^^^^^^^^^
  File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/esptool/loader.py", line 338, in read
    return next(self._slip_reader)
          ^^^^^^^^^^^^^^^^^^^^^^^
StopIteration

A fatal error occurred: The chip stopped responding.


but erase  successfully
Code:
esptool.py erase_flash
esptool.py v4.6.2
Found 2 serial ports
Serial port /dev/cu.usbserial-210
Connecting....
Detecting chip type... Unsupported detection protocol, switching and trying again...
Connecting....
Detecting chip type... ESP32
Chip is ESP32-D0WD-V3 (revision v3.1)
Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme None
Crystal is 40MHz
MAC: b0:a7:32:80:e4:a0
Uploading stub...
Running stub...
Stub running...
WARNING: Failed to communicate with the flash chip, read/write operations will fail. Try checking the chip connections or removing any other hardware connected to IOs.
Erasing flash (this may take a while)...
Chip erase completed successfully in 0.1s
Hard resetting via RTS pin...



some additional info from Arduino serial port monitor 
looks like A16 is into continius loop reset ?

Code:
[13:42:55]rst:0x3 (SW_RESET),boot:0x1f (SPI_FAST_FLASH_BOOT)
[13:42:55]configsip: 0, SPIWP:0xee
[13:42:56]clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
[13:42:56]mode:DIO, clock div:2
[13:42:56]load:0x3fff0030,len:1184
[13:42:56]load:0x40078000,len:12784
[13:42:56]load:0x40080400,len:3032
[13:42:56]entry 0x400805e4
[13:42:56]ets Jul 29 2019 12:21:46
[13:42:56]
[13:42:56]rst:0x3 (SW_RESET),boot:0x1f (SPI_FAST_FLASH_BOOT)
[13:42:56]configsip: 0, SPIWP:0xee
[13:42:56]clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
[13:42:56]mode:DIO, clock div:2
[13:42:56]load:0x3fff0030,len:1184
[13:42:56]load:0x40078000,len:12784
[13:42:56]load:0x40080400,len:3032
[13:42:56]entry 0x400805e4
[13:42:56]ets Jul 29 2019 12:21:46
[13:42:56]
[13:42:56]rst:0x3 (SW_RESET),boot:0x1f (SPI_FAST_FLASH_BOOT)
[13:42:56]configsip: 0, SPIWP:0xee
[13:42:56]clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
[13:42:56]mode:DIO, clock div:2
[13:42:56]load:0x3fff0030,len:1184
[13:42:56]load:0x40078000,len:12784
[13:42:56]load:0x40080400,len:3032
[13:42:56]entry 0x400805e4
[13:42:57]ets Jul 29 2019 12:21:46
...

Print this item

  KC868-A8-E
Posted by: avihay - 07-09-2023, 07:39 AM - Forum: "KCS" v2 firmware system - Replies (11)

Our company purchased a KC868-A8-E board for the project. We received a file that can be used in RF. The file is locked. It is not possible to add an INA266 card in order to finish the automation. Please ESP file or open file of KCS_KC868_A8_V2.0.2

Print this item