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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 5,375
» Latest member: tziku
» Forum threads: 2,575
» Forum posts: 13,319

Full Statistics

Online Users
There are currently 46 online users.
» 0 Member(s) | 33 Guest(s)
Bytespider, Crawl, Go-http-client, Google, PetalBot, Yandex, bot

Latest Threads
Problem with IFTTT automa...
Forum: "KCS" firmware system
Last Post: Poczwara13
1 hour ago
» Replies: 7
» Views: 64
change wake up name
Forum: KinCony AS
Last Post: gal
1 hour ago
» Replies: 14
» Views: 109
H32L - home assistant
Forum: KC868-HxB series Smart Controller
Last Post: athxp
1 hour ago
» Replies: 0
» Views: 2
how to use AS ESP32-S3 vo...
Forum: KinCony AS
Last Post: biofects
2 hours ago
» Replies: 14
» Views: 473
KC868-A2 configure yaml f...
Forum: KC868-A2
Last Post: elemarek
Today, 10:12 AM
» Replies: 15
» Views: 7,687
How can I power multiple ...
Forum: KC868-A series and Uair Smart Controller
Last Post: admin
Today, 09:03 AM
» Replies: 12
» Views: 137
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,273
Need help with configurat...
Forum: KC868-HxB series Smart Controller
Last Post: admin
Yesterday, 04:32 AM
» Replies: 32
» Views: 400
ESP32 S3 set up issue
Forum: Extender module
Last Post: admin
12-17-2024, 11:43 PM
» Replies: 10
» Views: 73

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

   

   

Loxone project file download:

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

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

   

   

Loxone project file download:

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

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

   

   

Loxone project file download:

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

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" 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

  KC868-A8 with Motion Sensor HC-SR501
Posted by: vijjav - 07-06-2023, 03:03 PM - Forum: KC868-A8 - Replies (7)

I need help connecting pir motion sensor with A8 board. Should i connect with DI 1-8 or s2, s3 terminals? 

Here is the code part I am currently using. 

Code:
switch:
  - platform: gpio
    name: "Study Room PIR"
    id: a8_study_room_pir
    pin:
      pcf8574: pcf8574_hub_out_1
      number: 7
      mode: OUTPUT
      inverted: false

binary_sensor:
  - platform: gpio
    name: "a8_study_room_pir"
    device_class: motion
#    on_press:
#      then:
#        - switch.toggle: a8_study_room_pir
    pin:
      pcf8574: pcf8574_hub_in_1
      number: 7
      mode: INPUT
      inverted: false

Print this item

  how instal firmware.
Posted by: befree8 - 07-06-2023, 09:24 AM - Forum: KC868-A16S - Replies (13)

Please help, I installed tasmota and wants to return for esphome, how to return to the original software because now by home assistant can not add the device.  ( info with home assistans: "Unable to connect to the ESP. Make sure your YAML file contains the 'api:' line.)

Print this item

  MQTT SET syntax
Posted by: philippe - 07-05-2023, 04:13 PM - Forum: "KCS" firmware system - Replies (3)

Hello,
What is the exact syntax to send Relay1 ON with MQTT. I am reading the document , I have my module sending State data, but cant find the right syntax to end  orders.
Thanks

Print this item