Smart Home Automation Forum
KC868-H32BS V2.12sp firmware support Loxone Miniserver directly - Printable Version

+- Smart Home Automation Forum (https://www.kincony.com/forum)
+-- Forum: Technical Support (https://www.kincony.com/forum/forumdisplay.php?fid=1)
+--- Forum: News (https://www.kincony.com/forum/forumdisplay.php?fid=5)
+--- Thread: KC868-H32BS V2.12sp firmware support Loxone Miniserver directly (/showthread.php?tid=3058)



KC868-H32BS V2.12sp firmware support Loxone Miniserver directly - admin - 07-10-2023

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

   

   

Loxone project file download:

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

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