Difference between revisions of "WHO=13 - Device Communication"
Jump to navigation
Jump to search
(16 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
WHO 13 let's you communicate with your gateway or scenario manager. | WHO 13 let's you communicate with your gateway or scenario manager. | ||
+ | == We start with an Example == | ||
To find out what type of gateway and/or scenario manager you have, just send the message '''<tt>*#13**15##</tt>''' to your device, for example: | To find out what type of gateway and/or scenario manager you have, just send the message '''<tt>*#13**15##</tt>''' to your device, for example: | ||
<source lang="bash">echo "*#13**15##" | netcat 192.168.60.201 20000</source> | <source lang="bash">echo "*#13**15##" | netcat 192.168.60.201 20000</source> | ||
This gives you a similar answer like this: | This gives you a similar answer like this: | ||
<pre style="background-color:#000000;color:#EEEEEE;">*#*1##*#13**15*12##*#*1##</pre> | <pre style="background-color:#000000;color:#EEEEEE;">*#*1##*#13**15*12##*#*1##</pre> | ||
− | My device is shown as '''12''', looking up in the | + | My device is shown as '''12''', looking up in the Device Table below, the device must be a F453AV |
− | == | + | == DIMENSION Table == |
{| class="wikitable" | {| class="wikitable" | ||
+ | ! style="text-align:left;"| DIMENSION | ||
+ | ! style="text-align:left;"| Description | ||
+ | ! style="text-align:left;"| R/W | ||
+ | ! style="text-align:left;"| Syntax | ||
+ | |- style="vertical-align:top;" | ||
+ | |0 | ||
+ | |Time | ||
+ | |R/W | ||
+ | |Get Time: *#13**0##<br>Set Time: *#13**#0*H*m*S*T## | ||
+ | |- style="vertical-align:top;" | ||
+ | |1 | ||
+ | |Date | ||
+ | |R/W | ||
+ | |Get Date: *#13**1##<br>Set Date: *#13**#1*W*D*M*Y## | ||
+ | |- | ||
+ | |10 | ||
+ | |IP address | ||
+ | |R | ||
+ | |Get IP address: *#13**10## | ||
+ | |- | ||
+ | |11 | ||
+ | |Net mask | ||
+ | |R | ||
+ | |Get Net mask: *#13**11## | ||
+ | |- | ||
+ | |12 | ||
+ | |MAC address | ||
+ | |R | ||
+ | |Get MAC address: *#13**12## | ||
+ | |- | ||
+ | |15 | ||
+ | |Device Type | ||
+ | |R | ||
+ | |Get Device Type: *#13**15## (s. Device Table below) | ||
+ | |- | ||
+ | |16 | ||
+ | |Firmware version | ||
+ | |R | ||
+ | |Get Firmware version: *#13**16## | ||
+ | |- | ||
+ | |19 | ||
+ | |Uptime | ||
+ | |R | ||
+ | |Get Uptime: *#13**19##<br>Returns uptime in DAYS*HOURS*MINUTES | ||
+ | |- style="vertical-align:top;" | ||
+ | |22 | ||
+ | |Date and Time | ||
+ | |R/W | ||
+ | |Get DateTime: *#13**22##<br>Set DateTime: *#13**#1*H*m*S*T*W*D*M*Y# | ||
+ | |- | ||
+ | |23 | ||
+ | |Kernel Version | ||
+ | |R | ||
+ | |Get Kernel Version: *#13**23## | ||
+ | |- | ||
+ | |24 | ||
+ | |Distribution Version | ||
+ | |R | ||
+ | |Get Distribution Version: *#13**24## | ||
+ | |} | ||
+ | |||
+ | The following DIMENSION codes are '''not''' mentioned in the official documentation. However when looking at the results of requests using these codes their meaning seems obvious. | ||
+ | {| class="wikitable" | ||
+ | ! style="text-align:left;"| DIMENSION | ||
+ | ! style="text-align:left;"| Description | ||
+ | ! style="text-align:left;"| R/W | ||
+ | ! style="text-align:left;"| Syntax | ||
+ | ! style="text-align:left;"| Comment | ||
+ | |- style="vertical-align:top;" | ||
+ | |17 | ||
+ | |Hardware Version | ||
+ | |R | ||
+ | |Get Hardware Version: *#13**17## | ||
+ | | | ||
+ | |- | ||
+ | |20 | ||
+ | |Micro Version | ||
+ | |R | ||
+ | |Get Micro Version: *#13**20## | ||
+ | |most likely: version of SCS bus micro controller firmware | ||
+ | |- | ||
+ | |50 | ||
+ | |Gateway IP address | ||
+ | |R | ||
+ | |Get Gateway IP address: *#13**50## | ||
+ | | | ||
+ | |- | ||
+ | |51 | ||
+ | |DNS IP address 1 | ||
+ | |R | ||
+ | |Get DNS IP address 1: *#13**51## | ||
+ | | | ||
+ | |- | ||
+ | |52 | ||
+ | |DNS IP address 2 | ||
+ | |R | ||
+ | |Get DNS IP address 2: *#13**52## | ||
+ | | | ||
+ | |} | ||
+ | |||
+ | {| class="wikitable" | ||
+ | ! style="text-align:left;"| VALUE | ||
+ | ! style="text-align:left;"| Description | ||
+ | ! style="text-align:left;"| Info | ||
+ | |- | ||
+ | |H | ||
+ | |Hour | ||
+ | |2-digit value | ||
+ | |- | ||
+ | |m | ||
+ | |Minute | ||
+ | |2-digit value | ||
+ | |- | ||
+ | |S | ||
+ | |Second | ||
+ | |2-digit value | ||
+ | |- | ||
+ | |T | ||
+ | |Timezone | ||
+ | | | ||
+ | |- | ||
+ | |W | ||
+ | |Weekday | ||
+ | | | ||
+ | |- | ||
+ | |D | ||
+ | |Day | ||
+ | |2-digit value | ||
+ | |- | ||
+ | |M | ||
+ | |Month | ||
+ | |2-digit value | ||
+ | |- | ||
+ | |Y | ||
+ | |Year | ||
+ | |4-digit value | ||
+ | |} | ||
+ | |||
+ | == Device Table== | ||
+ | {| class="wikitable" | ||
+ | ! style="text-align:left;"| OWN-ID | ||
! style="text-align:left;"| Device | ! style="text-align:left;"| Device | ||
− | |||
− | |||
− | |||
|- | |- | ||
+ | |2 | ||
+ | |MHServer | ||
+ | |- | ||
+ | |4 | ||
+ | |MH200 | ||
+ | |- | ||
+ | |6 | ||
|F452 | |F452 | ||
− | |||
− | |||
− | |||
|- | |- | ||
+ | |7 | ||
|F452V | |F452V | ||
− | |||
− | |||
− | |||
|- | |- | ||
− | | | + | |11 |
− | | | + | |MHServer2 |
− | |||
− | |||
|- | |- | ||
+ | |12 | ||
|F453AV | |F453AV | ||
− | |||
− | |||
− | |||
|- | |- | ||
− | | | + | |13 |
− | |Gateway | + | |H4684 |
− | | | + | |- |
− | | | + | |15 |
+ | |F427 (Gateway Open-KNX) | ||
+ | |- | ||
+ | |16 | ||
+ | |F453 | ||
+ | |- | ||
+ | |23 | ||
+ | |H4684 | ||
|- | |- | ||
− | | | + | |27 |
− | | | + | |L4686SDK |
− | |||
− | |||
|- | |- | ||
+ | |44 | ||
|MH200N | |MH200N | ||
− | | | + | |- |
− | | | + | |51 |
− | | | + | |F454 |
+ | |- | ||
+ | |200 | ||
+ | |F454 (new?) | ||
|} | |} |
Latest revision as of 16:47, 5 November 2015
WHO 13 let's you communicate with your gateway or scenario manager.
We start with an Example
To find out what type of gateway and/or scenario manager you have, just send the message *#13**15## to your device, for example:
echo "*#13**15##" | netcat 192.168.60.201 20000
This gives you a similar answer like this:
*#*1##*#13**15*12##*#*1##
My device is shown as 12, looking up in the Device Table below, the device must be a F453AV
DIMENSION Table
DIMENSION | Description | R/W | Syntax |
---|---|---|---|
0 | Time | R/W | Get Time: *#13**0## Set Time: *#13**#0*H*m*S*T## |
1 | Date | R/W | Get Date: *#13**1## Set Date: *#13**#1*W*D*M*Y## |
10 | IP address | R | Get IP address: *#13**10## |
11 | Net mask | R | Get Net mask: *#13**11## |
12 | MAC address | R | Get MAC address: *#13**12## |
15 | Device Type | R | Get Device Type: *#13**15## (s. Device Table below) |
16 | Firmware version | R | Get Firmware version: *#13**16## |
19 | Uptime | R | Get Uptime: *#13**19## Returns uptime in DAYS*HOURS*MINUTES |
22 | Date and Time | R/W | Get DateTime: *#13**22## Set DateTime: *#13**#1*H*m*S*T*W*D*M*Y# |
23 | Kernel Version | R | Get Kernel Version: *#13**23## |
24 | Distribution Version | R | Get Distribution Version: *#13**24## |
The following DIMENSION codes are not mentioned in the official documentation. However when looking at the results of requests using these codes their meaning seems obvious.
DIMENSION | Description | R/W | Syntax | Comment |
---|---|---|---|---|
17 | Hardware Version | R | Get Hardware Version: *#13**17## | |
20 | Micro Version | R | Get Micro Version: *#13**20## | most likely: version of SCS bus micro controller firmware |
50 | Gateway IP address | R | Get Gateway IP address: *#13**50## | |
51 | DNS IP address 1 | R | Get DNS IP address 1: *#13**51## | |
52 | DNS IP address 2 | R | Get DNS IP address 2: *#13**52## |
VALUE | Description | Info |
---|---|---|
H | Hour | 2-digit value |
m | Minute | 2-digit value |
S | Second | 2-digit value |
T | Timezone | |
W | Weekday | |
D | Day | 2-digit value |
M | Month | 2-digit value |
Y | Year | 4-digit value |
Device Table
OWN-ID | Device |
---|---|
2 | MHServer |
4 | MH200 |
6 | F452 |
7 | F452V |
11 | MHServer2 |
12 | F453AV |
13 | H4684 |
15 | F427 (Gateway Open-KNX) |
16 | F453 |
23 | H4684 |
27 | L4686SDK |
44 | MH200N |
51 | F454 |
200 | F454 (new?) |