Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
KC868-H32B_Pro V1.18 firmware support Loxone Miniserver directly
#1
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: 201)

   

   

Loxone project file download:

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

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
Reply
#2
Hello, my IP is different ( not 192.168.1.200) I use net remote IAP; I can't download firmware v 1.18 ; could you help me? thank you
Reply
#3
download firmware by RS232 port. you can use USB-RS232 cable.
Reply
#4
Good morning,
sorry for insisting, I have the usbrs232 cable, but I don't understand, the " KC868-H32B Pro doesn't have the rs232 port.
How can I download firmware 1.18 on KC868-H32B pro?
Thank you

Hello, sorry, kc868 h32b pro have rs232; how to wire and what software did I can use..thank you
Reply
#5
if you are using H32B Pro, download firmware by ethernet. here is video tour: https://youtu.be/JFKeKv8Ks_4
Reply
#6
Good morning,
as I said in the first request, if I use the "network tool net remote IAp" software there is a static IP that cannot be changed, it gives me an error.
I ask you how to connect and what software to use if I use "usbrs232"
or what a good software to download the bin file like "flash_download_tool_3.9.2.exe” or NodeMCU PyFlasher.
I'm sorry you don't understand what I'm asking and don't answer me
Thank you
Reply
#7
1. download by network tool, the H32B Pro use by 192.168.1.200 static IP when download, you can use a network CAT5 cable, connect H32B Pro to your computer directly, not with router. so set your computer IP address = 192.168.1.x  is ok.

2. if you want to download by RS232, ok, find a USB-RS232 cable, connect 2,3,5 pins of RS232 port to your H32B Pro's RS232 port.
   

3. here is RS232 download tool:

.zip   KC868 Controller Bootloader.zip (Size: 8.56 KB / Downloads: 358)
Reply
#8
Good morning,
thanks a lot, now i installed the firmware update to 1.18.
A note: I connected the ethernet cable directly to the pc but the program crashed; I then connected the ethernet cable to the roter-modem and managed to program the hb32 pro to the new firmware. I apologize if I insist but I'm learning.
Greetings
Francis (Italy)
Reply
#9
here is video tour, how to update firmware by ethernet: https://youtu.be/JFKeKv8Ks_4
Reply


Forum Jump:


Users browsing this thread:
1 Guest(s)