Difference between revisions of "WHO=13 - Device Communication"

From piMyHome Project
Jump to navigation Jump to search
 
(14 intermediate revisions by 2 users not shown)
Line 6: Line 6:
 
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 table below, I can say my device is a F453AV
+
My device is shown as '''12''', looking up in the Device Table below, the device must be a F453AV
  
== Known Devices ==
+
== 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
! style="text-align:left;"| Type
 
! style="text-align:right;"| OWN-ID
 
 
|-
 
|-
 +
|2
 +
|MHServer
 +
|-
 +
|4
 +
|MH200
 +
|-
 +
|6
 
|F452
 
|F452
|Gateway
 
|6
 
 
|-
 
|-
 +
|7
 
|F452V
 
|F452V
|Gateway
 
|7
 
 
|-
 
|-
|F453
+
|11
|Gateway
+
|MHServer2
|16
 
 
|-
 
|-
 +
|12
 
|F453AV
 
|F453AV
|Gateway
 
|12
 
 
|-
 
|-
|F454
+
|13
|Gateway
+
|H4684
|51
+
|-
 +
|15
 +
|F427 (Gateway Open-KNX)
 +
|-
 +
|16
 +
|F453
 +
|-
 +
|23
 +
|H4684
 
|-
 
|-
|MH200
+
|27
|Scenario Manager
+
|L4686SDK
|4
 
 
|-
 
|-
 +
|44
 
|MH200N
 
|MH200N
|Scenario Manager
+
|-
|44
+
|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?)