37
AK-SecurePowerSwitch Manual,
Data exchange via TCP/IP
Commands
Control: Port 1002 (can be set). All characters are transmitted in ASCII
Remark:
Password
The password only has to be transmitted if it has been configured accordingly. If a
password is required, it must sent at the beginning of the data transfer, otherwise a
communication is not possible and the control port will be immediately be closed. Refer to
“Expert-Settings”
.
Remark:
Temperature
The temperature is not the environmental temperature of the
SecurePowerSwitch
. It is
rather the internal temperature or the temperature of the switching. Here it shall be tested
if the connected consumers will cause an overload of the relay as well as of the switching.
In this case, the device would automatically switch off. Temperatures of up to + 70° are
usual. For this setting it is possible to set a threshold value in the configuration.
Remark:
Power consumption
It indicates the effective current consumption of the connected consumers in watts.
Note:
CS1-4 can only be read from version 1.5.0.
<PC..> can only be executed from version 1.7.6.
Cmd
Bytes Meaning
Answers
Bytes
Meaning
Protocol
<VER> 5
Read version
<1.0>
5
Software version 1.0
UDP/TCP
<TMP> 5
Get temperature
< 27>
<ERR>
<-29>
5
+27°
Unknown
-29°
UDP/TCP
<BUZ> 5
1 x Signal tone
<BUZ>
5
Signal tone
UDP/TCP
<PW?>
5
Power Info
<ON>
<OFF>
4
5
Relay switched on.
Relay switched off.
UDP/TCP
<PW1>
5
Power ON
<ON>
4
Switch on relay
UDP/TCP
<PW0>
5
Power OFF
<OFF>
5
Switch off relay
UDP/TCP
<PC=1,5>
<PC=0,10>
<PC=60>
<PC=0>
8
8
8
6
PowerCyle settings
(Power interrupt for a
period in minutes)
<ON>
<ON>
<ON>
<OFF>
4
4
4
5
Off in 1 minutes. On in 5 minutes
Immediately Off. On in 10 min.
Off in 1 minutes. On in 60 minutes.
PowerCyle deactivate
<PC?>
5
PowerCyle Info
<OFF>
<OFF=0:0:59>
<ON=0:2:0>
5
11-14
10-13
Not activated
Off in 59 seconds
On in 2 minutes
<PWR>
5
Power Read
<0>
<2300>
3-6
Power consumption in watts
UDP/TCP
<RM?>
5
Relay mode
<RM0>
<RM1>
<RM2>
5
Request of the switching mode
UDP/TCP
<RM0>
5
Relay mode0
<RM0>
5
No possible
UDP/TCP
<RM1>
5
Relay mode1
<RM1>
5
No possible
UDP/TCP
<RM2>
5
Relay mode2
<RM2>
5
No possible
UDP/TCP
<CS1>
5
Power consumption
<……>
last 60 sec.
UDP/TCP
<CS2>
5
Power consumption
<……>
last 60 min.
UDP/TCP
<CS3>
5
Power consumption
<……>
last 24 h
UDP/TCP
<CS4>
5
Power consumption
<……>
last 30 days
UDP/TCP
<……>
3-17
Password
0
Send password
UDP/TCP